]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/libsigcx/libsigcx0/autotool-regen.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / libsigcx / libsigcx0 / autotool-regen.patch
1 diff -ruN libsigcx-0.6.4-patched/Makefile.in libsigcx-0.6.4-regen/Makefile.in
2 --- libsigcx-0.6.4-patched/Makefile.in  2003-06-03 10:02:24.000000000 -0700
3 +++ libsigcx-0.6.4-regen/Makefile.in    2005-05-06 21:21:31.000000000 -0700
4 @@ -1,8 +1,6 @@
5 -# Makefile.in generated by automake 1.7.5 from Makefile.am.
6 -# @configure_input@
7 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
8  
9 -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
10 -# Free Software Foundation, Inc.
11 +# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
12  # This Makefile.in is free software; the Free Software Foundation
13  # gives unlimited permission to copy and/or distribute it,
14  # with or without modifications, as long as this notice is preserved.
15 @@ -12,145 +10,105 @@
16  # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17  # PARTICULAR PURPOSE.
18  
19 -@SET_MAKE@
20 +
21 +SHELL = @SHELL@
22  
23  srcdir = @srcdir@
24  top_srcdir = @top_srcdir@
25  VPATH = @srcdir@
26 +prefix = @prefix@
27 +exec_prefix = @exec_prefix@
28 +
29 +bindir = @bindir@
30 +sbindir = @sbindir@
31 +libexecdir = @libexecdir@
32 +datadir = @datadir@
33 +sysconfdir = @sysconfdir@
34 +sharedstatedir = @sharedstatedir@
35 +localstatedir = @localstatedir@
36 +libdir = @libdir@
37 +infodir = @infodir@
38 +mandir = @mandir@
39 +includedir = @includedir@
40 +oldincludedir = /usr/include
41 +
42 +DESTDIR =
43 +
44  pkgdatadir = $(datadir)/@PACKAGE@
45  pkglibdir = $(libdir)/@PACKAGE@
46  pkgincludedir = $(includedir)/@PACKAGE@
47 +
48  top_builddir = .
49  
50 -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
51 +ACLOCAL = @ACLOCAL@
52 +AUTOCONF = @AUTOCONF@
53 +AUTOMAKE = @AUTOMAKE@
54 +AUTOHEADER = @AUTOHEADER@
55 +
56  INSTALL = @INSTALL@
57 -install_sh_DATA = $(install_sh) -c -m 644
58 -install_sh_PROGRAM = $(install_sh) -c
59 -install_sh_SCRIPT = $(install_sh) -c
60 -INSTALL_HEADER = $(INSTALL_DATA)
61 -transform = $(program_transform_name)
62 +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
63 +INSTALL_DATA = @INSTALL_DATA@
64 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
65 +transform = @program_transform_name@
66 +
67  NORMAL_INSTALL = :
68  PRE_INSTALL = :
69  POST_INSTALL = :
70  NORMAL_UNINSTALL = :
71  PRE_UNINSTALL = :
72  POST_UNINSTALL = :
73 +host_alias = @host_alias@
74  host_triplet = @host@
75 -ACLOCAL = @ACLOCAL@
76 -AMDEP_FALSE = @AMDEP_FALSE@
77 -AMDEP_TRUE = @AMDEP_TRUE@
78 -AMTAR = @AMTAR@
79  AR = @AR@
80 -AUTOCONF = @AUTOCONF@
81 -AUTOHEADER = @AUTOHEADER@
82 -AUTOMAKE = @AUTOMAKE@
83 -AWK = @AWK@
84 +AS = @AS@
85  CC = @CC@
86 -CCDEPMODE = @CCDEPMODE@
87 -CFLAGS = @CFLAGS@
88 -CPP = @CPP@
89 -CPPFLAGS = @CPPFLAGS@
90  CXX = @CXX@
91  CXXCPP = @CXXCPP@
92 -CXXDEPMODE = @CXXDEPMODE@
93  CXXFLAGS = @CXXFLAGS@
94 -CYGPATH_W = @CYGPATH_W@
95 -DEFS = @DEFS@
96 -DEPDIR = @DEPDIR@
97 +DLLTOOL = @DLLTOOL@
98  DOXYGEN = @DOXYGEN@
99  ECHO = @ECHO@
100 -ECHO_C = @ECHO_C@
101 -ECHO_N = @ECHO_N@
102 -ECHO_T = @ECHO_T@
103  EGREP = @EGREP@
104  EXEEXT = @EXEEXT@
105  F77 = @F77@
106 -FFLAGS = @FFLAGS@
107 -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@
108 -GTHREAD_LIBS = @GTHREAD_LIBS@
109 +GCJ = @GCJ@
110 +GCJFLAGS = @GCJFLAGS@
111  GTKLIB = @GTKLIB@
112  GTK_CFLAGS = @GTK_CFLAGS@
113  GTK_LIBS = @GTK_LIBS@
114 -INSTALL_DATA = @INSTALL_DATA@
115 -INSTALL_PROGRAM = @INSTALL_PROGRAM@
116 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
117 -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
118 +HAVE_LIB = @HAVE_LIB@
119  ISODATE = @ISODATE@
120  LDFLAGS = @LDFLAGS@
121 -LIBOBJS = @LIBOBJS@
122 -LIBS = @LIBS@
123 +LIB = @LIB@
124  LIBTOOL = @LIBTOOL@
125  LN_S = @LN_S@
126 -LTLIBOBJS = @LTLIBOBJS@
127 +LTLIB = @LTLIB@
128  M4 = @M4@
129  MAKEINFO = @MAKEINFO@
130  MAYBE_DOC = @MAYBE_DOC@
131 +OBJDUMP = @OBJDUMP@
132  OBJEXT = @OBJEXT@
133  PACKAGE = @PACKAGE@
134 -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
135 -PACKAGE_NAME = @PACKAGE_NAME@
136 -PACKAGE_STRING = @PACKAGE_STRING@
137 -PACKAGE_TARNAME = @PACKAGE_TARNAME@
138 -PACKAGE_VERSION = @PACKAGE_VERSION@
139 -PATH_SEPARATOR = @PATH_SEPARATOR@
140  PERL = @PERL@
141  PKG_CONFIG = @PKG_CONFIG@
142  PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
143  PTHREAD_LIBS = @PTHREAD_LIBS@
144  RANLIB = @RANLIB@
145 -SET_MAKE = @SET_MAKE@
146 -SHELL = @SHELL@
147 +RC = @RC@
148  SIGCX_BRANCH = @SIGCX_BRANCH@
149  SIGCX_DEVBRANCH = @SIGCX_DEVBRANCH@
150  SIGC_CFLAGS = @SIGC_CFLAGS@
151  SIGC_LIBS = @SIGC_LIBS@
152 +SIGC_MACROS = @SIGC_MACROS@
153  STRIP = @STRIP@
154  THREADS_USED = @THREADS_USED@
155  THREAD_CFLAGS = @THREAD_CFLAGS@
156  THREAD_LIBS = @THREAD_LIBS@
157  VERSION = @VERSION@
158 -ac_ct_AR = @ac_ct_AR@
159 -ac_ct_CC = @ac_ct_CC@
160 -ac_ct_CXX = @ac_ct_CXX@
161 -ac_ct_F77 = @ac_ct_F77@
162 -ac_ct_RANLIB = @ac_ct_RANLIB@
163 -ac_ct_STRIP = @ac_ct_STRIP@
164 -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
165 -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
166 -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
167 -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
168 -am__include = @am__include@
169 -am__leading_dot = @am__leading_dot@
170 -am__quote = @am__quote@
171 -bindir = @bindir@
172 -build = @build@
173 -build_alias = @build_alias@
174 -build_cpu = @build_cpu@
175 -build_os = @build_os@
176 -build_vendor = @build_vendor@
177 -datadir = @datadir@
178 -exec_prefix = @exec_prefix@
179 -host = @host@
180 -host_alias = @host_alias@
181 -host_cpu = @host_cpu@
182 -host_os = @host_os@
183 -host_vendor = @host_vendor@
184 -includedir = @includedir@
185 -infodir = @infodir@
186 -install_sh = @install_sh@
187 -libdir = @libdir@
188 -libexecdir = @libexecdir@
189 -localstatedir = @localstatedir@
190 -mandir = @mandir@
191 -oldincludedir = @oldincludedir@
192 -prefix = @prefix@
193 -program_transform_name = @program_transform_name@
194 -sbindir = @sbindir@
195 -sharedstatedir = @sharedstatedir@
196 -sysconfdir = @sysconfdir@
197 -target_alias = @target_alias@
198 +
199  SUBDIRS = sigcx tests @MAYBE_DOC@
200  DIST_SUBDIRS = sigcx tests examples doc scripts
201 +EXTRA_DIST = autogen.sh
202  
203  ACLOCAL_AMFLAGS = -I scripts
204  
205 @@ -158,87 +116,79 @@
206  libinc_HEADERS = sigcxconfig.h
207  
208  DISTCLEANFILES = sigcxconfig.h
209 -subdir = .
210  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
211  mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
212  CONFIG_HEADER = config.h
213 -CONFIG_CLEAN_FILES =
214 -DIST_SOURCES =
215 -HEADERS = $(libinc_HEADERS)
216 +CONFIG_CLEAN_FILES = 
217 +HEADERS =  $(libinc_HEADERS)
218  
219 +DIST_COMMON =  README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
220 +Makefile.am Makefile.in NEWS aclocal.m4 config.h.in configure \
221 +configure.ac
222  
223 -RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
224 -       ps-recursive install-info-recursive uninstall-info-recursive \
225 -       all-recursive install-data-recursive install-exec-recursive \
226 -       installdirs-recursive install-recursive uninstall-recursive \
227 -       check-recursive installcheck-recursive
228 -DIST_COMMON = README $(libinc_HEADERS) AUTHORS COPYING ChangeLog \
229 -       INSTALL Makefile.am Makefile.in NEWS aclocal.m4 config.h.in \
230 -       configure configure.ac
231 -all: config.h
232 -       $(MAKE) $(AM_MAKEFLAGS) all-recursive
233  
234 +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
235 +
236 +TAR = tar
237 +GZIP_ENV = --best
238 +all: all-redirect
239  .SUFFIXES:
240 +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) 
241 +       cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
242  
243 -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
244 - configure.lineno
245 -$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
246 -       cd $(top_srcdir) && \
247 -         $(AUTOMAKE) --gnu  Makefile
248 -Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
249 -       cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
250 +Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
251 +       cd $(top_builddir) \
252 +         && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
253  
254 -$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
255 +$(ACLOCAL_M4):  configure.ac  scripts/macros.m4 scripts/pthread.m4
256 +       cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
257 +
258 +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
259         $(SHELL) ./config.status --recheck
260 -$(srcdir)/configure:  $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
261 +$(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
262         cd $(srcdir) && $(AUTOCONF)
263  
264 -$(ACLOCAL_M4):  configure.ac scripts/libtool.m4 scripts/macros.m4 scripts/pthread.m4
265 -       cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
266 -
267 -config.h: stamp-h1
268 +config.h: stamp-h
269         @if test ! -f $@; then \
270 -         rm -f stamp-h1; \
271 -         $(MAKE) stamp-h1; \
272 +               rm -f stamp-h; \
273 +               $(MAKE) stamp-h; \
274         else :; fi
275 +stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
276 +       cd $(top_builddir) \
277 +         && CONFIG_FILES= CONFIG_HEADERS=config.h \
278 +            $(SHELL) ./config.status
279 +       @echo timestamp > stamp-h 2> /dev/null
280 +$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
281 +       @if test ! -f $@; then \
282 +               rm -f $(srcdir)/stamp-h.in; \
283 +               $(MAKE) $(srcdir)/stamp-h.in; \
284 +       else :; fi
285 +$(srcdir)/stamp-h.in: $(top_srcdir)/configure.ac $(ACLOCAL_M4) 
286 +       cd $(top_srcdir) && $(AUTOHEADER)
287 +       @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
288  
289 -stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
290 -       @rm -f stamp-h1
291 -       cd $(top_builddir) && $(SHELL) ./config.status config.h
292 +mostlyclean-hdr:
293  
294 -$(srcdir)/config.h.in:  $(top_srcdir)/configure.ac $(ACLOCAL_M4) 
295 -       cd $(top_srcdir) && $(AUTOHEADER)
296 -       touch $(srcdir)/config.h.in
297 +clean-hdr:
298  
299  distclean-hdr:
300 -       -rm -f config.h stamp-h1
301 +       -rm -f config.h
302  
303 -mostlyclean-libtool:
304 -       -rm -f *.lo
305 +maintainer-clean-hdr:
306  
307 -clean-libtool:
308 -       -rm -rf .libs _libs
309 -
310 -distclean-libtool:
311 -       -rm -f libtool
312 -uninstall-info-am:
313 -libincHEADERS_INSTALL = $(INSTALL_HEADER)
314  install-libincHEADERS: $(libinc_HEADERS)
315         @$(NORMAL_INSTALL)
316         $(mkinstalldirs) $(DESTDIR)$(libincdir)
317         @list='$(libinc_HEADERS)'; for p in $$list; do \
318 -         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
319 -         f="`echo $$p | sed -e 's|^.*/||'`"; \
320 -         echo " $(libincHEADERS_INSTALL) $$d$$p $(DESTDIR)$(libincdir)/$$f"; \
321 -         $(libincHEADERS_INSTALL) $$d$$p $(DESTDIR)$(libincdir)/$$f; \
322 +         if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
323 +         echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(libincdir)/$$p"; \
324 +         $(INSTALL_DATA) $$d$$p $(DESTDIR)$(libincdir)/$$p; \
325         done
326  
327  uninstall-libincHEADERS:
328         @$(NORMAL_UNINSTALL)
329 -       @list='$(libinc_HEADERS)'; for p in $$list; do \
330 -         f="`echo $$p | sed -e 's|^.*/||'`"; \
331 -         echo " rm -f $(DESTDIR)$(libincdir)/$$f"; \
332 -         rm -f $(DESTDIR)$(libincdir)/$$f; \
333 +       list='$(libinc_HEADERS)'; for p in $$list; do \
334 +         rm -f $(DESTDIR)$(libincdir)/$$p; \
335         done
336  
337  # This directory's subdirectories are mostly independent; you can cd
338 @@ -247,8 +197,13 @@
339  # (1) if the variable is set in `config.status', edit `config.status'
340  #     (which will cause the Makefiles to be regenerated when you run `make');
341  # (2) otherwise, pass the desired values on the `make' command line.
342 -$(RECURSIVE_TARGETS):
343 -       @set fnord $$MAKEFLAGS; amf=$$2; \
344 +
345 +@SET_MAKE@
346 +
347 +all-recursive install-data-recursive install-exec-recursive \
348 +installdirs-recursive install-recursive uninstall-recursive  \
349 +check-recursive installcheck-recursive info-recursive dvi-recursive:
350 +       @set fnord $(MAKEFLAGS); amf=$$2; \
351         dot_seen=no; \
352         target=`echo $@ | sed s/-recursive//`; \
353         list='$(SUBDIRS)'; for subdir in $$list; do \
354 @@ -268,18 +223,13 @@
355  
356  mostlyclean-recursive clean-recursive distclean-recursive \
357  maintainer-clean-recursive:
358 -       @set fnord $$MAKEFLAGS; amf=$$2; \
359 +       @set fnord $(MAKEFLAGS); amf=$$2; \
360         dot_seen=no; \
361 -       case "$@" in \
362 -         distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
363 -         *) list='$(SUBDIRS)' ;; \
364 -       esac; \
365 -       rev=''; for subdir in $$list; do \
366 -         if test "$$subdir" = "."; then :; else \
367 -           rev="$$subdir $$rev"; \
368 -         fi; \
369 +       rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
370 +         rev="$$subdir $$rev"; \
371 +         test "$$subdir" != "." || dot_seen=yes; \
372         done; \
373 -       rev="$$rev ."; \
374 +       test "$$dot_seen" = "no" && rev=". $$rev"; \
375         target=`echo $@ | sed s/-recursive//`; \
376         for subdir in $$rev; do \
377           echo "Making $$target in $$subdir"; \
378 @@ -295,300 +245,176 @@
379         list='$(SUBDIRS)'; for subdir in $$list; do \
380           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
381         done
382 -ctags-recursive:
383 -       list='$(SUBDIRS)'; for subdir in $$list; do \
384 -         test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
385 -       done
386 -
387 -ETAGS = etags
388 -ETAGSFLAGS =
389 -
390 -CTAGS = ctags
391 -CTAGSFLAGS =
392  
393  tags: TAGS
394  
395 -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
396 -       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
397 -       unique=`for i in $$list; do \
398 -           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
399 -         done | \
400 -         $(AWK) '    { files[$$0] = 1; } \
401 +ID: $(HEADERS) $(SOURCES) $(LISP)
402 +       list='$(SOURCES) $(HEADERS)'; \
403 +       unique=`for i in $$list; do echo $$i; done | \
404 +         awk '    { files[$$0] = 1; } \
405                END { for (i in files) print i; }'`; \
406 -       mkid -fID $$unique
407 +       here=`pwd` && cd $(srcdir) \
408 +         && mkid -f$$here/ID $$unique $(LISP)
409  
410 -TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
411 -               $(TAGS_FILES) $(LISP)
412 +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
413         tags=; \
414         here=`pwd`; \
415 -       if (etags --etags-include --version) >/dev/null 2>&1; then \
416 -         include_option=--etags-include; \
417 -       else \
418 -         include_option=--include; \
419 -       fi; \
420         list='$(SUBDIRS)'; for subdir in $$list; do \
421 -         if test "$$subdir" = .; then :; else \
422 -           test -f $$subdir/TAGS && \
423 -             tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
424 -         fi; \
425 +   if test "$$subdir" = .; then :; else \
426 +           test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
427 +   fi; \
428         done; \
429 -       list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
430 -       unique=`for i in $$list; do \
431 -           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
432 -         done | \
433 -         $(AWK) '    { files[$$0] = 1; } \
434 -              END { for (i in files) print i; }'`; \
435 -       test -z "$(ETAGS_ARGS)$$tags$$unique" \
436 -         || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
437 -            $$tags $$unique
438 -
439 -ctags: CTAGS
440 -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
441 -               $(TAGS_FILES) $(LISP)
442 -       tags=; \
443 -       here=`pwd`; \
444 -       list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
445 -       unique=`for i in $$list; do \
446 -           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
447 -         done | \
448 -         $(AWK) '    { files[$$0] = 1; } \
449 +       list='$(SOURCES) $(HEADERS)'; \
450 +       unique=`for i in $$list; do echo $$i; done | \
451 +         awk '    { files[$$0] = 1; } \
452                END { for (i in files) print i; }'`; \
453 -       test -z "$(CTAGS_ARGS)$$tags$$unique" \
454 -         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
455 -            $$tags $$unique
456 -
457 -GTAGS:
458 -       here=`$(am__cd) $(top_builddir) && pwd` \
459 -         && cd $(top_srcdir) \
460 -         && gtags -i $(GTAGS_ARGS) $$here
461 +       test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
462 +         || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP))
463  
464 -distclean-tags:
465 -       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
466 -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
467 +mostlyclean-tags:
468  
469 -top_distdir = .
470 -distdir = $(PACKAGE)-$(VERSION)
471 +clean-tags:
472  
473 -am__remove_distdir = \
474 -  { test ! -d $(distdir) \
475 -    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
476 -         && rm -fr $(distdir); }; }
477 +distclean-tags:
478 +       -rm -f TAGS ID
479  
480 -GZIP_ENV = --best
481 -distuninstallcheck_listfiles = find . -type f -print
482 -distcleancheck_listfiles = find . -type f -print
483 +maintainer-clean-tags:
484 +
485 +distdir = $(PACKAGE)-$(VERSION)
486 +top_distdir = $(distdir)
487  
488 +# This target untars the dist file and tries a VPATH configuration.  Then
489 +# it guarantees that the distribution is self-contained by making another
490 +# tarfile.
491 +distcheck: dist
492 +       -rm -rf $(distdir)
493 +       GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
494 +       mkdir $(distdir)/=build
495 +       mkdir $(distdir)/=inst
496 +       dc_install_base=`cd $(distdir)/=inst && pwd`; \
497 +       cd $(distdir)/=build \
498 +         && ../configure --srcdir=.. --prefix=$$dc_install_base \
499 +         && $(MAKE) $(AM_MAKEFLAGS) \
500 +         && $(MAKE) $(AM_MAKEFLAGS) dvi \
501 +         && $(MAKE) $(AM_MAKEFLAGS) check \
502 +         && $(MAKE) $(AM_MAKEFLAGS) install \
503 +         && $(MAKE) $(AM_MAKEFLAGS) installcheck \
504 +         && $(MAKE) $(AM_MAKEFLAGS) dist
505 +       -rm -rf $(distdir)
506 +       @banner="$(distdir).tar.gz is ready for distribution"; \
507 +       dashes=`echo "$$banner" | sed s/./=/g`; \
508 +       echo "$$dashes"; \
509 +       echo "$$banner"; \
510 +       echo "$$dashes"
511 +dist: distdir
512 +       -chmod -R a+r $(distdir)
513 +       GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
514 +       -rm -rf $(distdir)
515 +dist-all: distdir
516 +       -chmod -R a+r $(distdir)
517 +       GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
518 +       -rm -rf $(distdir)
519  distdir: $(DISTFILES)
520 -       $(am__remove_distdir)
521 +       -rm -rf $(distdir)
522         mkdir $(distdir)
523 -       $(mkinstalldirs) $(distdir)/sigcx
524 -       @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
525 -       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
526 -       list='$(DISTFILES)'; for file in $$list; do \
527 -         case $$file in \
528 -           $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
529 -           $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
530 -         esac; \
531 -         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
532 -         dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
533 -         if test "$$dir" != "$$file" && test "$$dir" != "."; then \
534 -           dir="/$$dir"; \
535 -           $(mkinstalldirs) "$(distdir)$$dir"; \
536 -         else \
537 -           dir=''; \
538 -         fi; \
539 +       -chmod 777 $(distdir)
540 +       @for file in $(DISTFILES); do \
541 +         d=$(srcdir); \
542           if test -d $$d/$$file; then \
543 -           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
544 -             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
545 -           fi; \
546 -           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
547 +           cp -pr $$d/$$file $(distdir)/$$file; \
548           else \
549             test -f $(distdir)/$$file \
550 -           || cp -p $$d/$$file $(distdir)/$$file \
551 -           || exit 1; \
552 +           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
553 +           || cp -p $$d/$$file $(distdir)/$$file || :; \
554           fi; \
555         done
556 -       list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
557 +       for subdir in $(DIST_SUBDIRS); do \
558           if test "$$subdir" = .; then :; else \
559             test -d $(distdir)/$$subdir \
560             || mkdir $(distdir)/$$subdir \
561             || exit 1; \
562 -           (cd $$subdir && \
563 -             $(MAKE) $(AM_MAKEFLAGS) \
564 -               top_distdir="$(top_distdir)" \
565 -               distdir=../$(distdir)/$$subdir \
566 -               distdir) \
567 +           chmod 777 $(distdir)/$$subdir; \
568 +           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
569               || exit 1; \
570           fi; \
571         done
572 -       -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
573 -         ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
574 -         ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
575 -         ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
576 -       || chmod -R a+r $(distdir)
577 -dist-gzip: distdir
578 -       $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
579 -       $(am__remove_distdir)
580 -
581 -dist dist-all: distdir
582 -       $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
583 -       $(am__remove_distdir)
584 -
585 -# This target untars the dist file and tries a VPATH configuration.  Then
586 -# it guarantees that the distribution is self-contained by making another
587 -# tarfile.
588 -distcheck: dist
589 -       $(am__remove_distdir)
590 -       GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
591 -       chmod -R a-w $(distdir); chmod a+w $(distdir)
592 -       mkdir $(distdir)/_build
593 -       mkdir $(distdir)/_inst
594 -       chmod a-w $(distdir)
595 -       dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
596 -         && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
597 -         && cd $(distdir)/_build \
598 -         && ../configure --srcdir=.. --prefix="$$dc_install_base" \
599 -           $(DISTCHECK_CONFIGURE_FLAGS) \
600 -         && $(MAKE) $(AM_MAKEFLAGS) \
601 -         && $(MAKE) $(AM_MAKEFLAGS) dvi \
602 -         && $(MAKE) $(AM_MAKEFLAGS) check \
603 -         && $(MAKE) $(AM_MAKEFLAGS) install \
604 -         && $(MAKE) $(AM_MAKEFLAGS) installcheck \
605 -         && $(MAKE) $(AM_MAKEFLAGS) uninstall \
606 -         && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
607 -               distuninstallcheck \
608 -         && chmod -R a-w "$$dc_install_base" \
609 -         && ({ \
610 -              (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
611 -              && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
612 -              && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
613 -              && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
614 -                   distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
615 -             } || { rm -rf "$$dc_destdir"; exit 1; }) \
616 -         && rm -rf "$$dc_destdir" \
617 -         && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
618 -         && rm -f $(distdir).tar.gz \
619 -         && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
620 -       $(am__remove_distdir)
621 -       @echo "$(distdir).tar.gz is ready for distribution" | \
622 -         sed 'h;s/./=/g;p;x;p;x'
623 -distuninstallcheck:
624 -       @cd $(distuninstallcheck_dir) \
625 -       && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
626 -          || { echo "ERROR: files left after uninstall:" ; \
627 -               if test -n "$(DESTDIR)"; then \
628 -                 echo "  (check DESTDIR support)"; \
629 -               fi ; \
630 -               $(distuninstallcheck_listfiles) ; \
631 -               exit 1; } >&2
632 -distcleancheck: distclean
633 -       @if test '$(srcdir)' = . ; then \
634 -         echo "ERROR: distcleancheck can only run from a VPATH build" ; \
635 -         exit 1 ; \
636 -       fi
637 -       @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
638 -         || { echo "ERROR: files left in build directory after distclean:" ; \
639 -              $(distcleancheck_listfiles) ; \
640 -              exit 1; } >&2
641 +info-am:
642 +info: info-recursive
643 +dvi-am:
644 +dvi: dvi-recursive
645  check-am: all-am
646  check: check-recursive
647 -all-am: Makefile $(HEADERS) config.h
648 -installdirs: installdirs-recursive
649 -installdirs-am:
650 -       $(mkinstalldirs) $(DESTDIR)$(libincdir)
651 +installcheck-am:
652 +installcheck: installcheck-recursive
653 +all-recursive-am: config.h
654 +       $(MAKE) $(AM_MAKEFLAGS) all-recursive
655  
656 -install: install-recursive
657 +install-exec-am:
658  install-exec: install-exec-recursive
659 +
660 +install-data-am: install-libincHEADERS
661  install-data: install-data-recursive
662 -uninstall: uninstall-recursive
663  
664  install-am: all-am
665         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
666 -
667 -installcheck: installcheck-recursive
668 +install: install-recursive
669 +uninstall-am: uninstall-libincHEADERS
670 +uninstall: uninstall-recursive
671 +all-am: Makefile $(HEADERS) config.h
672 +all-redirect: all-recursive-am
673  install-strip:
674 -       $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
675 -         INSTALL_STRIP_FLAG=-s \
676 -         `test -z '$(STRIP)' || \
677 -           echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
678 +       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
679 +installdirs: installdirs-recursive
680 +installdirs-am:
681 +       $(mkinstalldirs)  $(DESTDIR)$(libincdir)
682 +
683 +
684  mostlyclean-generic:
685  
686  clean-generic:
687  
688  distclean-generic:
689         -rm -f Makefile $(CONFIG_CLEAN_FILES)
690 +       -rm -f config.cache config.log stamp-h stamp-h[0-9]*
691         -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
692  
693  maintainer-clean-generic:
694 -       @echo "This command is intended for maintainers to use"
695 -       @echo "it deletes files that may require special tools to rebuild."
696 -clean: clean-recursive
697 -
698 -clean-am: clean-generic clean-libtool mostlyclean-am
699 +mostlyclean-am:  mostlyclean-hdr mostlyclean-tags mostlyclean-generic
700  
701 -distclean: distclean-recursive
702 -       -rm -f $(am__CONFIG_DISTCLEAN_FILES)
703 -distclean-am: clean-am distclean-generic distclean-hdr distclean-libtool \
704 -       distclean-tags
705 -
706 -dvi: dvi-recursive
707 -
708 -dvi-am:
709 -
710 -info: info-recursive
711 -
712 -info-am:
713 +mostlyclean: mostlyclean-recursive
714  
715 -install-data-am: install-libincHEADERS
716 +clean-am:  clean-hdr clean-tags clean-generic mostlyclean-am
717  
718 -install-exec-am:
719 +clean: clean-recursive
720  
721 -install-info: install-info-recursive
722 +distclean-am:  distclean-hdr distclean-tags distclean-generic clean-am
723 +       -rm -f libtool
724  
725 -install-man:
726 +distclean: distclean-recursive
727 +       -rm -f config.status
728  
729 -installcheck-am:
730 +maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-tags \
731 +               maintainer-clean-generic distclean-am
732 +       @echo "This command is intended for maintainers to use;"
733 +       @echo "it deletes files that may require special tools to rebuild."
734  
735  maintainer-clean: maintainer-clean-recursive
736 -       -rm -f $(am__CONFIG_DISTCLEAN_FILES)
737 -       -rm -rf autom4te.cache
738 -maintainer-clean-am: distclean-am maintainer-clean-generic
739 -
740 -mostlyclean: mostlyclean-recursive
741 -
742 -mostlyclean-am: mostlyclean-generic mostlyclean-libtool
743 -
744 -pdf: pdf-recursive
745 -
746 -pdf-am:
747 +       -rm -f config.status
748  
749 -ps: ps-recursive
750 +.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
751 +uninstall-libincHEADERS install-libincHEADERS install-data-recursive \
752 +uninstall-data-recursive install-exec-recursive \
753 +uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
754 +all-recursive check-recursive installcheck-recursive info-recursive \
755 +dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
756 +maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
757 +distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
758 +dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
759 +install-exec-am install-exec install-data-am install-data install-am \
760 +install uninstall-am uninstall all-redirect all-am all installdirs-am \
761 +installdirs mostlyclean-generic distclean-generic clean-generic \
762 +maintainer-clean-generic clean mostlyclean distclean maintainer-clean
763  
764 -ps-am:
765 -
766 -uninstall-am: uninstall-info-am uninstall-libincHEADERS
767 -
768 -uninstall-info: uninstall-info-recursive
769 -
770 -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
771 -       clean-generic clean-libtool clean-recursive ctags \
772 -       ctags-recursive dist dist-all dist-gzip distcheck distclean \
773 -       distclean-generic distclean-hdr distclean-libtool \
774 -       distclean-recursive distclean-tags distcleancheck distdir \
775 -       distuninstallcheck dvi dvi-am dvi-recursive info info-am \
776 -       info-recursive install install-am install-data install-data-am \
777 -       install-data-recursive install-exec install-exec-am \
778 -       install-exec-recursive install-info install-info-am \
779 -       install-info-recursive install-libincHEADERS install-man \
780 -       install-recursive install-strip installcheck installcheck-am \
781 -       installdirs installdirs-am installdirs-recursive \
782 -       maintainer-clean maintainer-clean-generic \
783 -       maintainer-clean-recursive mostlyclean mostlyclean-generic \
784 -       mostlyclean-libtool mostlyclean-recursive pdf pdf-am \
785 -       pdf-recursive ps ps-am ps-recursive tags tags-recursive \
786 -       uninstall uninstall-am uninstall-info-am \
787 -       uninstall-info-recursive uninstall-libincHEADERS \
788 -       uninstall-recursive
789  
790  # Tell versions [3.59,3.63) of GNU make to not export all variables.
791  # Otherwise a system limit (for SysV at least) may be exceeded.
792 diff -ruN libsigcx-0.6.4-patched/aclocal.m4 libsigcx-0.6.4-regen/aclocal.m4
793 --- libsigcx-0.6.4-patched/aclocal.m4   2003-06-03 10:02:17.000000000 -0700
794 +++ libsigcx-0.6.4-regen/aclocal.m4     2005-05-06 21:21:15.000000000 -0700
795 @@ -1,782 +1,871 @@
796 -# generated automatically by aclocal 1.7.5 -*- Autoconf -*-
797 +dnl aclocal.m4 generated automatically by aclocal 1.4-p6
798  
799 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
800 -# Free Software Foundation, Inc.
801 -# This file is free software; the Free Software Foundation
802 -# gives unlimited permission to copy and/or distribute it,
803 -# with or without modifications, as long as this notice is preserved.
804 -
805 -# This program is distributed in the hope that it will be useful,
806 -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
807 -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
808 -# PARTICULAR PURPOSE.
809 -
810 -# Do all the work for Automake.                            -*- Autoconf -*-
811 -
812 -# This macro actually does too much some checks are only needed if
813 -# your package does certain things.  But this isn't really a big deal.
814 -
815 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
816 -# Free Software Foundation, Inc.
817 -
818 -# This program is free software; you can redistribute it and/or modify
819 -# it under the terms of the GNU General Public License as published by
820 -# the Free Software Foundation; either version 2, or (at your option)
821 -# any later version.
822 -
823 -# This program is distributed in the hope that it will be useful,
824 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
825 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
826 -# GNU General Public License for more details.
827 -
828 -# You should have received a copy of the GNU General Public License
829 -# along with this program; if not, write to the Free Software
830 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
831 -# 02111-1307, USA.
832 -
833 -# serial 10
834 -
835 -AC_PREREQ([2.54])
836 -
837 -# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
838 -# the ones we care about.
839 -m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
840 -
841 -# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
842 -# AM_INIT_AUTOMAKE([OPTIONS])
843 -# -----------------------------------------------
844 -# The call with PACKAGE and VERSION arguments is the old style
845 -# call (pre autoconf-2.50), which is being phased out.  PACKAGE
846 -# and VERSION should now be passed to AC_INIT and removed from
847 -# the call to AM_INIT_AUTOMAKE.
848 -# We support both call styles for the transition.  After
849 -# the next Automake release, Autoconf can make the AC_INIT
850 -# arguments mandatory, and then we can depend on a new Autoconf
851 -# release and drop the old call support.
852 -AC_DEFUN([AM_INIT_AUTOMAKE],
853 -[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
854 - AC_REQUIRE([AC_PROG_INSTALL])dnl
855 -# test to see if srcdir already configured
856 -if test "`cd $srcdir && pwd`" != "`pwd`" &&
857 -   test -f $srcdir/config.status; then
858 -  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
859 -fi
860 -
861 -# test whether we have cygpath
862 -if test -z "$CYGPATH_W"; then
863 -  if (cygpath --version) >/dev/null 2>/dev/null; then
864 -    CYGPATH_W='cygpath -w'
865 -  else
866 -    CYGPATH_W=echo
867 +dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
868 +dnl This file is free software; the Free Software Foundation
869 +dnl gives unlimited permission to copy and/or distribute it,
870 +dnl with or without modifications, as long as this notice is preserved.
871 +
872 +dnl This program is distributed in the hope that it will be useful,
873 +dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
874 +dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
875 +dnl PARTICULAR PURPOSE.
876 +
877 +# lib-prefix.m4 serial 3 (gettext-0.13)
878 +dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
879 +dnl This file is free software, distributed under the terms of the GNU
880 +dnl General Public License.  As a special exception to the GNU General
881 +dnl Public License, this file may be distributed as part of a program
882 +dnl that contains a configuration script generated by Autoconf, under
883 +dnl the same distribution terms as the rest of that program.
884 +
885 +dnl From Bruno Haible.
886 +
887 +dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
888 +dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
889 +dnl require excessive bracketing.
890 +ifdef([AC_HELP_STRING],
891 +[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
892 +[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
893 +
894 +dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
895 +dnl to access previously installed libraries. The basic assumption is that
896 +dnl a user will want packages to use other packages he previously installed
897 +dnl with the same --prefix option.
898 +dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
899 +dnl libraries, but is otherwise very convenient.
900 +AC_DEFUN([AC_LIB_PREFIX],
901 +[
902 +  AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
903 +  AC_REQUIRE([AC_PROG_CC])
904 +  AC_REQUIRE([AC_CANONICAL_HOST])
905 +  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
906 +  dnl By default, look in $includedir and $libdir.
907 +  use_additional=yes
908 +  AC_LIB_WITH_FINAL_PREFIX([
909 +    eval additional_includedir=\"$includedir\"
910 +    eval additional_libdir=\"$libdir\"
911 +  ])
912 +  AC_LIB_ARG_WITH([lib-prefix],
913 +[  --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
914 +  --without-lib-prefix    don't search for libraries in includedir and libdir],
915 +[
916 +    if test "X$withval" = "Xno"; then
917 +      use_additional=no
918 +    else
919 +      if test "X$withval" = "X"; then
920 +        AC_LIB_WITH_FINAL_PREFIX([
921 +          eval additional_includedir=\"$includedir\"
922 +          eval additional_libdir=\"$libdir\"
923 +        ])
924 +      else
925 +        additional_includedir="$withval/include"
926 +        additional_libdir="$withval/lib"
927 +      fi
928 +    fi
929 +])
930 +  if test $use_additional = yes; then
931 +    dnl Potentially add $additional_includedir to $CPPFLAGS.
932 +    dnl But don't add it
933 +    dnl   1. if it's the standard /usr/include,
934 +    dnl   2. if it's already present in $CPPFLAGS,
935 +    dnl   3. if it's /usr/local/include and we are using GCC on Linux,
936 +    dnl   4. if it doesn't exist as a directory.
937 +    if test "X$additional_includedir" != "X/usr/include"; then
938 +      haveit=
939 +      for x in $CPPFLAGS; do
940 +        AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
941 +        if test "X$x" = "X-I$additional_includedir"; then
942 +          haveit=yes
943 +          break
944 +        fi
945 +      done
946 +      if test -z "$haveit"; then
947 +        if test "X$additional_includedir" = "X/usr/local/include"; then
948 +          if test -n "$GCC"; then
949 +            case $host_os in
950 +              linux*) haveit=yes;;
951 +            esac
952 +          fi
953 +        fi
954 +        if test -z "$haveit"; then
955 +          if test -d "$additional_includedir"; then
956 +            dnl Really add $additional_includedir to $CPPFLAGS.
957 +            CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
958 +          fi
959 +        fi
960 +      fi
961 +    fi
962 +    dnl Potentially add $additional_libdir to $LDFLAGS.
963 +    dnl But don't add it
964 +    dnl   1. if it's the standard /usr/lib,
965 +    dnl   2. if it's already present in $LDFLAGS,
966 +    dnl   3. if it's /usr/local/lib and we are using GCC on Linux,
967 +    dnl   4. if it doesn't exist as a directory.
968 +    if test "X$additional_libdir" != "X/usr/lib"; then
969 +      haveit=
970 +      for x in $LDFLAGS; do
971 +        AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
972 +        if test "X$x" = "X-L$additional_libdir"; then
973 +          haveit=yes
974 +          break
975 +        fi
976 +      done
977 +      if test -z "$haveit"; then
978 +        if test "X$additional_libdir" = "X/usr/local/lib"; then
979 +          if test -n "$GCC"; then
980 +            case $host_os in
981 +              linux*) haveit=yes;;
982 +            esac
983 +          fi
984 +        fi
985 +        if test -z "$haveit"; then
986 +          if test -d "$additional_libdir"; then
987 +            dnl Really add $additional_libdir to $LDFLAGS.
988 +            LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
989 +          fi
990 +        fi
991 +      fi
992 +    fi
993    fi
994 -fi
995 -AC_SUBST([CYGPATH_W])
996 -
997 -# Define the identity of the package.
998 -dnl Distinguish between old-style and new-style calls.
999 -m4_ifval([$2],
1000 -[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1001 - AC_SUBST([PACKAGE], [$1])dnl
1002 - AC_SUBST([VERSION], [$2])],
1003 -[_AM_SET_OPTIONS([$1])dnl
1004 - AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1005 - AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1006 -
1007 -_AM_IF_OPTION([no-define],,
1008 -[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
1009 - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
1010 -
1011 -# Some tools Automake needs.
1012 -AC_REQUIRE([AM_SANITY_CHECK])dnl
1013 -AC_REQUIRE([AC_ARG_PROGRAM])dnl
1014 -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
1015 -AM_MISSING_PROG(AUTOCONF, autoconf)
1016 -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
1017 -AM_MISSING_PROG(AUTOHEADER, autoheader)
1018 -AM_MISSING_PROG(MAKEINFO, makeinfo)
1019 -AM_MISSING_PROG(AMTAR, tar)
1020 -AM_PROG_INSTALL_SH
1021 -AM_PROG_INSTALL_STRIP
1022 -# We need awk for the "check" target.  The system "awk" is bad on
1023 -# some platforms.
1024 -AC_REQUIRE([AC_PROG_AWK])dnl
1025 -AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1026 -AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1027 -
1028 -_AM_IF_OPTION([no-dependencies],,
1029 -[AC_PROVIDE_IFELSE([AC_PROG_CC],
1030 -                  [_AM_DEPENDENCIES(CC)],
1031 -                  [define([AC_PROG_CC],
1032 -                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1033 -AC_PROVIDE_IFELSE([AC_PROG_CXX],
1034 -                  [_AM_DEPENDENCIES(CXX)],
1035 -                  [define([AC_PROG_CXX],
1036 -                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1037 -])
1038 -])
1039 -
1040 -
1041 -# When config.status generates a header, we must update the stamp-h file.
1042 -# This file resides in the same directory as the config header
1043 -# that is generated.  The stamp files are numbered to have different names.
1044 -
1045 -# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
1046 -# loop where config.status creates the headers, so we can generate
1047 -# our stamp files there.
1048 -AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
1049 -[# Compute $1's index in $config_headers.
1050 -_am_stamp_count=1
1051 -for _am_header in $config_headers :; do
1052 -  case $_am_header in
1053 -    $1 | $1:* )
1054 -      break ;;
1055 -    * )
1056 -      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1057 -  esac
1058 -done
1059 -echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
1060 -
1061 -# Copyright 2002  Free Software Foundation, Inc.
1062 -
1063 -# This program is free software; you can redistribute it and/or modify
1064 -# it under the terms of the GNU General Public License as published by
1065 -# the Free Software Foundation; either version 2, or (at your option)
1066 -# any later version.
1067 -
1068 -# This program is distributed in the hope that it will be useful,
1069 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
1070 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1071 -# GNU General Public License for more details.
1072 -
1073 -# You should have received a copy of the GNU General Public License
1074 -# along with this program; if not, write to the Free Software
1075 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1076 -
1077 -# AM_AUTOMAKE_VERSION(VERSION)
1078 -# ----------------------------
1079 -# Automake X.Y traces this macro to ensure aclocal.m4 has been
1080 -# generated from the m4 files accompanying Automake X.Y.
1081 -AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])
1082 -
1083 -# AM_SET_CURRENT_AUTOMAKE_VERSION
1084 -# -------------------------------
1085 -# Call AM_AUTOMAKE_VERSION so it can be traced.
1086 -# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
1087 -AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
1088 -        [AM_AUTOMAKE_VERSION([1.7.5])])
1089 -
1090 -# Helper functions for option handling.                    -*- Autoconf -*-
1091 -
1092 -# Copyright 2001, 2002  Free Software Foundation, Inc.
1093 -
1094 -# This program is free software; you can redistribute it and/or modify
1095 -# it under the terms of the GNU General Public License as published by
1096 -# the Free Software Foundation; either version 2, or (at your option)
1097 -# any later version.
1098 -
1099 -# This program is distributed in the hope that it will be useful,
1100 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
1101 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1102 -# GNU General Public License for more details.
1103 -
1104 -# You should have received a copy of the GNU General Public License
1105 -# along with this program; if not, write to the Free Software
1106 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1107 -# 02111-1307, USA.
1108 -
1109 -# serial 2
1110 -
1111 -# _AM_MANGLE_OPTION(NAME)
1112 -# -----------------------
1113 -AC_DEFUN([_AM_MANGLE_OPTION],
1114 -[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1115 -
1116 -# _AM_SET_OPTION(NAME)
1117 -# ------------------------------
1118 -# Set option NAME.  Presently that only means defining a flag for this option.
1119 -AC_DEFUN([_AM_SET_OPTION],
1120 -[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1121 -
1122 -# _AM_SET_OPTIONS(OPTIONS)
1123 -# ----------------------------------
1124 -# OPTIONS is a space-separated list of Automake options.
1125 -AC_DEFUN([_AM_SET_OPTIONS],
1126 -[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1127 -
1128 -# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1129 -# -------------------------------------------
1130 -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
1131 -AC_DEFUN([_AM_IF_OPTION],
1132 -[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1133 -
1134 -#
1135 -# Check to make sure that the build environment is sane.
1136 -#
1137 -
1138 -# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
1139 -
1140 -# This program is free software; you can redistribute it and/or modify
1141 -# it under the terms of the GNU General Public License as published by
1142 -# the Free Software Foundation; either version 2, or (at your option)
1143 -# any later version.
1144 -
1145 -# This program is distributed in the hope that it will be useful,
1146 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
1147 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1148 -# GNU General Public License for more details.
1149 -
1150 -# You should have received a copy of the GNU General Public License
1151 -# along with this program; if not, write to the Free Software
1152 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1153 -# 02111-1307, USA.
1154 -
1155 -# serial 3
1156 -
1157 -# AM_SANITY_CHECK
1158 -# ---------------
1159 -AC_DEFUN([AM_SANITY_CHECK],
1160 -[AC_MSG_CHECKING([whether build environment is sane])
1161 -# Just in case
1162 -sleep 1
1163 -echo timestamp > conftest.file
1164 -# Do `set' in a subshell so we don't clobber the current shell's
1165 -# arguments.  Must try -L first in case configure is actually a
1166 -# symlink; some systems play weird games with the mod time of symlinks
1167 -# (eg FreeBSD returns the mod time of the symlink's containing
1168 -# directory).
1169 -if (
1170 -   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1171 -   if test "$[*]" = "X"; then
1172 -      # -L didn't work.
1173 -      set X `ls -t $srcdir/configure conftest.file`
1174 -   fi
1175 -   rm -f conftest.file
1176 -   if test "$[*]" != "X $srcdir/configure conftest.file" \
1177 -      && test "$[*]" != "X conftest.file $srcdir/configure"; then
1178 -
1179 -      # If neither matched, then we have a broken ls.  This can happen
1180 -      # if, for instance, CONFIG_SHELL is bash and it inherits a
1181 -      # broken ls alias from the environment.  This has actually
1182 -      # happened.  Such a system could not be considered "sane".
1183 -      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
1184 -alias in your environment])
1185 -   fi
1186 -
1187 -   test "$[2]" = conftest.file
1188 -   )
1189 -then
1190 -   # Ok.
1191 -   :
1192 -else
1193 -   AC_MSG_ERROR([newly created file is older than distributed files!
1194 -Check your system clock])
1195 -fi
1196 -AC_MSG_RESULT(yes)])
1197 -
1198 -#  -*- Autoconf -*-
1199 -
1200 -
1201 -# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
1202 -
1203 -# This program is free software; you can redistribute it and/or modify
1204 -# it under the terms of the GNU General Public License as published by
1205 -# the Free Software Foundation; either version 2, or (at your option)
1206 -# any later version.
1207 -
1208 -# This program is distributed in the hope that it will be useful,
1209 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
1210 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1211 -# GNU General Public License for more details.
1212 -
1213 -# You should have received a copy of the GNU General Public License
1214 -# along with this program; if not, write to the Free Software
1215 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1216 -# 02111-1307, USA.
1217 -
1218 -# serial 3
1219 -
1220 -# AM_MISSING_PROG(NAME, PROGRAM)
1221 -# ------------------------------
1222 -AC_DEFUN([AM_MISSING_PROG],
1223 -[AC_REQUIRE([AM_MISSING_HAS_RUN])
1224 -$1=${$1-"${am_missing_run}$2"}
1225 -AC_SUBST($1)])
1226 -
1227 -
1228 -# AM_MISSING_HAS_RUN
1229 -# ------------------
1230 -# Define MISSING if not defined so far and test if it supports --run.
1231 -# If it does, set am_missing_run to use it, otherwise, to nothing.
1232 -AC_DEFUN([AM_MISSING_HAS_RUN],
1233 -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1234 -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1235 -# Use eval to expand $SHELL
1236 -if eval "$MISSING --run true"; then
1237 -  am_missing_run="$MISSING --run "
1238 -else
1239 -  am_missing_run=
1240 -  AC_MSG_WARN([`missing' script is too old or missing])
1241 -fi
1242  ])
1243  
1244 -# AM_AUX_DIR_EXPAND
1245 -
1246 -# Copyright 2001 Free Software Foundation, Inc.
1247 -
1248 -# This program is free software; you can redistribute it and/or modify
1249 -# it under the terms of the GNU General Public License as published by
1250 -# the Free Software Foundation; either version 2, or (at your option)
1251 -# any later version.
1252 -
1253 -# This program is distributed in the hope that it will be useful,
1254 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
1255 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1256 -# GNU General Public License for more details.
1257 -
1258 -# You should have received a copy of the GNU General Public License
1259 -# along with this program; if not, write to the Free Software
1260 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1261 -# 02111-1307, USA.
1262 -
1263 -# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
1264 -# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
1265 -# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
1266 -#
1267 -# Of course, Automake must honor this variable whenever it calls a
1268 -# tool from the auxiliary directory.  The problem is that $srcdir (and
1269 -# therefore $ac_aux_dir as well) can be either absolute or relative,
1270 -# depending on how configure is run.  This is pretty annoying, since
1271 -# it makes $ac_aux_dir quite unusable in subdirectories: in the top
1272 -# source directory, any form will work fine, but in subdirectories a
1273 -# relative path needs to be adjusted first.
1274 -#
1275 -# $ac_aux_dir/missing
1276 -#    fails when called from a subdirectory if $ac_aux_dir is relative
1277 -# $top_srcdir/$ac_aux_dir/missing
1278 -#    fails if $ac_aux_dir is absolute,
1279 -#    fails when called from a subdirectory in a VPATH build with
1280 -#          a relative $ac_aux_dir
1281 -#
1282 -# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
1283 -# are both prefixed by $srcdir.  In an in-source build this is usually
1284 -# harmless because $srcdir is `.', but things will broke when you
1285 -# start a VPATH build or use an absolute $srcdir.
1286 -#
1287 -# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
1288 -# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
1289 -#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
1290 -# and then we would define $MISSING as
1291 -#   MISSING="\${SHELL} $am_aux_dir/missing"
1292 -# This will work as long as MISSING is not called from configure, because
1293 -# unfortunately $(top_srcdir) has no meaning in configure.
1294 -# However there are other variables, like CC, which are often used in
1295 -# configure, and could therefore not use this "fixed" $ac_aux_dir.
1296 -#
1297 -# Another solution, used here, is to always expand $ac_aux_dir to an
1298 -# absolute PATH.  The drawback is that using absolute paths prevent a
1299 -# configured tree to be moved without reconfiguration.
1300 -
1301 -# Rely on autoconf to set up CDPATH properly.
1302 -AC_PREREQ([2.50])
1303 -
1304 -AC_DEFUN([AM_AUX_DIR_EXPAND], [
1305 -# expand $ac_aux_dir to an absolute path
1306 -am_aux_dir=`cd $ac_aux_dir && pwd`
1307 +dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
1308 +dnl acl_final_exec_prefix, containing the values to which $prefix and
1309 +dnl $exec_prefix will expand at the end of the configure script.
1310 +AC_DEFUN([AC_LIB_PREPARE_PREFIX],
1311 +[
1312 +  dnl Unfortunately, prefix and exec_prefix get only finally determined
1313 +  dnl at the end of configure.
1314 +  if test "X$prefix" = "XNONE"; then
1315 +    acl_final_prefix="$ac_default_prefix"
1316 +  else
1317 +    acl_final_prefix="$prefix"
1318 +  fi
1319 +  if test "X$exec_prefix" = "XNONE"; then
1320 +    acl_final_exec_prefix='${prefix}'
1321 +  else
1322 +    acl_final_exec_prefix="$exec_prefix"
1323 +  fi
1324 +  acl_save_prefix="$prefix"
1325 +  prefix="$acl_final_prefix"
1326 +  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
1327 +  prefix="$acl_save_prefix"
1328  ])
1329  
1330 -# AM_PROG_INSTALL_SH
1331 -# ------------------
1332 -# Define $install_sh.
1333 -
1334 -# Copyright 2001 Free Software Foundation, Inc.
1335 -
1336 -# This program is free software; you can redistribute it and/or modify
1337 -# it under the terms of the GNU General Public License as published by
1338 -# the Free Software Foundation; either version 2, or (at your option)
1339 -# any later version.
1340 -
1341 -# This program is distributed in the hope that it will be useful,
1342 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
1343 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1344 -# GNU General Public License for more details.
1345 -
1346 -# You should have received a copy of the GNU General Public License
1347 -# along with this program; if not, write to the Free Software
1348 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1349 -# 02111-1307, USA.
1350 -
1351 -AC_DEFUN([AM_PROG_INSTALL_SH],
1352 -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1353 -install_sh=${install_sh-"$am_aux_dir/install-sh"}
1354 -AC_SUBST(install_sh)])
1355 -
1356 -# AM_PROG_INSTALL_STRIP
1357 -
1358 -# Copyright 2001 Free Software Foundation, Inc.
1359 -
1360 -# This program is free software; you can redistribute it and/or modify
1361 -# it under the terms of the GNU General Public License as published by
1362 -# the Free Software Foundation; either version 2, or (at your option)
1363 -# any later version.
1364 -
1365 -# This program is distributed in the hope that it will be useful,
1366 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
1367 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1368 -# GNU General Public License for more details.
1369 -
1370 -# You should have received a copy of the GNU General Public License
1371 -# along with this program; if not, write to the Free Software
1372 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1373 -# 02111-1307, USA.
1374 -
1375 -# One issue with vendor `install' (even GNU) is that you can't
1376 -# specify the program used to strip binaries.  This is especially
1377 -# annoying in cross-compiling environments, where the build's strip
1378 -# is unlikely to handle the host's binaries.
1379 -# Fortunately install-sh will honor a STRIPPROG variable, so we
1380 -# always use install-sh in `make install-strip', and initialize
1381 -# STRIPPROG with the value of the STRIP variable (set by the user).
1382 -AC_DEFUN([AM_PROG_INSTALL_STRIP],
1383 -[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1384 -# Installed binaries are usually stripped using `strip' when the user
1385 -# run `make install-strip'.  However `strip' might not be the right
1386 -# tool to use in cross-compilation environments, therefore Automake
1387 -# will honor the `STRIP' environment variable to overrule this program.
1388 -dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
1389 -if test "$cross_compiling" != no; then
1390 -  AC_CHECK_TOOL([STRIP], [strip], :)
1391 -fi
1392 -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1393 -AC_SUBST([INSTALL_STRIP_PROGRAM])])
1394 -
1395 -#                                                          -*- Autoconf -*-
1396 -# Copyright (C) 2003  Free Software Foundation, Inc.
1397 -
1398 -# This program is free software; you can redistribute it and/or modify
1399 -# it under the terms of the GNU General Public License as published by
1400 -# the Free Software Foundation; either version 2, or (at your option)
1401 -# any later version.
1402 -
1403 -# This program is distributed in the hope that it will be useful,
1404 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
1405 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1406 -# GNU General Public License for more details.
1407 -
1408 -# You should have received a copy of the GNU General Public License
1409 -# along with this program; if not, write to the Free Software
1410 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1411 -# 02111-1307, USA.
1412 -
1413 -# serial 1
1414 -
1415 -# Check whether the underlying file-system supports filenames
1416 -# with a leading dot.  For instance MS-DOS doesn't.
1417 -AC_DEFUN([AM_SET_LEADING_DOT],
1418 -[rm -rf .tst 2>/dev/null
1419 -mkdir .tst 2>/dev/null
1420 -if test -d .tst; then
1421 -  am__leading_dot=.
1422 -else
1423 -  am__leading_dot=_
1424 -fi
1425 -rmdir .tst 2>/dev/null
1426 -AC_SUBST([am__leading_dot])])
1427 -
1428 -# serial 5                                             -*- Autoconf -*-
1429 -
1430 -# Copyright (C) 1999, 2000, 2001, 2002, 2003  Free Software Foundation, Inc.
1431 -
1432 -# This program is free software; you can redistribute it and/or modify
1433 -# it under the terms of the GNU General Public License as published by
1434 -# the Free Software Foundation; either version 2, or (at your option)
1435 -# any later version.
1436 -
1437 -# This program is distributed in the hope that it will be useful,
1438 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
1439 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1440 -# GNU General Public License for more details.
1441 -
1442 -# You should have received a copy of the GNU General Public License
1443 -# along with this program; if not, write to the Free Software
1444 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1445 -# 02111-1307, USA.
1446 -
1447 -
1448 -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
1449 -# written in clear, in which case automake, when reading aclocal.m4,
1450 -# will think it sees a *use*, and therefore will trigger all it's
1451 -# C support machinery.  Also note that it means that autoscan, seeing
1452 -# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
1453 -
1454 -
1455 -
1456 -# _AM_DEPENDENCIES(NAME)
1457 -# ----------------------
1458 -# See how the compiler implements dependency checking.
1459 -# NAME is "CC", "CXX", "GCJ", or "OBJC".
1460 -# We try a few techniques and use that to set a single cache variable.
1461 -#
1462 -# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
1463 -# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
1464 -# dependency, and given that the user is not expected to run this macro,
1465 -# just rely on AC_PROG_CC.
1466 -AC_DEFUN([_AM_DEPENDENCIES],
1467 -[AC_REQUIRE([AM_SET_DEPDIR])dnl
1468 -AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
1469 -AC_REQUIRE([AM_MAKE_INCLUDE])dnl
1470 -AC_REQUIRE([AM_DEP_TRACK])dnl
1471 -
1472 -ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
1473 -       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
1474 -       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
1475 -       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
1476 -                   [depcc="$$1"   am_compiler_list=])
1477 -
1478 -AC_CACHE_CHECK([dependency style of $depcc],
1479 -               [am_cv_$1_dependencies_compiler_type],
1480 -[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1481 -  # We make a subdir and do the tests there.  Otherwise we can end up
1482 -  # making bogus files that we don't know about and never remove.  For
1483 -  # instance it was reported that on HP-UX the gcc test will end up
1484 -  # making a dummy file named `D' -- because `-MD' means `put the output
1485 -  # in D'.
1486 -  mkdir conftest.dir
1487 -  # Copy depcomp to subdir because otherwise we won't find it if we're
1488 -  # using a relative directory.
1489 -  cp "$am_depcomp" conftest.dir
1490 -  cd conftest.dir
1491 -
1492 -  am_cv_$1_dependencies_compiler_type=none
1493 -  if test "$am_compiler_list" = ""; then
1494 -     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
1495 -  fi
1496 -  for depmode in $am_compiler_list; do
1497 -    # We need to recreate these files for each test, as the compiler may
1498 -    # overwrite some of them when testing with obscure command lines.
1499 -    # This happens at least with the AIX C compiler.
1500 -    echo '#include "conftest.h"' > conftest.c
1501 -    echo 'int i;' > conftest.h
1502 -    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
1503 -
1504 -    case $depmode in
1505 -    nosideeffect)
1506 -      # after this tag, mechanisms are not by side-effect, so they'll
1507 -      # only be used when explicitly requested
1508 -      if test "x$enable_dependency_tracking" = xyes; then
1509 -       continue
1510 +dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
1511 +dnl variables prefix and exec_prefix bound to the values they will have
1512 +dnl at the end of the configure script.
1513 +AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
1514 +[
1515 +  acl_save_prefix="$prefix"
1516 +  prefix="$acl_final_prefix"
1517 +  acl_save_exec_prefix="$exec_prefix"
1518 +  exec_prefix="$acl_final_exec_prefix"
1519 +  $1
1520 +  exec_prefix="$acl_save_exec_prefix"
1521 +  prefix="$acl_save_prefix"
1522 +])
1523 +
1524 +# lib-link.m4 serial 4 (gettext-0.12)
1525 +dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
1526 +dnl This file is free software, distributed under the terms of the GNU
1527 +dnl General Public License.  As a special exception to the GNU General
1528 +dnl Public License, this file may be distributed as part of a program
1529 +dnl that contains a configuration script generated by Autoconf, under
1530 +dnl the same distribution terms as the rest of that program.
1531 +
1532 +dnl From Bruno Haible.
1533 +
1534 +dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
1535 +dnl the libraries corresponding to explicit and implicit dependencies.
1536 +dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
1537 +dnl augments the CPPFLAGS variable.
1538 +AC_DEFUN([AC_LIB_LINKFLAGS],
1539 +[
1540 +  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
1541 +  AC_REQUIRE([AC_LIB_RPATH])
1542 +  define([Name],[translit([$1],[./-], [___])])
1543 +  define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
1544 +                               [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
1545 +  AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
1546 +    AC_LIB_LINKFLAGS_BODY([$1], [$2])
1547 +    ac_cv_lib[]Name[]_libs="$LIB[]NAME"
1548 +    ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
1549 +    ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
1550 +  ])
1551 +  LIB[]NAME="$ac_cv_lib[]Name[]_libs"
1552 +  LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
1553 +  INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
1554 +  AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
1555 +  AC_SUBST([LIB]NAME)
1556 +  AC_SUBST([LTLIB]NAME)
1557 +  dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
1558 +  dnl results of this search when this library appears as a dependency.
1559 +  HAVE_LIB[]NAME=yes
1560 +  undefine([Name])
1561 +  undefine([NAME])
1562 +])
1563 +
1564 +dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode)
1565 +dnl searches for libname and the libraries corresponding to explicit and
1566 +dnl implicit dependencies, together with the specified include files and
1567 +dnl the ability to compile and link the specified testcode. If found, it
1568 +dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and
1569 +dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and
1570 +dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
1571 +dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
1572 +AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
1573 +[
1574 +  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
1575 +  AC_REQUIRE([AC_LIB_RPATH])
1576 +  define([Name],[translit([$1],[./-], [___])])
1577 +  define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
1578 +                               [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
1579 +
1580 +  dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
1581 +  dnl accordingly.
1582 +  AC_LIB_LINKFLAGS_BODY([$1], [$2])
1583 +
1584 +  dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
1585 +  dnl because if the user has installed lib[]Name and not disabled its use
1586 +  dnl via --without-lib[]Name-prefix, he wants to use it.
1587 +  ac_save_CPPFLAGS="$CPPFLAGS"
1588 +  AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
1589 +
1590 +  AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
1591 +    ac_save_LIBS="$LIBS"
1592 +    LIBS="$LIBS $LIB[]NAME"
1593 +    AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
1594 +    LIBS="$ac_save_LIBS"
1595 +  ])
1596 +  if test "$ac_cv_lib[]Name" = yes; then
1597 +    HAVE_LIB[]NAME=yes
1598 +    AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
1599 +    AC_MSG_CHECKING([how to link with lib[]$1])
1600 +    AC_MSG_RESULT([$LIB[]NAME])
1601 +  else
1602 +    HAVE_LIB[]NAME=no
1603 +    dnl If $LIB[]NAME didn't lead to a usable library, we don't need
1604 +    dnl $INC[]NAME either.
1605 +    CPPFLAGS="$ac_save_CPPFLAGS"
1606 +    LIB[]NAME=
1607 +    LTLIB[]NAME=
1608 +  fi
1609 +  AC_SUBST([HAVE_LIB]NAME)
1610 +  AC_SUBST([LIB]NAME)
1611 +  AC_SUBST([LTLIB]NAME)
1612 +  undefine([Name])
1613 +  undefine([NAME])
1614 +])
1615 +
1616 +dnl Determine the platform dependent parameters needed to use rpath:
1617 +dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator,
1618 +dnl hardcode_direct, hardcode_minus_L.
1619 +AC_DEFUN([AC_LIB_RPATH],
1620 +[
1621 +  AC_REQUIRE([AC_PROG_CC])                dnl we use $CC, $GCC, $LDFLAGS
1622 +  AC_REQUIRE([AC_LIB_PROG_LD])            dnl we use $LD, $with_gnu_ld
1623 +  AC_REQUIRE([AC_CANONICAL_HOST])         dnl we use $host
1624 +  AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
1625 +  AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
1626 +    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
1627 +    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
1628 +    . ./conftest.sh
1629 +    rm -f ./conftest.sh
1630 +    acl_cv_rpath=done
1631 +  ])
1632 +  wl="$acl_cv_wl"
1633 +  libext="$acl_cv_libext"
1634 +  shlibext="$acl_cv_shlibext"
1635 +  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
1636 +  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
1637 +  hardcode_direct="$acl_cv_hardcode_direct"
1638 +  hardcode_minus_L="$acl_cv_hardcode_minus_L"
1639 +  dnl Determine whether the user wants rpath handling at all.
1640 +  AC_ARG_ENABLE(rpath,
1641 +    [  --disable-rpath         do not hardcode runtime library paths],
1642 +    :, enable_rpath=yes)
1643 +])
1644 +
1645 +dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
1646 +dnl the libraries corresponding to explicit and implicit dependencies.
1647 +dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
1648 +AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
1649 +[
1650 +  define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
1651 +                               [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
1652 +  dnl By default, look in $includedir and $libdir.
1653 +  use_additional=yes
1654 +  AC_LIB_WITH_FINAL_PREFIX([
1655 +    eval additional_includedir=\"$includedir\"
1656 +    eval additional_libdir=\"$libdir\"
1657 +  ])
1658 +  AC_LIB_ARG_WITH([lib$1-prefix],
1659 +[  --with-lib$1-prefix[=DIR]  search for lib$1 in DIR/include and DIR/lib
1660 +  --without-lib$1-prefix     don't search for lib$1 in includedir and libdir],
1661 +[
1662 +    if test "X$withval" = "Xno"; then
1663 +      use_additional=no
1664 +    else
1665 +      if test "X$withval" = "X"; then
1666 +        AC_LIB_WITH_FINAL_PREFIX([
1667 +          eval additional_includedir=\"$includedir\"
1668 +          eval additional_libdir=\"$libdir\"
1669 +        ])
1670        else
1671 -       break
1672 -      fi
1673 -      ;;
1674 -    none) break ;;
1675 -    esac
1676 -    # We check with `-c' and `-o' for the sake of the "dashmstdout"
1677 -    # mode.  It turns out that the SunPro C++ compiler does not properly
1678 -    # handle `-M -o', and we need to detect this.
1679 -    if depmode=$depmode \
1680 -       source=conftest.c object=conftest.o \
1681 -       depfile=conftest.Po tmpdepfile=conftest.TPo \
1682 -       $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \
1683 -         >/dev/null 2>conftest.err &&
1684 -       grep conftest.h conftest.Po > /dev/null 2>&1 &&
1685 -       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1686 -      # icc doesn't choke on unknown options, it will just issue warnings
1687 -      # (even with -Werror).  So we grep stderr for any message
1688 -      # that says an option was ignored.
1689 -      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
1690 -        am_cv_$1_dependencies_compiler_type=$depmode
1691 -        break
1692 +        additional_includedir="$withval/include"
1693 +        additional_libdir="$withval/lib"
1694        fi
1695      fi
1696 -  done
1697 -
1698 -  cd ..
1699 -  rm -rf conftest.dir
1700 -else
1701 -  am_cv_$1_dependencies_compiler_type=none
1702 -fi
1703  ])
1704 -AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
1705 -AM_CONDITIONAL([am__fastdep$1], [
1706 -  test "x$enable_dependency_tracking" != xno \
1707 -  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
1708 +  dnl Search the library and its dependencies in $additional_libdir and
1709 +  dnl $LDFLAGS. Using breadth-first-seach.
1710 +  LIB[]NAME=
1711 +  LTLIB[]NAME=
1712 +  INC[]NAME=
1713 +  rpathdirs=
1714 +  ltrpathdirs=
1715 +  names_already_handled=
1716 +  names_next_round='$1 $2'
1717 +  while test -n "$names_next_round"; do
1718 +    names_this_round="$names_next_round"
1719 +    names_next_round=
1720 +    for name in $names_this_round; do
1721 +      already_handled=
1722 +      for n in $names_already_handled; do
1723 +        if test "$n" = "$name"; then
1724 +          already_handled=yes
1725 +          break
1726 +        fi
1727 +      done
1728 +      if test -z "$already_handled"; then
1729 +        names_already_handled="$names_already_handled $name"
1730 +        dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
1731 +        dnl or AC_LIB_HAVE_LINKFLAGS call.
1732 +        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
1733 +        eval value=\"\$HAVE_LIB$uppername\"
1734 +        if test -n "$value"; then
1735 +          if test "$value" = yes; then
1736 +            eval value=\"\$LIB$uppername\"
1737 +            test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
1738 +            eval value=\"\$LTLIB$uppername\"
1739 +            test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
1740 +          else
1741 +            dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
1742 +            dnl that this library doesn't exist. So just drop it.
1743 +            :
1744 +          fi
1745 +        else
1746 +          dnl Search the library lib$name in $additional_libdir and $LDFLAGS
1747 +          dnl and the already constructed $LIBNAME/$LTLIBNAME.
1748 +          found_dir=
1749 +          found_la=
1750 +          found_so=
1751 +          found_a=
1752 +          if test $use_additional = yes; then
1753 +            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
1754 +              found_dir="$additional_libdir"
1755 +              found_so="$additional_libdir/lib$name.$shlibext"
1756 +              if test -f "$additional_libdir/lib$name.la"; then
1757 +                found_la="$additional_libdir/lib$name.la"
1758 +              fi
1759 +            else
1760 +              if test -f "$additional_libdir/lib$name.$libext"; then
1761 +                found_dir="$additional_libdir"
1762 +                found_a="$additional_libdir/lib$name.$libext"
1763 +                if test -f "$additional_libdir/lib$name.la"; then
1764 +                  found_la="$additional_libdir/lib$name.la"
1765 +                fi
1766 +              fi
1767 +            fi
1768 +          fi
1769 +          if test "X$found_dir" = "X"; then
1770 +            for x in $LDFLAGS $LTLIB[]NAME; do
1771 +              AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1772 +              case "$x" in
1773 +                -L*)
1774 +                  dir=`echo "X$x" | sed -e 's/^X-L//'`
1775 +                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
1776 +                    found_dir="$dir"
1777 +                    found_so="$dir/lib$name.$shlibext"
1778 +                    if test -f "$dir/lib$name.la"; then
1779 +                      found_la="$dir/lib$name.la"
1780 +                    fi
1781 +                  else
1782 +                    if test -f "$dir/lib$name.$libext"; then
1783 +                      found_dir="$dir"
1784 +                      found_a="$dir/lib$name.$libext"
1785 +                      if test -f "$dir/lib$name.la"; then
1786 +                        found_la="$dir/lib$name.la"
1787 +                      fi
1788 +                    fi
1789 +                  fi
1790 +                  ;;
1791 +              esac
1792 +              if test "X$found_dir" != "X"; then
1793 +                break
1794 +              fi
1795 +            done
1796 +          fi
1797 +          if test "X$found_dir" != "X"; then
1798 +            dnl Found the library.
1799 +            LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
1800 +            if test "X$found_so" != "X"; then
1801 +              dnl Linking with a shared library. We attempt to hardcode its
1802 +              dnl directory into the executable's runpath, unless it's the
1803 +              dnl standard /usr/lib.
1804 +              if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
1805 +                dnl No hardcoding is needed.
1806 +                LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1807 +              else
1808 +                dnl Use an explicit option to hardcode DIR into the resulting
1809 +                dnl binary.
1810 +                dnl Potentially add DIR to ltrpathdirs.
1811 +                dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
1812 +                haveit=
1813 +                for x in $ltrpathdirs; do
1814 +                  if test "X$x" = "X$found_dir"; then
1815 +                    haveit=yes
1816 +                    break
1817 +                  fi
1818 +                done
1819 +                if test -z "$haveit"; then
1820 +                  ltrpathdirs="$ltrpathdirs $found_dir"
1821 +                fi
1822 +                dnl The hardcoding into $LIBNAME is system dependent.
1823 +                if test "$hardcode_direct" = yes; then
1824 +                  dnl Using DIR/libNAME.so during linking hardcodes DIR into the
1825 +                  dnl resulting binary.
1826 +                  LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1827 +                else
1828 +                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
1829 +                    dnl Use an explicit option to hardcode DIR into the resulting
1830 +                    dnl binary.
1831 +                    LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1832 +                    dnl Potentially add DIR to rpathdirs.
1833 +                    dnl The rpathdirs will be appended to $LIBNAME at the end.
1834 +                    haveit=
1835 +                    for x in $rpathdirs; do
1836 +                      if test "X$x" = "X$found_dir"; then
1837 +                        haveit=yes
1838 +                        break
1839 +                      fi
1840 +                    done
1841 +                    if test -z "$haveit"; then
1842 +                      rpathdirs="$rpathdirs $found_dir"
1843 +                    fi
1844 +                  else
1845 +                    dnl Rely on "-L$found_dir".
1846 +                    dnl But don't add it if it's already contained in the LDFLAGS
1847 +                    dnl or the already constructed $LIBNAME
1848 +                    haveit=
1849 +                    for x in $LDFLAGS $LIB[]NAME; do
1850 +                      AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1851 +                      if test "X$x" = "X-L$found_dir"; then
1852 +                        haveit=yes
1853 +                        break
1854 +                      fi
1855 +                    done
1856 +                    if test -z "$haveit"; then
1857 +                      LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
1858 +                    fi
1859 +                    if test "$hardcode_minus_L" != no; then
1860 +                      dnl FIXME: Not sure whether we should use
1861 +                      dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
1862 +                      dnl here.
1863 +                      LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1864 +                    else
1865 +                      dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH
1866 +                      dnl here, because this doesn't fit in flags passed to the
1867 +                      dnl compiler. So give up. No hardcoding. This affects only
1868 +                      dnl very old systems.
1869 +                      dnl FIXME: Not sure whether we should use
1870 +                      dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
1871 +                      dnl here.
1872 +                      LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
1873 +                    fi
1874 +                  fi
1875 +                fi
1876 +              fi
1877 +            else
1878 +              if test "X$found_a" != "X"; then
1879 +                dnl Linking with a static library.
1880 +                LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
1881 +              else
1882 +                dnl We shouldn't come here, but anyway it's good to have a
1883 +                dnl fallback.
1884 +                LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
1885 +              fi
1886 +            fi
1887 +            dnl Assume the include files are nearby.
1888 +            additional_includedir=
1889 +            case "$found_dir" in
1890 +              */lib | */lib/)
1891 +                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
1892 +                additional_includedir="$basedir/include"
1893 +                ;;
1894 +            esac
1895 +            if test "X$additional_includedir" != "X"; then
1896 +              dnl Potentially add $additional_includedir to $INCNAME.
1897 +              dnl But don't add it
1898 +              dnl   1. if it's the standard /usr/include,
1899 +              dnl   2. if it's /usr/local/include and we are using GCC on Linux,
1900 +              dnl   3. if it's already present in $CPPFLAGS or the already
1901 +              dnl      constructed $INCNAME,
1902 +              dnl   4. if it doesn't exist as a directory.
1903 +              if test "X$additional_includedir" != "X/usr/include"; then
1904 +                haveit=
1905 +                if test "X$additional_includedir" = "X/usr/local/include"; then
1906 +                  if test -n "$GCC"; then
1907 +                    case $host_os in
1908 +                      linux*) haveit=yes;;
1909 +                    esac
1910 +                  fi
1911 +                fi
1912 +                if test -z "$haveit"; then
1913 +                  for x in $CPPFLAGS $INC[]NAME; do
1914 +                    AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1915 +                    if test "X$x" = "X-I$additional_includedir"; then
1916 +                      haveit=yes
1917 +                      break
1918 +                    fi
1919 +                  done
1920 +                  if test -z "$haveit"; then
1921 +                    if test -d "$additional_includedir"; then
1922 +                      dnl Really add $additional_includedir to $INCNAME.
1923 +                      INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
1924 +                    fi
1925 +                  fi
1926 +                fi
1927 +              fi
1928 +            fi
1929 +            dnl Look for dependencies.
1930 +            if test -n "$found_la"; then
1931 +              dnl Read the .la file. It defines the variables
1932 +              dnl dlname, library_names, old_library, dependency_libs, current,
1933 +              dnl age, revision, installed, dlopen, dlpreopen, libdir.
1934 +              save_libdir="$libdir"
1935 +              case "$found_la" in
1936 +                */* | *\\*) . "$found_la" ;;
1937 +                *) . "./$found_la" ;;
1938 +              esac
1939 +              libdir="$save_libdir"
1940 +              dnl We use only dependency_libs.
1941 +              for dep in $dependency_libs; do
1942 +                case "$dep" in
1943 +                  -L*)
1944 +                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
1945 +                    dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
1946 +                    dnl But don't add it
1947 +                    dnl   1. if it's the standard /usr/lib,
1948 +                    dnl   2. if it's /usr/local/lib and we are using GCC on Linux,
1949 +                    dnl   3. if it's already present in $LDFLAGS or the already
1950 +                    dnl      constructed $LIBNAME,
1951 +                    dnl   4. if it doesn't exist as a directory.
1952 +                    if test "X$additional_libdir" != "X/usr/lib"; then
1953 +                      haveit=
1954 +                      if test "X$additional_libdir" = "X/usr/local/lib"; then
1955 +                        if test -n "$GCC"; then
1956 +                          case $host_os in
1957 +                            linux*) haveit=yes;;
1958 +                          esac
1959 +                        fi
1960 +                      fi
1961 +                      if test -z "$haveit"; then
1962 +                        haveit=
1963 +                        for x in $LDFLAGS $LIB[]NAME; do
1964 +                          AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1965 +                          if test "X$x" = "X-L$additional_libdir"; then
1966 +                            haveit=yes
1967 +                            break
1968 +                          fi
1969 +                        done
1970 +                        if test -z "$haveit"; then
1971 +                          if test -d "$additional_libdir"; then
1972 +                            dnl Really add $additional_libdir to $LIBNAME.
1973 +                            LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
1974 +                          fi
1975 +                        fi
1976 +                        haveit=
1977 +                        for x in $LDFLAGS $LTLIB[]NAME; do
1978 +                          AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1979 +                          if test "X$x" = "X-L$additional_libdir"; then
1980 +                            haveit=yes
1981 +                            break
1982 +                          fi
1983 +                        done
1984 +                        if test -z "$haveit"; then
1985 +                          if test -d "$additional_libdir"; then
1986 +                            dnl Really add $additional_libdir to $LTLIBNAME.
1987 +                            LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
1988 +                          fi
1989 +                        fi
1990 +                      fi
1991 +                    fi
1992 +                    ;;
1993 +                  -R*)
1994 +                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
1995 +                    if test "$enable_rpath" != no; then
1996 +                      dnl Potentially add DIR to rpathdirs.
1997 +                      dnl The rpathdirs will be appended to $LIBNAME at the end.
1998 +                      haveit=
1999 +                      for x in $rpathdirs; do
2000 +                        if test "X$x" = "X$dir"; then
2001 +                          haveit=yes
2002 +                          break
2003 +                        fi
2004 +                      done
2005 +                      if test -z "$haveit"; then
2006 +                        rpathdirs="$rpathdirs $dir"
2007 +                      fi
2008 +                      dnl Potentially add DIR to ltrpathdirs.
2009 +                      dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
2010 +                      haveit=
2011 +                      for x in $ltrpathdirs; do
2012 +                        if test "X$x" = "X$dir"; then
2013 +                          haveit=yes
2014 +                          break
2015 +                        fi
2016 +                      done
2017 +                      if test -z "$haveit"; then
2018 +                        ltrpathdirs="$ltrpathdirs $dir"
2019 +                      fi
2020 +                    fi
2021 +                    ;;
2022 +                  -l*)
2023 +                    dnl Handle this in the next round.
2024 +                    names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
2025 +                    ;;
2026 +                  *.la)
2027 +                    dnl Handle this in the next round. Throw away the .la's
2028 +                    dnl directory; it is already contained in a preceding -L
2029 +                    dnl option.
2030 +                    names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
2031 +                    ;;
2032 +                  *)
2033 +                    dnl Most likely an immediate library name.
2034 +                    LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
2035 +                    LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
2036 +                    ;;
2037 +                esac
2038 +              done
2039 +            fi
2040 +          else
2041 +            dnl Didn't find the library; assume it is in the system directories
2042 +            dnl known to the linker and runtime loader. (All the system
2043 +            dnl directories known to the linker should also be known to the
2044 +            dnl runtime loader, otherwise the system is severely misconfigured.)
2045 +            LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
2046 +            LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
2047 +          fi
2048 +        fi
2049 +      fi
2050 +    done
2051 +  done
2052 +  if test "X$rpathdirs" != "X"; then
2053 +    if test -n "$hardcode_libdir_separator"; then
2054 +      dnl Weird platform: only the last -rpath option counts, the user must
2055 +      dnl pass all path elements in one option. We can arrange that for a
2056 +      dnl single library, but not when more than one $LIBNAMEs are used.
2057 +      alldirs=
2058 +      for found_dir in $rpathdirs; do
2059 +        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
2060 +      done
2061 +      dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
2062 +      acl_save_libdir="$libdir"
2063 +      libdir="$alldirs"
2064 +      eval flag=\"$hardcode_libdir_flag_spec\"
2065 +      libdir="$acl_save_libdir"
2066 +      LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
2067 +    else
2068 +      dnl The -rpath options are cumulative.
2069 +      for found_dir in $rpathdirs; do
2070 +        acl_save_libdir="$libdir"
2071 +        libdir="$found_dir"
2072 +        eval flag=\"$hardcode_libdir_flag_spec\"
2073 +        libdir="$acl_save_libdir"
2074 +        LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
2075 +      done
2076 +    fi
2077 +  fi
2078 +  if test "X$ltrpathdirs" != "X"; then
2079 +    dnl When using libtool, the option that works for both libraries and
2080 +    dnl executables is -R. The -R options are cumulative.
2081 +    for found_dir in $ltrpathdirs; do
2082 +      LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
2083 +    done
2084 +  fi
2085  ])
2086  
2087 -
2088 -# AM_SET_DEPDIR
2089 -# -------------
2090 -# Choose a directory name for dependency files.
2091 -# This macro is AC_REQUIREd in _AM_DEPENDENCIES
2092 -AC_DEFUN([AM_SET_DEPDIR],
2093 -[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
2094 -AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
2095 +dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
2096 +dnl unless already present in VAR.
2097 +dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
2098 +dnl contains two or three consecutive elements that belong together.
2099 +AC_DEFUN([AC_LIB_APPENDTOVAR],
2100 +[
2101 +  for element in [$2]; do
2102 +    haveit=
2103 +    for x in $[$1]; do
2104 +      AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2105 +      if test "X$x" = "X$element"; then
2106 +        haveit=yes
2107 +        break
2108 +      fi
2109 +    done
2110 +    if test -z "$haveit"; then
2111 +      [$1]="${[$1]}${[$1]:+ }$element"
2112 +    fi
2113 +  done
2114  ])
2115  
2116 -
2117 -# AM_DEP_TRACK
2118 -# ------------
2119 -AC_DEFUN([AM_DEP_TRACK],
2120 -[AC_ARG_ENABLE(dependency-tracking,
2121 -[  --disable-dependency-tracking Speeds up one-time builds
2122 -  --enable-dependency-tracking  Do not reject slow dependency extractors])
2123 -if test "x$enable_dependency_tracking" != xno; then
2124 -  am_depcomp="$ac_aux_dir/depcomp"
2125 -  AMDEPBACKSLASH='\'
2126 -fi
2127 -AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
2128 -AC_SUBST([AMDEPBACKSLASH])
2129 +# lib-ld.m4 serial 3 (gettext-0.13)
2130 +dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
2131 +dnl This file is free software, distributed under the terms of the GNU
2132 +dnl General Public License.  As a special exception to the GNU General
2133 +dnl Public License, this file may be distributed as part of a program
2134 +dnl that contains a configuration script generated by Autoconf, under
2135 +dnl the same distribution terms as the rest of that program.
2136 +
2137 +dnl Subroutines of libtool.m4,
2138 +dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
2139 +dnl with libtool.m4.
2140 +
2141 +dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
2142 +AC_DEFUN([AC_LIB_PROG_LD_GNU],
2143 +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
2144 +[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
2145 +case `$LD -v 2>&1 </dev/null` in
2146 +*GNU* | *'with BFD'*)
2147 +  acl_cv_prog_gnu_ld=yes ;;
2148 +*)
2149 +  acl_cv_prog_gnu_ld=no ;;
2150 +esac])
2151 +with_gnu_ld=$acl_cv_prog_gnu_ld
2152  ])
2153  
2154 -# Generate code to set up dependency tracking.   -*- Autoconf -*-
2155 -
2156 -# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
2157 -
2158 -# This program is free software; you can redistribute it and/or modify
2159 -# it under the terms of the GNU General Public License as published by
2160 -# the Free Software Foundation; either version 2, or (at your option)
2161 -# any later version.
2162 -
2163 -# This program is distributed in the hope that it will be useful,
2164 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2165 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2166 -# GNU General Public License for more details.
2167 -
2168 -# You should have received a copy of the GNU General Public License
2169 -# along with this program; if not, write to the Free Software
2170 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2171 -# 02111-1307, USA.
2172 -
2173 -#serial 2
2174 -
2175 -# _AM_OUTPUT_DEPENDENCY_COMMANDS
2176 -# ------------------------------
2177 -AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
2178 -[for mf in $CONFIG_FILES; do
2179 -  # Strip MF so we end up with the name of the file.
2180 -  mf=`echo "$mf" | sed -e 's/:.*$//'`
2181 -  # Check whether this is an Automake generated Makefile or not.
2182 -  # We used to match only the files named `Makefile.in', but
2183 -  # some people rename them; so instead we look at the file content.
2184 -  # Grep'ing the first line is not enough: some people post-process
2185 -  # each Makefile.in and add a new line on top of each file to say so.
2186 -  # So let's grep whole file.
2187 -  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
2188 -    dirpart=`AS_DIRNAME("$mf")`
2189 +dnl From libtool-1.4. Sets the variable LD.
2190 +AC_DEFUN([AC_LIB_PROG_LD],
2191 +[AC_ARG_WITH(gnu-ld,
2192 +[  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]],
2193 +test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
2194 +AC_REQUIRE([AC_PROG_CC])dnl
2195 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
2196 +# Prepare PATH_SEPARATOR.
2197 +# The user is always right.
2198 +if test "${PATH_SEPARATOR+set}" != set; then
2199 +  echo "#! /bin/sh" >conf$$.sh
2200 +  echo  "exit 0"   >>conf$$.sh
2201 +  chmod +x conf$$.sh
2202 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2203 +    PATH_SEPARATOR=';'
2204    else
2205 -    continue
2206 +    PATH_SEPARATOR=:
2207    fi
2208 -  grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
2209 -  # Extract the definition of DEP_FILES from the Makefile without
2210 -  # running `make'.
2211 -  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
2212 -  test -z "$DEPDIR" && continue
2213 -  # When using ansi2knr, U may be empty or an underscore; expand it
2214 -  U=`sed -n -e '/^U = / s///p' < "$mf"`
2215 -  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
2216 -  # We invoke sed twice because it is the simplest approach to
2217 -  # changing $(DEPDIR) to its actual value in the expansion.
2218 -  for file in `sed -n -e '
2219 -    /^DEP_FILES = .*\\\\$/ {
2220 -      s/^DEP_FILES = //
2221 -      :loop
2222 -       s/\\\\$//
2223 -       p
2224 -       n
2225 -       /\\\\$/ b loop
2226 -      p
2227 -    }
2228 -    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
2229 -       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
2230 -    # Make sure the directory exists.
2231 -    test -f "$dirpart/$file" && continue
2232 -    fdir=`AS_DIRNAME(["$file"])`
2233 -    AS_MKDIR_P([$dirpart/$fdir])
2234 -    # echo "creating $dirpart/$file"
2235 -    echo '# dummy' > "$dirpart/$file"
2236 +  rm -f conf$$.sh
2237 +fi
2238 +ac_prog=ld
2239 +if test "$GCC" = yes; then
2240 +  # Check if gcc -print-prog-name=ld gives a path.
2241 +  AC_MSG_CHECKING([for ld used by GCC])
2242 +  case $host in
2243 +  *-*-mingw*)
2244 +    # gcc leaves a trailing carriage return which upsets mingw
2245 +    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2246 +  *)
2247 +    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
2248 +  esac
2249 +  case $ac_prog in
2250 +    # Accept absolute paths.
2251 +    [[\\/]* | [A-Za-z]:[\\/]*)]
2252 +      [re_direlt='/[^/][^/]*/\.\./']
2253 +      # Canonicalize the path of ld
2254 +      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
2255 +      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
2256 +       ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
2257 +      done
2258 +      test -z "$LD" && LD="$ac_prog"
2259 +      ;;
2260 +  "")
2261 +    # If it fails, then pretend we aren't using GCC.
2262 +    ac_prog=ld
2263 +    ;;
2264 +  *)
2265 +    # If it is relative, then search for the first ld in PATH.
2266 +    with_gnu_ld=unknown
2267 +    ;;
2268 +  esac
2269 +elif test "$with_gnu_ld" = yes; then
2270 +  AC_MSG_CHECKING([for GNU ld])
2271 +else
2272 +  AC_MSG_CHECKING([for non-GNU ld])
2273 +fi
2274 +AC_CACHE_VAL(acl_cv_path_LD,
2275 +[if test -z "$LD"; then
2276 +  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
2277 +  for ac_dir in $PATH; do
2278 +    test -z "$ac_dir" && ac_dir=.
2279 +    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
2280 +      acl_cv_path_LD="$ac_dir/$ac_prog"
2281 +      # Check to see if the program is GNU ld.  I'd rather use --version,
2282 +      # but apparently some GNU ld's only accept -v.
2283 +      # Break only if it was the GNU/non-GNU ld that we prefer.
2284 +      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
2285 +      *GNU* | *'with BFD'*)
2286 +       test "$with_gnu_ld" != no && break ;;
2287 +      *)
2288 +       test "$with_gnu_ld" != yes && break ;;
2289 +      esac
2290 +    fi
2291    done
2292 -done
2293 -])# _AM_OUTPUT_DEPENDENCY_COMMANDS
2294 -
2295 -
2296 -# AM_OUTPUT_DEPENDENCY_COMMANDS
2297 -# -----------------------------
2298 -# This macro should only be invoked once -- use via AC_REQUIRE.
2299 -#
2300 -# This code is only required when automatic dependency tracking
2301 -# is enabled.  FIXME.  This creates each `.P' file that we will
2302 -# need in order to bootstrap the dependency handling code.
2303 -AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
2304 -[AC_CONFIG_COMMANDS([depfiles],
2305 -     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
2306 -     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
2307 +  IFS="$ac_save_ifs"
2308 +else
2309 +  acl_cv_path_LD="$LD" # Let the user override the test with a path.
2310 +fi])
2311 +LD="$acl_cv_path_LD"
2312 +if test -n "$LD"; then
2313 +  AC_MSG_RESULT($LD)
2314 +else
2315 +  AC_MSG_RESULT(no)
2316 +fi
2317 +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
2318 +AC_LIB_PROG_LD_GNU
2319  ])
2320  
2321 -# Check to see how 'make' treats includes.     -*- Autoconf -*-
2322 -
2323 -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
2324 -
2325 -# This program is free software; you can redistribute it and/or modify
2326 -# it under the terms of the GNU General Public License as published by
2327 -# the Free Software Foundation; either version 2, or (at your option)
2328 -# any later version.
2329 -
2330 -# This program is distributed in the hope that it will be useful,
2331 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2332 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2333 -# GNU General Public License for more details.
2334 +# Do all the work for Automake.  This macro actually does too much --
2335 +# some checks are only needed if your package does certain things.
2336 +# But this isn't really a big deal.
2337  
2338 -# You should have received a copy of the GNU General Public License
2339 -# along with this program; if not, write to the Free Software
2340 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2341 -# 02111-1307, USA.
2342 +# serial 1
2343  
2344 -# serial 2
2345 +dnl Usage:
2346 +dnl AM_INIT_AUTOMAKE(package,version, [no-define])
2347  
2348 -# AM_MAKE_INCLUDE()
2349 -# -----------------
2350 -# Check to see how make treats includes.
2351 -AC_DEFUN([AM_MAKE_INCLUDE],
2352 -[am_make=${MAKE-make}
2353 -cat > confinc << 'END'
2354 -am__doit:
2355 -       @echo done
2356 -.PHONY: am__doit
2357 -END
2358 -# If we don't find an include directive, just comment out the code.
2359 -AC_MSG_CHECKING([for style of include used by $am_make])
2360 -am__include="#"
2361 -am__quote=
2362 -_am_result=none
2363 -# First try GNU make style include.
2364 -echo "include confinc" > confmf
2365 -# We grep out `Entering directory' and `Leaving directory'
2366 -# messages which can occur if `w' ends up in MAKEFLAGS.
2367 -# In particular we don't look at `^make:' because GNU make might
2368 -# be invoked under some other name (usually "gmake"), in which
2369 -# case it prints its new name instead of `make'.
2370 -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2371 -   am__include=include
2372 -   am__quote=
2373 -   _am_result=GNU
2374 -fi
2375 -# Now try BSD make style include.
2376 -if test "$am__include" = "#"; then
2377 -   echo '.include "confinc"' > confmf
2378 -   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2379 -      am__include=.include
2380 -      am__quote="\""
2381 -      _am_result=BSD
2382 -   fi
2383 +AC_DEFUN([AM_INIT_AUTOMAKE],
2384 +[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
2385 +AC_REQUIRE([AC_PROG_INSTALL])
2386 +PACKAGE=[$1]
2387 +AC_SUBST(PACKAGE)
2388 +VERSION=[$2]
2389 +AC_SUBST(VERSION)
2390 +dnl test to see if srcdir already configured
2391 +if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
2392 +  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
2393  fi
2394 -AC_SUBST([am__include])
2395 -AC_SUBST([am__quote])
2396 -AC_MSG_RESULT([$_am_result])
2397 -rm -f confinc confmf
2398 -])
2399 -
2400 -# AM_CONDITIONAL                                              -*- Autoconf -*-
2401 +ifelse([$3],,
2402 +AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
2403 +AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
2404 +AC_REQUIRE([AM_SANITY_CHECK])
2405 +AC_REQUIRE([AC_ARG_PROGRAM])
2406 +dnl FIXME This is truly gross.
2407 +missing_dir=`cd $ac_aux_dir && pwd`
2408 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir)
2409 +AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
2410 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir)
2411 +AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
2412 +AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
2413 +AC_REQUIRE([AC_PROG_MAKE_SET])])
2414  
2415 -# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
2416 +# Copyright 2002  Free Software Foundation, Inc.
2417  
2418  # This program is free software; you can redistribute it and/or modify
2419  # it under the terms of the GNU General Public License as published by
2420 @@ -791,62 +880,106 @@
2421  # You should have received a copy of the GNU General Public License
2422  # along with this program; if not, write to the Free Software
2423  # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2424 -# 02111-1307, USA.
2425 -
2426 -# serial 5
2427  
2428 -AC_PREREQ(2.52)
2429 -
2430 -# AM_CONDITIONAL(NAME, SHELL-CONDITION)
2431 -# -------------------------------------
2432 -# Define a conditional.
2433 -AC_DEFUN([AM_CONDITIONAL],
2434 -[ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
2435 -        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
2436 -AC_SUBST([$1_TRUE])
2437 -AC_SUBST([$1_FALSE])
2438 -if $2; then
2439 -  $1_TRUE=
2440 -  $1_FALSE='#'
2441 -else
2442 -  $1_TRUE='#'
2443 -  $1_FALSE=
2444 -fi
2445 -AC_CONFIG_COMMANDS_PRE(
2446 -[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
2447 -  AC_MSG_ERROR([conditional "$1" was never defined.
2448 -Usually this means the macro was only invoked conditionally.])
2449 -fi])])
2450 +# AM_AUTOMAKE_VERSION(VERSION)
2451 +# ----------------------------
2452 +# Automake X.Y traces this macro to ensure aclocal.m4 has been
2453 +# generated from the m4 files accompanying Automake X.Y.
2454 +AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"])
2455  
2456 -# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
2457 +# AM_SET_CURRENT_AUTOMAKE_VERSION
2458 +# -------------------------------
2459 +# Call AM_AUTOMAKE_VERSION so it can be traced.
2460 +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
2461 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
2462 +        [AM_AUTOMAKE_VERSION([1.4-p6])])
2463  
2464 -# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
2465 +#
2466 +# Check to make sure that the build environment is sane.
2467 +#
2468  
2469 -# This program is free software; you can redistribute it and/or modify
2470 -# it under the terms of the GNU General Public License as published by
2471 -# the Free Software Foundation; either version 2, or (at your option)
2472 -# any later version.
2473 +AC_DEFUN([AM_SANITY_CHECK],
2474 +[AC_MSG_CHECKING([whether build environment is sane])
2475 +# Just in case
2476 +sleep 1
2477 +echo timestamp > conftestfile
2478 +# Do `set' in a subshell so we don't clobber the current shell's
2479 +# arguments.  Must try -L first in case configure is actually a
2480 +# symlink; some systems play weird games with the mod time of symlinks
2481 +# (eg FreeBSD returns the mod time of the symlink's containing
2482 +# directory).
2483 +if (
2484 +   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
2485 +   if test "[$]*" = "X"; then
2486 +      # -L didn't work.
2487 +      set X `ls -t $srcdir/configure conftestfile`
2488 +   fi
2489 +   if test "[$]*" != "X $srcdir/configure conftestfile" \
2490 +      && test "[$]*" != "X conftestfile $srcdir/configure"; then
2491  
2492 -# This program is distributed in the hope that it will be useful,
2493 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2494 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2495 -# GNU General Public License for more details.
2496 +      # If neither matched, then we have a broken ls.  This can happen
2497 +      # if, for instance, CONFIG_SHELL is bash and it inherits a
2498 +      # broken ls alias from the environment.  This has actually
2499 +      # happened.  Such a system could not be considered "sane".
2500 +      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
2501 +alias in your environment])
2502 +   fi
2503  
2504 -# You should have received a copy of the GNU General Public License
2505 -# along with this program; if not, write to the Free Software
2506 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2507 -# 02111-1307, USA.
2508 +   test "[$]2" = conftestfile
2509 +   )
2510 +then
2511 +   # Ok.
2512 +   :
2513 +else
2514 +   AC_MSG_ERROR([newly created file is older than distributed files!
2515 +Check your system clock])
2516 +fi
2517 +rm -f conftest*
2518 +AC_MSG_RESULT(yes)])
2519  
2520 -AC_PREREQ([2.52])
2521 +dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
2522 +dnl The program must properly implement --version.
2523 +AC_DEFUN([AM_MISSING_PROG],
2524 +[AC_MSG_CHECKING(for working $2)
2525 +# Run test in a subshell; some versions of sh will print an error if
2526 +# an executable is not found, even if stderr is redirected.
2527 +# Redirect stdin to placate older versions of autoconf.  Sigh.
2528 +if ($2 --version) < /dev/null > /dev/null 2>&1; then
2529 +   $1=$2
2530 +   AC_MSG_RESULT(found)
2531 +else
2532 +   $1="$3/missing $2"
2533 +   AC_MSG_RESULT(missing)
2534 +fi
2535 +AC_SUBST($1)])
2536  
2537 -# serial 6
2538 +# Like AC_CONFIG_HEADER, but automatically create stamp file.
2539  
2540 -# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
2541 -AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
2542 +AC_DEFUN([AM_CONFIG_HEADER],
2543 +[AC_PREREQ([2.12])
2544 +AC_CONFIG_HEADER([$1])
2545 +dnl When config.status generates a header, we must update the stamp-h file.
2546 +dnl This file resides in the same directory as the config header
2547 +dnl that is generated.  We must strip everything past the first ":",
2548 +dnl and everything past the last "/".
2549 +AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
2550 +ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
2551 +<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
2552 +<<am_indx=1
2553 +for am_file in <<$1>>; do
2554 +  case " <<$>>CONFIG_HEADERS " in
2555 +  *" <<$>>am_file "*<<)>>
2556 +    echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
2557 +    ;;
2558 +  esac
2559 +  am_indx=`expr "<<$>>am_indx" + 1`
2560 +done<<>>dnl>>)
2561 +changequote([,]))])
2562  
2563  # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
2564  
2565  # serial 47 AC_PROG_LIBTOOL
2566 +# Debian $Rev: 214 $
2567  
2568  
2569  # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
2570 @@ -1324,7 +1457,7 @@
2571          x86_64-*linux*)
2572            LD="${LD-ld} -m elf_i386"
2573            ;;
2574 -        ppc64-*linux*)
2575 +        ppc64-*linux*|powerpc64-*linux*)
2576            LD="${LD-ld} -m elf32ppclinux"
2577            ;;
2578          s390x-*linux*)
2579 @@ -1388,7 +1521,8 @@
2580  # ----------------------------------------------------------------
2581  # Check whether the given compiler option works
2582  AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
2583 -[AC_CACHE_CHECK([$1], [$2],
2584 +[AC_REQUIRE([LT_AC_PROG_SED])
2585 +AC_CACHE_CHECK([$1], [$2],
2586    [$2=no
2587    ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
2588     printf "$lt_simple_compile_test_code" > conftest.$ac_ext
2589 @@ -1464,7 +1598,7 @@
2590  AC_MSG_CHECKING([the maximum length of command line arguments])
2591  AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
2592    i=0
2593 -  testring="ABCD"
2594 +  teststring="ABCD"
2595  
2596    case $build_os in
2597    msdosdjgpp*)
2598 @@ -1493,20 +1627,26 @@
2599      lt_cv_sys_max_cmd_len=8192;
2600      ;;
2601  
2602 +  amigaos*)
2603 +    # On AmigaOS with pdksh, this test takes hours, literally.
2604 +    # So we just punt and use a minimum line length of 8192.
2605 +    lt_cv_sys_max_cmd_len=8192;
2606 +    ;;
2607 +
2608   *)
2609      # If test is not a shell built-in, we'll probably end up computing a
2610      # maximum length that is only half of the actual maximum length, but
2611      # we can't tell.
2612 -    while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \
2613 -              = "XX$testring") >/dev/null 2>&1 &&
2614 -           new_result=`expr "X$testring" : ".*" 2>&1` &&
2615 +    while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
2616 +              = "XX$teststring") >/dev/null 2>&1 &&
2617 +           new_result=`expr "X$teststring" : ".*" 2>&1` &&
2618             lt_cv_sys_max_cmd_len=$new_result &&
2619             test $i != 17 # 1/2 MB should be enough
2620      do
2621        i=`expr $i + 1`
2622 -      testring=$testring$testring
2623 +      teststring=$teststring$teststring
2624      done
2625 -    testring=
2626 +    teststring=
2627      # Add a significant safety factor because C++ compilers can tack on massive
2628      # amounts of additional arguments before passing them to the linker.
2629      # It appears as though 1/2 is a usable value.
2630 @@ -1656,7 +1796,7 @@
2631      lt_cv_dlopen_self=yes
2632      ])
2633     ;;
2634 -    
2635 +
2636    *)
2637      AC_CHECK_FUNC([shl_load],
2638           [lt_cv_dlopen="shl_load"],
2639 @@ -1745,13 +1885,6 @@
2640     mkdir out
2641     printf "$lt_simple_compile_test_code" > conftest.$ac_ext
2642  
2643 -   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
2644 -   # that will create temporary files in the current directory regardless of
2645 -   # the output directory.  Thus, making CWD read-only will cause this test
2646 -   # to fail, enabling locking or at least warning the user not to do parallel
2647 -   # builds.
2648 -   chmod -w .
2649 -
2650     lt_compiler_flag="-o out/conftest2.$ac_objext"
2651     # Insert the option either (1) after the last *FLAGS variable, or
2652     # (2) before a word containing "conftest.", or (3) at the end.
2653 @@ -1775,8 +1908,11 @@
2654       fi
2655     fi
2656     chmod u+w .
2657 -   $rm conftest* out/*
2658 -   rmdir out
2659 +   $rm conftest*
2660 +   # SGI C++ compiler will create directory out/ii_files/ for
2661 +   # template instantiation
2662 +   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
2663 +   $rm out/* && rmdir out
2664     cd ..
2665     rmdir conftest
2666     $rm conftest*
2667 @@ -1893,7 +2029,7 @@
2668     *)
2669    AC_MSG_RESULT([no])
2670      ;;
2671 -  esac  
2672 +  esac
2673  fi
2674  ])# AC_LIBTOOL_SYS_LIB_STRIP
2675  
2676 @@ -1906,7 +2042,7 @@
2677  library_names_spec=
2678  libname_spec='lib$name'
2679  soname_spec=
2680 -shrext=".so"
2681 +shrext_cmds=".so"
2682  postinstall_cmds=
2683  postuninstall_cmds=
2684  finish_cmds=
2685 @@ -1994,7 +2130,7 @@
2686  amigaos*)
2687    library_names_spec='$libname.ixlibrary $libname.a'
2688    # Create ${libname}_ixlibrary.a entries in /sys/libs.
2689 -  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'
2690 +  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'
2691    ;;
2692  
2693  beos*)
2694 @@ -2019,7 +2155,7 @@
2695  
2696  cygwin* | mingw* | pw32*)
2697    version_type=windows
2698 -  shrext=".dll"
2699 +  shrext_cmds=".dll"
2700    need_version=no
2701    need_lib_prefix=no
2702  
2703 @@ -2041,7 +2177,7 @@
2704      cygwin*)
2705        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
2706        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2707 -      sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
2708 +      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
2709        ;;
2710      mingw*)
2711        # MinGW DLLs use traditional 'lib' prefix
2712 @@ -2080,17 +2216,16 @@
2713    version_type=darwin
2714    need_lib_prefix=no
2715    need_version=no
2716 -  # FIXME: Relying on posixy $() will cause problems for
2717 -  #        cross-compilation, but unfortunately the echo tests do not
2718 -  #        yet detect zsh echo's removal of \ escapes.
2719    library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
2720    soname_spec='${libname}${release}${major}$shared_ext'
2721    shlibpath_overrides_runpath=yes
2722    shlibpath_var=DYLD_LIBRARY_PATH
2723 -  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
2724 +  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
2725    # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
2726 -  if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 
2727 -  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"`
2728 +  if test "$GCC" = yes; then
2729 +    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"`
2730 +  else
2731 +    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
2732    fi
2733    sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
2734    ;;
2735 @@ -2108,6 +2243,18 @@
2736    dynamic_linker=no
2737    ;;
2738  
2739 +kfreebsd*-gnu)
2740 +  version_type=linux
2741 +  need_lib_prefix=no
2742 +  need_version=no
2743 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2744 +  soname_spec='${libname}${release}${shared_ext}$major'
2745 +  shlibpath_var=LD_LIBRARY_PATH
2746 +  shlibpath_overrides_runpath=no
2747 +  hardcode_into_libs=yes
2748 +  dynamic_linker='GNU ld.so'
2749 +  ;;
2750 +
2751  freebsd*)
2752    objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
2753    version_type=freebsd-$objformat
2754 @@ -2156,7 +2303,7 @@
2755    need_version=no
2756    case "$host_cpu" in
2757    ia64*)
2758 -    shrext='.so'
2759 +    shrext_cmds='.so'
2760      hardcode_into_libs=yes
2761      dynamic_linker="$host_os dld.so"
2762      shlibpath_var=LD_LIBRARY_PATH
2763 @@ -2171,7 +2318,7 @@
2764      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2765      ;;
2766     hppa*64*)
2767 -     shrext='.sl'
2768 +     shrext_cmds='.sl'
2769       hardcode_into_libs=yes
2770       dynamic_linker="$host_os dld.sl"
2771       shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
2772 @@ -2182,7 +2329,7 @@
2773       sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2774       ;;
2775     *)
2776 -    shrext='.sl'
2777 +    shrext_cmds='.sl'
2778      dynamic_linker="$host_os dld.sl"
2779      shlibpath_var=SHLIB_PATH
2780      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
2781 @@ -2251,6 +2398,12 @@
2782    # before this can be enabled.
2783    hardcode_into_libs=yes
2784  
2785 +  # Append ld.so.conf contents to the search path
2786 +  if test -f /etc/ld.so.conf; then
2787 +    lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '`
2788 +    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
2789 +  fi
2790 +
2791    # We used to test for /lib/ld.so.1 and disable shared libraries on
2792    # powerpc, because MkLinux only supported shared libraries with the
2793    # GNU dynamic linker.  Since this was broken with cross compilers,
2794 @@ -2260,6 +2413,30 @@
2795    dynamic_linker='GNU/Linux ld.so'
2796    ;;
2797  
2798 +netbsdelf*-gnu)
2799 +  version_type=linux
2800 +  need_lib_prefix=no
2801 +  need_version=no
2802 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2803 +  soname_spec='${libname}${release}${shared_ext}$major'
2804 +  shlibpath_var=LD_LIBRARY_PATH
2805 +  shlibpath_overrides_runpath=no
2806 +  hardcode_into_libs=yes
2807 +  dynamic_linker='NetBSD ld.elf_so'
2808 +  ;;
2809 +
2810 +knetbsd*-gnu)
2811 +  version_type=linux
2812 +  need_lib_prefix=no
2813 +  need_version=no
2814 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2815 +  soname_spec='${libname}${release}${shared_ext}$major'
2816 +  shlibpath_var=LD_LIBRARY_PATH
2817 +  shlibpath_overrides_runpath=no
2818 +  hardcode_into_libs=yes
2819 +  dynamic_linker='GNU ld.so'
2820 +  ;;
2821 +
2822  netbsd*)
2823    version_type=sunos
2824    need_lib_prefix=no
2825 @@ -2269,7 +2446,7 @@
2826      finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2827      dynamic_linker='NetBSD (a.out) ld.so'
2828    else
2829 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
2830 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2831      soname_spec='${libname}${release}${shared_ext}$major'
2832      dynamic_linker='NetBSD ld.elf_so'
2833    fi
2834 @@ -2285,7 +2462,7 @@
2835    shlibpath_overrides_runpath=yes
2836    ;;
2837  
2838 -nto-qnx)
2839 +nto-qnx*)
2840    version_type=linux
2841    need_lib_prefix=no
2842    need_version=no
2843 @@ -2298,7 +2475,7 @@
2844  openbsd*)
2845    version_type=sunos
2846    need_lib_prefix=no
2847 -  need_version=no
2848 +  need_version=yes
2849    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
2850    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2851    shlibpath_var=LD_LIBRARY_PATH
2852 @@ -2318,7 +2495,7 @@
2853  
2854  os2*)
2855    libname_spec='$name'
2856 -  shrext=".dll"
2857 +  shrext_cmds=".dll"
2858    need_lib_prefix=no
2859    library_names_spec='$libname${shared_ext} $libname.a'
2860    dynamic_linker='OS/2 ld.exe'
2861 @@ -2754,7 +2931,7 @@
2862  
2863  # AC_PROG_LD
2864  # ----------
2865 -# find the path to the GNU or non-GNU linker
2866 +# find the pathname to the GNU or non-GNU linker
2867  AC_DEFUN([AC_PROG_LD],
2868  [AC_ARG_WITH([gnu-ld],
2869      [AC_HELP_STRING([--with-gnu-ld],
2870 @@ -2780,7 +2957,7 @@
2871      # Accept absolute paths.
2872      [[\\/]]* | ?:[[\\/]]*)
2873        re_direlt='/[[^/]][[^/]]*/\.\./'
2874 -      # Canonicalize the path of ld
2875 +      # Canonicalize the pathname of ld
2876        ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
2877        while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
2878         ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
2879 @@ -2843,7 +3020,7 @@
2880  [AC_REQUIRE([AC_PROG_EGREP])dnl
2881  AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
2882  [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
2883 -case `"$LD" -v 2>&1 </dev/null` in
2884 +case `$LD -v 2>&1 </dev/null` in
2885  *GNU* | *'with BFD'*)
2886    lt_cv_prog_gnu_ld=yes
2887    ;;
2888 @@ -2908,28 +3085,24 @@
2889    lt_cv_file_magic_test_file=/shlib/libc.so
2890    ;;
2891  
2892 -cygwin* | mingw* | pw32*)
2893 -  # win32_libid is a shell function defined in ltmain.sh
2894 +cygwin*)
2895 +  # func_win32_libid is a shell function defined in ltmain.sh
2896    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
2897 -  lt_cv_file_magic_cmd='win32_libid'
2898 +  lt_cv_file_magic_cmd='func_win32_libid'
2899 +  ;;
2900 +
2901 +mingw* | pw32*)
2902 +  # Base MSYS/MinGW do not provide the 'file' command needed by
2903 +  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
2904 +  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2905 +  lt_cv_file_magic_cmd='$OBJDUMP -f'
2906    ;;
2907  
2908  darwin* | rhapsody*)
2909 -  # this will be overwritten by pass_all, but leave it in just in case
2910 -  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
2911 -  lt_cv_file_magic_cmd='/usr/bin/file -L'
2912 -  case "$host_os" in
2913 -  rhapsody* | darwin1.[[012]])
2914 -    lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
2915 -    ;;
2916 -  *) # Darwin 1.3 on
2917 -    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
2918 -    ;;
2919 -  esac
2920    lt_cv_deplibs_check_method=pass_all
2921    ;;
2922  
2923 -freebsd*)
2924 +freebsd* | kfreebsd*-gnu)
2925    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2926      case $host_cpu in
2927      i*86 )
2928 @@ -2968,39 +3141,21 @@
2929    ;;
2930  
2931  irix5* | irix6* | nonstopux*)
2932 -  case $host_os in
2933 -  irix5* | nonstopux*)
2934 -    # this will be overridden with pass_all, but let us keep it just in case
2935 -    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2936 -    ;;
2937 -  *)
2938 -    case $LD in
2939 -    *-32|*"-32 ") libmagic=32-bit;;
2940 -    *-n32|*"-n32 ") libmagic=N32;;
2941 -    *-64|*"-64 ") libmagic=64-bit;;
2942 -    *) libmagic=never-match;;
2943 -    esac
2944 -    # this will be overridden with pass_all, but let us keep it just in case
2945 -    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
2946 -    ;;
2947 +  case $LD in
2948 +  *-32|*"-32 ") libmagic=32-bit;;
2949 +  *-n32|*"-n32 ") libmagic=N32;;
2950 +  *-64|*"-64 ") libmagic=64-bit;;
2951 +  *) libmagic=never-match;;
2952    esac
2953 -  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2954    lt_cv_deplibs_check_method=pass_all
2955    ;;
2956  
2957  # This must be Linux ELF.
2958  linux*)
2959 -  case $host_cpu in
2960 -  alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
2961 -    lt_cv_deplibs_check_method=pass_all ;;
2962 -  *)
2963 -    # glibc up to 2.1.1 does not perform some relocations on ARM
2964 -    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
2965 -  esac
2966 -  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2967 +  lt_cv_deplibs_check_method=pass_all
2968    ;;
2969  
2970 -netbsd*)
2971 +netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
2972    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2973      lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
2974    else
2975 @@ -3014,7 +3169,7 @@
2976    lt_cv_file_magic_test_file=/usr/lib/libnls.so
2977    ;;
2978  
2979 -nto-qnx)
2980 +nto-qnx*)
2981    lt_cv_deplibs_check_method=unknown
2982    ;;
2983  
2984 @@ -3029,9 +3184,6 @@
2985    ;;
2986  
2987  osf3* | osf4* | osf5*)
2988 -  # this will be overridden with pass_all, but let us keep it just in case
2989 -  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2990 -  lt_cv_file_magic_test_file=/shlib/libc.so
2991    lt_cv_deplibs_check_method=pass_all
2992    ;;
2993  
2994 @@ -3041,7 +3193,6 @@
2995  
2996  solaris*)
2997    lt_cv_deplibs_check_method=pass_all
2998 -  lt_cv_file_magic_test_file=/lib/libc.so
2999    ;;
3000  
3001  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3002 @@ -3081,7 +3232,7 @@
3003  
3004  # AC_PROG_NM
3005  # ----------
3006 -# find the path to a BSD-compatible name lister
3007 +# find the pathname to a BSD-compatible name lister
3008  AC_DEFUN([AC_PROG_NM],
3009  [AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
3010  [if test -n "$NM"; then
3011 @@ -3219,7 +3370,7 @@
3012  AC_DEFUN([_LT_AC_LANG_CXX],
3013  [AC_REQUIRE([AC_PROG_CXX])
3014  AC_REQUIRE([AC_PROG_CXXCPP])
3015 -_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`])
3016 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
3017  ])# _LT_AC_LANG_CXX
3018  
3019  
3020 @@ -3235,7 +3386,7 @@
3021  # ---------------
3022  AC_DEFUN([_LT_AC_LANG_F77],
3023  [AC_REQUIRE([AC_PROG_F77])
3024 -_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,F77" | sed 's/^,//'`])
3025 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
3026  ])# _LT_AC_LANG_F77
3027  
3028  
3029 @@ -3256,7 +3407,7 @@
3030        [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
3031          [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
3032            [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
3033 -_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,GCJ" | sed 's/^,//'`])
3034 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
3035  ])# _LT_AC_LANG_GCJ
3036  
3037  
3038 @@ -3265,7 +3416,7 @@
3039  # enable support for Windows resource files
3040  AC_DEFUN([AC_LIBTOOL_RC],
3041  [AC_REQUIRE([LT_AC_PROG_RC])
3042 -_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,RC" | sed 's/^,//'`])
3043 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
3044  ])# AC_LIBTOOL_RC
3045  
3046  
3047 @@ -3307,7 +3458,7 @@
3048  fi
3049  if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
3050    AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
3051 -  if echo "$old_CC $old_CFLAGS " | grep "[[    ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[      ]]" >/dev/null; then :
3052 +  if echo "$old_CC $old_CFLAGS " | grep "[[    ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[        ]]" >/dev/null; then :
3053    else
3054      AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
3055      _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
3056 @@ -3330,9 +3481,9 @@
3057  AC_LIBTOOL_PROG_CC_C_O($1)
3058  AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
3059  AC_LIBTOOL_PROG_LD_SHLIBS($1)
3060 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3061  AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
3062  AC_LIBTOOL_SYS_LIB_STRIP
3063 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3064  AC_LIBTOOL_DLOPEN_SELF($1)
3065  
3066  # Report which librarie types wil actually be built
3067 @@ -3353,39 +3504,48 @@
3068    fi
3069    ;;
3070  
3071 -aix4*)
3072 +aix4* | aix5*)
3073    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
3074      test "$enable_shared" = yes && enable_static=no
3075    fi
3076    ;;
3077    darwin* | rhapsody*)
3078 -  if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 
3079 +  if test "$GCC" = yes; then
3080      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3081      case "$host_os" in
3082      rhapsody* | darwin1.[[012]])
3083        _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
3084        ;;
3085      *) # Darwin 1.3 on
3086 -      test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3087 +      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3088 +       _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3089 +      else
3090 +        case ${MACOSX_DEPLOYMENT_TARGET} in
3091 +          10.[[012]])
3092 +            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3093 +            ;;
3094 +          10.*)
3095 +            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
3096 +            ;;
3097 +        esac
3098 +      fi
3099        ;;
3100      esac
3101 -    # FIXME: Relying on posixy $() will cause problems for
3102 -    #        cross-compilation, but unfortunately the echo tests do not
3103 -    #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
3104 -    #         `"' quotes if we put them in here... so don't!
3105 -               output_verbose_link_cmd='echo'
3106 +    output_verbose_link_cmd='echo'
3107      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
3108 -    _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
3109 +    _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3110      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
3111 -                 _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}'
3112 -                 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3113 +    _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}'
3114 +    _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}'
3115      _LT_AC_TAGVAR(hardcode_direct, $1)=no
3116      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3117      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3118      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
3119      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3120 -    fi
3121 -    ;;  
3122 +  else
3123 +    _LT_AC_TAGVAR(ld_shlibs, $1)=no
3124 +  fi
3125 +    ;;
3126  esac
3127  AC_MSG_RESULT([$enable_shared])
3128  
3129 @@ -3520,7 +3680,7 @@
3130      # linker, instead of GNU ld.  If possible, this setting should
3131      # overridden to take advantage of the native linker features on
3132      # the platform it is being used on.
3133 -    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
3134 +    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
3135    fi
3136  
3137    # Commands to make compiler produce verbose output that lists
3138 @@ -3687,41 +3847,54 @@
3139    ;;
3140  
3141    darwin* | rhapsody*)
3142 -   if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 
3143 +  if test "$GXX" = yes; then
3144      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3145      case "$host_os" in
3146      rhapsody* | darwin1.[[012]])
3147        _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
3148        ;;
3149      *) # Darwin 1.3 on
3150 -      test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3151 +      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3152 +       _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3153 +      else
3154 +        case ${MACOSX_DEPLOYMENT_TARGET} in
3155 +          10.[[012]])
3156 +            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3157 +            ;;
3158 +          10.*)
3159 +            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
3160 +            ;;
3161 +        esac
3162 +      fi
3163        ;;
3164      esac
3165 -       lt_int_apple_cc_single_mod=no
3166 -       output_verbose_link_cmd='echo'
3167 -       if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
3168 -         lt_int_apple_cc_single_mod=yes
3169 -       fi
3170 -       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3171 -         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3172 -       else
3173 -        _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'
3174 -      fi
3175 -      _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
3176 +    lt_int_apple_cc_single_mod=no
3177 +    output_verbose_link_cmd='echo'
3178 +    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
3179 +      lt_int_apple_cc_single_mod=yes
3180 +    fi
3181 +    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3182 +      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3183 +    else
3184 +      _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'
3185 +    fi
3186 +    _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3187  
3188      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
3189 -      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3190 -        _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}'
3191 -      else
3192 -        _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}'
3193 -      fi
3194 -        _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3195 +    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3196 +      _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}'
3197 +    else
3198 +      _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}'
3199 +    fi
3200 +    _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}'
3201      _LT_AC_TAGVAR(hardcode_direct, $1)=no
3202      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3203      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3204      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
3205      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3206 -   fi 
3207 +  else
3208 +    _LT_AC_TAGVAR(ld_shlibs, $1)=no
3209 +  fi
3210      ;;
3211  
3212    dgux*)
3213 @@ -3748,7 +3921,7 @@
3214    freebsd-elf*)
3215      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3216      ;;
3217 -  freebsd*)
3218 +  freebsd* | kfreebsd*-gnu)
3219      # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
3220      # conventions
3221      _LT_AC_TAGVAR(ld_shlibs, $1)=yes
3222 @@ -3779,7 +3952,7 @@
3223        # explicitly linking system object files so we need to strip them
3224        # from the output so that they don't get included in the library
3225        # dependencies.
3226 -      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
3227 +      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'
3228        ;;
3229      *)
3230        if test "$GXX" = yes; then
3231 @@ -3976,7 +4149,7 @@
3232         ;;
3233      esac
3234      ;;
3235 -  netbsd*)
3236 +  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
3237      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3238        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
3239        wlarc=
3240 @@ -4258,9 +4431,9 @@
3241  AC_LIBTOOL_PROG_CC_C_O($1)
3242  AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
3243  AC_LIBTOOL_PROG_LD_SHLIBS($1)
3244 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3245  AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
3246  AC_LIBTOOL_SYS_LIB_STRIP
3247 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3248  AC_LIBTOOL_DLOPEN_SELF($1)
3249  
3250  AC_LIBTOOL_CONFIG($1)
3251 @@ -4482,7 +4655,7 @@
3252      postinstall_cmds='$RANLIB $lib'
3253    fi
3254    ;;
3255 -aix4*)
3256 +aix4* | aix5*)
3257    test "$enable_shared" = yes && enable_static=no
3258    ;;
3259  esac
3260 @@ -4502,9 +4675,10 @@
3261  AC_LIBTOOL_PROG_CC_C_O($1)
3262  AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
3263  AC_LIBTOOL_PROG_LD_SHLIBS($1)
3264 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3265  AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
3266  AC_LIBTOOL_SYS_LIB_STRIP
3267 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3268 +
3269  
3270  AC_LIBTOOL_CONFIG($1)
3271  
3272 @@ -4552,9 +4726,9 @@
3273  AC_LIBTOOL_PROG_CC_C_O($1)
3274  AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
3275  AC_LIBTOOL_PROG_LD_SHLIBS($1)
3276 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3277  AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
3278  AC_LIBTOOL_SYS_LIB_STRIP
3279 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3280  AC_LIBTOOL_DLOPEN_SELF($1)
3281  
3282  AC_LIBTOOL_CONFIG($1)
3283 @@ -4619,11 +4793,12 @@
3284    # without removal of \ escapes.
3285    if test -n "${ZSH_VERSION+set}" ; then
3286      setopt NO_GLOB_SUBST
3287 -  fi  
3288 +  fi
3289    # Now quote all the things that may contain metacharacters while being
3290    # careful not to overquote the AC_SUBSTed values.  We take copies of the
3291    # variables and quote the copies for generation of the libtool script.
3292 -  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
3293 +  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
3294 +    SED SHELL STRIP \
3295      libname_spec library_names_spec soname_spec extract_expsyms_cmds \
3296      old_striplib striplib file_magic_cmd finish_cmds finish_eval \
3297      deplibs_check_method reload_flag reload_cmds need_locks \
3298 @@ -4673,7 +4848,7 @@
3299      _LT_AC_TAGVAR(archive_cmds, $1) | \
3300      _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
3301      _LT_AC_TAGVAR(module_cmds, $1) | \
3302 -    _LT_AC_TAGVAR(module_expsym_cmds, $1) | \   
3303 +    _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
3304      _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
3305      _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
3306      extract_expsyms_cmds | reload_cmds | finish_cmds | \
3307 @@ -4804,7 +4979,7 @@
3308  NM=$lt_NM
3309  
3310  # A symbol stripping program
3311 -STRIP=$STRIP
3312 +STRIP=$lt_STRIP
3313  
3314  # Used to examine libraries when file_magic_cmd begins "file"
3315  MAGIC_CMD=$MAGIC_CMD
3316 @@ -4835,7 +5010,7 @@
3317  libext="$libext"
3318  
3319  # Shared library suffix (normally ".so").
3320 -shrext='$shrext'
3321 +shrext_cmds='$shrext_cmds'
3322  
3323  # Executable file suffix (normally "").
3324  exeext="$exeext"
3325 @@ -5079,7 +5254,10 @@
3326    # If there is no Makefile yet, we rely on a make rule to execute
3327    # `config.status --recheck' to rerun these tests and create the
3328    # libtool script then.
3329 -  test -f Makefile && make "$ltmain"
3330 +  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
3331 +  if test -f "$ltmain_in"; then
3332 +    test -f Makefile && make "$ltmain"
3333 +  fi
3334  fi
3335  ])# AC_LIBTOOL_CONFIG
3336  
3337 @@ -5152,7 +5330,7 @@
3338    symcode='[[BCDEGQRST]]'
3339    ;;
3340  solaris* | sysv5*)
3341 -  symcode='[[BDT]]'
3342 +  symcode='[[BDRT]]'
3343    ;;
3344  sysv4)
3345    symcode='[[DFNSTU]]'
3346 @@ -5170,7 +5348,7 @@
3347  # If we're using GNU nm, then use its standard symbol codes.
3348  case `$NM -V 2>&1` in
3349  *GNU* | *'with BFD'*)
3350 -  symcode='[[ABCDGISTW]]' ;;
3351 +  symcode='[[ABCDGIRSTW]]' ;;
3352  esac
3353  
3354  # Try without a prefix undercore, then with it.
3355 @@ -5385,7 +5563,7 @@
3356             ;;
3357         esac
3358         ;;
3359 -      freebsd*)
3360 +      freebsd* | kfreebsd*-gnu)
3361         # FreeBSD uses GNU C++
3362         ;;
3363        hpux9* | hpux10* | hpux11*)
3364 @@ -5436,7 +5614,7 @@
3365             _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3366             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3367             _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
3368 -           ;; 
3369 +           ;;
3370           cxx)
3371             # Compaq C++
3372             # Make sure the PIC flag is empty.  It appears that all Alpha
3373 @@ -5461,7 +5639,7 @@
3374             ;;
3375         esac
3376         ;;
3377 -      netbsd*)
3378 +      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
3379         ;;
3380        osf3* | osf4* | osf5*)
3381         case $cc_basename in
3382 @@ -5661,12 +5839,12 @@
3383  
3384      linux*)
3385        case $CC in
3386 -      icc|ecc)
3387 +      icc* | ecc*)
3388         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3389         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3390         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
3391          ;;
3392 -      ccc)
3393 +      ccc*)
3394          _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3395          # All Alpha code is PIC.
3396          _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3397 @@ -5772,6 +5950,9 @@
3398    cygwin* | mingw*)
3399      _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'
3400    ;;
3401 +  linux*)
3402 +    _LT_AC_TAGVAR(link_all_deplibs, $1)=no
3403 +  ;;
3404    *)
3405      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
3406    ;;
3407 @@ -5796,7 +5977,7 @@
3408    _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
3409    _LT_AC_TAGVAR(hardcode_automatic, $1)=no
3410    _LT_AC_TAGVAR(module_cmds, $1)=
3411 -  _LT_AC_TAGVAR(module_expsym_cmds, $1)=  
3412 +  _LT_AC_TAGVAR(module_expsym_cmds, $1)=
3413    _LT_AC_TAGVAR(always_export_symbols, $1)=no
3414    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
3415    # include_expsyms should be a list of space-separated symbols to be *always*
3416 @@ -5901,7 +6082,7 @@
3417        fi
3418        ;;
3419  
3420 -    netbsd*)
3421 +    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
3422        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3423         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
3424         wlarc=
3425 @@ -5939,6 +6120,32 @@
3426        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3427        ;;
3428  
3429 +  linux*)
3430 +    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3431 +        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3432 +       _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
3433 +      supports_anon_versioning=no
3434 +      case `$LD -v 2>/dev/null` in
3435 +        *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
3436 +        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
3437 +        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
3438 +        *\ 2.11.*) ;; # other 2.11 versions
3439 +        *) supports_anon_versioning=yes ;;
3440 +      esac
3441 +      if test $supports_anon_versioning = yes; then
3442 +        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
3443 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
3444 +$echo "local: *; };" >> $output_objdir/$libname.ver~
3445 +        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
3446 +      else
3447 +        _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"
3448 +      fi
3449 +      _LT_AC_TAGVAR(link_all_deplibs, $1)=no
3450 +    else
3451 +      _LT_AC_TAGVAR(ld_shlibs, $1)=no
3452 +    fi
3453 +    ;;
3454 +
3455      *)
3456        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3457         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3458 @@ -6115,7 +6322,7 @@
3459        # Tell ltmain to make .lib files, not .a files.
3460        libext=lib
3461        # Tell ltmain to make .dll files, not .so files.
3462 -      shrext=".dll"
3463 +      shrext_cmds=".dll"
3464        # FIXME: Setting linknames here is a bad hack.
3465        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
3466        # The linker will automatically build a .lib file if we build a DLL.
3467 @@ -6127,20 +6334,27 @@
3468        ;;
3469  
3470      darwin* | rhapsody*)
3471 -    if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 
3472 +    if test "$GXX" = yes ; then
3473        _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3474        case "$host_os" in
3475        rhapsody* | darwin1.[[012]])
3476         _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
3477         ;;
3478        *) # Darwin 1.3 on
3479 -       test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3480 +      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3481 +       _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3482 +      else
3483 +        case ${MACOSX_DEPLOYMENT_TARGET} in
3484 +          10.[[012]])
3485 +            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3486 +            ;;
3487 +          10.*)
3488 +            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
3489 +            ;;
3490 +        esac
3491 +      fi
3492         ;;
3493        esac
3494 -      # FIXME: Relying on posixy $() will cause problems for
3495 -      #        cross-compilation, but unfortunately the echo tests do not
3496 -      #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
3497 -      #               `"' quotes if we put them in here... so don't!
3498         lt_int_apple_cc_single_mod=no
3499         output_verbose_link_cmd='echo'
3500         if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
3501 @@ -6151,20 +6365,22 @@
3502         else
3503          _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'
3504        fi
3505 -      _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
3506 +      _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3507        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
3508          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3509            _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}'
3510          else
3511            _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}'
3512          fi
3513 -          _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3514 +          _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}'
3515        _LT_AC_TAGVAR(hardcode_direct, $1)=no
3516        _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3517        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3518        _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
3519        _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3520 -    fi  
3521 +    else
3522 +      _LT_AC_TAGVAR(ld_shlibs, $1)=no
3523 +    fi
3524        ;;
3525  
3526      dgux*)
3527 @@ -6197,7 +6413,7 @@
3528        ;;
3529  
3530      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
3531 -    freebsd*)
3532 +    freebsd* | kfreebsd*-gnu)
3533        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
3534        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3535        _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3536 @@ -6284,7 +6500,7 @@
3537        _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3538        ;;
3539  
3540 -    netbsd*)
3541 +    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
3542        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3543         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
3544        else
3545 @@ -6514,7 +6730,7 @@
3546        AC_MSG_CHECKING([whether -lc should be explicitly linked in])
3547        $rm conftest*
3548        printf "$lt_simple_compile_test_code" > conftest.$ac_ext
3549 -  
3550 +
3551        if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
3552          soname=conftest
3553          lib=conftest
3554 @@ -6676,63 +6892,120 @@
3555  AC_MSG_RESULT([$SED])
3556  ])
3557  
3558 +# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
3559 +# 
3560 +# Copyright Â© 2004 Scott James Remnant <scott@netsplit.com>.
3561 +#
3562 +# This program is free software; you can redistribute it and/or modify
3563 +# it under the terms of the GNU General Public License as published by
3564 +# the Free Software Foundation; either version 2 of the License, or
3565 +# (at your option) any later version.
3566 +#
3567 +# This program is distributed in the hope that it will be useful, but
3568 +# WITHOUT ANY WARRANTY; without even the implied warranty of
3569 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
3570 +# General Public License for more details.
3571 +#
3572 +# You should have received a copy of the GNU General Public License
3573 +# along with this program; if not, write to the Free Software
3574 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
3575 +#
3576 +# As a special exception to the GNU General Public License, if you
3577 +# distribute this file as part of a program that contains a
3578 +# configuration script generated by Autoconf, you may include it under
3579 +# the same distribution terms that you use for the rest of that program.
3580  
3581 -dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
3582 -dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
3583 -dnl also defines GSTUFF_PKG_ERRORS on error
3584 -AC_DEFUN(PKG_CHECK_MODULES, [
3585 -  succeeded=no
3586 -
3587 -  if test -z "$PKG_CONFIG"; then
3588 -    AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
3589 -  fi
3590 -
3591 -  if test "$PKG_CONFIG" = "no" ; then
3592 -     echo "*** The pkg-config script could not be found. Make sure it is"
3593 -     echo "*** in your path, or set the PKG_CONFIG environment variable"
3594 -     echo "*** to the full path to pkg-config."
3595 -     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
3596 -  else
3597 -     PKG_CONFIG_MIN_VERSION=0.9.0
3598 -     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
3599 -        AC_MSG_CHECKING(for $2)
3600 -
3601 -        if $PKG_CONFIG --exists "$2" ; then
3602 -            AC_MSG_RESULT(yes)
3603 -            succeeded=yes
3604 -
3605 -            AC_MSG_CHECKING($1_CFLAGS)
3606 -            $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
3607 -            AC_MSG_RESULT($$1_CFLAGS)
3608 -
3609 -            AC_MSG_CHECKING($1_LIBS)
3610 -            $1_LIBS=`$PKG_CONFIG --libs "$2"`
3611 -            AC_MSG_RESULT($$1_LIBS)
3612 -        else
3613 -            $1_CFLAGS=""
3614 -            $1_LIBS=""
3615 -            ## If we have a custom action on failure, don't print errors, but 
3616 -            ## do set a variable so people can do so.
3617 -            $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
3618 -            ifelse([$4], ,echo $$1_PKG_ERRORS,)
3619 -        fi
3620 -
3621 -        AC_SUBST($1_CFLAGS)
3622 -        AC_SUBST($1_LIBS)
3623 -     else
3624 -        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
3625 -        echo "*** See http://www.freedesktop.org/software/pkgconfig"
3626 -     fi
3627 -  fi
3628 -
3629 -  if test $succeeded = yes; then
3630 -     ifelse([$3], , :, [$3])
3631 -  else
3632 -     ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
3633 -  fi
3634 -])
3635 +# PKG_PROG_PKG_CONFIG([MIN-VERSION])
3636 +# ----------------------------------
3637 +AC_DEFUN([PKG_PROG_PKG_CONFIG],
3638 +[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
3639 +m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
3640 +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
3641 +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3642 +       AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
3643 +fi
3644 +if test -n "$PKG_CONFIG"; then
3645 +       _pkg_min_version=m4_ifval([$1], [$1], [0.9.0])
3646 +       AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
3647 +       if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3648 +               AC_MSG_RESULT([yes])
3649 +       else
3650 +               AC_MSG_RESULT([no])
3651 +               PKG_CONFIG=""
3652 +       fi
3653 +               
3654 +fi[]dnl
3655 +])# PKG_PROG_PKG_CONFIG
3656 +
3657 +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
3658 +# ---------------------------------------------
3659 +m4_define([_PKG_CONFIG],
3660 +[if test "x$ac_cv_env_[]$1[]_set" = "xset"; then
3661 +       pkg_cv_[]$1=$ac_cv_env_[]$1[]_value
3662 +elif test -n "$PKG_CONFIG"; then
3663 +       if AC_RUN_LOG([$PKG_CONFIG --exists "$3" >/dev/null 2>&1]); then
3664 +               pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
3665 +       else
3666 +               pkg_failed=yes
3667 +       fi
3668 +else
3669 +       pkg_failed=untried
3670 +fi[]dnl
3671 +])# _PKG_CONFIG
3672  
3673 +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
3674 +# [ACTION-IF-NOT-FOUND])
3675 +#
3676 +#
3677 +# Note that if there is a possibility the first call to
3678 +# PKG_CHECK_MODULES might not happen, you should be sure to include an
3679 +# explicit call to PKG_PROG_PKG_CONFIG in your configure.in
3680 +#
3681 +#
3682 +# --------------------------------------------------------------
3683 +AC_DEFUN([PKG_CHECK_MODULES],
3684 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
3685 +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
3686 +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
3687 +
3688 +pkg_failed=no
3689 +AC_CACHE_CHECK([for $1][_CFLAGS], [pkg_cv_][$1][_CFLAGS],
3690 +       [_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])])
3691 +AC_CACHE_CHECK([for $1][_LIBS], [pkg_cv_][$1][_LIBS],
3692 +       [_PKG_CONFIG([$1][_LIBS], [libs], [$2])])
3693 +
3694 +if test $pkg_failed = yes; then
3695 +       $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
3696 +       # Put the nasty error message in config.log where it belongs
3697 +       echo "$$1[]_PKG_ERRORS" 1>&AS_MESSAGE_LOG_FD
3698 +
3699 +       ifelse([$4], , [AC_MSG_ERROR(dnl
3700 +[Package requirements ($2) were not met.
3701 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
3702 +installed software in a non-standard prefix.
3703 +
3704 +Alternatively you may set the $1_CFLAGS and $1_LIBS environment variables
3705 +to avoid the need to call pkg-config.  See the pkg-config man page for
3706 +more details.])],
3707 +               [$4])
3708 +elif test $pkg_failed = untried; then
3709 +       ifelse([$4], , [AC_MSG_FAILURE(dnl
3710 +[The pkg-config script could not be found or is too old.  Make sure it
3711 +is in your PATH or set the PKG_CONFIG environment variable to the full
3712 +path to pkg-config.
3713 +
3714 +Alternatively you may set the $1_CFLAGS and $1_LIBS environment variables
3715 +to avoid the need to call pkg-config.  See the pkg-config man page for
3716 +more details.
3717  
3718 +To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
3719 +               [$4])
3720 +else
3721 +       $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
3722 +       $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
3723 +       ifelse([$3], , :, [$3])
3724 +fi[]dnl
3725 +])# PKG_CHECK_MODULES
3726  
3727  # Select a pthread library & setup some build variables
3728  # by Eric Crahen <crahen@cs.buffalo.edu>
3729 @@ -7061,6 +7334,10 @@
3730  AC_MSG_CHECKING([whether the C++ compiler ($CXX $CXXFLAGS) has correct exception handling])
3731  AC_CACHE_VAL(ac_cv_cxx_eh,
3732  [
3733 +if test x"$cross_compiling" = x"yes"; then
3734 +  dnl Assume true when cross compiling.
3735 +  ac_cv_cxx_eh=yes
3736 +else
3737  AC_TRY_RUN(
3738  [
3739  #include <stdexcept>
3740 @@ -7085,7 +7362,7 @@
3741  ],
3742  ac_cv_cxx_eh=yes,
3743  ac_cv_cxx_eh=no)
3744 -])
3745 +fi])
3746  AC_MSG_RESULT([$ac_cv_cxx_eh])
3747  if test "x$ac_cv_cxx_eh" = "xyes"
3748  then
3749 @@ -7161,3 +7438,4 @@
3750          AC_SUBST(DOXYGEN)
3751          AC_SUBST(PERL)
3752  ])
3753 +
3754 diff -ruN libsigcx-0.6.4-patched/configure libsigcx-0.6.4-regen/configure
3755 --- libsigcx-0.6.4-patched/configure    2003-06-03 10:02:26.000000000 -0700
3756 +++ libsigcx-0.6.4-regen/configure      2005-05-06 21:21:19.000000000 -0700
3757 @@ -1,9 +1,8 @@
3758  #! /bin/sh
3759  # Guess values for system-dependent variables and create Makefiles.
3760 -# Generated by GNU Autoconf 2.57.
3761 +# Generated by GNU Autoconf 2.59.
3762  #
3763 -# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
3764 -# Free Software Foundation, Inc.
3765 +# Copyright (C) 2003 Free Software Foundation, Inc.
3766  # This configure script is free software; the Free Software Foundation
3767  # gives unlimited permission to copy, distribute and modify it.
3768  ## --------------------- ##
3769 @@ -20,9 +19,10 @@
3770  elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3771    set -o posix
3772  fi
3773 +DUALCASE=1; export DUALCASE # for MKS sh
3774  
3775  # Support unset when possible.
3776 -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3777 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3778    as_unset=unset
3779  else
3780    as_unset=false
3781 @@ -41,7 +41,7 @@
3782    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3783    LC_TELEPHONE LC_TIME
3784  do
3785 -  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
3786 +  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3787      eval $as_var=C; export $as_var
3788    else
3789      $as_unset $as_var
3790 @@ -218,16 +218,17 @@
3791  if mkdir -p . 2>/dev/null; then
3792    as_mkdir_p=:
3793  else
3794 +  test -d ./-p && rmdir ./-p
3795    as_mkdir_p=false
3796  fi
3797  
3798  as_executable_p="test -f"
3799  
3800  # Sed expression to map a string onto a valid CPP name.
3801 -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3802 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3803  
3804  # Sed expression to map a string onto a valid variable name.
3805 -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3806 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3807  
3808  
3809  # IFS
3810 @@ -390,9 +391,9 @@
3811  
3812  
3813  
3814 -tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`
3815 +tagnames=${tagnames+${tagnames},}CXX
3816  
3817 -tagnames=`echo "$tagnames,F77" | sed 's/^,//'`
3818 +tagnames=${tagnames+${tagnames},}F77
3819  
3820  # Name of the host.
3821  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
3822 @@ -462,7 +463,7 @@
3823  # include <unistd.h>
3824  #endif"
3825  
3826 -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 ISODATE build build_cpu build_vendor build_os host host_cpu host_vendor host_os M4 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL SIGCX_BRANCH SIGCX_DEVBRANCH PKG_CONFIG SIGC_CFLAGS SIGC_LIBS PTHREAD_CFLAGS PTHREAD_LIBS GTHREAD_CFLAGS GTHREAD_LIBS THREADS_USED THREAD_LIBS THREAD_CFLAGS GTK_CFLAGS GTK_LIBS GTKLIB DOXYGEN PERL MAYBE_DOC LIBOBJS LTLIBOBJS'
3827 +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 PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE ISODATE build build_cpu build_vendor build_os host host_cpu host_vendor host_os M4 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL SIGCX_BRANCH SIGCX_DEVBRANCH PKG_CONFIG ac_pt_PKG_CONFIG SIGC_CFLAGS SIGC_LIBS SIGC_MACROS PTHREAD_CFLAGS PTHREAD_LIBS GTHREAD_CFLAGS GTHREAD_LIBS THREADS_USED THREAD_LIBS THREAD_CFLAGS GTK_CFLAGS GTK_LIBS GTKLIB DOXYGEN PERL MAYBE_DOC LIBOBJS LTLIBOBJS'
3828  ac_subst_files=''
3829  
3830  # Initialize some variables set by options.
3831 @@ -821,7 +822,7 @@
3832  
3833  # Be sure to have absolute paths.
3834  for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
3835 -              localstatedir libdir includedir oldincludedir infodir mandir
3836 +             localstatedir libdir includedir oldincludedir infodir mandir
3837  do
3838    eval ac_val=$`echo $ac_var`
3839    case $ac_val in
3840 @@ -861,10 +862,10 @@
3841    # Try the directory containing this script, then its parent.
3842    ac_confdir=`(dirname "$0") 2>/dev/null ||
3843  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3844 -         X"$0" : 'X\(//\)[^/]' \| \
3845 -         X"$0" : 'X\(//\)$' \| \
3846 -         X"$0" : 'X\(/\)' \| \
3847 -         .     : '\(.\)' 2>/dev/null ||
3848 +        X"$0" : 'X\(//\)[^/]' \| \
3849 +        X"$0" : 'X\(//\)$' \| \
3850 +        X"$0" : 'X\(/\)' \| \
3851 +        .     : '\(.\)' 2>/dev/null ||
3852  echo X"$0" |
3853      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3854           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3855 @@ -943,6 +944,34 @@
3856  ac_env_FFLAGS_value=$FFLAGS
3857  ac_cv_env_FFLAGS_set=${FFLAGS+set}
3858  ac_cv_env_FFLAGS_value=$FFLAGS
3859 +ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
3860 +ac_env_PKG_CONFIG_value=$PKG_CONFIG
3861 +ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
3862 +ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
3863 +ac_env_SIGC_CFLAGS_set=${SIGC_CFLAGS+set}
3864 +ac_env_SIGC_CFLAGS_value=$SIGC_CFLAGS
3865 +ac_cv_env_SIGC_CFLAGS_set=${SIGC_CFLAGS+set}
3866 +ac_cv_env_SIGC_CFLAGS_value=$SIGC_CFLAGS
3867 +ac_env_SIGC_LIBS_set=${SIGC_LIBS+set}
3868 +ac_env_SIGC_LIBS_value=$SIGC_LIBS
3869 +ac_cv_env_SIGC_LIBS_set=${SIGC_LIBS+set}
3870 +ac_cv_env_SIGC_LIBS_value=$SIGC_LIBS
3871 +ac_env_GTHREAD_CFLAGS_set=${GTHREAD_CFLAGS+set}
3872 +ac_env_GTHREAD_CFLAGS_value=$GTHREAD_CFLAGS
3873 +ac_cv_env_GTHREAD_CFLAGS_set=${GTHREAD_CFLAGS+set}
3874 +ac_cv_env_GTHREAD_CFLAGS_value=$GTHREAD_CFLAGS
3875 +ac_env_GTHREAD_LIBS_set=${GTHREAD_LIBS+set}
3876 +ac_env_GTHREAD_LIBS_value=$GTHREAD_LIBS
3877 +ac_cv_env_GTHREAD_LIBS_set=${GTHREAD_LIBS+set}
3878 +ac_cv_env_GTHREAD_LIBS_value=$GTHREAD_LIBS
3879 +ac_env_GTK_CFLAGS_set=${GTK_CFLAGS+set}
3880 +ac_env_GTK_CFLAGS_value=$GTK_CFLAGS
3881 +ac_cv_env_GTK_CFLAGS_set=${GTK_CFLAGS+set}
3882 +ac_cv_env_GTK_CFLAGS_value=$GTK_CFLAGS
3883 +ac_env_GTK_LIBS_set=${GTK_LIBS+set}
3884 +ac_env_GTK_LIBS_value=$GTK_LIBS
3885 +ac_cv_env_GTK_LIBS_set=${GTK_LIBS+set}
3886 +ac_cv_env_GTK_LIBS_value=$GTK_LIBS
3887  
3888  #
3889  # Report the --help message.
3890 @@ -976,9 +1005,9 @@
3891    cat <<_ACEOF
3892  Installation directories:
3893    --prefix=PREFIX         install architecture-independent files in PREFIX
3894 -                          [$ac_default_prefix]
3895 +                         [$ac_default_prefix]
3896    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
3897 -                          [PREFIX]
3898 +                         [PREFIX]
3899  
3900  By default, \`make install' will install all the files in
3901  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
3902 @@ -1022,8 +1051,6 @@
3903  Optional Features:
3904    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
3905    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
3906 -  --disable-dependency-tracking Speeds up one-time builds
3907 -  --enable-dependency-tracking  Do not reject slow dependency extractors
3908    --enable-static[=PKGS]
3909                            build static libraries [default=no]
3910    --enable-shared[=PKGS]
3911 @@ -1058,6 +1085,15 @@
3912    CXXCPP      C++ preprocessor
3913    F77         Fortran 77 compiler command
3914    FFLAGS      Fortran 77 compiler flags
3915 +  PKG_CONFIG  path to pkg-config utility
3916 +  SIGC_CFLAGS C compiler flags for SIGC, overriding pkg-config
3917 +  SIGC_LIBS   linker flags for SIGC, overriding pkg-config
3918 +  GTHREAD_CFLAGS
3919 +              C compiler flags for GTHREAD, overriding pkg-config
3920 +  GTHREAD_LIBS
3921 +              linker flags for GTHREAD, overriding pkg-config
3922 +  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
3923 +  GTK_LIBS    linker flags for GTK, overriding pkg-config
3924  
3925  Use these variables to override the choices made by `configure' or to help
3926  it to find libraries and programs with nonstandard names/locations.
3927 @@ -1095,12 +1131,45 @@
3928      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3929      ac_top_srcdir=$ac_top_builddir$srcdir ;;
3930  esac
3931 -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
3932 -# absolute.
3933 -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
3934 -ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
3935 -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
3936 -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
3937 +
3938 +# Do not use `cd foo && pwd` to compute absolute paths, because
3939 +# the directories may not exist.
3940 +case `pwd` in
3941 +.) ac_abs_builddir="$ac_dir";;
3942 +*)
3943 +  case "$ac_dir" in
3944 +  .) ac_abs_builddir=`pwd`;;
3945 +  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3946 +  *) ac_abs_builddir=`pwd`/"$ac_dir";;
3947 +  esac;;
3948 +esac
3949 +case $ac_abs_builddir in
3950 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
3951 +*)
3952 +  case ${ac_top_builddir}. in
3953 +  .) ac_abs_top_builddir=$ac_abs_builddir;;
3954 +  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3955 +  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3956 +  esac;;
3957 +esac
3958 +case $ac_abs_builddir in
3959 +.) ac_abs_srcdir=$ac_srcdir;;
3960 +*)
3961 +  case $ac_srcdir in
3962 +  .) ac_abs_srcdir=$ac_abs_builddir;;
3963 +  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3964 +  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3965 +  esac;;
3966 +esac
3967 +case $ac_abs_builddir in
3968 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
3969 +*)
3970 +  case $ac_top_srcdir in
3971 +  .) ac_abs_top_srcdir=$ac_abs_builddir;;
3972 +  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3973 +  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3974 +  esac;;
3975 +esac
3976  
3977      cd $ac_dir
3978      # Check for guested configure; otherwise get Cygnus style configure.
3979 @@ -1111,13 +1180,13 @@
3980        echo
3981        $SHELL $ac_srcdir/configure  --help=recursive
3982      elif test -f $ac_srcdir/configure.ac ||
3983 -           test -f $ac_srcdir/configure.in; then
3984 +          test -f $ac_srcdir/configure.in; then
3985        echo
3986        $ac_configure --help
3987      else
3988        echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
3989      fi
3990 -    cd $ac_popdir
3991 +    cd "$ac_popdir"
3992    done
3993  fi
3994  
3995 @@ -1125,8 +1194,7 @@
3996  if $ac_init_version; then
3997    cat <<\_ACEOF
3998  
3999 -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
4000 -Free Software Foundation, Inc.
4001 +Copyright (C) 2003 Free Software Foundation, Inc.
4002  This configure script is free software; the Free Software Foundation
4003  gives unlimited permission to copy, distribute and modify it.
4004  _ACEOF
4005 @@ -1138,7 +1206,7 @@
4006  running configure, to aid debugging if configure makes a mistake.
4007  
4008  It was created by $as_me, which was
4009 -generated by GNU Autoconf 2.57.  Invocation command line was
4010 +generated by GNU Autoconf 2.59.  Invocation command line was
4011  
4012    $ $0 $@
4013  
4014 @@ -1215,19 +1283,19 @@
4015      2)
4016        ac_configure_args1="$ac_configure_args1 '$ac_arg'"
4017        if test $ac_must_keep_next = true; then
4018 -        ac_must_keep_next=false # Got value, back to normal.
4019 +       ac_must_keep_next=false # Got value, back to normal.
4020        else
4021 -        case $ac_arg in
4022 -          *=* | --config-cache | -C | -disable-* | --disable-* \
4023 -          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
4024 -          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
4025 -          | -with-* | --with-* | -without-* | --without-* | --x)
4026 -            case "$ac_configure_args0 " in
4027 -              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
4028 -            esac
4029 -            ;;
4030 -          -* ) ac_must_keep_next=true ;;
4031 -        esac
4032 +       case $ac_arg in
4033 +         *=* | --config-cache | -C | -disable-* | --disable-* \
4034 +         | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
4035 +         | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
4036 +         | -with-* | --with-* | -without-* | --without-* | --x)
4037 +           case "$ac_configure_args0 " in
4038 +             "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
4039 +           esac
4040 +           ;;
4041 +         -* ) ac_must_keep_next=true ;;
4042 +       esac
4043        fi
4044        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
4045        # Get rid of the leading space.
4046 @@ -1261,12 +1329,12 @@
4047      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
4048      *ac_space=\ *)
4049        sed -n \
4050 -        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
4051 -         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
4052 +       "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
4053 +         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
4054        ;;
4055      *)
4056        sed -n \
4057 -        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4058 +       "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4059        ;;
4060      esac;
4061  }
4062 @@ -1295,7 +1363,7 @@
4063        for ac_var in $ac_subst_files
4064        do
4065         eval ac_val=$`echo $ac_var`
4066 -        echo "$ac_var='"'"'$ac_val'"'"'"
4067 +       echo "$ac_var='"'"'$ac_val'"'"'"
4068        done | sort
4069        echo
4070      fi
4071 @@ -1314,7 +1382,7 @@
4072        echo "$as_me: caught signal $ac_signal"
4073      echo "$as_me: exit $exit_status"
4074    } >&5
4075 -  rm -f core core.* *.core &&
4076 +  rm -f core *.core &&
4077    rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
4078      exit $exit_status
4079       ' 0
4080 @@ -1394,7 +1462,7 @@
4081  # value.
4082  ac_cache_corrupted=false
4083  for ac_var in `(set) 2>&1 |
4084 -               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
4085 +              sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
4086    eval ac_old_set=\$ac_cv_env_${ac_var}_set
4087    eval ac_new_set=\$ac_env_${ac_var}_set
4088    eval ac_old_val="\$ac_cv_env_${ac_var}_value"
4089 @@ -1411,13 +1479,13 @@
4090      ,);;
4091      *)
4092        if test "x$ac_old_val" != "x$ac_new_val"; then
4093 -        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
4094 +       { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
4095  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4096 -        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
4097 +       { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
4098  echo "$as_me:   former value:  $ac_old_val" >&2;}
4099 -        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
4100 +       { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
4101  echo "$as_me:   current value: $ac_new_val" >&2;}
4102 -        ac_cache_corrupted=:
4103 +       ac_cache_corrupted=:
4104        fi;;
4105    esac
4106    # Pass precious variables to config.status.
4107 @@ -1490,7 +1558,7 @@
4108  ac_config_sub="$SHELL $ac_aux_dir/config.sub"
4109  ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
4110  
4111 -am__api_version="1.7"
4112 +am__api_version="1.4"
4113  # Find a good install program.  We prefer a C program (faster),
4114  # so one script is as good as another.  But avoid the broken or
4115  # incompatible versions:
4116 @@ -1502,6 +1570,7 @@
4117  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4118  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4119  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4120 +# OS/2's system install, which has a completely different semantic
4121  # ./install, which can be erroneously created by make from ./install.sh.
4122  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4123  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4124 @@ -1518,6 +1587,7 @@
4125  case $as_dir/ in
4126    ./ | .// | /cC/* | \
4127    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4128 +  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4129    /usr/ucb/* ) ;;
4130    *)
4131      # OSF1 and SCO ODT 3.0 have their own names for install.
4132 @@ -1525,20 +1595,20 @@
4133      # by default.
4134      for ac_prog in ginstall scoinst install; do
4135        for ac_exec_ext in '' $ac_executable_extensions; do
4136 -        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4137 -          if test $ac_prog = install &&
4138 -            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4139 -            # AIX install.  It has an incompatible calling convention.
4140 -            :
4141 -          elif test $ac_prog = install &&
4142 -            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4143 -            # program-specific install script used by HP pwplus--don't use.
4144 -            :
4145 -          else
4146 -            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4147 -            break 3
4148 -          fi
4149 -        fi
4150 +       if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4151 +         if test $ac_prog = install &&
4152 +           grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4153 +           # AIX install.  It has an incompatible calling convention.
4154 +           :
4155 +         elif test $ac_prog = install &&
4156 +           grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4157 +           # program-specific install script used by HP pwplus--don't use.
4158 +           :
4159 +         else
4160 +           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4161 +           break 3
4162 +         fi
4163 +       fi
4164        done
4165      done
4166      ;;
4167 @@ -1572,21 +1642,20 @@
4168  echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
4169  # Just in case
4170  sleep 1
4171 -echo timestamp > conftest.file
4172 +echo timestamp > conftestfile
4173  # Do `set' in a subshell so we don't clobber the current shell's
4174  # arguments.  Must try -L first in case configure is actually a
4175  # symlink; some systems play weird games with the mod time of symlinks
4176  # (eg FreeBSD returns the mod time of the symlink's containing
4177  # directory).
4178  if (
4179 -   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
4180 +   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
4181     if test "$*" = "X"; then
4182        # -L didn't work.
4183 -      set X `ls -t $srcdir/configure conftest.file`
4184 +      set X `ls -t $srcdir/configure conftestfile`
4185     fi
4186 -   rm -f conftest.file
4187 -   if test "$*" != "X $srcdir/configure conftest.file" \
4188 -      && test "$*" != "X conftest.file $srcdir/configure"; then
4189 +   if test "$*" != "X $srcdir/configure conftestfile" \
4190 +      && test "$*" != "X conftestfile $srcdir/configure"; then
4191  
4192        # If neither matched, then we have a broken ls.  This can happen
4193        # if, for instance, CONFIG_SHELL is bash and it inherits a
4194 @@ -1599,7 +1668,7 @@
4195     { (exit 1); exit 1; }; }
4196     fi
4197  
4198 -   test "$2" = conftest.file
4199 +   test "$2" = conftestfile
4200     )
4201  then
4202     # Ok.
4203 @@ -1611,6 +1680,7 @@
4204  Check your system clock" >&2;}
4205     { (exit 1); exit 1; }; }
4206  fi
4207 +rm -f conftest*
4208  echo "$as_me:$LINENO: result: yes" >&5
4209  echo "${ECHO_T}yes" >&6
4210  test "$program_prefix" != NONE &&
4211 @@ -1626,63 +1696,9 @@
4212  program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
4213  rm conftest.sed
4214  
4215 -
4216 -# expand $ac_aux_dir to an absolute path
4217 -am_aux_dir=`cd $ac_aux_dir && pwd`
4218 -
4219 -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
4220 -# Use eval to expand $SHELL
4221 -if eval "$MISSING --run true"; then
4222 -  am_missing_run="$MISSING --run "
4223 -else
4224 -  am_missing_run=
4225 -  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
4226 -echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4227 -fi
4228 -
4229 -for ac_prog in gawk mawk nawk awk
4230 -do
4231 -  # Extract the first word of "$ac_prog", so it can be a program name with args.
4232 -set dummy $ac_prog; ac_word=$2
4233 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4234 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4235 -if test "${ac_cv_prog_AWK+set}" = set; then
4236 -  echo $ECHO_N "(cached) $ECHO_C" >&6
4237 -else
4238 -  if test -n "$AWK"; then
4239 -  ac_cv_prog_AWK="$AWK" # Let the user override the test.
4240 -else
4241 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4242 -for as_dir in $PATH
4243 -do
4244 -  IFS=$as_save_IFS
4245 -  test -z "$as_dir" && as_dir=.
4246 -  for ac_exec_ext in '' $ac_executable_extensions; do
4247 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4248 -    ac_cv_prog_AWK="$ac_prog"
4249 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4250 -    break 2
4251 -  fi
4252 -done
4253 -done
4254 -
4255 -fi
4256 -fi
4257 -AWK=$ac_cv_prog_AWK
4258 -if test -n "$AWK"; then
4259 -  echo "$as_me:$LINENO: result: $AWK" >&5
4260 -echo "${ECHO_T}$AWK" >&6
4261 -else
4262 -  echo "$as_me:$LINENO: result: no" >&5
4263 -echo "${ECHO_T}no" >&6
4264 -fi
4265 -
4266 -  test -n "$AWK" && break
4267 -done
4268 -
4269  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4270  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
4271 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
4272 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
4273  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
4274    echo $ECHO_N "(cached) $ECHO_C" >&6
4275  else
4276 @@ -1709,38 +1725,17 @@
4277    SET_MAKE="MAKE=${MAKE-make}"
4278  fi
4279  
4280 -rm -rf .tst 2>/dev/null
4281 -mkdir .tst 2>/dev/null
4282 -if test -d .tst; then
4283 -  am__leading_dot=.
4284 -else
4285 -  am__leading_dot=_
4286 -fi
4287 -rmdir .tst 2>/dev/null
4288 -
4289 - # test to see if srcdir already configured
4290 -if test "`cd $srcdir && pwd`" != "`pwd`" &&
4291 -   test -f $srcdir/config.status; then
4292 +
4293 +PACKAGE=libsigcx
4294 +
4295 +VERSION=0.6.4
4296 +
4297 +if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
4298    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
4299  echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
4300     { (exit 1); exit 1; }; }
4301  fi
4302  
4303 -# test whether we have cygpath
4304 -if test -z "$CYGPATH_W"; then
4305 -  if (cygpath --version) >/dev/null 2>/dev/null; then
4306 -    CYGPATH_W='cygpath -w'
4307 -  else
4308 -    CYGPATH_W=echo
4309 -  fi
4310 -fi
4311 -
4312 -
4313 -# Define the identity of the package.
4314 - PACKAGE=libsigcx
4315 - VERSION=0.6.4
4316 -
4317 -
4318  cat >>confdefs.h <<_ACEOF
4319  #define PACKAGE "$PACKAGE"
4320  _ACEOF
4321 @@ -1750,122 +1745,90 @@
4322  #define VERSION "$VERSION"
4323  _ACEOF
4324  
4325 -# Some tools Automake needs.
4326 -
4327 -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4328 -
4329 -
4330 -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4331 -
4332 -
4333 -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4334 -
4335 -
4336 -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4337 -
4338 -
4339 -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4340 -
4341 -
4342 -AMTAR=${AMTAR-"${am_missing_run}tar"}
4343 -
4344 -install_sh=${install_sh-"$am_aux_dir/install-sh"}
4345 -
4346 -# Installed binaries are usually stripped using `strip' when the user
4347 -# run `make install-strip'.  However `strip' might not be the right
4348 -# tool to use in cross-compilation environments, therefore Automake
4349 -# will honor the `STRIP' environment variable to overrule this program.
4350 -if test "$cross_compiling" != no; then
4351 -  if test -n "$ac_tool_prefix"; then
4352 -  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4353 -set dummy ${ac_tool_prefix}strip; ac_word=$2
4354 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4355 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4356 -if test "${ac_cv_prog_STRIP+set}" = set; then
4357 -  echo $ECHO_N "(cached) $ECHO_C" >&6
4358 -else
4359 -  if test -n "$STRIP"; then
4360 -  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4361 -else
4362 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4363 -for as_dir in $PATH
4364 -do
4365 -  IFS=$as_save_IFS
4366 -  test -z "$as_dir" && as_dir=.
4367 -  for ac_exec_ext in '' $ac_executable_extensions; do
4368 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4369 -    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4370 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4371 -    break 2
4372 -  fi
4373 -done
4374 -done
4375 -
4376 -fi
4377 -fi
4378 -STRIP=$ac_cv_prog_STRIP
4379 -if test -n "$STRIP"; then
4380 -  echo "$as_me:$LINENO: result: $STRIP" >&5
4381 -echo "${ECHO_T}$STRIP" >&6
4382 -else
4383 -  echo "$as_me:$LINENO: result: no" >&5
4384 -echo "${ECHO_T}no" >&6
4385 -fi
4386 -
4387 -fi
4388 -if test -z "$ac_cv_prog_STRIP"; then
4389 -  ac_ct_STRIP=$STRIP
4390 -  # Extract the first word of "strip", so it can be a program name with args.
4391 -set dummy strip; ac_word=$2
4392 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4393 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4394 -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4395 -  echo $ECHO_N "(cached) $ECHO_C" >&6
4396 -else
4397 -  if test -n "$ac_ct_STRIP"; then
4398 -  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4399 -else
4400 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4401 -for as_dir in $PATH
4402 -do
4403 -  IFS=$as_save_IFS
4404 -  test -z "$as_dir" && as_dir=.
4405 -  for ac_exec_ext in '' $ac_executable_extensions; do
4406 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4407 -    ac_cv_prog_ac_ct_STRIP="strip"
4408 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4409 -    break 2
4410 -  fi
4411 -done
4412 -done
4413 -
4414 -  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4415 -fi
4416 -fi
4417 -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4418 -if test -n "$ac_ct_STRIP"; then
4419 -  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4420 -echo "${ECHO_T}$ac_ct_STRIP" >&6
4421 -else
4422 -  echo "$as_me:$LINENO: result: no" >&5
4423 -echo "${ECHO_T}no" >&6
4424 -fi
4425  
4426 -  STRIP=$ac_ct_STRIP
4427 -else
4428 -  STRIP="$ac_cv_prog_STRIP"
4429 -fi
4430  
4431 +missing_dir=`cd $ac_aux_dir && pwd`
4432 +echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
4433 +echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
4434 +# Run test in a subshell; some versions of sh will print an error if
4435 +# an executable is not found, even if stderr is redirected.
4436 +# Redirect stdin to placate older versions of autoconf.  Sigh.
4437 +if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
4438 +   ACLOCAL=aclocal-${am__api_version}
4439 +   echo "$as_me:$LINENO: result: found" >&5
4440 +echo "${ECHO_T}found" >&6
4441 +else
4442 +   ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
4443 +   echo "$as_me:$LINENO: result: missing" >&5
4444 +echo "${ECHO_T}missing" >&6
4445 +fi
4446 +
4447 +echo "$as_me:$LINENO: checking for working autoconf" >&5
4448 +echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
4449 +# Run test in a subshell; some versions of sh will print an error if
4450 +# an executable is not found, even if stderr is redirected.
4451 +# Redirect stdin to placate older versions of autoconf.  Sigh.
4452 +if (autoconf --version) < /dev/null > /dev/null 2>&1; then
4453 +   AUTOCONF=autoconf
4454 +   echo "$as_me:$LINENO: result: found" >&5
4455 +echo "${ECHO_T}found" >&6
4456 +else
4457 +   AUTOCONF="$missing_dir/missing autoconf"
4458 +   echo "$as_me:$LINENO: result: missing" >&5
4459 +echo "${ECHO_T}missing" >&6
4460 +fi
4461 +
4462 +echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
4463 +echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
4464 +# Run test in a subshell; some versions of sh will print an error if
4465 +# an executable is not found, even if stderr is redirected.
4466 +# Redirect stdin to placate older versions of autoconf.  Sigh.
4467 +if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
4468 +   AUTOMAKE=automake-${am__api_version}
4469 +   echo "$as_me:$LINENO: result: found" >&5
4470 +echo "${ECHO_T}found" >&6
4471 +else
4472 +   AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
4473 +   echo "$as_me:$LINENO: result: missing" >&5
4474 +echo "${ECHO_T}missing" >&6
4475 +fi
4476 +
4477 +echo "$as_me:$LINENO: checking for working autoheader" >&5
4478 +echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
4479 +# Run test in a subshell; some versions of sh will print an error if
4480 +# an executable is not found, even if stderr is redirected.
4481 +# Redirect stdin to placate older versions of autoconf.  Sigh.
4482 +if (autoheader --version) < /dev/null > /dev/null 2>&1; then
4483 +   AUTOHEADER=autoheader
4484 +   echo "$as_me:$LINENO: result: found" >&5
4485 +echo "${ECHO_T}found" >&6
4486 +else
4487 +   AUTOHEADER="$missing_dir/missing autoheader"
4488 +   echo "$as_me:$LINENO: result: missing" >&5
4489 +echo "${ECHO_T}missing" >&6
4490 +fi
4491 +
4492 +echo "$as_me:$LINENO: checking for working makeinfo" >&5
4493 +echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
4494 +# Run test in a subshell; some versions of sh will print an error if
4495 +# an executable is not found, even if stderr is redirected.
4496 +# Redirect stdin to placate older versions of autoconf.  Sigh.
4497 +if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
4498 +   MAKEINFO=makeinfo
4499 +   echo "$as_me:$LINENO: result: found" >&5
4500 +echo "${ECHO_T}found" >&6
4501 +else
4502 +   MAKEINFO="$missing_dir/missing makeinfo"
4503 +   echo "$as_me:$LINENO: result: missing" >&5
4504 +echo "${ECHO_T}missing" >&6
4505  fi
4506 -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
4507 -
4508 -# We need awk for the "check" target.  The system "awk" is bad on
4509 -# some platforms.
4510  
4511  
4512  
4513            ac_config_headers="$ac_config_headers config.h"
4514  
4515 +          ac_config_commands="$ac_config_commands default-1"
4516 +
4517  
4518  
4519  
4520 @@ -1987,6 +1950,7 @@
4521  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4522  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4523  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4524 +# OS/2's system install, which has a completely different semantic
4525  # ./install, which can be erroneously created by make from ./install.sh.
4526  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4527  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4528 @@ -2003,6 +1967,7 @@
4529  case $as_dir/ in
4530    ./ | .// | /cC/* | \
4531    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4532 +  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4533    /usr/ucb/* ) ;;
4534    *)
4535      # OSF1 and SCO ODT 3.0 have their own names for install.
4536 @@ -2010,20 +1975,20 @@
4537      # by default.
4538      for ac_prog in ginstall scoinst install; do
4539        for ac_exec_ext in '' $ac_executable_extensions; do
4540 -        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4541 -          if test $ac_prog = install &&
4542 -            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4543 -            # AIX install.  It has an incompatible calling convention.
4544 -            :
4545 -          elif test $ac_prog = install &&
4546 -            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4547 -            # program-specific install script used by HP pwplus--don't use.
4548 -            :
4549 -          else
4550 -            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4551 -            break 3
4552 -          fi
4553 -        fi
4554 +       if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4555 +         if test $ac_prog = install &&
4556 +           grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4557 +           # AIX install.  It has an incompatible calling convention.
4558 +           :
4559 +         elif test $ac_prog = install &&
4560 +           grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4561 +           # program-specific install script used by HP pwplus--don't use.
4562 +           :
4563 +         else
4564 +           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4565 +           break 3
4566 +         fi
4567 +       fi
4568        done
4569      done
4570      ;;
4571 @@ -2389,7 +2354,6 @@
4572    (exit $ac_status); }
4573  
4574  cat >conftest.$ac_ext <<_ACEOF
4575 -#line $LINENO "configure"
4576  /* confdefs.h.  */
4577  _ACEOF
4578  cat confdefs.h >>conftest.$ac_ext
4579 @@ -2409,8 +2373,8 @@
4580  # Try to create an executable without -o first, disregard a.out.
4581  # It will help us diagnose broken compilers, and finding out an intuition
4582  # of exeext.
4583 -echo "$as_me:$LINENO: checking for C compiler default output" >&5
4584 -echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
4585 +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4586 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
4587  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4588  if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
4589    (eval $ac_link_default) 2>&5
4590 @@ -2430,23 +2394,23 @@
4591    test -f "$ac_file" || continue
4592    case $ac_file in
4593      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
4594 -        ;;
4595 +       ;;
4596      conftest.$ac_ext )
4597 -        # This is the source file.
4598 -        ;;
4599 +       # This is the source file.
4600 +       ;;
4601      [ab].out )
4602 -        # We found the default executable, but exeext='' is most
4603 -        # certainly right.
4604 -        break;;
4605 +       # We found the default executable, but exeext='' is most
4606 +       # certainly right.
4607 +       break;;
4608      *.* )
4609 -        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4610 -        # FIXME: I believe we export ac_cv_exeext for Libtool,
4611 -        # but it would be cool to find out if it's true.  Does anybody
4612 -        # maintain Libtool? --akim.
4613 -        export ac_cv_exeext
4614 -        break;;
4615 +       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4616 +       # FIXME: I believe we export ac_cv_exeext for Libtool,
4617 +       # but it would be cool to find out if it's true.  Does anybody
4618 +       # maintain Libtool? --akim.
4619 +       export ac_cv_exeext
4620 +       break;;
4621      * )
4622 -        break;;
4623 +       break;;
4624    esac
4625  done
4626  else
4627 @@ -2520,8 +2484,8 @@
4628    case $ac_file in
4629      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
4630      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4631 -          export ac_cv_exeext
4632 -          break;;
4633 +         export ac_cv_exeext
4634 +         break;;
4635      * ) break;;
4636    esac
4637  done
4638 @@ -2546,7 +2510,6 @@
4639    echo $ECHO_N "(cached) $ECHO_C" >&6
4640  else
4641    cat >conftest.$ac_ext <<_ACEOF
4642 -#line $LINENO "configure"
4643  /* confdefs.h.  */
4644  _ACEOF
4645  cat confdefs.h >>conftest.$ac_ext
4646 @@ -2597,7 +2560,6 @@
4647    echo $ECHO_N "(cached) $ECHO_C" >&6
4648  else
4649    cat >conftest.$ac_ext <<_ACEOF
4650 -#line $LINENO "configure"
4651  /* confdefs.h.  */
4652  _ACEOF
4653  cat confdefs.h >>conftest.$ac_ext
4654 @@ -2617,11 +2579,20 @@
4655  _ACEOF
4656  rm -f conftest.$ac_objext
4657  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4658 -  (eval $ac_compile) 2>&5
4659 +  (eval $ac_compile) 2>conftest.er1
4660    ac_status=$?
4661 +  grep -v '^ *+' conftest.er1 >conftest.err
4662 +  rm -f conftest.er1
4663 +  cat conftest.err >&5
4664    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4665    (exit $ac_status); } &&
4666 -         { ac_try='test -s conftest.$ac_objext'
4667 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4668 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4669 +  (eval $ac_try) 2>&5
4670 +  ac_status=$?
4671 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 +  (exit $ac_status); }; } &&
4673 +        { ac_try='test -s conftest.$ac_objext'
4674    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4675    (eval $ac_try) 2>&5
4676    ac_status=$?
4677 @@ -2634,7 +2605,7 @@
4678  
4679  ac_compiler_gnu=no
4680  fi
4681 -rm -f conftest.$ac_objext conftest.$ac_ext
4682 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4683  ac_cv_c_compiler_gnu=$ac_compiler_gnu
4684  
4685  fi
4686 @@ -2650,7 +2621,6 @@
4687    echo $ECHO_N "(cached) $ECHO_C" >&6
4688  else
4689    cat >conftest.$ac_ext <<_ACEOF
4690 -#line $LINENO "configure"
4691  /* confdefs.h.  */
4692  _ACEOF
4693  cat confdefs.h >>conftest.$ac_ext
4694 @@ -2667,11 +2637,20 @@
4695  _ACEOF
4696  rm -f conftest.$ac_objext
4697  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4698 -  (eval $ac_compile) 2>&5
4699 +  (eval $ac_compile) 2>conftest.er1
4700    ac_status=$?
4701 +  grep -v '^ *+' conftest.er1 >conftest.err
4702 +  rm -f conftest.er1
4703 +  cat conftest.err >&5
4704    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705    (exit $ac_status); } &&
4706 -         { ac_try='test -s conftest.$ac_objext'
4707 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4708 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4709 +  (eval $ac_try) 2>&5
4710 +  ac_status=$?
4711 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712 +  (exit $ac_status); }; } &&
4713 +        { ac_try='test -s conftest.$ac_objext'
4714    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4715    (eval $ac_try) 2>&5
4716    ac_status=$?
4717 @@ -2684,7 +2663,7 @@
4718  
4719  ac_cv_prog_cc_g=no
4720  fi
4721 -rm -f conftest.$ac_objext conftest.$ac_ext
4722 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4723  fi
4724  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4725  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4726 @@ -2711,7 +2690,6 @@
4727    ac_cv_prog_cc_stdc=no
4728  ac_save_CC=$CC
4729  cat >conftest.$ac_ext <<_ACEOF
4730 -#line $LINENO "configure"
4731  /* confdefs.h.  */
4732  _ACEOF
4733  cat confdefs.h >>conftest.$ac_ext
4734 @@ -2739,6 +2717,16 @@
4735    va_end (v);
4736    return s;
4737  }
4738 +
4739 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4740 +   function prototypes and stuff, but not '\xHH' hex character constants.
4741 +   These don't provoke an error unfortunately, instead are silently treated
4742 +   as 'x'.  The following induces an error, until -std1 is added to get
4743 +   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4744 +   array size at least.  It's necessary to write '\x00'==0 to get something
4745 +   that's true only with -std1.  */
4746 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4747 +
4748  int test (int i, double x);
4749  struct s1 {int (*f) (int a);};
4750  struct s2 {int (*f) (double a);};
4751 @@ -2765,11 +2753,20 @@
4752    CC="$ac_save_CC $ac_arg"
4753    rm -f conftest.$ac_objext
4754  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4755 -  (eval $ac_compile) 2>&5
4756 +  (eval $ac_compile) 2>conftest.er1
4757    ac_status=$?
4758 +  grep -v '^ *+' conftest.er1 >conftest.err
4759 +  rm -f conftest.er1
4760 +  cat conftest.err >&5
4761    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762    (exit $ac_status); } &&
4763 -         { ac_try='test -s conftest.$ac_objext'
4764 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4765 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4766 +  (eval $ac_try) 2>&5
4767 +  ac_status=$?
4768 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4769 +  (exit $ac_status); }; } &&
4770 +        { ac_try='test -s conftest.$ac_objext'
4771    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4772    (eval $ac_try) 2>&5
4773    ac_status=$?
4774 @@ -2782,7 +2779,7 @@
4775  sed 's/^/| /' conftest.$ac_ext >&5
4776  
4777  fi
4778 -rm -f conftest.$ac_objext
4779 +rm -f conftest.err conftest.$ac_objext
4780  done
4781  rm -f conftest.$ac_ext conftest.$ac_objext
4782  CC=$ac_save_CC
4783 @@ -2810,34 +2807,41 @@
4784  _ACEOF
4785  rm -f conftest.$ac_objext
4786  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4787 -  (eval $ac_compile) 2>&5
4788 +  (eval $ac_compile) 2>conftest.er1
4789    ac_status=$?
4790 +  grep -v '^ *+' conftest.er1 >conftest.err
4791 +  rm -f conftest.er1
4792 +  cat conftest.err >&5
4793    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794    (exit $ac_status); } &&
4795 -         { ac_try='test -s conftest.$ac_objext'
4796 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4797 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4798 +  (eval $ac_try) 2>&5
4799 +  ac_status=$?
4800 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 +  (exit $ac_status); }; } &&
4802 +        { ac_try='test -s conftest.$ac_objext'
4803    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4804    (eval $ac_try) 2>&5
4805    ac_status=$?
4806    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807    (exit $ac_status); }; }; then
4808    for ac_declaration in \
4809 -   ''\
4810 +   '' \
4811     'extern "C" void std::exit (int) throw (); using std::exit;' \
4812     'extern "C" void std::exit (int); using std::exit;' \
4813     'extern "C" void exit (int) throw ();' \
4814     'extern "C" void exit (int);' \
4815 -   'void exit (int);' \
4816 -   '#include <stdlib.h>'
4817 +   'void exit (int);'
4818  do
4819    cat >conftest.$ac_ext <<_ACEOF
4820 -#line $LINENO "configure"
4821  /* confdefs.h.  */
4822  _ACEOF
4823  cat confdefs.h >>conftest.$ac_ext
4824  cat >>conftest.$ac_ext <<_ACEOF
4825  /* end confdefs.h.  */
4826 -#include <stdlib.h>
4827  $ac_declaration
4828 +#include <stdlib.h>
4829  int
4830  main ()
4831  {
4832 @@ -2848,11 +2852,20 @@
4833  _ACEOF
4834  rm -f conftest.$ac_objext
4835  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4836 -  (eval $ac_compile) 2>&5
4837 +  (eval $ac_compile) 2>conftest.er1
4838    ac_status=$?
4839 +  grep -v '^ *+' conftest.er1 >conftest.err
4840 +  rm -f conftest.er1
4841 +  cat conftest.err >&5
4842    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843    (exit $ac_status); } &&
4844 -         { ac_try='test -s conftest.$ac_objext'
4845 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4846 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4847 +  (eval $ac_try) 2>&5
4848 +  ac_status=$?
4849 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4850 +  (exit $ac_status); }; } &&
4851 +        { ac_try='test -s conftest.$ac_objext'
4852    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4853    (eval $ac_try) 2>&5
4854    ac_status=$?
4855 @@ -2865,9 +2878,8 @@
4856  
4857  continue
4858  fi
4859 -rm -f conftest.$ac_objext conftest.$ac_ext
4860 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4861    cat >conftest.$ac_ext <<_ACEOF
4862 -#line $LINENO "configure"
4863  /* confdefs.h.  */
4864  _ACEOF
4865  cat confdefs.h >>conftest.$ac_ext
4866 @@ -2884,11 +2896,20 @@
4867  _ACEOF
4868  rm -f conftest.$ac_objext
4869  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4870 -  (eval $ac_compile) 2>&5
4871 +  (eval $ac_compile) 2>conftest.er1
4872    ac_status=$?
4873 +  grep -v '^ *+' conftest.er1 >conftest.err
4874 +  rm -f conftest.er1
4875 +  cat conftest.err >&5
4876    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4877    (exit $ac_status); } &&
4878 -         { ac_try='test -s conftest.$ac_objext'
4879 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4880 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4881 +  (eval $ac_try) 2>&5
4882 +  ac_status=$?
4883 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884 +  (exit $ac_status); }; } &&
4885 +        { ac_try='test -s conftest.$ac_objext'
4886    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4887    (eval $ac_try) 2>&5
4888    ac_status=$?
4889 @@ -2900,7 +2921,7 @@
4890  sed 's/^/| /' conftest.$ac_ext >&5
4891  
4892  fi
4893 -rm -f conftest.$ac_objext conftest.$ac_ext
4894 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4895  done
4896  rm -f conftest*
4897  if test -n "$ac_declaration"; then
4898 @@ -2914,178 +2935,26 @@
4899  sed 's/^/| /' conftest.$ac_ext >&5
4900  
4901  fi
4902 -rm -f conftest.$ac_objext conftest.$ac_ext
4903 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4904  ac_ext=c
4905  ac_cpp='$CPP $CPPFLAGS'
4906  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4907  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4908  ac_compiler_gnu=$ac_cv_c_compiler_gnu
4909 -DEPDIR="${am__leading_dot}deps"
4910 -
4911 -          ac_config_commands="$ac_config_commands depfiles"
4912 -
4913 -
4914 -am_make=${MAKE-make}
4915 -cat > confinc << 'END'
4916 -am__doit:
4917 -       @echo done
4918 -.PHONY: am__doit
4919 -END
4920 -# If we don't find an include directive, just comment out the code.
4921 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
4922 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
4923 -am__include="#"
4924 -am__quote=
4925 -_am_result=none
4926 -# First try GNU make style include.
4927 -echo "include confinc" > confmf
4928 -# We grep out `Entering directory' and `Leaving directory'
4929 -# messages which can occur if `w' ends up in MAKEFLAGS.
4930 -# In particular we don't look at `^make:' because GNU make might
4931 -# be invoked under some other name (usually "gmake"), in which
4932 -# case it prints its new name instead of `make'.
4933 -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
4934 -   am__include=include
4935 -   am__quote=
4936 -   _am_result=GNU
4937 -fi
4938 -# Now try BSD make style include.
4939 -if test "$am__include" = "#"; then
4940 -   echo '.include "confinc"' > confmf
4941 -   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
4942 -      am__include=.include
4943 -      am__quote="\""
4944 -      _am_result=BSD
4945 -   fi
4946 -fi
4947 -
4948 -
4949 -echo "$as_me:$LINENO: result: $_am_result" >&5
4950 -echo "${ECHO_T}$_am_result" >&6
4951 -rm -f confinc confmf
4952 -
4953 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
4954 -if test "${enable_dependency_tracking+set}" = set; then
4955 -  enableval="$enable_dependency_tracking"
4956 -
4957 -fi;
4958 -if test "x$enable_dependency_tracking" != xno; then
4959 -  am_depcomp="$ac_aux_dir/depcomp"
4960 -  AMDEPBACKSLASH='\'
4961 -fi
4962 -
4963 -
4964 -if test "x$enable_dependency_tracking" != xno; then
4965 -  AMDEP_TRUE=
4966 -  AMDEP_FALSE='#'
4967 -else
4968 -  AMDEP_TRUE='#'
4969 -  AMDEP_FALSE=
4970 -fi
4971 -
4972  
4973 -
4974 -
4975 -depcc="$CC"   am_compiler_list=
4976 -
4977 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4978 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4979 -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4980 -  echo $ECHO_N "(cached) $ECHO_C" >&6
4981 -else
4982 -  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4983 -  # We make a subdir and do the tests there.  Otherwise we can end up
4984 -  # making bogus files that we don't know about and never remove.  For
4985 -  # instance it was reported that on HP-UX the gcc test will end up
4986 -  # making a dummy file named `D' -- because `-MD' means `put the output
4987 -  # in D'.
4988 -  mkdir conftest.dir
4989 -  # Copy depcomp to subdir because otherwise we won't find it if we're
4990 -  # using a relative directory.
4991 -  cp "$am_depcomp" conftest.dir
4992 -  cd conftest.dir
4993 -
4994 -  am_cv_CC_dependencies_compiler_type=none
4995 -  if test "$am_compiler_list" = ""; then
4996 -     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4997 -  fi
4998 -  for depmode in $am_compiler_list; do
4999 -    # We need to recreate these files for each test, as the compiler may
5000 -    # overwrite some of them when testing with obscure command lines.
5001 -    # This happens at least with the AIX C compiler.
5002 -    echo '#include "conftest.h"' > conftest.c
5003 -    echo 'int i;' > conftest.h
5004 -    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
5005 -
5006 -    case $depmode in
5007 -    nosideeffect)
5008 -      # after this tag, mechanisms are not by side-effect, so they'll
5009 -      # only be used when explicitly requested
5010 -      if test "x$enable_dependency_tracking" = xyes; then
5011 -       continue
5012 -      else
5013 -       break
5014 -      fi
5015 -      ;;
5016 -    none) break ;;
5017 -    esac
5018 -    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5019 -    # mode.  It turns out that the SunPro C++ compiler does not properly
5020 -    # handle `-M -o', and we need to detect this.
5021 -    if depmode=$depmode \
5022 -       source=conftest.c object=conftest.o \
5023 -       depfile=conftest.Po tmpdepfile=conftest.TPo \
5024 -       $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \
5025 -         >/dev/null 2>conftest.err &&
5026 -       grep conftest.h conftest.Po > /dev/null 2>&1 &&
5027 -       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5028 -      # icc doesn't choke on unknown options, it will just issue warnings
5029 -      # (even with -Werror).  So we grep stderr for any message
5030 -      # that says an option was ignored.
5031 -      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
5032 -        am_cv_CC_dependencies_compiler_type=$depmode
5033 -        break
5034 -      fi
5035 -    fi
5036 -  done
5037 -
5038 -  cd ..
5039 -  rm -rf conftest.dir
5040 -else
5041 -  am_cv_CC_dependencies_compiler_type=none
5042 -fi
5043 -
5044 -fi
5045 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5046 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
5047 -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5048 -
5049 -
5050 -
5051 -if
5052 -  test "x$enable_dependency_tracking" != xno \
5053 -  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5054 -  am__fastdepCC_TRUE=
5055 -  am__fastdepCC_FALSE='#'
5056 -else
5057 -  am__fastdepCC_TRUE='#'
5058 -  am__fastdepCC_FALSE=
5059 -fi
5060 -
5061 -
5062 -ac_ext=cc
5063 -ac_cpp='$CXXCPP $CPPFLAGS'
5064 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5065 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5066 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5067 -if test -n "$ac_tool_prefix"; then
5068 -  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
5069 -  do
5070 -    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5071 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5072 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5073 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5074 -if test "${ac_cv_prog_CXX+set}" = set; then
5075 +ac_ext=cc
5076 +ac_cpp='$CXXCPP $CPPFLAGS'
5077 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5078 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5079 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5080 +if test -n "$ac_tool_prefix"; then
5081 +  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
5082 +  do
5083 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5084 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5085 +echo "$as_me:$LINENO: checking for $ac_word" >&5
5086 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5087 +if test "${ac_cv_prog_CXX+set}" = set; then
5088    echo $ECHO_N "(cached) $ECHO_C" >&6
5089  else
5090    if test -n "$CXX"; then
5091 @@ -3192,7 +3061,6 @@
5092    echo $ECHO_N "(cached) $ECHO_C" >&6
5093  else
5094    cat >conftest.$ac_ext <<_ACEOF
5095 -#line $LINENO "configure"
5096  /* confdefs.h.  */
5097  _ACEOF
5098  cat confdefs.h >>conftest.$ac_ext
5099 @@ -3212,11 +3080,20 @@
5100  _ACEOF
5101  rm -f conftest.$ac_objext
5102  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5103 -  (eval $ac_compile) 2>&5
5104 +  (eval $ac_compile) 2>conftest.er1
5105    ac_status=$?
5106 +  grep -v '^ *+' conftest.er1 >conftest.err
5107 +  rm -f conftest.er1
5108 +  cat conftest.err >&5
5109    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5110    (exit $ac_status); } &&
5111 -         { ac_try='test -s conftest.$ac_objext'
5112 +        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
5113 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5114 +  (eval $ac_try) 2>&5
5115 +  ac_status=$?
5116 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5117 +  (exit $ac_status); }; } &&
5118 +        { ac_try='test -s conftest.$ac_objext'
5119    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5120    (eval $ac_try) 2>&5
5121    ac_status=$?
5122 @@ -3229,7 +3106,7 @@
5123  
5124  ac_compiler_gnu=no
5125  fi
5126 -rm -f conftest.$ac_objext conftest.$ac_ext
5127 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5128  ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5129  
5130  fi
5131 @@ -3245,7 +3122,6 @@
5132    echo $ECHO_N "(cached) $ECHO_C" >&6
5133  else
5134    cat >conftest.$ac_ext <<_ACEOF
5135 -#line $LINENO "configure"
5136  /* confdefs.h.  */
5137  _ACEOF
5138  cat confdefs.h >>conftest.$ac_ext
5139 @@ -3262,11 +3138,20 @@
5140  _ACEOF
5141  rm -f conftest.$ac_objext
5142  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5143 -  (eval $ac_compile) 2>&5
5144 +  (eval $ac_compile) 2>conftest.er1
5145    ac_status=$?
5146 +  grep -v '^ *+' conftest.er1 >conftest.err
5147 +  rm -f conftest.er1
5148 +  cat conftest.err >&5
5149    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150    (exit $ac_status); } &&
5151 -         { ac_try='test -s conftest.$ac_objext'
5152 +        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
5153 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5154 +  (eval $ac_try) 2>&5
5155 +  ac_status=$?
5156 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5157 +  (exit $ac_status); }; } &&
5158 +        { ac_try='test -s conftest.$ac_objext'
5159    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5160    (eval $ac_try) 2>&5
5161    ac_status=$?
5162 @@ -3279,7 +3164,7 @@
5163  
5164  ac_cv_prog_cxx_g=no
5165  fi
5166 -rm -f conftest.$ac_objext conftest.$ac_ext
5167 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5168  fi
5169  echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5170  echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5171 @@ -3299,23 +3184,21 @@
5172    fi
5173  fi
5174  for ac_declaration in \
5175 -   ''\
5176 +   '' \
5177     'extern "C" void std::exit (int) throw (); using std::exit;' \
5178     'extern "C" void std::exit (int); using std::exit;' \
5179     'extern "C" void exit (int) throw ();' \
5180     'extern "C" void exit (int);' \
5181 -   'void exit (int);' \
5182 -   '#include <stdlib.h>'
5183 +   'void exit (int);'
5184  do
5185    cat >conftest.$ac_ext <<_ACEOF
5186 -#line $LINENO "configure"
5187  /* confdefs.h.  */
5188  _ACEOF
5189  cat confdefs.h >>conftest.$ac_ext
5190  cat >>conftest.$ac_ext <<_ACEOF
5191  /* end confdefs.h.  */
5192 -#include <stdlib.h>
5193  $ac_declaration
5194 +#include <stdlib.h>
5195  int
5196  main ()
5197  {
5198 @@ -3326,11 +3209,20 @@
5199  _ACEOF
5200  rm -f conftest.$ac_objext
5201  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5202 -  (eval $ac_compile) 2>&5
5203 +  (eval $ac_compile) 2>conftest.er1
5204    ac_status=$?
5205 +  grep -v '^ *+' conftest.er1 >conftest.err
5206 +  rm -f conftest.er1
5207 +  cat conftest.err >&5
5208    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209    (exit $ac_status); } &&
5210 -         { ac_try='test -s conftest.$ac_objext'
5211 +        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
5212 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5213 +  (eval $ac_try) 2>&5
5214 +  ac_status=$?
5215 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216 +  (exit $ac_status); }; } &&
5217 +        { ac_try='test -s conftest.$ac_objext'
5218    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5219    (eval $ac_try) 2>&5
5220    ac_status=$?
5221 @@ -3343,9 +3235,8 @@
5222  
5223  continue
5224  fi
5225 -rm -f conftest.$ac_objext conftest.$ac_ext
5226 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5227    cat >conftest.$ac_ext <<_ACEOF
5228 -#line $LINENO "configure"
5229  /* confdefs.h.  */
5230  _ACEOF
5231  cat confdefs.h >>conftest.$ac_ext
5232 @@ -3362,11 +3253,20 @@
5233  _ACEOF
5234  rm -f conftest.$ac_objext
5235  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5236 -  (eval $ac_compile) 2>&5
5237 +  (eval $ac_compile) 2>conftest.er1
5238    ac_status=$?
5239 +  grep -v '^ *+' conftest.er1 >conftest.err
5240 +  rm -f conftest.er1
5241 +  cat conftest.err >&5
5242    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243    (exit $ac_status); } &&
5244 -         { ac_try='test -s conftest.$ac_objext'
5245 +        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
5246 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5247 +  (eval $ac_try) 2>&5
5248 +  ac_status=$?
5249 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5250 +  (exit $ac_status); }; } &&
5251 +        { ac_try='test -s conftest.$ac_objext'
5252    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5253    (eval $ac_try) 2>&5
5254    ac_status=$?
5255 @@ -3378,7 +3278,7 @@
5256  sed 's/^/| /' conftest.$ac_ext >&5
5257  
5258  fi
5259 -rm -f conftest.$ac_objext conftest.$ac_ext
5260 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5261  done
5262  rm -f conftest*
5263  if test -n "$ac_declaration"; then
5264 @@ -3393,93 +3293,6 @@
5265  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5266  ac_compiler_gnu=$ac_cv_c_compiler_gnu
5267  
5268 -depcc="$CXX"  am_compiler_list=
5269 -
5270 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5271 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5272 -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5273 -  echo $ECHO_N "(cached) $ECHO_C" >&6
5274 -else
5275 -  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5276 -  # We make a subdir and do the tests there.  Otherwise we can end up
5277 -  # making bogus files that we don't know about and never remove.  For
5278 -  # instance it was reported that on HP-UX the gcc test will end up
5279 -  # making a dummy file named `D' -- because `-MD' means `put the output
5280 -  # in D'.
5281 -  mkdir conftest.dir
5282 -  # Copy depcomp to subdir because otherwise we won't find it if we're
5283 -  # using a relative directory.
5284 -  cp "$am_depcomp" conftest.dir
5285 -  cd conftest.dir
5286 -
5287 -  am_cv_CXX_dependencies_compiler_type=none
5288 -  if test "$am_compiler_list" = ""; then
5289 -     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5290 -  fi
5291 -  for depmode in $am_compiler_list; do
5292 -    # We need to recreate these files for each test, as the compiler may
5293 -    # overwrite some of them when testing with obscure command lines.
5294 -    # This happens at least with the AIX C compiler.
5295 -    echo '#include "conftest.h"' > conftest.c
5296 -    echo 'int i;' > conftest.h
5297 -    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
5298 -
5299 -    case $depmode in
5300 -    nosideeffect)
5301 -      # after this tag, mechanisms are not by side-effect, so they'll
5302 -      # only be used when explicitly requested
5303 -      if test "x$enable_dependency_tracking" = xyes; then
5304 -       continue
5305 -      else
5306 -       break
5307 -      fi
5308 -      ;;
5309 -    none) break ;;
5310 -    esac
5311 -    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5312 -    # mode.  It turns out that the SunPro C++ compiler does not properly
5313 -    # handle `-M -o', and we need to detect this.
5314 -    if depmode=$depmode \
5315 -       source=conftest.c object=conftest.o \
5316 -       depfile=conftest.Po tmpdepfile=conftest.TPo \
5317 -       $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \
5318 -         >/dev/null 2>conftest.err &&
5319 -       grep conftest.h conftest.Po > /dev/null 2>&1 &&
5320 -       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5321 -      # icc doesn't choke on unknown options, it will just issue warnings
5322 -      # (even with -Werror).  So we grep stderr for any message
5323 -      # that says an option was ignored.
5324 -      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
5325 -        am_cv_CXX_dependencies_compiler_type=$depmode
5326 -        break
5327 -      fi
5328 -    fi
5329 -  done
5330 -
5331 -  cd ..
5332 -  rm -rf conftest.dir
5333 -else
5334 -  am_cv_CXX_dependencies_compiler_type=none
5335 -fi
5336 -
5337 -fi
5338 -echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5339 -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5340 -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5341 -
5342 -
5343 -
5344 -if
5345 -  test "x$enable_dependency_tracking" != xno \
5346 -  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5347 -  am__fastdepCXX_TRUE=
5348 -  am__fastdepCXX_FALSE='#'
5349 -else
5350 -  am__fastdepCXX_TRUE='#'
5351 -  am__fastdepCXX_FALSE=
5352 -fi
5353 -
5354 -
5355  
5356  # Check whether --enable-static or --disable-static was given.
5357  if test "${enable_static+set}" = set; then
5358 @@ -3650,7 +3463,7 @@
5359      # Accept absolute paths.
5360      [\\/]* | ?:[\\/]*)
5361        re_direlt='/[^/][^/]*/\.\./'
5362 -      # Canonicalize the path of ld
5363 +      # Canonicalize the pathname of ld
5364        ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
5365        while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5366         ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
5367 @@ -3719,7 +3532,7 @@
5368    echo $ECHO_N "(cached) $ECHO_C" >&6
5369  else
5370    # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5371 -case `"$LD" -v 2>&1 </dev/null` in
5372 +case `$LD -v 2>&1 </dev/null` in
5373  *GNU* | *'with BFD'*)
5374    lt_cv_prog_gnu_ld=yes
5375    ;;
5376 @@ -3840,28 +3653,24 @@
5377    lt_cv_file_magic_test_file=/shlib/libc.so
5378    ;;
5379  
5380 -cygwin* | mingw* | pw32*)
5381 -  # win32_libid is a shell function defined in ltmain.sh
5382 +cygwin*)
5383 +  # func_win32_libid is a shell function defined in ltmain.sh
5384    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5385 -  lt_cv_file_magic_cmd='win32_libid'
5386 +  lt_cv_file_magic_cmd='func_win32_libid'
5387 +  ;;
5388 +
5389 +mingw* | pw32*)
5390 +  # Base MSYS/MinGW do not provide the 'file' command needed by
5391 +  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
5392 +  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5393 +  lt_cv_file_magic_cmd='$OBJDUMP -f'
5394    ;;
5395  
5396  darwin* | rhapsody*)
5397 -  # this will be overwritten by pass_all, but leave it in just in case
5398 -  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
5399 -  lt_cv_file_magic_cmd='/usr/bin/file -L'
5400 -  case "$host_os" in
5401 -  rhapsody* | darwin1.[012])
5402 -    lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
5403 -    ;;
5404 -  *) # Darwin 1.3 on
5405 -    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
5406 -    ;;
5407 -  esac
5408    lt_cv_deplibs_check_method=pass_all
5409    ;;
5410  
5411 -freebsd*)
5412 +freebsd* | kfreebsd*-gnu)
5413    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5414      case $host_cpu in
5415      i*86 )
5416 @@ -3900,39 +3709,21 @@
5417    ;;
5418  
5419  irix5* | irix6* | nonstopux*)
5420 -  case $host_os in
5421 -  irix5* | nonstopux*)
5422 -    # this will be overridden with pass_all, but let us keep it just in case
5423 -    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5424 -    ;;
5425 -  *)
5426 -    case $LD in
5427 -    *-32|*"-32 ") libmagic=32-bit;;
5428 -    *-n32|*"-n32 ") libmagic=N32;;
5429 -    *-64|*"-64 ") libmagic=64-bit;;
5430 -    *) libmagic=never-match;;
5431 -    esac
5432 -    # this will be overridden with pass_all, but let us keep it just in case
5433 -    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5434 -    ;;
5435 +  case $LD in
5436 +  *-32|*"-32 ") libmagic=32-bit;;
5437 +  *-n32|*"-n32 ") libmagic=N32;;
5438 +  *-64|*"-64 ") libmagic=64-bit;;
5439 +  *) libmagic=never-match;;
5440    esac
5441 -  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
5442    lt_cv_deplibs_check_method=pass_all
5443    ;;
5444  
5445  # This must be Linux ELF.
5446  linux*)
5447 -  case $host_cpu in
5448 -  alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
5449 -    lt_cv_deplibs_check_method=pass_all ;;
5450 -  *)
5451 -    # glibc up to 2.1.1 does not perform some relocations on ARM
5452 -    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
5453 -  esac
5454 -  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
5455 +  lt_cv_deplibs_check_method=pass_all
5456    ;;
5457  
5458 -netbsd*)
5459 +netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
5460    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5461      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5462    else
5463 @@ -3946,7 +3737,7 @@
5464    lt_cv_file_magic_test_file=/usr/lib/libnls.so
5465    ;;
5466  
5467 -nto-qnx)
5468 +nto-qnx*)
5469    lt_cv_deplibs_check_method=unknown
5470    ;;
5471  
5472 @@ -3961,9 +3752,6 @@
5473    ;;
5474  
5475  osf3* | osf4* | osf5*)
5476 -  # this will be overridden with pass_all, but let us keep it just in case
5477 -  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
5478 -  lt_cv_file_magic_test_file=/shlib/libc.so
5479    lt_cv_deplibs_check_method=pass_all
5480    ;;
5481  
5482 @@ -3973,7 +3761,6 @@
5483  
5484  solaris*)
5485    lt_cv_deplibs_check_method=pass_all
5486 -  lt_cv_file_magic_test_file=/lib/libc.so
5487    ;;
5488  
5489  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5490 @@ -4053,7 +3840,7 @@
5491    ;;
5492  *-*-irix6*)
5493    # Find out which ABI we are using.
5494 -  echo '#line 4056 "configure"' > conftest.$ac_ext
5495 +  echo '#line 3843 "configure"' > conftest.$ac_ext
5496    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5497    (eval $ac_compile) 2>&5
5498    ac_status=$?
5499 @@ -4102,7 +3889,7 @@
5500          x86_64-*linux*)
5501            LD="${LD-ld} -m elf_i386"
5502            ;;
5503 -        ppc64-*linux*)
5504 +        ppc64-*linux*|powerpc64-*linux*)
5505            LD="${LD-ld} -m elf32ppclinux"
5506            ;;
5507          s390x-*linux*)
5508 @@ -4150,7 +3937,6 @@
5509  ac_compiler_gnu=$ac_cv_c_compiler_gnu
5510  
5511       cat >conftest.$ac_ext <<_ACEOF
5512 -#line $LINENO "configure"
5513  /* confdefs.h.  */
5514  _ACEOF
5515  cat confdefs.h >>conftest.$ac_ext
5516 @@ -4167,11 +3953,20 @@
5517  _ACEOF
5518  rm -f conftest.$ac_objext conftest$ac_exeext
5519  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5520 -  (eval $ac_link) 2>&5
5521 +  (eval $ac_link) 2>conftest.er1
5522    ac_status=$?
5523 +  grep -v '^ *+' conftest.er1 >conftest.err
5524 +  rm -f conftest.er1
5525 +  cat conftest.err >&5
5526    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527    (exit $ac_status); } &&
5528 -         { ac_try='test -s conftest$ac_exeext'
5529 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5530 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5531 +  (eval $ac_try) 2>&5
5532 +  ac_status=$?
5533 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534 +  (exit $ac_status); }; } &&
5535 +        { ac_try='test -s conftest$ac_exeext'
5536    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5537    (eval $ac_try) 2>&5
5538    ac_status=$?
5539 @@ -4184,7 +3979,8 @@
5540  
5541  lt_cv_cc_needs_belf=no
5542  fi
5543 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5544 +rm -f conftest.err conftest.$ac_objext \
5545 +      conftest$ac_exeext conftest.$ac_ext
5546       ac_ext=c
5547  ac_cpp='$CPP $CPPFLAGS'
5548  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5549 @@ -4233,7 +4029,6 @@
5550    # On the NeXT, cc -E runs the code through the compiler's parser,
5551    # not just through cpp. "Syntax error" is here to catch this case.
5552    cat >conftest.$ac_ext <<_ACEOF
5553 -#line $LINENO "configure"
5554  /* confdefs.h.  */
5555  _ACEOF
5556  cat confdefs.h >>conftest.$ac_ext
5557 @@ -4244,7 +4039,7 @@
5558  #else
5559  # include <assert.h>
5560  #endif
5561 -                     Syntax error
5562 +                    Syntax error
5563  _ACEOF
5564  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5565    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5566 @@ -4256,6 +4051,7 @@
5567    (exit $ac_status); } >/dev/null; then
5568    if test -s conftest.err; then
5569      ac_cpp_err=$ac_c_preproc_warn_flag
5570 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5571    else
5572      ac_cpp_err=
5573    fi
5574 @@ -4276,7 +4072,6 @@
5575    # OK, works on sane cases.  Now check whether non-existent headers
5576    # can be detected and how.
5577    cat >conftest.$ac_ext <<_ACEOF
5578 -#line $LINENO "configure"
5579  /* confdefs.h.  */
5580  _ACEOF
5581  cat confdefs.h >>conftest.$ac_ext
5582 @@ -4294,6 +4089,7 @@
5583    (exit $ac_status); } >/dev/null; then
5584    if test -s conftest.err; then
5585      ac_cpp_err=$ac_c_preproc_warn_flag
5586 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5587    else
5588      ac_cpp_err=
5589    fi
5590 @@ -4340,7 +4136,6 @@
5591    # On the NeXT, cc -E runs the code through the compiler's parser,
5592    # not just through cpp. "Syntax error" is here to catch this case.
5593    cat >conftest.$ac_ext <<_ACEOF
5594 -#line $LINENO "configure"
5595  /* confdefs.h.  */
5596  _ACEOF
5597  cat confdefs.h >>conftest.$ac_ext
5598 @@ -4351,7 +4146,7 @@
5599  #else
5600  # include <assert.h>
5601  #endif
5602 -                     Syntax error
5603 +                    Syntax error
5604  _ACEOF
5605  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5606    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5607 @@ -4363,6 +4158,7 @@
5608    (exit $ac_status); } >/dev/null; then
5609    if test -s conftest.err; then
5610      ac_cpp_err=$ac_c_preproc_warn_flag
5611 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5612    else
5613      ac_cpp_err=
5614    fi
5615 @@ -4383,7 +4179,6 @@
5616    # OK, works on sane cases.  Now check whether non-existent headers
5617    # can be detected and how.
5618    cat >conftest.$ac_ext <<_ACEOF
5619 -#line $LINENO "configure"
5620  /* confdefs.h.  */
5621  _ACEOF
5622  cat confdefs.h >>conftest.$ac_ext
5623 @@ -4401,6 +4196,7 @@
5624    (exit $ac_status); } >/dev/null; then
5625    if test -s conftest.err; then
5626      ac_cpp_err=$ac_c_preproc_warn_flag
5627 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5628    else
5629      ac_cpp_err=
5630    fi
5631 @@ -4446,7 +4242,6 @@
5632    echo $ECHO_N "(cached) $ECHO_C" >&6
5633  else
5634    cat >conftest.$ac_ext <<_ACEOF
5635 -#line $LINENO "configure"
5636  /* confdefs.h.  */
5637  _ACEOF
5638  cat confdefs.h >>conftest.$ac_ext
5639 @@ -4467,11 +4262,20 @@
5640  _ACEOF
5641  rm -f conftest.$ac_objext
5642  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5643 -  (eval $ac_compile) 2>&5
5644 +  (eval $ac_compile) 2>conftest.er1
5645    ac_status=$?
5646 +  grep -v '^ *+' conftest.er1 >conftest.err
5647 +  rm -f conftest.er1
5648 +  cat conftest.err >&5
5649    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5650    (exit $ac_status); } &&
5651 -         { ac_try='test -s conftest.$ac_objext'
5652 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5653 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5654 +  (eval $ac_try) 2>&5
5655 +  ac_status=$?
5656 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5657 +  (exit $ac_status); }; } &&
5658 +        { ac_try='test -s conftest.$ac_objext'
5659    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5660    (eval $ac_try) 2>&5
5661    ac_status=$?
5662 @@ -4484,12 +4288,11 @@
5663  
5664  ac_cv_header_stdc=no
5665  fi
5666 -rm -f conftest.$ac_objext conftest.$ac_ext
5667 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5668  
5669  if test $ac_cv_header_stdc = yes; then
5670    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5671    cat >conftest.$ac_ext <<_ACEOF
5672 -#line $LINENO "configure"
5673  /* confdefs.h.  */
5674  _ACEOF
5675  cat confdefs.h >>conftest.$ac_ext
5676 @@ -4511,7 +4314,6 @@
5677  if test $ac_cv_header_stdc = yes; then
5678    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5679    cat >conftest.$ac_ext <<_ACEOF
5680 -#line $LINENO "configure"
5681  /* confdefs.h.  */
5682  _ACEOF
5683  cat confdefs.h >>conftest.$ac_ext
5684 @@ -4536,7 +4338,6 @@
5685    :
5686  else
5687    cat >conftest.$ac_ext <<_ACEOF
5688 -#line $LINENO "configure"
5689  /* confdefs.h.  */
5690  _ACEOF
5691  cat confdefs.h >>conftest.$ac_ext
5692 @@ -4548,9 +4349,9 @@
5693  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5694  #else
5695  # define ISLOWER(c) \
5696 -                   (('a' <= (c) && (c) <= 'i') \
5697 -                     || ('j' <= (c) && (c) <= 'r') \
5698 -                     || ('s' <= (c) && (c) <= 'z'))
5699 +                  (('a' <= (c) && (c) <= 'i') \
5700 +                    || ('j' <= (c) && (c) <= 'r') \
5701 +                    || ('s' <= (c) && (c) <= 'z'))
5702  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5703  #endif
5704  
5705 @@ -4561,7 +4362,7 @@
5706    int i;
5707    for (i = 0; i < 256; i++)
5708      if (XOR (islower (i), ISLOWER (i))
5709 -        || toupper (i) != TOUPPER (i))
5710 +       || toupper (i) != TOUPPER (i))
5711        exit(2);
5712    exit (0);
5713  }
5714 @@ -4586,7 +4387,7 @@
5715  ( exit $ac_status )
5716  ac_cv_header_stdc=no
5717  fi
5718 -rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5719 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5720  fi
5721  fi
5722  fi
5723 @@ -4611,7 +4412,7 @@
5724  
5725  
5726  for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5727 -                  inttypes.h stdint.h unistd.h
5728 +                 inttypes.h stdint.h unistd.h
5729  do
5730  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5731  echo "$as_me:$LINENO: checking for $ac_header" >&5
5732 @@ -4620,7 +4421,6 @@
5733    echo $ECHO_N "(cached) $ECHO_C" >&6
5734  else
5735    cat >conftest.$ac_ext <<_ACEOF
5736 -#line $LINENO "configure"
5737  /* confdefs.h.  */
5738  _ACEOF
5739  cat confdefs.h >>conftest.$ac_ext
5740 @@ -4632,11 +4432,20 @@
5741  _ACEOF
5742  rm -f conftest.$ac_objext
5743  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5744 -  (eval $ac_compile) 2>&5
5745 +  (eval $ac_compile) 2>conftest.er1
5746    ac_status=$?
5747 +  grep -v '^ *+' conftest.er1 >conftest.err
5748 +  rm -f conftest.er1
5749 +  cat conftest.err >&5
5750    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751    (exit $ac_status); } &&
5752 -         { ac_try='test -s conftest.$ac_objext'
5753 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5754 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5755 +  (eval $ac_try) 2>&5
5756 +  ac_status=$?
5757 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5758 +  (exit $ac_status); }; } &&
5759 +        { ac_try='test -s conftest.$ac_objext'
5760    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5761    (eval $ac_try) 2>&5
5762    ac_status=$?
5763 @@ -4649,7 +4458,7 @@
5764  
5765  eval "$as_ac_Header=no"
5766  fi
5767 -rm -f conftest.$ac_objext conftest.$ac_ext
5768 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5769  fi
5770  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5771  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5772 @@ -4680,7 +4489,6 @@
5773  echo "$as_me:$LINENO: checking $ac_header usability" >&5
5774  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5775  cat >conftest.$ac_ext <<_ACEOF
5776 -#line $LINENO "configure"
5777  /* confdefs.h.  */
5778  _ACEOF
5779  cat confdefs.h >>conftest.$ac_ext
5780 @@ -4691,11 +4499,20 @@
5781  _ACEOF
5782  rm -f conftest.$ac_objext
5783  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5784 -  (eval $ac_compile) 2>&5
5785 +  (eval $ac_compile) 2>conftest.er1
5786    ac_status=$?
5787 +  grep -v '^ *+' conftest.er1 >conftest.err
5788 +  rm -f conftest.er1
5789 +  cat conftest.err >&5
5790    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5791    (exit $ac_status); } &&
5792 -         { ac_try='test -s conftest.$ac_objext'
5793 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5794 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5795 +  (eval $ac_try) 2>&5
5796 +  ac_status=$?
5797 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798 +  (exit $ac_status); }; } &&
5799 +        { ac_try='test -s conftest.$ac_objext'
5800    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5801    (eval $ac_try) 2>&5
5802    ac_status=$?
5803 @@ -4708,7 +4525,7 @@
5804  
5805  ac_header_compiler=no
5806  fi
5807 -rm -f conftest.$ac_objext conftest.$ac_ext
5808 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5809  echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5810  echo "${ECHO_T}$ac_header_compiler" >&6
5811  
5812 @@ -4716,7 +4533,6 @@
5813  echo "$as_me:$LINENO: checking $ac_header presence" >&5
5814  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5815  cat >conftest.$ac_ext <<_ACEOF
5816 -#line $LINENO "configure"
5817  /* confdefs.h.  */
5818  _ACEOF
5819  cat confdefs.h >>conftest.$ac_ext
5820 @@ -4734,6 +4550,7 @@
5821    (exit $ac_status); } >/dev/null; then
5822    if test -s conftest.err; then
5823      ac_cpp_err=$ac_c_preproc_warn_flag
5824 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5825    else
5826      ac_cpp_err=
5827    fi
5828 @@ -4753,33 +4570,32 @@
5829  echo "${ECHO_T}$ac_header_preproc" >&6
5830  
5831  # So?  What about this header?
5832 -case $ac_header_compiler:$ac_header_preproc in
5833 -  yes:no )
5834 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5835 +  yes:no: )
5836      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5837  echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5838 -    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5839 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5840 -    (
5841 -      cat <<\_ASBOX
5842 -## ------------------------------------ ##
5843 -## Report this to bug-autoconf@gnu.org. ##
5844 -## ------------------------------------ ##
5845 -_ASBOX
5846 -    ) |
5847 -      sed "s/^/$as_me: WARNING:     /" >&2
5848 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5849 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5850 +    ac_header_preproc=yes
5851      ;;
5852 -  no:yes )
5853 +  no:yes:* )
5854      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5855  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5856 -    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5857 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5858 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5859 +echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5860 +    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5861 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5862 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5863 +echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5864      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5865  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5866 +    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5867 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5868      (
5869        cat <<\_ASBOX
5870 -## ------------------------------------ ##
5871 -## Report this to bug-autoconf@gnu.org. ##
5872 -## ------------------------------------ ##
5873 +## ------------------------------------------ ##
5874 +## Report this to the AC_PACKAGE_NAME lists.  ##
5875 +## ------------------------------------------ ##
5876  _ASBOX
5877      ) |
5878        sed "s/^/$as_me: WARNING:     /" >&2
5879 @@ -4790,7 +4606,7 @@
5880  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5881    echo $ECHO_N "(cached) $ECHO_C" >&6
5882  else
5883 -  eval "$as_ac_Header=$ac_header_preproc"
5884 +  eval "$as_ac_Header=\$ac_header_preproc"
5885  fi
5886  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5887  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5888 @@ -4829,7 +4645,6 @@
5889    # On the NeXT, cc -E runs the code through the compiler's parser,
5890    # not just through cpp. "Syntax error" is here to catch this case.
5891    cat >conftest.$ac_ext <<_ACEOF
5892 -#line $LINENO "configure"
5893  /* confdefs.h.  */
5894  _ACEOF
5895  cat confdefs.h >>conftest.$ac_ext
5896 @@ -4840,7 +4655,7 @@
5897  #else
5898  # include <assert.h>
5899  #endif
5900 -                     Syntax error
5901 +                    Syntax error
5902  _ACEOF
5903  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5904    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5905 @@ -4852,6 +4667,7 @@
5906    (exit $ac_status); } >/dev/null; then
5907    if test -s conftest.err; then
5908      ac_cpp_err=$ac_cxx_preproc_warn_flag
5909 +    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5910    else
5911      ac_cpp_err=
5912    fi
5913 @@ -4872,7 +4688,6 @@
5914    # OK, works on sane cases.  Now check whether non-existent headers
5915    # can be detected and how.
5916    cat >conftest.$ac_ext <<_ACEOF
5917 -#line $LINENO "configure"
5918  /* confdefs.h.  */
5919  _ACEOF
5920  cat confdefs.h >>conftest.$ac_ext
5921 @@ -4890,6 +4705,7 @@
5922    (exit $ac_status); } >/dev/null; then
5923    if test -s conftest.err; then
5924      ac_cpp_err=$ac_cxx_preproc_warn_flag
5925 +    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5926    else
5927      ac_cpp_err=
5928    fi
5929 @@ -4936,7 +4752,6 @@
5930    # On the NeXT, cc -E runs the code through the compiler's parser,
5931    # not just through cpp. "Syntax error" is here to catch this case.
5932    cat >conftest.$ac_ext <<_ACEOF
5933 -#line $LINENO "configure"
5934  /* confdefs.h.  */
5935  _ACEOF
5936  cat confdefs.h >>conftest.$ac_ext
5937 @@ -4947,7 +4762,7 @@
5938  #else
5939  # include <assert.h>
5940  #endif
5941 -                     Syntax error
5942 +                    Syntax error
5943  _ACEOF
5944  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5945    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5946 @@ -4959,6 +4774,7 @@
5947    (exit $ac_status); } >/dev/null; then
5948    if test -s conftest.err; then
5949      ac_cpp_err=$ac_cxx_preproc_warn_flag
5950 +    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5951    else
5952      ac_cpp_err=
5953    fi
5954 @@ -4979,7 +4795,6 @@
5955    # OK, works on sane cases.  Now check whether non-existent headers
5956    # can be detected and how.
5957    cat >conftest.$ac_ext <<_ACEOF
5958 -#line $LINENO "configure"
5959  /* confdefs.h.  */
5960  _ACEOF
5961  cat confdefs.h >>conftest.$ac_ext
5962 @@ -4997,6 +4812,7 @@
5963    (exit $ac_status); } >/dev/null; then
5964    if test -s conftest.err; then
5965      ac_cpp_err=$ac_cxx_preproc_warn_flag
5966 +    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5967    else
5968      ac_cpp_err=
5969    fi
5970 @@ -5041,7 +4857,7 @@
5971  ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5972  ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5973  if test -n "$ac_tool_prefix"; then
5974 -  for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5975 +  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5976    do
5977      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5978  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5979 @@ -5083,7 +4899,7 @@
5980  fi
5981  if test -z "$F77"; then
5982    ac_ct_F77=$F77
5983 -  for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5984 +  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5985  do
5986    # Extract the first word of "$ac_prog", so it can be a program name with args.
5987  set dummy $ac_prog; ac_word=$2
5988 @@ -5128,7 +4944,7 @@
5989  
5990  
5991  # Provide some information about the compiler.
5992 -echo "$as_me:5131:" \
5993 +echo "$as_me:4947:" \
5994       "checking for Fortran 77 compiler version" >&5
5995  ac_compiler=`set X $ac_compile; echo $2`
5996  { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5997 @@ -5146,9 +4962,10 @@
5998    ac_status=$?
5999    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6000    (exit $ac_status); }
6001 +rm -f a.out
6002  
6003  # If we don't use `.F' as extension, the preprocessor is not run on the
6004 -# input file.
6005 +# input file.  (Note that this only needs to work for GNU compilers.)
6006  ac_save_ext=$ac_ext
6007  ac_ext=F
6008  echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6009 @@ -5166,11 +4983,20 @@
6010  _ACEOF
6011  rm -f conftest.$ac_objext
6012  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6013 -  (eval $ac_compile) 2>&5
6014 +  (eval $ac_compile) 2>conftest.er1
6015    ac_status=$?
6016 +  grep -v '^ *+' conftest.er1 >conftest.err
6017 +  rm -f conftest.er1
6018 +  cat conftest.err >&5
6019    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020    (exit $ac_status); } &&
6021 -         { ac_try='test -s conftest.$ac_objext'
6022 +        { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
6023 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6024 +  (eval $ac_try) 2>&5
6025 +  ac_status=$?
6026 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6027 +  (exit $ac_status); }; } &&
6028 +        { ac_try='test -s conftest.$ac_objext'
6029    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6030    (eval $ac_try) 2>&5
6031    ac_status=$?
6032 @@ -5183,14 +5009,13 @@
6033  
6034  ac_compiler_gnu=no
6035  fi
6036 -rm -f conftest.$ac_objext conftest.$ac_ext
6037 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6038  ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6039  
6040  fi
6041  echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6042  echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
6043  ac_ext=$ac_save_ext
6044 -G77=`test $ac_compiler_gnu = yes && echo yes`
6045  ac_test_FFLAGS=${FFLAGS+set}
6046  ac_save_FFLAGS=$FFLAGS
6047  FFLAGS=
6048 @@ -5207,11 +5032,20 @@
6049  _ACEOF
6050  rm -f conftest.$ac_objext
6051  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6052 -  (eval $ac_compile) 2>&5
6053 +  (eval $ac_compile) 2>conftest.er1
6054    ac_status=$?
6055 +  grep -v '^ *+' conftest.er1 >conftest.err
6056 +  rm -f conftest.er1
6057 +  cat conftest.err >&5
6058    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6059    (exit $ac_status); } &&
6060 -         { ac_try='test -s conftest.$ac_objext'
6061 +        { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
6062 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6063 +  (eval $ac_try) 2>&5
6064 +  ac_status=$?
6065 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6066 +  (exit $ac_status); }; } &&
6067 +        { ac_try='test -s conftest.$ac_objext'
6068    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6069    (eval $ac_try) 2>&5
6070    ac_status=$?
6071 @@ -5224,7 +5058,7 @@
6072  
6073  ac_cv_prog_f77_g=no
6074  fi
6075 -rm -f conftest.$ac_objext conftest.$ac_ext
6076 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6077  
6078  fi
6079  echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6080 @@ -5232,18 +5066,20 @@
6081  if test "$ac_test_FFLAGS" = set; then
6082    FFLAGS=$ac_save_FFLAGS
6083  elif test $ac_cv_prog_f77_g = yes; then
6084 -  if test "$G77" = yes; then
6085 +  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6086      FFLAGS="-g -O2"
6087    else
6088      FFLAGS="-g"
6089    fi
6090  else
6091 -  if test "$G77" = yes; then
6092 +  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6093      FFLAGS="-O2"
6094    else
6095      FFLAGS=
6096    fi
6097  fi
6098 +
6099 +G77=`test $ac_compiler_gnu = yes && echo yes`
6100  ac_ext=c
6101  ac_cpp='$CPP $CPPFLAGS'
6102  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6103 @@ -5261,7 +5097,7 @@
6104    echo $ECHO_N "(cached) $ECHO_C" >&6
6105  else
6106      i=0
6107 -  testring="ABCD"
6108 +  teststring="ABCD"
6109  
6110    case $build_os in
6111    msdosdjgpp*)
6112 @@ -5290,20 +5126,26 @@
6113      lt_cv_sys_max_cmd_len=8192;
6114      ;;
6115  
6116 +  amigaos*)
6117 +    # On AmigaOS with pdksh, this test takes hours, literally.
6118 +    # So we just punt and use a minimum line length of 8192.
6119 +    lt_cv_sys_max_cmd_len=8192;
6120 +    ;;
6121 +
6122   *)
6123      # If test is not a shell built-in, we'll probably end up computing a
6124      # maximum length that is only half of the actual maximum length, but
6125      # we can't tell.
6126 -    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
6127 -              = "XX$testring") >/dev/null 2>&1 &&
6128 -           new_result=`expr "X$testring" : ".*" 2>&1` &&
6129 +    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6130 +              = "XX$teststring") >/dev/null 2>&1 &&
6131 +           new_result=`expr "X$teststring" : ".*" 2>&1` &&
6132             lt_cv_sys_max_cmd_len=$new_result &&
6133             test $i != 17 # 1/2 MB should be enough
6134      do
6135        i=`expr $i + 1`
6136 -      testring=$testring$testring
6137 +      teststring=$teststring$teststring
6138      done
6139 -    testring=
6140 +    teststring=
6141      # Add a significant safety factor because C++ compilers can tack on massive
6142      # amounts of additional arguments before passing them to the linker.
6143      # It appears as though 1/2 is a usable value.
6144 @@ -5371,7 +5213,7 @@
6145    symcode='[BCDEGQRST]'
6146    ;;
6147  solaris* | sysv5*)
6148 -  symcode='[BDT]'
6149 +  symcode='[BDRT]'
6150    ;;
6151  sysv4)
6152    symcode='[DFNSTU]'
6153 @@ -5389,7 +5231,7 @@
6154  # If we're using GNU nm, then use its standard symbol codes.
6155  case `$NM -V 2>&1` in
6156  *GNU* | *'with BFD'*)
6157 -  symcode='[ABCDGISTW]' ;;
6158 +  symcode='[ABCDGIRSTW]' ;;
6159  esac
6160  
6161  # Try without a prefix undercore, then with it.
6162 @@ -6115,7 +5957,8 @@
6163  if test "$GCC" = yes; then
6164    lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6165  
6166 -  echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6167 +
6168 +echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6169  echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6170  if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6171    echo $ECHO_N "(cached) $ECHO_C" >&6
6172 @@ -6133,11 +5976,11 @@
6173     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6174     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6175     -e 's:$: $lt_compiler_flag:'`
6176 -   (eval echo "\"\$as_me:6136: $lt_compile\"" >&5)
6177 +   (eval echo "\"\$as_me:5979: $lt_compile\"" >&5)
6178     (eval "$lt_compile" 2>conftest.err)
6179     ac_status=$?
6180     cat conftest.err >&5
6181 -   echo "$as_me:6140: \$? = $ac_status" >&5
6182 +   echo "$as_me:5983: \$? = $ac_status" >&5
6183     if (exit $ac_status) && test -s "$ac_outfile"; then
6184       # The compiler can only warn and ignore the option if not recognized
6185       # So say no if there are warnings
6186 @@ -6280,12 +6123,12 @@
6187  
6188      linux*)
6189        case $CC in
6190 -      icc|ecc)
6191 +      icc* | ecc*)
6192         lt_prog_compiler_wl='-Wl,'
6193         lt_prog_compiler_pic='-KPIC'
6194         lt_prog_compiler_static='-static'
6195          ;;
6196 -      ccc)
6197 +      ccc*)
6198          lt_prog_compiler_wl='-Wl,'
6199          # All Alpha code is PIC.
6200          lt_prog_compiler_static='-non_shared'
6201 @@ -6347,7 +6190,8 @@
6202  # Check to make sure the PIC flag actually works.
6203  #
6204  if test -n "$lt_prog_compiler_pic"; then
6205 -  echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6206 +
6207 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6208  echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6209  if test "${lt_prog_compiler_pic_works+set}" = set; then
6210    echo $ECHO_N "(cached) $ECHO_C" >&6
6211 @@ -6365,11 +6209,11 @@
6212     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6213     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6214     -e 's:$: $lt_compiler_flag:'`
6215 -   (eval echo "\"\$as_me:6368: $lt_compile\"" >&5)
6216 +   (eval echo "\"\$as_me:6212: $lt_compile\"" >&5)
6217     (eval "$lt_compile" 2>conftest.err)
6218     ac_status=$?
6219     cat conftest.err >&5
6220 -   echo "$as_me:6372: \$? = $ac_status" >&5
6221 +   echo "$as_me:6216: \$? = $ac_status" >&5
6222     if (exit $ac_status) && test -s "$ac_outfile"; then
6223       # The compiler can only warn and ignore the option if not recognized
6224       # So say no if there are warnings
6225 @@ -6416,13 +6260,6 @@
6226     mkdir out
6227     printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6228  
6229 -   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6230 -   # that will create temporary files in the current directory regardless of
6231 -   # the output directory.  Thus, making CWD read-only will cause this test
6232 -   # to fail, enabling locking or at least warning the user not to do parallel
6233 -   # builds.
6234 -   chmod -w .
6235 -
6236     lt_compiler_flag="-o out/conftest2.$ac_objext"
6237     # Insert the option either (1) after the last *FLAGS variable, or
6238     # (2) before a word containing "conftest.", or (3) at the end.
6239 @@ -6432,11 +6269,11 @@
6240     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6241     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6242     -e 's:$: $lt_compiler_flag:'`
6243 -   (eval echo "\"\$as_me:6435: $lt_compile\"" >&5)
6244 +   (eval echo "\"\$as_me:6272: $lt_compile\"" >&5)
6245     (eval "$lt_compile" 2>out/conftest.err)
6246     ac_status=$?
6247     cat out/conftest.err >&5
6248 -   echo "$as_me:6439: \$? = $ac_status" >&5
6249 +   echo "$as_me:6276: \$? = $ac_status" >&5
6250     if (exit $ac_status) && test -s out/conftest2.$ac_objext
6251     then
6252       # The compiler can only warn and ignore the option if not recognized
6253 @@ -6446,8 +6283,11 @@
6254       fi
6255     fi
6256     chmod u+w .
6257 -   $rm conftest* out/*
6258 -   rmdir out
6259 +   $rm conftest*
6260 +   # SGI C++ compiler will create directory out/ii_files/ for
6261 +   # template instantiation
6262 +   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
6263 +   $rm out/* && rmdir out
6264     cd ..
6265     rmdir conftest
6266     $rm conftest*
6267 @@ -6606,7 +6446,7 @@
6268        fi
6269        ;;
6270  
6271 -    netbsd*)
6272 +    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
6273        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6274         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6275         wlarc=
6276 @@ -6644,6 +6484,32 @@
6277        hardcode_shlibpath_var=no
6278        ;;
6279  
6280 +  linux*)
6281 +    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6282 +        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6283 +       archive_cmds="$tmp_archive_cmds"
6284 +      supports_anon_versioning=no
6285 +      case `$LD -v 2>/dev/null` in
6286 +        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
6287 +        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6288 +        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6289 +        *\ 2.11.*) ;; # other 2.11 versions
6290 +        *) supports_anon_versioning=yes ;;
6291 +      esac
6292 +      if test $supports_anon_versioning = yes; then
6293 +        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
6294 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6295 +$echo "local: *; };" >> $output_objdir/$libname.ver~
6296 +        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6297 +      else
6298 +        archive_expsym_cmds="$tmp_archive_cmds"
6299 +      fi
6300 +      link_all_deplibs=no
6301 +    else
6302 +      ld_shlibs=no
6303 +    fi
6304 +    ;;
6305 +
6306      *)
6307        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6308         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6309 @@ -6772,7 +6638,6 @@
6310         allow_undefined_flag='-berok'
6311         # Determine the default libpath from the value encoded in an empty executable.
6312         cat >conftest.$ac_ext <<_ACEOF
6313 -#line $LINENO "configure"
6314  /* confdefs.h.  */
6315  _ACEOF
6316  cat confdefs.h >>conftest.$ac_ext
6317 @@ -6789,11 +6654,20 @@
6318  _ACEOF
6319  rm -f conftest.$ac_objext conftest$ac_exeext
6320  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6321 -  (eval $ac_link) 2>&5
6322 +  (eval $ac_link) 2>conftest.er1
6323    ac_status=$?
6324 +  grep -v '^ *+' conftest.er1 >conftest.err
6325 +  rm -f conftest.er1
6326 +  cat conftest.err >&5
6327    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6328    (exit $ac_status); } &&
6329 -         { ac_try='test -s conftest$ac_exeext'
6330 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6331 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6332 +  (eval $ac_try) 2>&5
6333 +  ac_status=$?
6334 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6335 +  (exit $ac_status); }; } &&
6336 +        { ac_try='test -s conftest$ac_exeext'
6337    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6338    (eval $ac_try) 2>&5
6339    ac_status=$?
6340 @@ -6810,7 +6684,8 @@
6341  sed 's/^/| /' conftest.$ac_ext >&5
6342  
6343  fi
6344 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6345 +rm -f conftest.err conftest.$ac_objext \
6346 +      conftest$ac_exeext conftest.$ac_ext
6347  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6348  
6349         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6350 @@ -6823,7 +6698,6 @@
6351         else
6352          # Determine the default libpath from the value encoded in an empty executable.
6353          cat >conftest.$ac_ext <<_ACEOF
6354 -#line $LINENO "configure"
6355  /* confdefs.h.  */
6356  _ACEOF
6357  cat confdefs.h >>conftest.$ac_ext
6358 @@ -6840,11 +6714,20 @@
6359  _ACEOF
6360  rm -f conftest.$ac_objext conftest$ac_exeext
6361  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6362 -  (eval $ac_link) 2>&5
6363 +  (eval $ac_link) 2>conftest.er1
6364    ac_status=$?
6365 +  grep -v '^ *+' conftest.er1 >conftest.err
6366 +  rm -f conftest.er1
6367 +  cat conftest.err >&5
6368    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6369    (exit $ac_status); } &&
6370 -         { ac_try='test -s conftest$ac_exeext'
6371 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6372 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6373 +  (eval $ac_try) 2>&5
6374 +  ac_status=$?
6375 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6376 +  (exit $ac_status); }; } &&
6377 +        { ac_try='test -s conftest$ac_exeext'
6378    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6379    (eval $ac_try) 2>&5
6380    ac_status=$?
6381 @@ -6861,7 +6744,8 @@
6382  sed 's/^/| /' conftest.$ac_ext >&5
6383  
6384  fi
6385 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6386 +rm -f conftest.err conftest.$ac_objext \
6387 +      conftest$ac_exeext conftest.$ac_ext
6388  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6389  
6390          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6391 @@ -6902,7 +6786,7 @@
6392        # Tell ltmain to make .lib files, not .a files.
6393        libext=lib
6394        # Tell ltmain to make .dll files, not .so files.
6395 -      shrext=".dll"
6396 +      shrext_cmds=".dll"
6397        # FIXME: Setting linknames here is a bad hack.
6398        archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
6399        # The linker will automatically build a .lib file if we build a DLL.
6400 @@ -6914,20 +6798,27 @@
6401        ;;
6402  
6403      darwin* | rhapsody*)
6404 -    if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
6405 +    if test "$GXX" = yes ; then
6406        archive_cmds_need_lc=no
6407        case "$host_os" in
6408        rhapsody* | darwin1.[012])
6409         allow_undefined_flag='-undefined suppress'
6410         ;;
6411        *) # Darwin 1.3 on
6412 -       test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
6413 +      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
6414 +       allow_undefined_flag='-flat_namespace -undefined suppress'
6415 +      else
6416 +        case ${MACOSX_DEPLOYMENT_TARGET} in
6417 +          10.[012])
6418 +            allow_undefined_flag='-flat_namespace -undefined suppress'
6419 +            ;;
6420 +          10.*)
6421 +            allow_undefined_flag='-undefined dynamic_lookup'
6422 +            ;;
6423 +        esac
6424 +      fi
6425         ;;
6426        esac
6427 -      # FIXME: Relying on posixy $() will cause problems for
6428 -      #        cross-compilation, but unfortunately the echo tests do not
6429 -      #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
6430 -      #               `"' quotes if we put them in here... so don't!
6431         lt_int_apple_cc_single_mod=no
6432         output_verbose_link_cmd='echo'
6433         if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
6434 @@ -6938,19 +6829,21 @@
6435         else
6436          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'
6437        fi
6438 -      module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
6439 +      module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6440        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
6441          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
6442            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}'
6443          else
6444            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}'
6445          fi
6446 -          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6447 +          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}'
6448        hardcode_direct=no
6449        hardcode_automatic=yes
6450        hardcode_shlibpath_var=unsupported
6451        whole_archive_flag_spec='-all_load $convenience'
6452        link_all_deplibs=yes
6453 +    else
6454 +      ld_shlibs=no
6455      fi
6456        ;;
6457  
6458 @@ -6984,7 +6877,7 @@
6459        ;;
6460  
6461      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
6462 -    freebsd*)
6463 +    freebsd* | kfreebsd*-gnu)
6464        archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6465        hardcode_libdir_flag_spec='-R$libdir'
6466        hardcode_direct=yes
6467 @@ -7071,7 +6964,7 @@
6468        link_all_deplibs=yes
6469        ;;
6470  
6471 -    netbsd*)
6472 +    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
6473        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6474         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
6475        else
6476 @@ -7344,100 +7237,34 @@
6477    ;;
6478  esac
6479  
6480 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
6481 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
6482 -hardcode_action=
6483 -if test -n "$hardcode_libdir_flag_spec" || \
6484 -   test -n "$runpath_var " || \
6485 -   test "X$hardcode_automatic"="Xyes" ; then
6486 -
6487 -  # We can hardcode non-existant directories.
6488 -  if test "$hardcode_direct" != no &&
6489 -     # If the only mechanism to avoid hardcoding is shlibpath_var, we
6490 -     # have to relink, otherwise we might link with an installed library
6491 -     # when we should be linking with a yet-to-be-installed one
6492 -     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
6493 -     test "$hardcode_minus_L" != no; then
6494 -    # Linking always hardcodes the temporary library directory.
6495 -    hardcode_action=relink
6496 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
6497 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
6498 +library_names_spec=
6499 +libname_spec='lib$name'
6500 +soname_spec=
6501 +shrext_cmds=".so"
6502 +postinstall_cmds=
6503 +postuninstall_cmds=
6504 +finish_cmds=
6505 +finish_eval=
6506 +shlibpath_var=
6507 +shlibpath_overrides_runpath=unknown
6508 +version_type=none
6509 +dynamic_linker="$host_os ld.so"
6510 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
6511 +if test "$GCC" = yes; then
6512 +  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6513 +  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
6514 +    # if the path contains ";" then we assume it to be the separator
6515 +    # otherwise default to the standard path separator (i.e. ":") - it is
6516 +    # assumed that no part of a normal pathname contains ";" but that should
6517 +    # okay in the real world where ";" in dirpaths is itself problematic.
6518 +    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6519    else
6520 -    # We can link without hardcoding, and we can hardcode nonexisting dirs.
6521 -    hardcode_action=immediate
6522 +    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
6523    fi
6524  else
6525 -  # We cannot hardcode anything, or else we can only hardcode existing
6526 -  # directories.
6527 -  hardcode_action=unsupported
6528 -fi
6529 -echo "$as_me:$LINENO: result: $hardcode_action" >&5
6530 -echo "${ECHO_T}$hardcode_action" >&6
6531 -
6532 -if test "$hardcode_action" = relink; then
6533 -  # Fast installation is not supported
6534 -  enable_fast_install=no
6535 -elif test "$shlibpath_overrides_runpath" = yes ||
6536 -     test "$enable_shared" = no; then
6537 -  # Fast installation is not necessary
6538 -  enable_fast_install=needless
6539 -fi
6540 -
6541 -striplib=
6542 -old_striplib=
6543 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
6544 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
6545 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
6546 -  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
6547 -  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
6548 -  echo "$as_me:$LINENO: result: yes" >&5
6549 -echo "${ECHO_T}yes" >&6
6550 -else
6551 -# FIXME - insert some real tests, host_os isn't really good enough
6552 -  case $host_os in
6553 -   darwin*)
6554 -       if test -n "$STRIP" ; then
6555 -         striplib="$STRIP -x"
6556 -         echo "$as_me:$LINENO: result: yes" >&5
6557 -echo "${ECHO_T}yes" >&6
6558 -       else
6559 -  echo "$as_me:$LINENO: result: no" >&5
6560 -echo "${ECHO_T}no" >&6
6561 -fi
6562 -       ;;
6563 -   *)
6564 -  echo "$as_me:$LINENO: result: no" >&5
6565 -echo "${ECHO_T}no" >&6
6566 -    ;;
6567 -  esac
6568 -fi
6569 -
6570 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
6571 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
6572 -library_names_spec=
6573 -libname_spec='lib$name'
6574 -soname_spec=
6575 -shrext=".so"
6576 -postinstall_cmds=
6577 -postuninstall_cmds=
6578 -finish_cmds=
6579 -finish_eval=
6580 -shlibpath_var=
6581 -shlibpath_overrides_runpath=unknown
6582 -version_type=none
6583 -dynamic_linker="$host_os ld.so"
6584 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
6585 -if test "$GCC" = yes; then
6586 -  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6587 -  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
6588 -    # if the path contains ";" then we assume it to be the separator
6589 -    # otherwise default to the standard path separator (i.e. ":") - it is
6590 -    # assumed that no part of a normal pathname contains ";" but that should
6591 -    # okay in the real world where ";" in dirpaths is itself problematic.
6592 -    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6593 -  else
6594 -    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
6595 -  fi
6596 -else
6597 -  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
6598 +  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
6599  fi
6600  need_lib_prefix=unknown
6601  hardcode_into_libs=no
6602 @@ -7503,7 +7330,7 @@
6603  amigaos*)
6604    library_names_spec='$libname.ixlibrary $libname.a'
6605    # Create ${libname}_ixlibrary.a entries in /sys/libs.
6606 -  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'
6607 +  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'
6608    ;;
6609  
6610  beos*)
6611 @@ -7528,7 +7355,7 @@
6612  
6613  cygwin* | mingw* | pw32*)
6614    version_type=windows
6615 -  shrext=".dll"
6616 +  shrext_cmds=".dll"
6617    need_version=no
6618    need_lib_prefix=no
6619  
6620 @@ -7550,7 +7377,7 @@
6621      cygwin*)
6622        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
6623        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6624 -      sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
6625 +      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
6626        ;;
6627      mingw*)
6628        # MinGW DLLs use traditional 'lib' prefix
6629 @@ -7589,17 +7416,16 @@
6630    version_type=darwin
6631    need_lib_prefix=no
6632    need_version=no
6633 -  # FIXME: Relying on posixy $() will cause problems for
6634 -  #        cross-compilation, but unfortunately the echo tests do not
6635 -  #        yet detect zsh echo's removal of \ escapes.
6636    library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
6637    soname_spec='${libname}${release}${major}$shared_ext'
6638    shlibpath_overrides_runpath=yes
6639    shlibpath_var=DYLD_LIBRARY_PATH
6640 -  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
6641 +  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
6642    # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
6643 -  if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
6644 -  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"`
6645 +  if test "$GCC" = yes; then
6646 +    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"`
6647 +  else
6648 +    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
6649    fi
6650    sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
6651    ;;
6652 @@ -7617,6 +7443,18 @@
6653    dynamic_linker=no
6654    ;;
6655  
6656 +kfreebsd*-gnu)
6657 +  version_type=linux
6658 +  need_lib_prefix=no
6659 +  need_version=no
6660 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6661 +  soname_spec='${libname}${release}${shared_ext}$major'
6662 +  shlibpath_var=LD_LIBRARY_PATH
6663 +  shlibpath_overrides_runpath=no
6664 +  hardcode_into_libs=yes
6665 +  dynamic_linker='GNU ld.so'
6666 +  ;;
6667 +
6668  freebsd*)
6669    objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
6670    version_type=freebsd-$objformat
6671 @@ -7665,7 +7503,7 @@
6672    need_version=no
6673    case "$host_cpu" in
6674    ia64*)
6675 -    shrext='.so'
6676 +    shrext_cmds='.so'
6677      hardcode_into_libs=yes
6678      dynamic_linker="$host_os dld.so"
6679      shlibpath_var=LD_LIBRARY_PATH
6680 @@ -7680,7 +7518,7 @@
6681      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6682      ;;
6683     hppa*64*)
6684 -     shrext='.sl'
6685 +     shrext_cmds='.sl'
6686       hardcode_into_libs=yes
6687       dynamic_linker="$host_os dld.sl"
6688       shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
6689 @@ -7691,7 +7529,7 @@
6690       sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6691       ;;
6692     *)
6693 -    shrext='.sl'
6694 +    shrext_cmds='.sl'
6695      dynamic_linker="$host_os dld.sl"
6696      shlibpath_var=SHLIB_PATH
6697      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
6698 @@ -7760,6 +7598,12 @@
6699    # before this can be enabled.
6700    hardcode_into_libs=yes
6701  
6702 +  # Append ld.so.conf contents to the search path
6703 +  if test -f /etc/ld.so.conf; then
6704 +    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
6705 +    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
6706 +  fi
6707 +
6708    # We used to test for /lib/ld.so.1 and disable shared libraries on
6709    # powerpc, because MkLinux only supported shared libraries with the
6710    # GNU dynamic linker.  Since this was broken with cross compilers,
6711 @@ -7769,6 +7613,30 @@
6712    dynamic_linker='GNU/Linux ld.so'
6713    ;;
6714  
6715 +netbsdelf*-gnu)
6716 +  version_type=linux
6717 +  need_lib_prefix=no
6718 +  need_version=no
6719 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6720 +  soname_spec='${libname}${release}${shared_ext}$major'
6721 +  shlibpath_var=LD_LIBRARY_PATH
6722 +  shlibpath_overrides_runpath=no
6723 +  hardcode_into_libs=yes
6724 +  dynamic_linker='NetBSD ld.elf_so'
6725 +  ;;
6726 +
6727 +knetbsd*-gnu)
6728 +  version_type=linux
6729 +  need_lib_prefix=no
6730 +  need_version=no
6731 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6732 +  soname_spec='${libname}${release}${shared_ext}$major'
6733 +  shlibpath_var=LD_LIBRARY_PATH
6734 +  shlibpath_overrides_runpath=no
6735 +  hardcode_into_libs=yes
6736 +  dynamic_linker='GNU ld.so'
6737 +  ;;
6738 +
6739  netbsd*)
6740    version_type=sunos
6741    need_lib_prefix=no
6742 @@ -7778,7 +7646,7 @@
6743      finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6744      dynamic_linker='NetBSD (a.out) ld.so'
6745    else
6746 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
6747 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6748      soname_spec='${libname}${release}${shared_ext}$major'
6749      dynamic_linker='NetBSD ld.elf_so'
6750    fi
6751 @@ -7794,7 +7662,7 @@
6752    shlibpath_overrides_runpath=yes
6753    ;;
6754  
6755 -nto-qnx)
6756 +nto-qnx*)
6757    version_type=linux
6758    need_lib_prefix=no
6759    need_version=no
6760 @@ -7807,7 +7675,7 @@
6761  openbsd*)
6762    version_type=sunos
6763    need_lib_prefix=no
6764 -  need_version=no
6765 +  need_version=yes
6766    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6767    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6768    shlibpath_var=LD_LIBRARY_PATH
6769 @@ -7827,7 +7695,7 @@
6770  
6771  os2*)
6772    libname_spec='$name'
6773 -  shrext=".dll"
6774 +  shrext_cmds=".dll"
6775    need_lib_prefix=no
6776    library_names_spec='$libname${shared_ext} $libname.a'
6777    dynamic_linker='OS/2 ld.exe'
6778 @@ -7925,6 +7793,72 @@
6779  echo "${ECHO_T}$dynamic_linker" >&6
6780  test "$dynamic_linker" = no && can_build_shared=no
6781  
6782 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
6783 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
6784 +hardcode_action=
6785 +if test -n "$hardcode_libdir_flag_spec" || \
6786 +   test -n "$runpath_var " || \
6787 +   test "X$hardcode_automatic"="Xyes" ; then
6788 +
6789 +  # We can hardcode non-existant directories.
6790 +  if test "$hardcode_direct" != no &&
6791 +     # If the only mechanism to avoid hardcoding is shlibpath_var, we
6792 +     # have to relink, otherwise we might link with an installed library
6793 +     # when we should be linking with a yet-to-be-installed one
6794 +     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
6795 +     test "$hardcode_minus_L" != no; then
6796 +    # Linking always hardcodes the temporary library directory.
6797 +    hardcode_action=relink
6798 +  else
6799 +    # We can link without hardcoding, and we can hardcode nonexisting dirs.
6800 +    hardcode_action=immediate
6801 +  fi
6802 +else
6803 +  # We cannot hardcode anything, or else we can only hardcode existing
6804 +  # directories.
6805 +  hardcode_action=unsupported
6806 +fi
6807 +echo "$as_me:$LINENO: result: $hardcode_action" >&5
6808 +echo "${ECHO_T}$hardcode_action" >&6
6809 +
6810 +if test "$hardcode_action" = relink; then
6811 +  # Fast installation is not supported
6812 +  enable_fast_install=no
6813 +elif test "$shlibpath_overrides_runpath" = yes ||
6814 +     test "$enable_shared" = no; then
6815 +  # Fast installation is not necessary
6816 +  enable_fast_install=needless
6817 +fi
6818 +
6819 +striplib=
6820 +old_striplib=
6821 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
6822 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
6823 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
6824 +  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
6825 +  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
6826 +  echo "$as_me:$LINENO: result: yes" >&5
6827 +echo "${ECHO_T}yes" >&6
6828 +else
6829 +# FIXME - insert some real tests, host_os isn't really good enough
6830 +  case $host_os in
6831 +   darwin*)
6832 +       if test -n "$STRIP" ; then
6833 +         striplib="$STRIP -x"
6834 +         echo "$as_me:$LINENO: result: yes" >&5
6835 +echo "${ECHO_T}yes" >&6
6836 +       else
6837 +  echo "$as_me:$LINENO: result: no" >&5
6838 +echo "${ECHO_T}no" >&6
6839 +fi
6840 +       ;;
6841 +   *)
6842 +  echo "$as_me:$LINENO: result: no" >&5
6843 +echo "${ECHO_T}no" >&6
6844 +    ;;
6845 +  esac
6846 +fi
6847 +
6848  if test "x$enable_dlopen" != xyes; then
6849    enable_dlopen=unknown
6850    enable_dlopen_self=unknown
6851 @@ -7960,7 +7894,6 @@
6852    ac_check_lib_save_LIBS=$LIBS
6853  LIBS="-ldl  $LIBS"
6854  cat >conftest.$ac_ext <<_ACEOF
6855 -#line $LINENO "configure"
6856  /* confdefs.h.  */
6857  _ACEOF
6858  cat confdefs.h >>conftest.$ac_ext
6859 @@ -7984,11 +7917,20 @@
6860  _ACEOF
6861  rm -f conftest.$ac_objext conftest$ac_exeext
6862  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6863 -  (eval $ac_link) 2>&5
6864 +  (eval $ac_link) 2>conftest.er1
6865    ac_status=$?
6866 +  grep -v '^ *+' conftest.er1 >conftest.err
6867 +  rm -f conftest.er1
6868 +  cat conftest.err >&5
6869    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870    (exit $ac_status); } &&
6871 -         { ac_try='test -s conftest$ac_exeext'
6872 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6873 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6874 +  (eval $ac_try) 2>&5
6875 +  ac_status=$?
6876 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6877 +  (exit $ac_status); }; } &&
6878 +        { ac_try='test -s conftest$ac_exeext'
6879    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6880    (eval $ac_try) 2>&5
6881    ac_status=$?
6882 @@ -8001,7 +7943,8 @@
6883  
6884  ac_cv_lib_dl_dlopen=no
6885  fi
6886 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6887 +rm -f conftest.err conftest.$ac_objext \
6888 +      conftest$ac_exeext conftest.$ac_ext
6889  LIBS=$ac_check_lib_save_LIBS
6890  fi
6891  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6892 @@ -8025,21 +7968,28 @@
6893    echo $ECHO_N "(cached) $ECHO_C" >&6
6894  else
6895    cat >conftest.$ac_ext <<_ACEOF
6896 -#line $LINENO "configure"
6897  /* confdefs.h.  */
6898  _ACEOF
6899  cat confdefs.h >>conftest.$ac_ext
6900  cat >>conftest.$ac_ext <<_ACEOF
6901  /* end confdefs.h.  */
6902 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
6903 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6904 +#define shl_load innocuous_shl_load
6905 +
6906  /* System header to define __stub macros and hopefully few prototypes,
6907      which can conflict with char shl_load (); below.
6908      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6909      <limits.h> exists even on freestanding compilers.  */
6910 +
6911  #ifdef __STDC__
6912  # include <limits.h>
6913  #else
6914  # include <assert.h>
6915  #endif
6916 +
6917 +#undef shl_load
6918 +
6919  /* Override any gcc2 internal prototype to avoid an error.  */
6920  #ifdef __cplusplus
6921  extern "C"
6922 @@ -8070,11 +8020,20 @@
6923  _ACEOF
6924  rm -f conftest.$ac_objext conftest$ac_exeext
6925  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6926 -  (eval $ac_link) 2>&5
6927 +  (eval $ac_link) 2>conftest.er1
6928    ac_status=$?
6929 +  grep -v '^ *+' conftest.er1 >conftest.err
6930 +  rm -f conftest.er1
6931 +  cat conftest.err >&5
6932    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6933    (exit $ac_status); } &&
6934 -         { ac_try='test -s conftest$ac_exeext'
6935 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6936 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6937 +  (eval $ac_try) 2>&5
6938 +  ac_status=$?
6939 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 +  (exit $ac_status); }; } &&
6941 +        { ac_try='test -s conftest$ac_exeext'
6942    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6943    (eval $ac_try) 2>&5
6944    ac_status=$?
6945 @@ -8087,7 +8046,8 @@
6946  
6947  ac_cv_func_shl_load=no
6948  fi
6949 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6950 +rm -f conftest.err conftest.$ac_objext \
6951 +      conftest$ac_exeext conftest.$ac_ext
6952  fi
6953  echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
6954  echo "${ECHO_T}$ac_cv_func_shl_load" >&6
6955 @@ -8102,7 +8062,6 @@
6956    ac_check_lib_save_LIBS=$LIBS
6957  LIBS="-ldld  $LIBS"
6958  cat >conftest.$ac_ext <<_ACEOF
6959 -#line $LINENO "configure"
6960  /* confdefs.h.  */
6961  _ACEOF
6962  cat confdefs.h >>conftest.$ac_ext
6963 @@ -8126,11 +8085,20 @@
6964  _ACEOF
6965  rm -f conftest.$ac_objext conftest$ac_exeext
6966  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6967 -  (eval $ac_link) 2>&5
6968 +  (eval $ac_link) 2>conftest.er1
6969    ac_status=$?
6970 +  grep -v '^ *+' conftest.er1 >conftest.err
6971 +  rm -f conftest.er1
6972 +  cat conftest.err >&5
6973    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974    (exit $ac_status); } &&
6975 -         { ac_try='test -s conftest$ac_exeext'
6976 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6977 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6978 +  (eval $ac_try) 2>&5
6979 +  ac_status=$?
6980 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981 +  (exit $ac_status); }; } &&
6982 +        { ac_try='test -s conftest$ac_exeext'
6983    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6984    (eval $ac_try) 2>&5
6985    ac_status=$?
6986 @@ -8143,7 +8111,8 @@
6987  
6988  ac_cv_lib_dld_shl_load=no
6989  fi
6990 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6991 +rm -f conftest.err conftest.$ac_objext \
6992 +      conftest$ac_exeext conftest.$ac_ext
6993  LIBS=$ac_check_lib_save_LIBS
6994  fi
6995  echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
6996 @@ -8157,21 +8126,28 @@
6997    echo $ECHO_N "(cached) $ECHO_C" >&6
6998  else
6999    cat >conftest.$ac_ext <<_ACEOF
7000 -#line $LINENO "configure"
7001  /* confdefs.h.  */
7002  _ACEOF
7003  cat confdefs.h >>conftest.$ac_ext
7004  cat >>conftest.$ac_ext <<_ACEOF
7005  /* end confdefs.h.  */
7006 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
7007 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7008 +#define dlopen innocuous_dlopen
7009 +
7010  /* System header to define __stub macros and hopefully few prototypes,
7011      which can conflict with char dlopen (); below.
7012      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7013      <limits.h> exists even on freestanding compilers.  */
7014 +
7015  #ifdef __STDC__
7016  # include <limits.h>
7017  #else
7018  # include <assert.h>
7019  #endif
7020 +
7021 +#undef dlopen
7022 +
7023  /* Override any gcc2 internal prototype to avoid an error.  */
7024  #ifdef __cplusplus
7025  extern "C"
7026 @@ -8202,11 +8178,20 @@
7027  _ACEOF
7028  rm -f conftest.$ac_objext conftest$ac_exeext
7029  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7030 -  (eval $ac_link) 2>&5
7031 +  (eval $ac_link) 2>conftest.er1
7032    ac_status=$?
7033 +  grep -v '^ *+' conftest.er1 >conftest.err
7034 +  rm -f conftest.er1
7035 +  cat conftest.err >&5
7036    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7037    (exit $ac_status); } &&
7038 -         { ac_try='test -s conftest$ac_exeext'
7039 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7040 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7041 +  (eval $ac_try) 2>&5
7042 +  ac_status=$?
7043 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7044 +  (exit $ac_status); }; } &&
7045 +        { ac_try='test -s conftest$ac_exeext'
7046    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7047    (eval $ac_try) 2>&5
7048    ac_status=$?
7049 @@ -8219,7 +8204,8 @@
7050  
7051  ac_cv_func_dlopen=no
7052  fi
7053 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7054 +rm -f conftest.err conftest.$ac_objext \
7055 +      conftest$ac_exeext conftest.$ac_ext
7056  fi
7057  echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
7058  echo "${ECHO_T}$ac_cv_func_dlopen" >&6
7059 @@ -8234,7 +8220,6 @@
7060    ac_check_lib_save_LIBS=$LIBS
7061  LIBS="-ldl  $LIBS"
7062  cat >conftest.$ac_ext <<_ACEOF
7063 -#line $LINENO "configure"
7064  /* confdefs.h.  */
7065  _ACEOF
7066  cat confdefs.h >>conftest.$ac_ext
7067 @@ -8258,11 +8243,20 @@
7068  _ACEOF
7069  rm -f conftest.$ac_objext conftest$ac_exeext
7070  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7071 -  (eval $ac_link) 2>&5
7072 +  (eval $ac_link) 2>conftest.er1
7073    ac_status=$?
7074 +  grep -v '^ *+' conftest.er1 >conftest.err
7075 +  rm -f conftest.er1
7076 +  cat conftest.err >&5
7077    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078    (exit $ac_status); } &&
7079 -         { ac_try='test -s conftest$ac_exeext'
7080 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7081 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7082 +  (eval $ac_try) 2>&5
7083 +  ac_status=$?
7084 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085 +  (exit $ac_status); }; } &&
7086 +        { ac_try='test -s conftest$ac_exeext'
7087    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7088    (eval $ac_try) 2>&5
7089    ac_status=$?
7090 @@ -8275,7 +8269,8 @@
7091  
7092  ac_cv_lib_dl_dlopen=no
7093  fi
7094 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7095 +rm -f conftest.err conftest.$ac_objext \
7096 +      conftest$ac_exeext conftest.$ac_ext
7097  LIBS=$ac_check_lib_save_LIBS
7098  fi
7099  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7100 @@ -8291,7 +8286,6 @@
7101    ac_check_lib_save_LIBS=$LIBS
7102  LIBS="-lsvld  $LIBS"
7103  cat >conftest.$ac_ext <<_ACEOF
7104 -#line $LINENO "configure"
7105  /* confdefs.h.  */
7106  _ACEOF
7107  cat confdefs.h >>conftest.$ac_ext
7108 @@ -8315,11 +8309,20 @@
7109  _ACEOF
7110  rm -f conftest.$ac_objext conftest$ac_exeext
7111  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7112 -  (eval $ac_link) 2>&5
7113 +  (eval $ac_link) 2>conftest.er1
7114    ac_status=$?
7115 +  grep -v '^ *+' conftest.er1 >conftest.err
7116 +  rm -f conftest.er1
7117 +  cat conftest.err >&5
7118    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7119    (exit $ac_status); } &&
7120 -         { ac_try='test -s conftest$ac_exeext'
7121 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7122 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7123 +  (eval $ac_try) 2>&5
7124 +  ac_status=$?
7125 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7126 +  (exit $ac_status); }; } &&
7127 +        { ac_try='test -s conftest$ac_exeext'
7128    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7129    (eval $ac_try) 2>&5
7130    ac_status=$?
7131 @@ -8332,7 +8335,8 @@
7132  
7133  ac_cv_lib_svld_dlopen=no
7134  fi
7135 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7136 +rm -f conftest.err conftest.$ac_objext \
7137 +      conftest$ac_exeext conftest.$ac_ext
7138  LIBS=$ac_check_lib_save_LIBS
7139  fi
7140  echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
7141 @@ -8348,7 +8352,6 @@
7142    ac_check_lib_save_LIBS=$LIBS
7143  LIBS="-ldld  $LIBS"
7144  cat >conftest.$ac_ext <<_ACEOF
7145 -#line $LINENO "configure"
7146  /* confdefs.h.  */
7147  _ACEOF
7148  cat confdefs.h >>conftest.$ac_ext
7149 @@ -8372,11 +8375,20 @@
7150  _ACEOF
7151  rm -f conftest.$ac_objext conftest$ac_exeext
7152  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7153 -  (eval $ac_link) 2>&5
7154 +  (eval $ac_link) 2>conftest.er1
7155    ac_status=$?
7156 +  grep -v '^ *+' conftest.er1 >conftest.err
7157 +  rm -f conftest.er1
7158 +  cat conftest.err >&5
7159    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160    (exit $ac_status); } &&
7161 -         { ac_try='test -s conftest$ac_exeext'
7162 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7163 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7164 +  (eval $ac_try) 2>&5
7165 +  ac_status=$?
7166 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7167 +  (exit $ac_status); }; } &&
7168 +        { ac_try='test -s conftest$ac_exeext'
7169    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7170    (eval $ac_try) 2>&5
7171    ac_status=$?
7172 @@ -8389,7 +8401,8 @@
7173  
7174  ac_cv_lib_dld_dld_link=no
7175  fi
7176 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7177 +rm -f conftest.err conftest.$ac_objext \
7178 +      conftest$ac_exeext conftest.$ac_ext
7179  LIBS=$ac_check_lib_save_LIBS
7180  fi
7181  echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
7182 @@ -8444,7 +8457,7 @@
7183    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7184    lt_status=$lt_dlunknown
7185    cat > conftest.$ac_ext <<EOF
7186 -#line 8447 "configure"
7187 +#line 8460 "configure"
7188  #include "confdefs.h"
7189  
7190  #if HAVE_DLFCN_H
7191 @@ -8542,7 +8555,7 @@
7192    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7193    lt_status=$lt_dlunknown
7194    cat > conftest.$ac_ext <<EOF
7195 -#line 8545 "configure"
7196 +#line 8558 "configure"
7197  #include "confdefs.h"
7198  
7199  #if HAVE_DLFCN_H
7200 @@ -8667,38 +8680,47 @@
7201    fi
7202    ;;
7203  
7204 -aix4*)
7205 +aix4* | aix5*)
7206    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
7207      test "$enable_shared" = yes && enable_static=no
7208    fi
7209    ;;
7210    darwin* | rhapsody*)
7211 -  if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7212 +  if test "$GCC" = yes; then
7213      archive_cmds_need_lc=no
7214      case "$host_os" in
7215      rhapsody* | darwin1.[012])
7216        allow_undefined_flag='-undefined suppress'
7217        ;;
7218      *) # Darwin 1.3 on
7219 -      test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7220 +      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7221 +       allow_undefined_flag='-flat_namespace -undefined suppress'
7222 +      else
7223 +        case ${MACOSX_DEPLOYMENT_TARGET} in
7224 +          10.[012])
7225 +            allow_undefined_flag='-flat_namespace -undefined suppress'
7226 +            ;;
7227 +          10.*)
7228 +            allow_undefined_flag='-undefined dynamic_lookup'
7229 +            ;;
7230 +        esac
7231 +      fi
7232        ;;
7233      esac
7234 -    # FIXME: Relying on posixy $() will cause problems for
7235 -    #        cross-compilation, but unfortunately the echo tests do not
7236 -    #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
7237 -    #         `"' quotes if we put them in here... so don't!
7238 -               output_verbose_link_cmd='echo'
7239 +    output_verbose_link_cmd='echo'
7240      archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
7241 -    module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7242 +    module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7243      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7244 -                 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}'
7245 -                 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7246 +    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}'
7247 +    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}'
7248      hardcode_direct=no
7249      hardcode_automatic=yes
7250      hardcode_shlibpath_var=unsupported
7251      whole_archive_flag_spec='-all_load $convenience'
7252      link_all_deplibs=yes
7253 -    fi
7254 +  else
7255 +    ld_shlibs=no
7256 +  fi
7257      ;;
7258  esac
7259  echo "$as_me:$LINENO: result: $enable_shared" >&5
7260 @@ -8724,7 +8746,8 @@
7261    # Now quote all the things that may contain metacharacters while being
7262    # careful not to overquote the AC_SUBSTed values.  We take copies of the
7263    # variables and quote the copies for generation of the libtool script.
7264 -  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
7265 +  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
7266 +    SED SHELL STRIP \
7267      libname_spec library_names_spec soname_spec extract_expsyms_cmds \
7268      old_striplib striplib file_magic_cmd finish_cmds finish_eval \
7269      deplibs_check_method reload_flag reload_cmds need_locks \
7270 @@ -8902,7 +8925,7 @@
7271  NM=$lt_NM
7272  
7273  # A symbol stripping program
7274 -STRIP=$STRIP
7275 +STRIP=$lt_STRIP
7276  
7277  # Used to examine libraries when file_magic_cmd begins "file"
7278  MAGIC_CMD=$MAGIC_CMD
7279 @@ -8933,7 +8956,7 @@
7280  libext="$libext"
7281  
7282  # Shared library suffix (normally ".so").
7283 -shrext='$shrext'
7284 +shrext_cmds='$shrext_cmds'
7285  
7286  # Executable file suffix (normally "").
7287  exeext="$exeext"
7288 @@ -9175,7 +9198,10 @@
7289    # If there is no Makefile yet, we rely on a make rule to execute
7290    # `config.status --recheck' to rerun these tests and create the
7291    # libtool script then.
7292 -  test -f Makefile && make "$ltmain"
7293 +  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
7294 +  if test -f "$ltmain_in"; then
7295 +    test -f Makefile && make "$ltmain"
7296 +  fi
7297  fi
7298  
7299  
7300 @@ -9356,7 +9382,7 @@
7301      # Accept absolute paths.
7302      [\\/]* | ?:[\\/]*)
7303        re_direlt='/[^/][^/]*/\.\./'
7304 -      # Canonicalize the path of ld
7305 +      # Canonicalize the pathname of ld
7306        ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
7307        while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
7308         ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
7309 @@ -9425,7 +9451,7 @@
7310    echo $ECHO_N "(cached) $ECHO_C" >&6
7311  else
7312    # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7313 -case `"$LD" -v 2>&1 </dev/null` in
7314 +case `$LD -v 2>&1 </dev/null` in
7315  *GNU* | *'with BFD'*)
7316    lt_cv_prog_gnu_ld=yes
7317    ;;
7318 @@ -9470,7 +9496,7 @@
7319      # linker, instead of GNU ld.  If possible, this setting should
7320      # overridden to take advantage of the native linker features on
7321      # the platform it is being used on.
7322 -    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
7323 +    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
7324    fi
7325  
7326    # Commands to make compiler produce verbose output that lists
7327 @@ -9578,7 +9604,6 @@
7328        allow_undefined_flag_CXX='-berok'
7329        # Determine the default libpath from the value encoded in an empty executable.
7330        cat >conftest.$ac_ext <<_ACEOF
7331 -#line $LINENO "configure"
7332  /* confdefs.h.  */
7333  _ACEOF
7334  cat confdefs.h >>conftest.$ac_ext
7335 @@ -9595,11 +9620,20 @@
7336  _ACEOF
7337  rm -f conftest.$ac_objext conftest$ac_exeext
7338  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7339 -  (eval $ac_link) 2>&5
7340 +  (eval $ac_link) 2>conftest.er1
7341    ac_status=$?
7342 +  grep -v '^ *+' conftest.er1 >conftest.err
7343 +  rm -f conftest.er1
7344 +  cat conftest.err >&5
7345    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7346    (exit $ac_status); } &&
7347 -         { ac_try='test -s conftest$ac_exeext'
7348 +        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
7349 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7350 +  (eval $ac_try) 2>&5
7351 +  ac_status=$?
7352 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7353 +  (exit $ac_status); }; } &&
7354 +        { ac_try='test -s conftest$ac_exeext'
7355    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7356    (eval $ac_try) 2>&5
7357    ac_status=$?
7358 @@ -9616,7 +9650,8 @@
7359  sed 's/^/| /' conftest.$ac_ext >&5
7360  
7361  fi
7362 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7363 +rm -f conftest.err conftest.$ac_objext \
7364 +      conftest$ac_exeext conftest.$ac_ext
7365  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7366  
7367        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
7368 @@ -9630,7 +9665,6 @@
7369        else
7370         # Determine the default libpath from the value encoded in an empty executable.
7371         cat >conftest.$ac_ext <<_ACEOF
7372 -#line $LINENO "configure"
7373  /* confdefs.h.  */
7374  _ACEOF
7375  cat confdefs.h >>conftest.$ac_ext
7376 @@ -9647,18 +9681,27 @@
7377  _ACEOF
7378  rm -f conftest.$ac_objext conftest$ac_exeext
7379  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7380 -  (eval $ac_link) 2>&5
7381 +  (eval $ac_link) 2>conftest.er1
7382    ac_status=$?
7383 +  grep -v '^ *+' conftest.er1 >conftest.err
7384 +  rm -f conftest.er1
7385 +  cat conftest.err >&5
7386    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7387    (exit $ac_status); } &&
7388 -         { ac_try='test -s conftest$ac_exeext'
7389 +        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
7390    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7391    (eval $ac_try) 2>&5
7392    ac_status=$?
7393    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7394 -  (exit $ac_status); }; }; then
7395 -
7396 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7397 +  (exit $ac_status); }; } &&
7398 +        { ac_try='test -s conftest$ac_exeext'
7399 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7400 +  (eval $ac_try) 2>&5
7401 +  ac_status=$?
7402 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7403 +  (exit $ac_status); }; }; then
7404 +
7405 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7406  }'`
7407  # Check for a 64-bit object if we didn't find anything.
7408  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; }
7409 @@ -9668,7 +9711,8 @@
7410  sed 's/^/| /' conftest.$ac_ext >&5
7411  
7412  fi
7413 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7414 +rm -f conftest.err conftest.$ac_objext \
7415 +      conftest$ac_exeext conftest.$ac_ext
7416  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7417  
7418         hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
7419 @@ -9720,41 +9764,54 @@
7420    ;;
7421  
7422    darwin* | rhapsody*)
7423 -   if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7424 +  if test "$GXX" = yes; then
7425      archive_cmds_need_lc_CXX=no
7426      case "$host_os" in
7427      rhapsody* | darwin1.[012])
7428        allow_undefined_flag_CXX='-undefined suppress'
7429        ;;
7430      *) # Darwin 1.3 on
7431 -      test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
7432 +      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7433 +       allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
7434 +      else
7435 +        case ${MACOSX_DEPLOYMENT_TARGET} in
7436 +          10.[012])
7437 +            allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
7438 +            ;;
7439 +          10.*)
7440 +            allow_undefined_flag_CXX='-undefined dynamic_lookup'
7441 +            ;;
7442 +        esac
7443 +      fi
7444        ;;
7445      esac
7446 -       lt_int_apple_cc_single_mod=no
7447 -       output_verbose_link_cmd='echo'
7448 -       if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7449 -         lt_int_apple_cc_single_mod=yes
7450 -       fi
7451 -       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7452 -         archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7453 -       else
7454 -        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'
7455 -      fi
7456 -      module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7457 +    lt_int_apple_cc_single_mod=no
7458 +    output_verbose_link_cmd='echo'
7459 +    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7460 +      lt_int_apple_cc_single_mod=yes
7461 +    fi
7462 +    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7463 +      archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7464 +    else
7465 +      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'
7466 +    fi
7467 +    module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7468  
7469      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7470 -      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7471 -        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}'
7472 -      else
7473 -        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}'
7474 -      fi
7475 -        module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7476 +    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7477 +      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}'
7478 +    else
7479 +      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}'
7480 +    fi
7481 +    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}'
7482      hardcode_direct_CXX=no
7483      hardcode_automatic_CXX=yes
7484      hardcode_shlibpath_var_CXX=unsupported
7485      whole_archive_flag_spec_CXX='-all_load $convenience'
7486      link_all_deplibs_CXX=yes
7487 -   fi
7488 +  else
7489 +    ld_shlibs_CXX=no
7490 +  fi
7491      ;;
7492  
7493    dgux*)
7494 @@ -9781,7 +9838,7 @@
7495    freebsd-elf*)
7496      archive_cmds_need_lc_CXX=no
7497      ;;
7498 -  freebsd*)
7499 +  freebsd* | kfreebsd*-gnu)
7500      # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
7501      # conventions
7502      ld_shlibs_CXX=yes
7503 @@ -9812,7 +9869,7 @@
7504        # explicitly linking system object files so we need to strip them
7505        # from the output so that they don't get included in the library
7506        # dependencies.
7507 -      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
7508 +      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'
7509        ;;
7510      *)
7511        if test "$GXX" = yes; then
7512 @@ -10009,7 +10066,7 @@
7513         ;;
7514      esac
7515      ;;
7516 -  netbsd*)
7517 +  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
7518      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7519        archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
7520        wlarc=
7521 @@ -10488,7 +10545,7 @@
7522             ;;
7523         esac
7524         ;;
7525 -      freebsd*)
7526 +      freebsd* | kfreebsd*-gnu)
7527         # FreeBSD uses GNU C++
7528         ;;
7529        hpux9* | hpux10* | hpux11*)
7530 @@ -10564,7 +10621,7 @@
7531             ;;
7532         esac
7533         ;;
7534 -      netbsd*)
7535 +      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
7536         ;;
7537        osf3* | osf4* | osf5*)
7538         case $cc_basename in
7539 @@ -10656,7 +10713,8 @@
7540  # Check to make sure the PIC flag actually works.
7541  #
7542  if test -n "$lt_prog_compiler_pic_CXX"; then
7543 -  echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
7544 +
7545 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
7546  echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
7547  if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
7548    echo $ECHO_N "(cached) $ECHO_C" >&6
7549 @@ -10674,11 +10732,11 @@
7550     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7551     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7552     -e 's:$: $lt_compiler_flag:'`
7553 -   (eval echo "\"\$as_me:10677: $lt_compile\"" >&5)
7554 +   (eval echo "\"\$as_me:10735: $lt_compile\"" >&5)
7555     (eval "$lt_compile" 2>conftest.err)
7556     ac_status=$?
7557     cat conftest.err >&5
7558 -   echo "$as_me:10681: \$? = $ac_status" >&5
7559 +   echo "$as_me:10739: \$? = $ac_status" >&5
7560     if (exit $ac_status) && test -s "$ac_outfile"; then
7561       # The compiler can only warn and ignore the option if not recognized
7562       # So say no if there are warnings
7563 @@ -10725,13 +10783,6 @@
7564     mkdir out
7565     printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7566  
7567 -   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
7568 -   # that will create temporary files in the current directory regardless of
7569 -   # the output directory.  Thus, making CWD read-only will cause this test
7570 -   # to fail, enabling locking or at least warning the user not to do parallel
7571 -   # builds.
7572 -   chmod -w .
7573 -
7574     lt_compiler_flag="-o out/conftest2.$ac_objext"
7575     # Insert the option either (1) after the last *FLAGS variable, or
7576     # (2) before a word containing "conftest.", or (3) at the end.
7577 @@ -10741,11 +10792,11 @@
7578     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7579     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7580     -e 's:$: $lt_compiler_flag:'`
7581 -   (eval echo "\"\$as_me:10744: $lt_compile\"" >&5)
7582 +   (eval echo "\"\$as_me:10795: $lt_compile\"" >&5)
7583     (eval "$lt_compile" 2>out/conftest.err)
7584     ac_status=$?
7585     cat out/conftest.err >&5
7586 -   echo "$as_me:10748: \$? = $ac_status" >&5
7587 +   echo "$as_me:10799: \$? = $ac_status" >&5
7588     if (exit $ac_status) && test -s out/conftest2.$ac_objext
7589     then
7590       # The compiler can only warn and ignore the option if not recognized
7591 @@ -10755,8 +10806,11 @@
7592       fi
7593     fi
7594     chmod u+w .
7595 -   $rm conftest* out/*
7596 -   rmdir out
7597 +   $rm conftest*
7598 +   # SGI C++ compiler will create directory out/ii_files/ for
7599 +   # template instantiation
7600 +   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7601 +   $rm out/* && rmdir out
7602     cd ..
7603     rmdir conftest
7604     $rm conftest*
7605 @@ -10808,6 +10862,9 @@
7606    cygwin* | mingw*)
7607      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7608    ;;
7609 +  linux*)
7610 +    link_all_deplibs_CXX=no
7611 +  ;;
7612    *)
7613      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7614    ;;
7615 @@ -10884,78 +10941,12 @@
7616    ;;
7617  esac
7618  
7619 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7620 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7621 -hardcode_action_CXX=
7622 -if test -n "$hardcode_libdir_flag_spec_CXX" || \
7623 -   test -n "$runpath_var CXX" || \
7624 -   test "X$hardcode_automatic_CXX"="Xyes" ; then
7625 -
7626 -  # We can hardcode non-existant directories.
7627 -  if test "$hardcode_direct_CXX" != no &&
7628 -     # If the only mechanism to avoid hardcoding is shlibpath_var, we
7629 -     # have to relink, otherwise we might link with an installed library
7630 -     # when we should be linking with a yet-to-be-installed one
7631 -     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
7632 -     test "$hardcode_minus_L_CXX" != no; then
7633 -    # Linking always hardcodes the temporary library directory.
7634 -    hardcode_action_CXX=relink
7635 -  else
7636 -    # We can link without hardcoding, and we can hardcode nonexisting dirs.
7637 -    hardcode_action_CXX=immediate
7638 -  fi
7639 -else
7640 -  # We cannot hardcode anything, or else we can only hardcode existing
7641 -  # directories.
7642 -  hardcode_action_CXX=unsupported
7643 -fi
7644 -echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
7645 -echo "${ECHO_T}$hardcode_action_CXX" >&6
7646 -
7647 -if test "$hardcode_action_CXX" = relink; then
7648 -  # Fast installation is not supported
7649 -  enable_fast_install=no
7650 -elif test "$shlibpath_overrides_runpath" = yes ||
7651 -     test "$enable_shared" = no; then
7652 -  # Fast installation is not necessary
7653 -  enable_fast_install=needless
7654 -fi
7655 -
7656 -striplib=
7657 -old_striplib=
7658 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7659 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7660 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7661 -  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7662 -  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7663 -  echo "$as_me:$LINENO: result: yes" >&5
7664 -echo "${ECHO_T}yes" >&6
7665 -else
7666 -# FIXME - insert some real tests, host_os isn't really good enough
7667 -  case $host_os in
7668 -   darwin*)
7669 -       if test -n "$STRIP" ; then
7670 -         striplib="$STRIP -x"
7671 -         echo "$as_me:$LINENO: result: yes" >&5
7672 -echo "${ECHO_T}yes" >&6
7673 -       else
7674 -  echo "$as_me:$LINENO: result: no" >&5
7675 -echo "${ECHO_T}no" >&6
7676 -fi
7677 -       ;;
7678 -   *)
7679 -  echo "$as_me:$LINENO: result: no" >&5
7680 -echo "${ECHO_T}no" >&6
7681 -    ;;
7682 -  esac
7683 -fi
7684 -
7685  echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7686  echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7687  library_names_spec=
7688  libname_spec='lib$name'
7689  soname_spec=
7690 -shrext=".so"
7691 +shrext_cmds=".so"
7692  postinstall_cmds=
7693  postuninstall_cmds=
7694  finish_cmds=
7695 @@ -11043,7 +11034,7 @@
7696  amigaos*)
7697    library_names_spec='$libname.ixlibrary $libname.a'
7698    # Create ${libname}_ixlibrary.a entries in /sys/libs.
7699 -  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'
7700 +  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'
7701    ;;
7702  
7703  beos*)
7704 @@ -11068,7 +11059,7 @@
7705  
7706  cygwin* | mingw* | pw32*)
7707    version_type=windows
7708 -  shrext=".dll"
7709 +  shrext_cmds=".dll"
7710    need_version=no
7711    need_lib_prefix=no
7712  
7713 @@ -11090,7 +11081,7 @@
7714      cygwin*)
7715        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7716        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7717 -      sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7718 +      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
7719        ;;
7720      mingw*)
7721        # MinGW DLLs use traditional 'lib' prefix
7722 @@ -11129,17 +11120,16 @@
7723    version_type=darwin
7724    need_lib_prefix=no
7725    need_version=no
7726 -  # FIXME: Relying on posixy $() will cause problems for
7727 -  #        cross-compilation, but unfortunately the echo tests do not
7728 -  #        yet detect zsh echo's removal of \ escapes.
7729    library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7730    soname_spec='${libname}${release}${major}$shared_ext'
7731    shlibpath_overrides_runpath=yes
7732    shlibpath_var=DYLD_LIBRARY_PATH
7733 -  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7734 +  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
7735    # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7736 -  if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7737 -  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"`
7738 +  if test "$GCC" = yes; then
7739 +    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"`
7740 +  else
7741 +    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
7742    fi
7743    sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7744    ;;
7745 @@ -11157,6 +11147,18 @@
7746    dynamic_linker=no
7747    ;;
7748  
7749 +kfreebsd*-gnu)
7750 +  version_type=linux
7751 +  need_lib_prefix=no
7752 +  need_version=no
7753 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7754 +  soname_spec='${libname}${release}${shared_ext}$major'
7755 +  shlibpath_var=LD_LIBRARY_PATH
7756 +  shlibpath_overrides_runpath=no
7757 +  hardcode_into_libs=yes
7758 +  dynamic_linker='GNU ld.so'
7759 +  ;;
7760 +
7761  freebsd*)
7762    objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7763    version_type=freebsd-$objformat
7764 @@ -11205,7 +11207,7 @@
7765    need_version=no
7766    case "$host_cpu" in
7767    ia64*)
7768 -    shrext='.so'
7769 +    shrext_cmds='.so'
7770      hardcode_into_libs=yes
7771      dynamic_linker="$host_os dld.so"
7772      shlibpath_var=LD_LIBRARY_PATH
7773 @@ -11220,7 +11222,7 @@
7774      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7775      ;;
7776     hppa*64*)
7777 -     shrext='.sl'
7778 +     shrext_cmds='.sl'
7779       hardcode_into_libs=yes
7780       dynamic_linker="$host_os dld.sl"
7781       shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7782 @@ -11231,7 +11233,7 @@
7783       sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7784       ;;
7785     *)
7786 -    shrext='.sl'
7787 +    shrext_cmds='.sl'
7788      dynamic_linker="$host_os dld.sl"
7789      shlibpath_var=SHLIB_PATH
7790      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7791 @@ -11300,6 +11302,12 @@
7792    # before this can be enabled.
7793    hardcode_into_libs=yes
7794  
7795 +  # Append ld.so.conf contents to the search path
7796 +  if test -f /etc/ld.so.conf; then
7797 +    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
7798 +    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
7799 +  fi
7800 +
7801    # We used to test for /lib/ld.so.1 and disable shared libraries on
7802    # powerpc, because MkLinux only supported shared libraries with the
7803    # GNU dynamic linker.  Since this was broken with cross compilers,
7804 @@ -11309,6 +11317,30 @@
7805    dynamic_linker='GNU/Linux ld.so'
7806    ;;
7807  
7808 +netbsdelf*-gnu)
7809 +  version_type=linux
7810 +  need_lib_prefix=no
7811 +  need_version=no
7812 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7813 +  soname_spec='${libname}${release}${shared_ext}$major'
7814 +  shlibpath_var=LD_LIBRARY_PATH
7815 +  shlibpath_overrides_runpath=no
7816 +  hardcode_into_libs=yes
7817 +  dynamic_linker='NetBSD ld.elf_so'
7818 +  ;;
7819 +
7820 +knetbsd*-gnu)
7821 +  version_type=linux
7822 +  need_lib_prefix=no
7823 +  need_version=no
7824 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7825 +  soname_spec='${libname}${release}${shared_ext}$major'
7826 +  shlibpath_var=LD_LIBRARY_PATH
7827 +  shlibpath_overrides_runpath=no
7828 +  hardcode_into_libs=yes
7829 +  dynamic_linker='GNU ld.so'
7830 +  ;;
7831 +
7832  netbsd*)
7833    version_type=sunos
7834    need_lib_prefix=no
7835 @@ -11318,7 +11350,7 @@
7836      finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7837      dynamic_linker='NetBSD (a.out) ld.so'
7838    else
7839 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7840 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7841      soname_spec='${libname}${release}${shared_ext}$major'
7842      dynamic_linker='NetBSD ld.elf_so'
7843    fi
7844 @@ -11334,7 +11366,7 @@
7845    shlibpath_overrides_runpath=yes
7846    ;;
7847  
7848 -nto-qnx)
7849 +nto-qnx*)
7850    version_type=linux
7851    need_lib_prefix=no
7852    need_version=no
7853 @@ -11347,7 +11379,7 @@
7854  openbsd*)
7855    version_type=sunos
7856    need_lib_prefix=no
7857 -  need_version=no
7858 +  need_version=yes
7859    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7860    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7861    shlibpath_var=LD_LIBRARY_PATH
7862 @@ -11367,7 +11399,7 @@
7863  
7864  os2*)
7865    libname_spec='$name'
7866 -  shrext=".dll"
7867 +  shrext_cmds=".dll"
7868    need_lib_prefix=no
7869    library_names_spec='$libname${shared_ext} $libname.a'
7870    dynamic_linker='OS/2 ld.exe'
7871 @@ -11465,6 +11497,72 @@
7872  echo "${ECHO_T}$dynamic_linker" >&6
7873  test "$dynamic_linker" = no && can_build_shared=no
7874  
7875 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7876 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7877 +hardcode_action_CXX=
7878 +if test -n "$hardcode_libdir_flag_spec_CXX" || \
7879 +   test -n "$runpath_var CXX" || \
7880 +   test "X$hardcode_automatic_CXX"="Xyes" ; then
7881 +
7882 +  # We can hardcode non-existant directories.
7883 +  if test "$hardcode_direct_CXX" != no &&
7884 +     # If the only mechanism to avoid hardcoding is shlibpath_var, we
7885 +     # have to relink, otherwise we might link with an installed library
7886 +     # when we should be linking with a yet-to-be-installed one
7887 +     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
7888 +     test "$hardcode_minus_L_CXX" != no; then
7889 +    # Linking always hardcodes the temporary library directory.
7890 +    hardcode_action_CXX=relink
7891 +  else
7892 +    # We can link without hardcoding, and we can hardcode nonexisting dirs.
7893 +    hardcode_action_CXX=immediate
7894 +  fi
7895 +else
7896 +  # We cannot hardcode anything, or else we can only hardcode existing
7897 +  # directories.
7898 +  hardcode_action_CXX=unsupported
7899 +fi
7900 +echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
7901 +echo "${ECHO_T}$hardcode_action_CXX" >&6
7902 +
7903 +if test "$hardcode_action_CXX" = relink; then
7904 +  # Fast installation is not supported
7905 +  enable_fast_install=no
7906 +elif test "$shlibpath_overrides_runpath" = yes ||
7907 +     test "$enable_shared" = no; then
7908 +  # Fast installation is not necessary
7909 +  enable_fast_install=needless
7910 +fi
7911 +
7912 +striplib=
7913 +old_striplib=
7914 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7915 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7916 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7917 +  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7918 +  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7919 +  echo "$as_me:$LINENO: result: yes" >&5
7920 +echo "${ECHO_T}yes" >&6
7921 +else
7922 +# FIXME - insert some real tests, host_os isn't really good enough
7923 +  case $host_os in
7924 +   darwin*)
7925 +       if test -n "$STRIP" ; then
7926 +         striplib="$STRIP -x"
7927 +         echo "$as_me:$LINENO: result: yes" >&5
7928 +echo "${ECHO_T}yes" >&6
7929 +       else
7930 +  echo "$as_me:$LINENO: result: no" >&5
7931 +echo "${ECHO_T}no" >&6
7932 +fi
7933 +       ;;
7934 +   *)
7935 +  echo "$as_me:$LINENO: result: no" >&5
7936 +echo "${ECHO_T}no" >&6
7937 +    ;;
7938 +  esac
7939 +fi
7940 +
7941  if test "x$enable_dlopen" != xyes; then
7942    enable_dlopen=unknown
7943    enable_dlopen_self=unknown
7944 @@ -11500,7 +11598,6 @@
7945    ac_check_lib_save_LIBS=$LIBS
7946  LIBS="-ldl  $LIBS"
7947  cat >conftest.$ac_ext <<_ACEOF
7948 -#line $LINENO "configure"
7949  /* confdefs.h.  */
7950  _ACEOF
7951  cat confdefs.h >>conftest.$ac_ext
7952 @@ -11524,11 +11621,20 @@
7953  _ACEOF
7954  rm -f conftest.$ac_objext conftest$ac_exeext
7955  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7956 -  (eval $ac_link) 2>&5
7957 +  (eval $ac_link) 2>conftest.er1
7958    ac_status=$?
7959 +  grep -v '^ *+' conftest.er1 >conftest.err
7960 +  rm -f conftest.er1
7961 +  cat conftest.err >&5
7962    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7963    (exit $ac_status); } &&
7964 -         { ac_try='test -s conftest$ac_exeext'
7965 +        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
7966 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7967 +  (eval $ac_try) 2>&5
7968 +  ac_status=$?
7969 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7970 +  (exit $ac_status); }; } &&
7971 +        { ac_try='test -s conftest$ac_exeext'
7972    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7973    (eval $ac_try) 2>&5
7974    ac_status=$?
7975 @@ -11541,7 +11647,8 @@
7976  
7977  ac_cv_lib_dl_dlopen=no
7978  fi
7979 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7980 +rm -f conftest.err conftest.$ac_objext \
7981 +      conftest$ac_exeext conftest.$ac_ext
7982  LIBS=$ac_check_lib_save_LIBS
7983  fi
7984  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7985 @@ -11565,21 +11672,28 @@
7986    echo $ECHO_N "(cached) $ECHO_C" >&6
7987  else
7988    cat >conftest.$ac_ext <<_ACEOF
7989 -#line $LINENO "configure"
7990  /* confdefs.h.  */
7991  _ACEOF
7992  cat confdefs.h >>conftest.$ac_ext
7993  cat >>conftest.$ac_ext <<_ACEOF
7994  /* end confdefs.h.  */
7995 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
7996 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7997 +#define shl_load innocuous_shl_load
7998 +
7999  /* System header to define __stub macros and hopefully few prototypes,
8000      which can conflict with char shl_load (); below.
8001      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8002      <limits.h> exists even on freestanding compilers.  */
8003 +
8004  #ifdef __STDC__
8005  # include <limits.h>
8006  #else
8007  # include <assert.h>
8008  #endif
8009 +
8010 +#undef shl_load
8011 +
8012  /* Override any gcc2 internal prototype to avoid an error.  */
8013  #ifdef __cplusplus
8014  extern "C"
8015 @@ -11610,11 +11724,20 @@
8016  _ACEOF
8017  rm -f conftest.$ac_objext conftest$ac_exeext
8018  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8019 -  (eval $ac_link) 2>&5
8020 +  (eval $ac_link) 2>conftest.er1
8021    ac_status=$?
8022 +  grep -v '^ *+' conftest.er1 >conftest.err
8023 +  rm -f conftest.er1
8024 +  cat conftest.err >&5
8025    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8026    (exit $ac_status); } &&
8027 -         { ac_try='test -s conftest$ac_exeext'
8028 +        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
8029 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8030 +  (eval $ac_try) 2>&5
8031 +  ac_status=$?
8032 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8033 +  (exit $ac_status); }; } &&
8034 +        { ac_try='test -s conftest$ac_exeext'
8035    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8036    (eval $ac_try) 2>&5
8037    ac_status=$?
8038 @@ -11627,7 +11750,8 @@
8039  
8040  ac_cv_func_shl_load=no
8041  fi
8042 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8043 +rm -f conftest.err conftest.$ac_objext \
8044 +      conftest$ac_exeext conftest.$ac_ext
8045  fi
8046  echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8047  echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8048 @@ -11642,7 +11766,6 @@
8049    ac_check_lib_save_LIBS=$LIBS
8050  LIBS="-ldld  $LIBS"
8051  cat >conftest.$ac_ext <<_ACEOF
8052 -#line $LINENO "configure"
8053  /* confdefs.h.  */
8054  _ACEOF
8055  cat confdefs.h >>conftest.$ac_ext
8056 @@ -11666,11 +11789,20 @@
8057  _ACEOF
8058  rm -f conftest.$ac_objext conftest$ac_exeext
8059  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8060 -  (eval $ac_link) 2>&5
8061 +  (eval $ac_link) 2>conftest.er1
8062    ac_status=$?
8063 +  grep -v '^ *+' conftest.er1 >conftest.err
8064 +  rm -f conftest.er1
8065 +  cat conftest.err >&5
8066    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8067    (exit $ac_status); } &&
8068 -         { ac_try='test -s conftest$ac_exeext'
8069 +        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
8070 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8071 +  (eval $ac_try) 2>&5
8072 +  ac_status=$?
8073 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8074 +  (exit $ac_status); }; } &&
8075 +        { ac_try='test -s conftest$ac_exeext'
8076    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8077    (eval $ac_try) 2>&5
8078    ac_status=$?
8079 @@ -11683,7 +11815,8 @@
8080  
8081  ac_cv_lib_dld_shl_load=no
8082  fi
8083 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8084 +rm -f conftest.err conftest.$ac_objext \
8085 +      conftest$ac_exeext conftest.$ac_ext
8086  LIBS=$ac_check_lib_save_LIBS
8087  fi
8088  echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8089 @@ -11697,21 +11830,28 @@
8090    echo $ECHO_N "(cached) $ECHO_C" >&6
8091  else
8092    cat >conftest.$ac_ext <<_ACEOF
8093 -#line $LINENO "configure"
8094  /* confdefs.h.  */
8095  _ACEOF
8096  cat confdefs.h >>conftest.$ac_ext
8097  cat >>conftest.$ac_ext <<_ACEOF
8098  /* end confdefs.h.  */
8099 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8100 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8101 +#define dlopen innocuous_dlopen
8102 +
8103  /* System header to define __stub macros and hopefully few prototypes,
8104      which can conflict with char dlopen (); below.
8105      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8106      <limits.h> exists even on freestanding compilers.  */
8107 +
8108  #ifdef __STDC__
8109  # include <limits.h>
8110  #else
8111  # include <assert.h>
8112  #endif
8113 +
8114 +#undef dlopen
8115 +
8116  /* Override any gcc2 internal prototype to avoid an error.  */
8117  #ifdef __cplusplus
8118  extern "C"
8119 @@ -11742,11 +11882,20 @@
8120  _ACEOF
8121  rm -f conftest.$ac_objext conftest$ac_exeext
8122  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8123 -  (eval $ac_link) 2>&5
8124 +  (eval $ac_link) 2>conftest.er1
8125    ac_status=$?
8126 +  grep -v '^ *+' conftest.er1 >conftest.err
8127 +  rm -f conftest.er1
8128 +  cat conftest.err >&5
8129    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8130    (exit $ac_status); } &&
8131 -         { ac_try='test -s conftest$ac_exeext'
8132 +        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
8133 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8134 +  (eval $ac_try) 2>&5
8135 +  ac_status=$?
8136 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137 +  (exit $ac_status); }; } &&
8138 +        { ac_try='test -s conftest$ac_exeext'
8139    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8140    (eval $ac_try) 2>&5
8141    ac_status=$?
8142 @@ -11759,7 +11908,8 @@
8143  
8144  ac_cv_func_dlopen=no
8145  fi
8146 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8147 +rm -f conftest.err conftest.$ac_objext \
8148 +      conftest$ac_exeext conftest.$ac_ext
8149  fi
8150  echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8151  echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8152 @@ -11774,7 +11924,6 @@
8153    ac_check_lib_save_LIBS=$LIBS
8154  LIBS="-ldl  $LIBS"
8155  cat >conftest.$ac_ext <<_ACEOF
8156 -#line $LINENO "configure"
8157  /* confdefs.h.  */
8158  _ACEOF
8159  cat confdefs.h >>conftest.$ac_ext
8160 @@ -11798,11 +11947,20 @@
8161  _ACEOF
8162  rm -f conftest.$ac_objext conftest$ac_exeext
8163  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8164 -  (eval $ac_link) 2>&5
8165 +  (eval $ac_link) 2>conftest.er1
8166    ac_status=$?
8167 +  grep -v '^ *+' conftest.er1 >conftest.err
8168 +  rm -f conftest.er1
8169 +  cat conftest.err >&5
8170    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8171    (exit $ac_status); } &&
8172 -         { ac_try='test -s conftest$ac_exeext'
8173 +        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
8174 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8175 +  (eval $ac_try) 2>&5
8176 +  ac_status=$?
8177 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 +  (exit $ac_status); }; } &&
8179 +        { ac_try='test -s conftest$ac_exeext'
8180    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8181    (eval $ac_try) 2>&5
8182    ac_status=$?
8183 @@ -11815,7 +11973,8 @@
8184  
8185  ac_cv_lib_dl_dlopen=no
8186  fi
8187 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8188 +rm -f conftest.err conftest.$ac_objext \
8189 +      conftest$ac_exeext conftest.$ac_ext
8190  LIBS=$ac_check_lib_save_LIBS
8191  fi
8192  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8193 @@ -11831,7 +11990,6 @@
8194    ac_check_lib_save_LIBS=$LIBS
8195  LIBS="-lsvld  $LIBS"
8196  cat >conftest.$ac_ext <<_ACEOF
8197 -#line $LINENO "configure"
8198  /* confdefs.h.  */
8199  _ACEOF
8200  cat confdefs.h >>conftest.$ac_ext
8201 @@ -11855,24 +12013,34 @@
8202  _ACEOF
8203  rm -f conftest.$ac_objext conftest$ac_exeext
8204  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8205 -  (eval $ac_link) 2>&5
8206 +  (eval $ac_link) 2>conftest.er1
8207    ac_status=$?
8208 +  grep -v '^ *+' conftest.er1 >conftest.err
8209 +  rm -f conftest.er1
8210 +  cat conftest.err >&5
8211    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8212    (exit $ac_status); } &&
8213 -         { ac_try='test -s conftest$ac_exeext'
8214 +        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
8215    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8216    (eval $ac_try) 2>&5
8217    ac_status=$?
8218    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8219 -  (exit $ac_status); }; }; then
8220 -  ac_cv_lib_svld_dlopen=yes
8221 +  (exit $ac_status); }; } &&
8222 +        { ac_try='test -s conftest$ac_exeext'
8223 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8224 +  (eval $ac_try) 2>&5
8225 +  ac_status=$?
8226 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8227 +  (exit $ac_status); }; }; then
8228 +  ac_cv_lib_svld_dlopen=yes
8229  else
8230    echo "$as_me: failed program was:" >&5
8231  sed 's/^/| /' conftest.$ac_ext >&5
8232  
8233  ac_cv_lib_svld_dlopen=no
8234  fi
8235 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8236 +rm -f conftest.err conftest.$ac_objext \
8237 +      conftest$ac_exeext conftest.$ac_ext
8238  LIBS=$ac_check_lib_save_LIBS
8239  fi
8240  echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8241 @@ -11888,7 +12056,6 @@
8242    ac_check_lib_save_LIBS=$LIBS
8243  LIBS="-ldld  $LIBS"
8244  cat >conftest.$ac_ext <<_ACEOF
8245 -#line $LINENO "configure"
8246  /* confdefs.h.  */
8247  _ACEOF
8248  cat confdefs.h >>conftest.$ac_ext
8249 @@ -11912,11 +12079,20 @@
8250  _ACEOF
8251  rm -f conftest.$ac_objext conftest$ac_exeext
8252  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8253 -  (eval $ac_link) 2>&5
8254 +  (eval $ac_link) 2>conftest.er1
8255    ac_status=$?
8256 +  grep -v '^ *+' conftest.er1 >conftest.err
8257 +  rm -f conftest.er1
8258 +  cat conftest.err >&5
8259    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8260    (exit $ac_status); } &&
8261 -         { ac_try='test -s conftest$ac_exeext'
8262 +        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
8263 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8264 +  (eval $ac_try) 2>&5
8265 +  ac_status=$?
8266 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8267 +  (exit $ac_status); }; } &&
8268 +        { ac_try='test -s conftest$ac_exeext'
8269    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8270    (eval $ac_try) 2>&5
8271    ac_status=$?
8272 @@ -11929,7 +12105,8 @@
8273  
8274  ac_cv_lib_dld_dld_link=no
8275  fi
8276 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8277 +rm -f conftest.err conftest.$ac_objext \
8278 +      conftest$ac_exeext conftest.$ac_ext
8279  LIBS=$ac_check_lib_save_LIBS
8280  fi
8281  echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8282 @@ -11984,7 +12161,7 @@
8283    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8284    lt_status=$lt_dlunknown
8285    cat > conftest.$ac_ext <<EOF
8286 -#line 11987 "configure"
8287 +#line 12164 "configure"
8288  #include "confdefs.h"
8289  
8290  #if HAVE_DLFCN_H
8291 @@ -12082,7 +12259,7 @@
8292    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8293    lt_status=$lt_dlunknown
8294    cat > conftest.$ac_ext <<EOF
8295 -#line 12085 "configure"
8296 +#line 12262 "configure"
8297  #include "confdefs.h"
8298  
8299  #if HAVE_DLFCN_H
8300 @@ -12199,7 +12376,8 @@
8301    # Now quote all the things that may contain metacharacters while being
8302    # careful not to overquote the AC_SUBSTed values.  We take copies of the
8303    # variables and quote the copies for generation of the libtool script.
8304 -  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8305 +  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
8306 +    SED SHELL STRIP \
8307      libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8308      old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8309      deplibs_check_method reload_flag reload_cmds need_locks \
8310 @@ -12329,7 +12507,7 @@
8311  NM=$lt_NM
8312  
8313  # A symbol stripping program
8314 -STRIP=$STRIP
8315 +STRIP=$lt_STRIP
8316  
8317  # Used to examine libraries when file_magic_cmd begins "file"
8318  MAGIC_CMD=$MAGIC_CMD
8319 @@ -12360,7 +12538,7 @@
8320  libext="$libext"
8321  
8322  # Shared library suffix (normally ".so").
8323 -shrext='$shrext'
8324 +shrext_cmds='$shrext_cmds'
8325  
8326  # Executable file suffix (normally "").
8327  exeext="$exeext"
8328 @@ -12577,7 +12755,10 @@
8329    # If there is no Makefile yet, we rely on a make rule to execute
8330    # `config.status --recheck' to rerun these tests and create the
8331    # libtool script then.
8332 -  test -f Makefile && make "$ltmain"
8333 +  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
8334 +  if test -f "$ltmain_in"; then
8335 +    test -f Makefile && make "$ltmain"
8336 +  fi
8337  fi
8338  
8339  
8340 @@ -12679,7 +12860,7 @@
8341      postinstall_cmds='$RANLIB $lib'
8342    fi
8343    ;;
8344 -aix4*)
8345 +aix4* | aix5*)
8346    test "$enable_shared" = yes && enable_static=no
8347    ;;
8348  esac
8349 @@ -12819,12 +13000,12 @@
8350  
8351      linux*)
8352        case $CC in
8353 -      icc|ecc)
8354 +      icc* | ecc*)
8355         lt_prog_compiler_wl_F77='-Wl,'
8356         lt_prog_compiler_pic_F77='-KPIC'
8357         lt_prog_compiler_static_F77='-static'
8358          ;;
8359 -      ccc)
8360 +      ccc*)
8361          lt_prog_compiler_wl_F77='-Wl,'
8362          # All Alpha code is PIC.
8363          lt_prog_compiler_static_F77='-non_shared'
8364 @@ -12886,7 +13067,8 @@
8365  # Check to make sure the PIC flag actually works.
8366  #
8367  if test -n "$lt_prog_compiler_pic_F77"; then
8368 -  echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
8369 +
8370 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
8371  echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
8372  if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
8373    echo $ECHO_N "(cached) $ECHO_C" >&6
8374 @@ -12904,11 +13086,11 @@
8375     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
8376     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8377     -e 's:$: $lt_compiler_flag:'`
8378 -   (eval echo "\"\$as_me:12907: $lt_compile\"" >&5)
8379 +   (eval echo "\"\$as_me:13089: $lt_compile\"" >&5)
8380     (eval "$lt_compile" 2>conftest.err)
8381     ac_status=$?
8382     cat conftest.err >&5
8383 -   echo "$as_me:12911: \$? = $ac_status" >&5
8384 +   echo "$as_me:13093: \$? = $ac_status" >&5
8385     if (exit $ac_status) && test -s "$ac_outfile"; then
8386       # The compiler can only warn and ignore the option if not recognized
8387       # So say no if there are warnings
8388 @@ -12955,13 +13137,6 @@
8389     mkdir out
8390     printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8391  
8392 -   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
8393 -   # that will create temporary files in the current directory regardless of
8394 -   # the output directory.  Thus, making CWD read-only will cause this test
8395 -   # to fail, enabling locking or at least warning the user not to do parallel
8396 -   # builds.
8397 -   chmod -w .
8398 -
8399     lt_compiler_flag="-o out/conftest2.$ac_objext"
8400     # Insert the option either (1) after the last *FLAGS variable, or
8401     # (2) before a word containing "conftest.", or (3) at the end.
8402 @@ -12971,11 +13146,11 @@
8403     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
8404     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8405     -e 's:$: $lt_compiler_flag:'`
8406 -   (eval echo "\"\$as_me:12974: $lt_compile\"" >&5)
8407 +   (eval echo "\"\$as_me:13149: $lt_compile\"" >&5)
8408     (eval "$lt_compile" 2>out/conftest.err)
8409     ac_status=$?
8410     cat out/conftest.err >&5
8411 -   echo "$as_me:12978: \$? = $ac_status" >&5
8412 +   echo "$as_me:13153: \$? = $ac_status" >&5
8413     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8414     then
8415       # The compiler can only warn and ignore the option if not recognized
8416 @@ -12985,8 +13160,11 @@
8417       fi
8418     fi
8419     chmod u+w .
8420 -   $rm conftest* out/*
8421 -   rmdir out
8422 +   $rm conftest*
8423 +   # SGI C++ compiler will create directory out/ii_files/ for
8424 +   # template instantiation
8425 +   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8426 +   $rm out/* && rmdir out
8427     cd ..
8428     rmdir conftest
8429     $rm conftest*
8430 @@ -13145,7 +13323,7 @@
8431        fi
8432        ;;
8433  
8434 -    netbsd*)
8435 +    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
8436        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8437         archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8438         wlarc=
8439 @@ -13183,6 +13361,32 @@
8440        hardcode_shlibpath_var_F77=no
8441        ;;
8442  
8443 +  linux*)
8444 +    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8445 +        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8446 +       archive_cmds_F77="$tmp_archive_cmds"
8447 +      supports_anon_versioning=no
8448 +      case `$LD -v 2>/dev/null` in
8449 +        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8450 +        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8451 +        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8452 +        *\ 2.11.*) ;; # other 2.11 versions
8453 +        *) supports_anon_versioning=yes ;;
8454 +      esac
8455 +      if test $supports_anon_versioning = yes; then
8456 +        archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
8457 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8458 +$echo "local: *; };" >> $output_objdir/$libname.ver~
8459 +        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8460 +      else
8461 +        archive_expsym_cmds_F77="$tmp_archive_cmds"
8462 +      fi
8463 +      link_all_deplibs_F77=no
8464 +    else
8465 +      ld_shlibs_F77=no
8466 +    fi
8467 +    ;;
8468 +
8469      *)
8470        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8471         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8472 @@ -13317,11 +13521,20 @@
8473  _ACEOF
8474  rm -f conftest.$ac_objext conftest$ac_exeext
8475  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8476 -  (eval $ac_link) 2>&5
8477 +  (eval $ac_link) 2>conftest.er1
8478    ac_status=$?
8479 +  grep -v '^ *+' conftest.er1 >conftest.err
8480 +  rm -f conftest.er1
8481 +  cat conftest.err >&5
8482    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8483    (exit $ac_status); } &&
8484 -         { ac_try='test -s conftest$ac_exeext'
8485 +        { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
8486 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8487 +  (eval $ac_try) 2>&5
8488 +  ac_status=$?
8489 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8490 +  (exit $ac_status); }; } &&
8491 +        { ac_try='test -s conftest$ac_exeext'
8492    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8493    (eval $ac_try) 2>&5
8494    ac_status=$?
8495 @@ -13338,7 +13551,8 @@
8496  sed 's/^/| /' conftest.$ac_ext >&5
8497  
8498  fi
8499 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8500 +rm -f conftest.err conftest.$ac_objext \
8501 +      conftest$ac_exeext conftest.$ac_ext
8502  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8503  
8504         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
8505 @@ -13357,11 +13571,20 @@
8506  _ACEOF
8507  rm -f conftest.$ac_objext conftest$ac_exeext
8508  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8509 -  (eval $ac_link) 2>&5
8510 +  (eval $ac_link) 2>conftest.er1
8511    ac_status=$?
8512 +  grep -v '^ *+' conftest.er1 >conftest.err
8513 +  rm -f conftest.er1
8514 +  cat conftest.err >&5
8515    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516    (exit $ac_status); } &&
8517 -         { ac_try='test -s conftest$ac_exeext'
8518 +        { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
8519 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8520 +  (eval $ac_try) 2>&5
8521 +  ac_status=$?
8522 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523 +  (exit $ac_status); }; } &&
8524 +        { ac_try='test -s conftest$ac_exeext'
8525    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8526    (eval $ac_try) 2>&5
8527    ac_status=$?
8528 @@ -13378,7 +13601,8 @@
8529  sed 's/^/| /' conftest.$ac_ext >&5
8530  
8531  fi
8532 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8533 +rm -f conftest.err conftest.$ac_objext \
8534 +      conftest$ac_exeext conftest.$ac_ext
8535  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8536  
8537          hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
8538 @@ -13419,7 +13643,7 @@
8539        # Tell ltmain to make .lib files, not .a files.
8540        libext=lib
8541        # Tell ltmain to make .dll files, not .so files.
8542 -      shrext=".dll"
8543 +      shrext_cmds=".dll"
8544        # FIXME: Setting linknames here is a bad hack.
8545        archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8546        # The linker will automatically build a .lib file if we build a DLL.
8547 @@ -13431,20 +13655,27 @@
8548        ;;
8549  
8550      darwin* | rhapsody*)
8551 -    if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8552 +    if test "$GXX" = yes ; then
8553        archive_cmds_need_lc_F77=no
8554        case "$host_os" in
8555        rhapsody* | darwin1.[012])
8556         allow_undefined_flag_F77='-undefined suppress'
8557         ;;
8558        *) # Darwin 1.3 on
8559 -       test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
8560 +      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8561 +       allow_undefined_flag_F77='-flat_namespace -undefined suppress'
8562 +      else
8563 +        case ${MACOSX_DEPLOYMENT_TARGET} in
8564 +          10.[012])
8565 +            allow_undefined_flag_F77='-flat_namespace -undefined suppress'
8566 +            ;;
8567 +          10.*)
8568 +            allow_undefined_flag_F77='-undefined dynamic_lookup'
8569 +            ;;
8570 +        esac
8571 +      fi
8572         ;;
8573        esac
8574 -      # FIXME: Relying on posixy $() will cause problems for
8575 -      #        cross-compilation, but unfortunately the echo tests do not
8576 -      #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
8577 -      #               `"' quotes if we put them in here... so don't!
8578         lt_int_apple_cc_single_mod=no
8579         output_verbose_link_cmd='echo'
8580         if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
8581 @@ -13455,19 +13686,21 @@
8582         else
8583          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'
8584        fi
8585 -      module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8586 +      module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8587        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8588          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
8589            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}'
8590          else
8591            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}'
8592          fi
8593 -          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8594 +          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}'
8595        hardcode_direct_F77=no
8596        hardcode_automatic_F77=yes
8597        hardcode_shlibpath_var_F77=unsupported
8598        whole_archive_flag_spec_F77='-all_load $convenience'
8599        link_all_deplibs_F77=yes
8600 +    else
8601 +      ld_shlibs_F77=no
8602      fi
8603        ;;
8604  
8605 @@ -13501,7 +13734,7 @@
8606        ;;
8607  
8608      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8609 -    freebsd*)
8610 +    freebsd* | kfreebsd*-gnu)
8611        archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8612        hardcode_libdir_flag_spec_F77='-R$libdir'
8613        hardcode_direct_F77=yes
8614 @@ -13588,7 +13821,7 @@
8615        link_all_deplibs_F77=yes
8616        ;;
8617  
8618 -    netbsd*)
8619 +    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
8620        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8621         archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8622        else
8623 @@ -13861,78 +14094,12 @@
8624    ;;
8625  esac
8626  
8627 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8628 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8629 -hardcode_action_F77=
8630 -if test -n "$hardcode_libdir_flag_spec_F77" || \
8631 -   test -n "$runpath_var F77" || \
8632 -   test "X$hardcode_automatic_F77"="Xyes" ; then
8633 -
8634 -  # We can hardcode non-existant directories.
8635 -  if test "$hardcode_direct_F77" != no &&
8636 -     # If the only mechanism to avoid hardcoding is shlibpath_var, we
8637 -     # have to relink, otherwise we might link with an installed library
8638 -     # when we should be linking with a yet-to-be-installed one
8639 -     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
8640 -     test "$hardcode_minus_L_F77" != no; then
8641 -    # Linking always hardcodes the temporary library directory.
8642 -    hardcode_action_F77=relink
8643 -  else
8644 -    # We can link without hardcoding, and we can hardcode nonexisting dirs.
8645 -    hardcode_action_F77=immediate
8646 -  fi
8647 -else
8648 -  # We cannot hardcode anything, or else we can only hardcode existing
8649 -  # directories.
8650 -  hardcode_action_F77=unsupported
8651 -fi
8652 -echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
8653 -echo "${ECHO_T}$hardcode_action_F77" >&6
8654 -
8655 -if test "$hardcode_action_F77" = relink; then
8656 -  # Fast installation is not supported
8657 -  enable_fast_install=no
8658 -elif test "$shlibpath_overrides_runpath" = yes ||
8659 -     test "$enable_shared" = no; then
8660 -  # Fast installation is not necessary
8661 -  enable_fast_install=needless
8662 -fi
8663 -
8664 -striplib=
8665 -old_striplib=
8666 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8667 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8668 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8669 -  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8670 -  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8671 -  echo "$as_me:$LINENO: result: yes" >&5
8672 -echo "${ECHO_T}yes" >&6
8673 -else
8674 -# FIXME - insert some real tests, host_os isn't really good enough
8675 -  case $host_os in
8676 -   darwin*)
8677 -       if test -n "$STRIP" ; then
8678 -         striplib="$STRIP -x"
8679 -         echo "$as_me:$LINENO: result: yes" >&5
8680 -echo "${ECHO_T}yes" >&6
8681 -       else
8682 -  echo "$as_me:$LINENO: result: no" >&5
8683 -echo "${ECHO_T}no" >&6
8684 -fi
8685 -       ;;
8686 -   *)
8687 -  echo "$as_me:$LINENO: result: no" >&5
8688 -echo "${ECHO_T}no" >&6
8689 -    ;;
8690 -  esac
8691 -fi
8692 -
8693  echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8694  echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8695  library_names_spec=
8696  libname_spec='lib$name'
8697  soname_spec=
8698 -shrext=".so"
8699 +shrext_cmds=".so"
8700  postinstall_cmds=
8701  postuninstall_cmds=
8702  finish_cmds=
8703 @@ -14020,7 +14187,7 @@
8704  amigaos*)
8705    library_names_spec='$libname.ixlibrary $libname.a'
8706    # Create ${libname}_ixlibrary.a entries in /sys/libs.
8707 -  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'
8708 +  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'
8709    ;;
8710  
8711  beos*)
8712 @@ -14045,7 +14212,7 @@
8713  
8714  cygwin* | mingw* | pw32*)
8715    version_type=windows
8716 -  shrext=".dll"
8717 +  shrext_cmds=".dll"
8718    need_version=no
8719    need_lib_prefix=no
8720  
8721 @@ -14067,7 +14234,7 @@
8722      cygwin*)
8723        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8724        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8725 -      sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
8726 +      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8727        ;;
8728      mingw*)
8729        # MinGW DLLs use traditional 'lib' prefix
8730 @@ -14106,17 +14273,16 @@
8731    version_type=darwin
8732    need_lib_prefix=no
8733    need_version=no
8734 -  # FIXME: Relying on posixy $() will cause problems for
8735 -  #        cross-compilation, but unfortunately the echo tests do not
8736 -  #        yet detect zsh echo's removal of \ escapes.
8737    library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8738    soname_spec='${libname}${release}${major}$shared_ext'
8739    shlibpath_overrides_runpath=yes
8740    shlibpath_var=DYLD_LIBRARY_PATH
8741 -  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
8742 +  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
8743    # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8744 -  if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8745 -  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"`
8746 +  if test "$GCC" = yes; then
8747 +    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"`
8748 +  else
8749 +    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8750    fi
8751    sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8752    ;;
8753 @@ -14134,6 +14300,18 @@
8754    dynamic_linker=no
8755    ;;
8756  
8757 +kfreebsd*-gnu)
8758 +  version_type=linux
8759 +  need_lib_prefix=no
8760 +  need_version=no
8761 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8762 +  soname_spec='${libname}${release}${shared_ext}$major'
8763 +  shlibpath_var=LD_LIBRARY_PATH
8764 +  shlibpath_overrides_runpath=no
8765 +  hardcode_into_libs=yes
8766 +  dynamic_linker='GNU ld.so'
8767 +  ;;
8768 +
8769  freebsd*)
8770    objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
8771    version_type=freebsd-$objformat
8772 @@ -14182,7 +14360,7 @@
8773    need_version=no
8774    case "$host_cpu" in
8775    ia64*)
8776 -    shrext='.so'
8777 +    shrext_cmds='.so'
8778      hardcode_into_libs=yes
8779      dynamic_linker="$host_os dld.so"
8780      shlibpath_var=LD_LIBRARY_PATH
8781 @@ -14197,7 +14375,7 @@
8782      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8783      ;;
8784     hppa*64*)
8785 -     shrext='.sl'
8786 +     shrext_cmds='.sl'
8787       hardcode_into_libs=yes
8788       dynamic_linker="$host_os dld.sl"
8789       shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8790 @@ -14208,7 +14386,7 @@
8791       sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8792       ;;
8793     *)
8794 -    shrext='.sl'
8795 +    shrext_cmds='.sl'
8796      dynamic_linker="$host_os dld.sl"
8797      shlibpath_var=SHLIB_PATH
8798      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8799 @@ -14277,6 +14455,12 @@
8800    # before this can be enabled.
8801    hardcode_into_libs=yes
8802  
8803 +  # Append ld.so.conf contents to the search path
8804 +  if test -f /etc/ld.so.conf; then
8805 +    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
8806 +    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8807 +  fi
8808 +
8809    # We used to test for /lib/ld.so.1 and disable shared libraries on
8810    # powerpc, because MkLinux only supported shared libraries with the
8811    # GNU dynamic linker.  Since this was broken with cross compilers,
8812 @@ -14286,6 +14470,30 @@
8813    dynamic_linker='GNU/Linux ld.so'
8814    ;;
8815  
8816 +netbsdelf*-gnu)
8817 +  version_type=linux
8818 +  need_lib_prefix=no
8819 +  need_version=no
8820 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8821 +  soname_spec='${libname}${release}${shared_ext}$major'
8822 +  shlibpath_var=LD_LIBRARY_PATH
8823 +  shlibpath_overrides_runpath=no
8824 +  hardcode_into_libs=yes
8825 +  dynamic_linker='NetBSD ld.elf_so'
8826 +  ;;
8827 +
8828 +knetbsd*-gnu)
8829 +  version_type=linux
8830 +  need_lib_prefix=no
8831 +  need_version=no
8832 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8833 +  soname_spec='${libname}${release}${shared_ext}$major'
8834 +  shlibpath_var=LD_LIBRARY_PATH
8835 +  shlibpath_overrides_runpath=no
8836 +  hardcode_into_libs=yes
8837 +  dynamic_linker='GNU ld.so'
8838 +  ;;
8839 +
8840  netbsd*)
8841    version_type=sunos
8842    need_lib_prefix=no
8843 @@ -14295,7 +14503,7 @@
8844      finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8845      dynamic_linker='NetBSD (a.out) ld.so'
8846    else
8847 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
8848 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8849      soname_spec='${libname}${release}${shared_ext}$major'
8850      dynamic_linker='NetBSD ld.elf_so'
8851    fi
8852 @@ -14311,7 +14519,7 @@
8853    shlibpath_overrides_runpath=yes
8854    ;;
8855  
8856 -nto-qnx)
8857 +nto-qnx*)
8858    version_type=linux
8859    need_lib_prefix=no
8860    need_version=no
8861 @@ -14324,7 +14532,7 @@
8862  openbsd*)
8863    version_type=sunos
8864    need_lib_prefix=no
8865 -  need_version=no
8866 +  need_version=yes
8867    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8868    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8869    shlibpath_var=LD_LIBRARY_PATH
8870 @@ -14344,7 +14552,7 @@
8871  
8872  os2*)
8873    libname_spec='$name'
8874 -  shrext=".dll"
8875 +  shrext_cmds=".dll"
8876    need_lib_prefix=no
8877    library_names_spec='$libname${shared_ext} $libname.a'
8878    dynamic_linker='OS/2 ld.exe'
8879 @@ -14442,6 +14650,73 @@
8880  echo "${ECHO_T}$dynamic_linker" >&6
8881  test "$dynamic_linker" = no && can_build_shared=no
8882  
8883 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8884 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8885 +hardcode_action_F77=
8886 +if test -n "$hardcode_libdir_flag_spec_F77" || \
8887 +   test -n "$runpath_var F77" || \
8888 +   test "X$hardcode_automatic_F77"="Xyes" ; then
8889 +
8890 +  # We can hardcode non-existant directories.
8891 +  if test "$hardcode_direct_F77" != no &&
8892 +     # If the only mechanism to avoid hardcoding is shlibpath_var, we
8893 +     # have to relink, otherwise we might link with an installed library
8894 +     # when we should be linking with a yet-to-be-installed one
8895 +     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
8896 +     test "$hardcode_minus_L_F77" != no; then
8897 +    # Linking always hardcodes the temporary library directory.
8898 +    hardcode_action_F77=relink
8899 +  else
8900 +    # We can link without hardcoding, and we can hardcode nonexisting dirs.
8901 +    hardcode_action_F77=immediate
8902 +  fi
8903 +else
8904 +  # We cannot hardcode anything, or else we can only hardcode existing
8905 +  # directories.
8906 +  hardcode_action_F77=unsupported
8907 +fi
8908 +echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
8909 +echo "${ECHO_T}$hardcode_action_F77" >&6
8910 +
8911 +if test "$hardcode_action_F77" = relink; then
8912 +  # Fast installation is not supported
8913 +  enable_fast_install=no
8914 +elif test "$shlibpath_overrides_runpath" = yes ||
8915 +     test "$enable_shared" = no; then
8916 +  # Fast installation is not necessary
8917 +  enable_fast_install=needless
8918 +fi
8919 +
8920 +striplib=
8921 +old_striplib=
8922 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8923 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8924 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8925 +  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8926 +  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8927 +  echo "$as_me:$LINENO: result: yes" >&5
8928 +echo "${ECHO_T}yes" >&6
8929 +else
8930 +# FIXME - insert some real tests, host_os isn't really good enough
8931 +  case $host_os in
8932 +   darwin*)
8933 +       if test -n "$STRIP" ; then
8934 +         striplib="$STRIP -x"
8935 +         echo "$as_me:$LINENO: result: yes" >&5
8936 +echo "${ECHO_T}yes" >&6
8937 +       else
8938 +  echo "$as_me:$LINENO: result: no" >&5
8939 +echo "${ECHO_T}no" >&6
8940 +fi
8941 +       ;;
8942 +   *)
8943 +  echo "$as_me:$LINENO: result: no" >&5
8944 +echo "${ECHO_T}no" >&6
8945 +    ;;
8946 +  esac
8947 +fi
8948 +
8949 +
8950  
8951  # The else clause should only fire when bootstrapping the
8952  # libtool distribution, otherwise you forgot to ship ltmain.sh
8953 @@ -14456,7 +14731,8 @@
8954    # Now quote all the things that may contain metacharacters while being
8955    # careful not to overquote the AC_SUBSTed values.  We take copies of the
8956    # variables and quote the copies for generation of the libtool script.
8957 -  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8958 +  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
8959 +    SED SHELL STRIP \
8960      libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8961      old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8962      deplibs_check_method reload_flag reload_cmds need_locks \
8963 @@ -14586,7 +14862,7 @@
8964  NM=$lt_NM
8965  
8966  # A symbol stripping program
8967 -STRIP=$STRIP
8968 +STRIP=$lt_STRIP
8969  
8970  # Used to examine libraries when file_magic_cmd begins "file"
8971  MAGIC_CMD=$MAGIC_CMD
8972 @@ -14617,7 +14893,7 @@
8973  libext="$libext"
8974  
8975  # Shared library suffix (normally ".so").
8976 -shrext='$shrext'
8977 +shrext_cmds='$shrext_cmds'
8978  
8979  # Executable file suffix (normally "").
8980  exeext="$exeext"
8981 @@ -14834,7 +15110,10 @@
8982    # If there is no Makefile yet, we rely on a make rule to execute
8983    # `config.status --recheck' to rerun these tests and create the
8984    # libtool script then.
8985 -  test -f Makefile && make "$ltmain"
8986 +  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
8987 +  if test -f "$ltmain_in"; then
8988 +    test -f Makefile && make "$ltmain"
8989 +  fi
8990  fi
8991  
8992  
8993 @@ -14893,7 +15172,8 @@
8994  if test "$GCC" = yes; then
8995    lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
8996  
8997 -  echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8998 +
8999 +echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9000  echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
9001  if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9002    echo $ECHO_N "(cached) $ECHO_C" >&6
9003 @@ -14911,11 +15191,11 @@
9004     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9005     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9006     -e 's:$: $lt_compiler_flag:'`
9007 -   (eval echo "\"\$as_me:14914: $lt_compile\"" >&5)
9008 +   (eval echo "\"\$as_me:15194: $lt_compile\"" >&5)
9009     (eval "$lt_compile" 2>conftest.err)
9010     ac_status=$?
9011     cat conftest.err >&5
9012 -   echo "$as_me:14918: \$? = $ac_status" >&5
9013 +   echo "$as_me:15198: \$? = $ac_status" >&5
9014     if (exit $ac_status) && test -s "$ac_outfile"; then
9015       # The compiler can only warn and ignore the option if not recognized
9016       # So say no if there are warnings
9017 @@ -15058,12 +15338,12 @@
9018  
9019      linux*)
9020        case $CC in
9021 -      icc|ecc)
9022 +      icc* | ecc*)
9023         lt_prog_compiler_wl_GCJ='-Wl,'
9024         lt_prog_compiler_pic_GCJ='-KPIC'
9025         lt_prog_compiler_static_GCJ='-static'
9026          ;;
9027 -      ccc)
9028 +      ccc*)
9029          lt_prog_compiler_wl_GCJ='-Wl,'
9030          # All Alpha code is PIC.
9031          lt_prog_compiler_static_GCJ='-non_shared'
9032 @@ -15125,7 +15405,8 @@
9033  # Check to make sure the PIC flag actually works.
9034  #
9035  if test -n "$lt_prog_compiler_pic_GCJ"; then
9036 -  echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
9037 +
9038 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
9039  echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
9040  if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
9041    echo $ECHO_N "(cached) $ECHO_C" >&6
9042 @@ -15143,11 +15424,11 @@
9043     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9044     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9045     -e 's:$: $lt_compiler_flag:'`
9046 -   (eval echo "\"\$as_me:15146: $lt_compile\"" >&5)
9047 +   (eval echo "\"\$as_me:15427: $lt_compile\"" >&5)
9048     (eval "$lt_compile" 2>conftest.err)
9049     ac_status=$?
9050     cat conftest.err >&5
9051 -   echo "$as_me:15150: \$? = $ac_status" >&5
9052 +   echo "$as_me:15431: \$? = $ac_status" >&5
9053     if (exit $ac_status) && test -s "$ac_outfile"; then
9054       # The compiler can only warn and ignore the option if not recognized
9055       # So say no if there are warnings
9056 @@ -15194,13 +15475,6 @@
9057     mkdir out
9058     printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9059  
9060 -   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
9061 -   # that will create temporary files in the current directory regardless of
9062 -   # the output directory.  Thus, making CWD read-only will cause this test
9063 -   # to fail, enabling locking or at least warning the user not to do parallel
9064 -   # builds.
9065 -   chmod -w .
9066 -
9067     lt_compiler_flag="-o out/conftest2.$ac_objext"
9068     # Insert the option either (1) after the last *FLAGS variable, or
9069     # (2) before a word containing "conftest.", or (3) at the end.
9070 @@ -15210,11 +15484,11 @@
9071     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9072     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9073     -e 's:$: $lt_compiler_flag:'`
9074 -   (eval echo "\"\$as_me:15213: $lt_compile\"" >&5)
9075 +   (eval echo "\"\$as_me:15487: $lt_compile\"" >&5)
9076     (eval "$lt_compile" 2>out/conftest.err)
9077     ac_status=$?
9078     cat out/conftest.err >&5
9079 -   echo "$as_me:15217: \$? = $ac_status" >&5
9080 +   echo "$as_me:15491: \$? = $ac_status" >&5
9081     if (exit $ac_status) && test -s out/conftest2.$ac_objext
9082     then
9083       # The compiler can only warn and ignore the option if not recognized
9084 @@ -15224,8 +15498,11 @@
9085       fi
9086     fi
9087     chmod u+w .
9088 -   $rm conftest* out/*
9089 -   rmdir out
9090 +   $rm conftest*
9091 +   # SGI C++ compiler will create directory out/ii_files/ for
9092 +   # template instantiation
9093 +   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
9094 +   $rm out/* && rmdir out
9095     cd ..
9096     rmdir conftest
9097     $rm conftest*
9098 @@ -15384,7 +15661,7 @@
9099        fi
9100        ;;
9101  
9102 -    netbsd*)
9103 +    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
9104        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9105         archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9106         wlarc=
9107 @@ -15422,6 +15699,32 @@
9108        hardcode_shlibpath_var_GCJ=no
9109        ;;
9110  
9111 +  linux*)
9112 +    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9113 +        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9114 +       archive_cmds_GCJ="$tmp_archive_cmds"
9115 +      supports_anon_versioning=no
9116 +      case `$LD -v 2>/dev/null` in
9117 +        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9118 +        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9119 +        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9120 +        *\ 2.11.*) ;; # other 2.11 versions
9121 +        *) supports_anon_versioning=yes ;;
9122 +      esac
9123 +      if test $supports_anon_versioning = yes; then
9124 +        archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
9125 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9126 +$echo "local: *; };" >> $output_objdir/$libname.ver~
9127 +        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9128 +      else
9129 +        archive_expsym_cmds_GCJ="$tmp_archive_cmds"
9130 +      fi
9131 +      link_all_deplibs_GCJ=no
9132 +    else
9133 +      ld_shlibs_GCJ=no
9134 +    fi
9135 +    ;;
9136 +
9137      *)
9138        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9139         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9140 @@ -15550,7 +15853,6 @@
9141         allow_undefined_flag_GCJ='-berok'
9142         # Determine the default libpath from the value encoded in an empty executable.
9143         cat >conftest.$ac_ext <<_ACEOF
9144 -#line $LINENO "configure"
9145  /* confdefs.h.  */
9146  _ACEOF
9147  cat confdefs.h >>conftest.$ac_ext
9148 @@ -15567,11 +15869,20 @@
9149  _ACEOF
9150  rm -f conftest.$ac_objext conftest$ac_exeext
9151  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9152 -  (eval $ac_link) 2>&5
9153 +  (eval $ac_link) 2>conftest.er1
9154    ac_status=$?
9155 +  grep -v '^ *+' conftest.er1 >conftest.err
9156 +  rm -f conftest.er1
9157 +  cat conftest.err >&5
9158    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159    (exit $ac_status); } &&
9160 -         { ac_try='test -s conftest$ac_exeext'
9161 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9162 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9163 +  (eval $ac_try) 2>&5
9164 +  ac_status=$?
9165 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9166 +  (exit $ac_status); }; } &&
9167 +        { ac_try='test -s conftest$ac_exeext'
9168    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9169    (eval $ac_try) 2>&5
9170    ac_status=$?
9171 @@ -15588,7 +15899,8 @@
9172  sed 's/^/| /' conftest.$ac_ext >&5
9173  
9174  fi
9175 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9176 +rm -f conftest.err conftest.$ac_objext \
9177 +      conftest$ac_exeext conftest.$ac_ext
9178  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9179  
9180         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
9181 @@ -15601,7 +15913,6 @@
9182         else
9183          # Determine the default libpath from the value encoded in an empty executable.
9184          cat >conftest.$ac_ext <<_ACEOF
9185 -#line $LINENO "configure"
9186  /* confdefs.h.  */
9187  _ACEOF
9188  cat confdefs.h >>conftest.$ac_ext
9189 @@ -15618,11 +15929,20 @@
9190  _ACEOF
9191  rm -f conftest.$ac_objext conftest$ac_exeext
9192  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9193 -  (eval $ac_link) 2>&5
9194 +  (eval $ac_link) 2>conftest.er1
9195    ac_status=$?
9196 +  grep -v '^ *+' conftest.er1 >conftest.err
9197 +  rm -f conftest.er1
9198 +  cat conftest.err >&5
9199    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9200    (exit $ac_status); } &&
9201 -         { ac_try='test -s conftest$ac_exeext'
9202 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9203 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9204 +  (eval $ac_try) 2>&5
9205 +  ac_status=$?
9206 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9207 +  (exit $ac_status); }; } &&
9208 +        { ac_try='test -s conftest$ac_exeext'
9209    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9210    (eval $ac_try) 2>&5
9211    ac_status=$?
9212 @@ -15639,7 +15959,8 @@
9213  sed 's/^/| /' conftest.$ac_ext >&5
9214  
9215  fi
9216 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9217 +rm -f conftest.err conftest.$ac_objext \
9218 +      conftest$ac_exeext conftest.$ac_ext
9219  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9220  
9221          hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
9222 @@ -15680,7 +16001,7 @@
9223        # Tell ltmain to make .lib files, not .a files.
9224        libext=lib
9225        # Tell ltmain to make .dll files, not .so files.
9226 -      shrext=".dll"
9227 +      shrext_cmds=".dll"
9228        # FIXME: Setting linknames here is a bad hack.
9229        archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9230        # The linker will automatically build a .lib file if we build a DLL.
9231 @@ -15692,20 +16013,27 @@
9232        ;;
9233  
9234      darwin* | rhapsody*)
9235 -    if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9236 +    if test "$GXX" = yes ; then
9237        archive_cmds_need_lc_GCJ=no
9238        case "$host_os" in
9239        rhapsody* | darwin1.[012])
9240         allow_undefined_flag_GCJ='-undefined suppress'
9241         ;;
9242        *) # Darwin 1.3 on
9243 -       test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
9244 +      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9245 +       allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
9246 +      else
9247 +        case ${MACOSX_DEPLOYMENT_TARGET} in
9248 +          10.[012])
9249 +            allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
9250 +            ;;
9251 +          10.*)
9252 +            allow_undefined_flag_GCJ='-undefined dynamic_lookup'
9253 +            ;;
9254 +        esac
9255 +      fi
9256         ;;
9257        esac
9258 -      # FIXME: Relying on posixy $() will cause problems for
9259 -      #        cross-compilation, but unfortunately the echo tests do not
9260 -      #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
9261 -      #               `"' quotes if we put them in here... so don't!
9262         lt_int_apple_cc_single_mod=no
9263         output_verbose_link_cmd='echo'
9264         if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9265 @@ -15716,19 +16044,21 @@
9266         else
9267          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'
9268        fi
9269 -      module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9270 +      module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9271        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9272          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9273            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}'
9274          else
9275            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}'
9276          fi
9277 -          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9278 +          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}'
9279        hardcode_direct_GCJ=no
9280        hardcode_automatic_GCJ=yes
9281        hardcode_shlibpath_var_GCJ=unsupported
9282        whole_archive_flag_spec_GCJ='-all_load $convenience'
9283        link_all_deplibs_GCJ=yes
9284 +    else
9285 +      ld_shlibs_GCJ=no
9286      fi
9287        ;;
9288  
9289 @@ -15762,7 +16092,7 @@
9290        ;;
9291  
9292      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9293 -    freebsd*)
9294 +    freebsd* | kfreebsd*-gnu)
9295        archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9296        hardcode_libdir_flag_spec_GCJ='-R$libdir'
9297        hardcode_direct_GCJ=yes
9298 @@ -15849,7 +16179,7 @@
9299        link_all_deplibs_GCJ=yes
9300        ;;
9301  
9302 -    netbsd*)
9303 +    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
9304        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9305         archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9306        else
9307 @@ -16122,78 +16452,12 @@
9308    ;;
9309  esac
9310  
9311 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9312 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9313 -hardcode_action_GCJ=
9314 -if test -n "$hardcode_libdir_flag_spec_GCJ" || \
9315 -   test -n "$runpath_var GCJ" || \
9316 -   test "X$hardcode_automatic_GCJ"="Xyes" ; then
9317 -
9318 -  # We can hardcode non-existant directories.
9319 -  if test "$hardcode_direct_GCJ" != no &&
9320 -     # If the only mechanism to avoid hardcoding is shlibpath_var, we
9321 -     # have to relink, otherwise we might link with an installed library
9322 -     # when we should be linking with a yet-to-be-installed one
9323 -     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
9324 -     test "$hardcode_minus_L_GCJ" != no; then
9325 -    # Linking always hardcodes the temporary library directory.
9326 -    hardcode_action_GCJ=relink
9327 -  else
9328 -    # We can link without hardcoding, and we can hardcode nonexisting dirs.
9329 -    hardcode_action_GCJ=immediate
9330 -  fi
9331 -else
9332 -  # We cannot hardcode anything, or else we can only hardcode existing
9333 -  # directories.
9334 -  hardcode_action_GCJ=unsupported
9335 -fi
9336 -echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
9337 -echo "${ECHO_T}$hardcode_action_GCJ" >&6
9338 -
9339 -if test "$hardcode_action_GCJ" = relink; then
9340 -  # Fast installation is not supported
9341 -  enable_fast_install=no
9342 -elif test "$shlibpath_overrides_runpath" = yes ||
9343 -     test "$enable_shared" = no; then
9344 -  # Fast installation is not necessary
9345 -  enable_fast_install=needless
9346 -fi
9347 -
9348 -striplib=
9349 -old_striplib=
9350 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9351 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9352 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9353 -  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9354 -  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9355 -  echo "$as_me:$LINENO: result: yes" >&5
9356 -echo "${ECHO_T}yes" >&6
9357 -else
9358 -# FIXME - insert some real tests, host_os isn't really good enough
9359 -  case $host_os in
9360 -   darwin*)
9361 -       if test -n "$STRIP" ; then
9362 -         striplib="$STRIP -x"
9363 -         echo "$as_me:$LINENO: result: yes" >&5
9364 -echo "${ECHO_T}yes" >&6
9365 -       else
9366 -  echo "$as_me:$LINENO: result: no" >&5
9367 -echo "${ECHO_T}no" >&6
9368 -fi
9369 -       ;;
9370 -   *)
9371 -  echo "$as_me:$LINENO: result: no" >&5
9372 -echo "${ECHO_T}no" >&6
9373 -    ;;
9374 -  esac
9375 -fi
9376 -
9377  echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9378  echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9379  library_names_spec=
9380  libname_spec='lib$name'
9381  soname_spec=
9382 -shrext=".so"
9383 +shrext_cmds=".so"
9384  postinstall_cmds=
9385  postuninstall_cmds=
9386  finish_cmds=
9387 @@ -16281,7 +16545,7 @@
9388  amigaos*)
9389    library_names_spec='$libname.ixlibrary $libname.a'
9390    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9391 -  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'
9392 +  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'
9393    ;;
9394  
9395  beos*)
9396 @@ -16306,7 +16570,7 @@
9397  
9398  cygwin* | mingw* | pw32*)
9399    version_type=windows
9400 -  shrext=".dll"
9401 +  shrext_cmds=".dll"
9402    need_version=no
9403    need_lib_prefix=no
9404  
9405 @@ -16328,7 +16592,7 @@
9406      cygwin*)
9407        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9408        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9409 -      sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
9410 +      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9411        ;;
9412      mingw*)
9413        # MinGW DLLs use traditional 'lib' prefix
9414 @@ -16367,17 +16631,16 @@
9415    version_type=darwin
9416    need_lib_prefix=no
9417    need_version=no
9418 -  # FIXME: Relying on posixy $() will cause problems for
9419 -  #        cross-compilation, but unfortunately the echo tests do not
9420 -  #        yet detect zsh echo's removal of \ escapes.
9421    library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9422    soname_spec='${libname}${release}${major}$shared_ext'
9423    shlibpath_overrides_runpath=yes
9424    shlibpath_var=DYLD_LIBRARY_PATH
9425 -  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
9426 +  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
9427    # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9428 -  if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9429 -  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"`
9430 +  if test "$GCC" = yes; then
9431 +    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"`
9432 +  else
9433 +    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
9434    fi
9435    sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9436    ;;
9437 @@ -16395,6 +16658,18 @@
9438    dynamic_linker=no
9439    ;;
9440  
9441 +kfreebsd*-gnu)
9442 +  version_type=linux
9443 +  need_lib_prefix=no
9444 +  need_version=no
9445 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9446 +  soname_spec='${libname}${release}${shared_ext}$major'
9447 +  shlibpath_var=LD_LIBRARY_PATH
9448 +  shlibpath_overrides_runpath=no
9449 +  hardcode_into_libs=yes
9450 +  dynamic_linker='GNU ld.so'
9451 +  ;;
9452 +
9453  freebsd*)
9454    objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
9455    version_type=freebsd-$objformat
9456 @@ -16443,7 +16718,7 @@
9457    need_version=no
9458    case "$host_cpu" in
9459    ia64*)
9460 -    shrext='.so'
9461 +    shrext_cmds='.so'
9462      hardcode_into_libs=yes
9463      dynamic_linker="$host_os dld.so"
9464      shlibpath_var=LD_LIBRARY_PATH
9465 @@ -16458,7 +16733,7 @@
9466      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9467      ;;
9468     hppa*64*)
9469 -     shrext='.sl'
9470 +     shrext_cmds='.sl'
9471       hardcode_into_libs=yes
9472       dynamic_linker="$host_os dld.sl"
9473       shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9474 @@ -16469,7 +16744,7 @@
9475       sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9476       ;;
9477     *)
9478 -    shrext='.sl'
9479 +    shrext_cmds='.sl'
9480      dynamic_linker="$host_os dld.sl"
9481      shlibpath_var=SHLIB_PATH
9482      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9483 @@ -16538,6 +16813,12 @@
9484    # before this can be enabled.
9485    hardcode_into_libs=yes
9486  
9487 +  # Append ld.so.conf contents to the search path
9488 +  if test -f /etc/ld.so.conf; then
9489 +    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
9490 +    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9491 +  fi
9492 +
9493    # We used to test for /lib/ld.so.1 and disable shared libraries on
9494    # powerpc, because MkLinux only supported shared libraries with the
9495    # GNU dynamic linker.  Since this was broken with cross compilers,
9496 @@ -16547,6 +16828,30 @@
9497    dynamic_linker='GNU/Linux ld.so'
9498    ;;
9499  
9500 +netbsdelf*-gnu)
9501 +  version_type=linux
9502 +  need_lib_prefix=no
9503 +  need_version=no
9504 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9505 +  soname_spec='${libname}${release}${shared_ext}$major'
9506 +  shlibpath_var=LD_LIBRARY_PATH
9507 +  shlibpath_overrides_runpath=no
9508 +  hardcode_into_libs=yes
9509 +  dynamic_linker='NetBSD ld.elf_so'
9510 +  ;;
9511 +
9512 +knetbsd*-gnu)
9513 +  version_type=linux
9514 +  need_lib_prefix=no
9515 +  need_version=no
9516 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9517 +  soname_spec='${libname}${release}${shared_ext}$major'
9518 +  shlibpath_var=LD_LIBRARY_PATH
9519 +  shlibpath_overrides_runpath=no
9520 +  hardcode_into_libs=yes
9521 +  dynamic_linker='GNU ld.so'
9522 +  ;;
9523 +
9524  netbsd*)
9525    version_type=sunos
9526    need_lib_prefix=no
9527 @@ -16556,7 +16861,7 @@
9528      finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9529      dynamic_linker='NetBSD (a.out) ld.so'
9530    else
9531 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
9532 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9533      soname_spec='${libname}${release}${shared_ext}$major'
9534      dynamic_linker='NetBSD ld.elf_so'
9535    fi
9536 @@ -16572,7 +16877,7 @@
9537    shlibpath_overrides_runpath=yes
9538    ;;
9539  
9540 -nto-qnx)
9541 +nto-qnx*)
9542    version_type=linux
9543    need_lib_prefix=no
9544    need_version=no
9545 @@ -16585,7 +16890,7 @@
9546  openbsd*)
9547    version_type=sunos
9548    need_lib_prefix=no
9549 -  need_version=no
9550 +  need_version=yes
9551    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9552    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9553    shlibpath_var=LD_LIBRARY_PATH
9554 @@ -16605,7 +16910,7 @@
9555  
9556  os2*)
9557    libname_spec='$name'
9558 -  shrext=".dll"
9559 +  shrext_cmds=".dll"
9560    need_lib_prefix=no
9561    library_names_spec='$libname${shared_ext} $libname.a'
9562    dynamic_linker='OS/2 ld.exe'
9563 @@ -16703,6 +17008,72 @@
9564  echo "${ECHO_T}$dynamic_linker" >&6
9565  test "$dynamic_linker" = no && can_build_shared=no
9566  
9567 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9568 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9569 +hardcode_action_GCJ=
9570 +if test -n "$hardcode_libdir_flag_spec_GCJ" || \
9571 +   test -n "$runpath_var GCJ" || \
9572 +   test "X$hardcode_automatic_GCJ"="Xyes" ; then
9573 +
9574 +  # We can hardcode non-existant directories.
9575 +  if test "$hardcode_direct_GCJ" != no &&
9576 +     # If the only mechanism to avoid hardcoding is shlibpath_var, we
9577 +     # have to relink, otherwise we might link with an installed library
9578 +     # when we should be linking with a yet-to-be-installed one
9579 +     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
9580 +     test "$hardcode_minus_L_GCJ" != no; then
9581 +    # Linking always hardcodes the temporary library directory.
9582 +    hardcode_action_GCJ=relink
9583 +  else
9584 +    # We can link without hardcoding, and we can hardcode nonexisting dirs.
9585 +    hardcode_action_GCJ=immediate
9586 +  fi
9587 +else
9588 +  # We cannot hardcode anything, or else we can only hardcode existing
9589 +  # directories.
9590 +  hardcode_action_GCJ=unsupported
9591 +fi
9592 +echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
9593 +echo "${ECHO_T}$hardcode_action_GCJ" >&6
9594 +
9595 +if test "$hardcode_action_GCJ" = relink; then
9596 +  # Fast installation is not supported
9597 +  enable_fast_install=no
9598 +elif test "$shlibpath_overrides_runpath" = yes ||
9599 +     test "$enable_shared" = no; then
9600 +  # Fast installation is not necessary
9601 +  enable_fast_install=needless
9602 +fi
9603 +
9604 +striplib=
9605 +old_striplib=
9606 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9607 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9608 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9609 +  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9610 +  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9611 +  echo "$as_me:$LINENO: result: yes" >&5
9612 +echo "${ECHO_T}yes" >&6
9613 +else
9614 +# FIXME - insert some real tests, host_os isn't really good enough
9615 +  case $host_os in
9616 +   darwin*)
9617 +       if test -n "$STRIP" ; then
9618 +         striplib="$STRIP -x"
9619 +         echo "$as_me:$LINENO: result: yes" >&5
9620 +echo "${ECHO_T}yes" >&6
9621 +       else
9622 +  echo "$as_me:$LINENO: result: no" >&5
9623 +echo "${ECHO_T}no" >&6
9624 +fi
9625 +       ;;
9626 +   *)
9627 +  echo "$as_me:$LINENO: result: no" >&5
9628 +echo "${ECHO_T}no" >&6
9629 +    ;;
9630 +  esac
9631 +fi
9632 +
9633  if test "x$enable_dlopen" != xyes; then
9634    enable_dlopen=unknown
9635    enable_dlopen_self=unknown
9636 @@ -16738,7 +17109,6 @@
9637    ac_check_lib_save_LIBS=$LIBS
9638  LIBS="-ldl  $LIBS"
9639  cat >conftest.$ac_ext <<_ACEOF
9640 -#line $LINENO "configure"
9641  /* confdefs.h.  */
9642  _ACEOF
9643  cat confdefs.h >>conftest.$ac_ext
9644 @@ -16762,11 +17132,20 @@
9645  _ACEOF
9646  rm -f conftest.$ac_objext conftest$ac_exeext
9647  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9648 -  (eval $ac_link) 2>&5
9649 +  (eval $ac_link) 2>conftest.er1
9650    ac_status=$?
9651 +  grep -v '^ *+' conftest.er1 >conftest.err
9652 +  rm -f conftest.er1
9653 +  cat conftest.err >&5
9654    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655    (exit $ac_status); } &&
9656 -         { ac_try='test -s conftest$ac_exeext'
9657 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9658 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9659 +  (eval $ac_try) 2>&5
9660 +  ac_status=$?
9661 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662 +  (exit $ac_status); }; } &&
9663 +        { ac_try='test -s conftest$ac_exeext'
9664    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9665    (eval $ac_try) 2>&5
9666    ac_status=$?
9667 @@ -16779,7 +17158,8 @@
9668  
9669  ac_cv_lib_dl_dlopen=no
9670  fi
9671 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9672 +rm -f conftest.err conftest.$ac_objext \
9673 +      conftest$ac_exeext conftest.$ac_ext
9674  LIBS=$ac_check_lib_save_LIBS
9675  fi
9676  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9677 @@ -16803,21 +17183,28 @@
9678    echo $ECHO_N "(cached) $ECHO_C" >&6
9679  else
9680    cat >conftest.$ac_ext <<_ACEOF
9681 -#line $LINENO "configure"
9682  /* confdefs.h.  */
9683  _ACEOF
9684  cat confdefs.h >>conftest.$ac_ext
9685  cat >>conftest.$ac_ext <<_ACEOF
9686  /* end confdefs.h.  */
9687 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9688 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9689 +#define shl_load innocuous_shl_load
9690 +
9691  /* System header to define __stub macros and hopefully few prototypes,
9692      which can conflict with char shl_load (); below.
9693      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9694      <limits.h> exists even on freestanding compilers.  */
9695 +
9696  #ifdef __STDC__
9697  # include <limits.h>
9698  #else
9699  # include <assert.h>
9700  #endif
9701 +
9702 +#undef shl_load
9703 +
9704  /* Override any gcc2 internal prototype to avoid an error.  */
9705  #ifdef __cplusplus
9706  extern "C"
9707 @@ -16848,11 +17235,20 @@
9708  _ACEOF
9709  rm -f conftest.$ac_objext conftest$ac_exeext
9710  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9711 -  (eval $ac_link) 2>&5
9712 +  (eval $ac_link) 2>conftest.er1
9713    ac_status=$?
9714 +  grep -v '^ *+' conftest.er1 >conftest.err
9715 +  rm -f conftest.er1
9716 +  cat conftest.err >&5
9717    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718    (exit $ac_status); } &&
9719 -         { ac_try='test -s conftest$ac_exeext'
9720 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9721 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9722 +  (eval $ac_try) 2>&5
9723 +  ac_status=$?
9724 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725 +  (exit $ac_status); }; } &&
9726 +        { ac_try='test -s conftest$ac_exeext'
9727    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9728    (eval $ac_try) 2>&5
9729    ac_status=$?
9730 @@ -16865,7 +17261,8 @@
9731  
9732  ac_cv_func_shl_load=no
9733  fi
9734 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9735 +rm -f conftest.err conftest.$ac_objext \
9736 +      conftest$ac_exeext conftest.$ac_ext
9737  fi
9738  echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9739  echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9740 @@ -16880,7 +17277,6 @@
9741    ac_check_lib_save_LIBS=$LIBS
9742  LIBS="-ldld  $LIBS"
9743  cat >conftest.$ac_ext <<_ACEOF
9744 -#line $LINENO "configure"
9745  /* confdefs.h.  */
9746  _ACEOF
9747  cat confdefs.h >>conftest.$ac_ext
9748 @@ -16904,11 +17300,20 @@
9749  _ACEOF
9750  rm -f conftest.$ac_objext conftest$ac_exeext
9751  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9752 -  (eval $ac_link) 2>&5
9753 +  (eval $ac_link) 2>conftest.er1
9754    ac_status=$?
9755 +  grep -v '^ *+' conftest.er1 >conftest.err
9756 +  rm -f conftest.er1
9757 +  cat conftest.err >&5
9758    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9759    (exit $ac_status); } &&
9760 -         { ac_try='test -s conftest$ac_exeext'
9761 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9762 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9763 +  (eval $ac_try) 2>&5
9764 +  ac_status=$?
9765 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766 +  (exit $ac_status); }; } &&
9767 +        { ac_try='test -s conftest$ac_exeext'
9768    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9769    (eval $ac_try) 2>&5
9770    ac_status=$?
9771 @@ -16921,7 +17326,8 @@
9772  
9773  ac_cv_lib_dld_shl_load=no
9774  fi
9775 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9776 +rm -f conftest.err conftest.$ac_objext \
9777 +      conftest$ac_exeext conftest.$ac_ext
9778  LIBS=$ac_check_lib_save_LIBS
9779  fi
9780  echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9781 @@ -16935,21 +17341,28 @@
9782    echo $ECHO_N "(cached) $ECHO_C" >&6
9783  else
9784    cat >conftest.$ac_ext <<_ACEOF
9785 -#line $LINENO "configure"
9786  /* confdefs.h.  */
9787  _ACEOF
9788  cat confdefs.h >>conftest.$ac_ext
9789  cat >>conftest.$ac_ext <<_ACEOF
9790  /* end confdefs.h.  */
9791 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9792 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9793 +#define dlopen innocuous_dlopen
9794 +
9795  /* System header to define __stub macros and hopefully few prototypes,
9796      which can conflict with char dlopen (); below.
9797      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9798      <limits.h> exists even on freestanding compilers.  */
9799 +
9800  #ifdef __STDC__
9801  # include <limits.h>
9802  #else
9803  # include <assert.h>
9804  #endif
9805 +
9806 +#undef dlopen
9807 +
9808  /* Override any gcc2 internal prototype to avoid an error.  */
9809  #ifdef __cplusplus
9810  extern "C"
9811 @@ -16980,11 +17393,20 @@
9812  _ACEOF
9813  rm -f conftest.$ac_objext conftest$ac_exeext
9814  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9815 -  (eval $ac_link) 2>&5
9816 +  (eval $ac_link) 2>conftest.er1
9817    ac_status=$?
9818 +  grep -v '^ *+' conftest.er1 >conftest.err
9819 +  rm -f conftest.er1
9820 +  cat conftest.err >&5
9821    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9822    (exit $ac_status); } &&
9823 -         { ac_try='test -s conftest$ac_exeext'
9824 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9825 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9826 +  (eval $ac_try) 2>&5
9827 +  ac_status=$?
9828 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9829 +  (exit $ac_status); }; } &&
9830 +        { ac_try='test -s conftest$ac_exeext'
9831    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9832    (eval $ac_try) 2>&5
9833    ac_status=$?
9834 @@ -16997,7 +17419,8 @@
9835  
9836  ac_cv_func_dlopen=no
9837  fi
9838 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9839 +rm -f conftest.err conftest.$ac_objext \
9840 +      conftest$ac_exeext conftest.$ac_ext
9841  fi
9842  echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9843  echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9844 @@ -17012,7 +17435,6 @@
9845    ac_check_lib_save_LIBS=$LIBS
9846  LIBS="-ldl  $LIBS"
9847  cat >conftest.$ac_ext <<_ACEOF
9848 -#line $LINENO "configure"
9849  /* confdefs.h.  */
9850  _ACEOF
9851  cat confdefs.h >>conftest.$ac_ext
9852 @@ -17036,11 +17458,20 @@
9853  _ACEOF
9854  rm -f conftest.$ac_objext conftest$ac_exeext
9855  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9856 -  (eval $ac_link) 2>&5
9857 +  (eval $ac_link) 2>conftest.er1
9858    ac_status=$?
9859 +  grep -v '^ *+' conftest.er1 >conftest.err
9860 +  rm -f conftest.er1
9861 +  cat conftest.err >&5
9862    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9863    (exit $ac_status); } &&
9864 -         { ac_try='test -s conftest$ac_exeext'
9865 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9866 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9867 +  (eval $ac_try) 2>&5
9868 +  ac_status=$?
9869 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9870 +  (exit $ac_status); }; } &&
9871 +        { ac_try='test -s conftest$ac_exeext'
9872    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9873    (eval $ac_try) 2>&5
9874    ac_status=$?
9875 @@ -17053,7 +17484,8 @@
9876  
9877  ac_cv_lib_dl_dlopen=no
9878  fi
9879 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9880 +rm -f conftest.err conftest.$ac_objext \
9881 +      conftest$ac_exeext conftest.$ac_ext
9882  LIBS=$ac_check_lib_save_LIBS
9883  fi
9884  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9885 @@ -17069,7 +17501,6 @@
9886    ac_check_lib_save_LIBS=$LIBS
9887  LIBS="-lsvld  $LIBS"
9888  cat >conftest.$ac_ext <<_ACEOF
9889 -#line $LINENO "configure"
9890  /* confdefs.h.  */
9891  _ACEOF
9892  cat confdefs.h >>conftest.$ac_ext
9893 @@ -17093,11 +17524,20 @@
9894  _ACEOF
9895  rm -f conftest.$ac_objext conftest$ac_exeext
9896  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9897 -  (eval $ac_link) 2>&5
9898 +  (eval $ac_link) 2>conftest.er1
9899    ac_status=$?
9900 +  grep -v '^ *+' conftest.er1 >conftest.err
9901 +  rm -f conftest.er1
9902 +  cat conftest.err >&5
9903    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9904    (exit $ac_status); } &&
9905 -         { ac_try='test -s conftest$ac_exeext'
9906 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9907 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9908 +  (eval $ac_try) 2>&5
9909 +  ac_status=$?
9910 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9911 +  (exit $ac_status); }; } &&
9912 +        { ac_try='test -s conftest$ac_exeext'
9913    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9914    (eval $ac_try) 2>&5
9915    ac_status=$?
9916 @@ -17110,7 +17550,8 @@
9917  
9918  ac_cv_lib_svld_dlopen=no
9919  fi
9920 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9921 +rm -f conftest.err conftest.$ac_objext \
9922 +      conftest$ac_exeext conftest.$ac_ext
9923  LIBS=$ac_check_lib_save_LIBS
9924  fi
9925  echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9926 @@ -17126,7 +17567,6 @@
9927    ac_check_lib_save_LIBS=$LIBS
9928  LIBS="-ldld  $LIBS"
9929  cat >conftest.$ac_ext <<_ACEOF
9930 -#line $LINENO "configure"
9931  /* confdefs.h.  */
9932  _ACEOF
9933  cat confdefs.h >>conftest.$ac_ext
9934 @@ -17150,11 +17590,20 @@
9935  _ACEOF
9936  rm -f conftest.$ac_objext conftest$ac_exeext
9937  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9938 -  (eval $ac_link) 2>&5
9939 +  (eval $ac_link) 2>conftest.er1
9940    ac_status=$?
9941 +  grep -v '^ *+' conftest.er1 >conftest.err
9942 +  rm -f conftest.er1
9943 +  cat conftest.err >&5
9944    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9945    (exit $ac_status); } &&
9946 -         { ac_try='test -s conftest$ac_exeext'
9947 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9948 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9949 +  (eval $ac_try) 2>&5
9950 +  ac_status=$?
9951 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9952 +  (exit $ac_status); }; } &&
9953 +        { ac_try='test -s conftest$ac_exeext'
9954    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9955    (eval $ac_try) 2>&5
9956    ac_status=$?
9957 @@ -17167,7 +17616,8 @@
9958  
9959  ac_cv_lib_dld_dld_link=no
9960  fi
9961 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9962 +rm -f conftest.err conftest.$ac_objext \
9963 +      conftest$ac_exeext conftest.$ac_ext
9964  LIBS=$ac_check_lib_save_LIBS
9965  fi
9966  echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9967 @@ -17222,7 +17672,7 @@
9968    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9969    lt_status=$lt_dlunknown
9970    cat > conftest.$ac_ext <<EOF
9971 -#line 17225 "configure"
9972 +#line 17675 "configure"
9973  #include "confdefs.h"
9974  
9975  #if HAVE_DLFCN_H
9976 @@ -17320,7 +17770,7 @@
9977    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9978    lt_status=$lt_dlunknown
9979    cat > conftest.$ac_ext <<EOF
9980 -#line 17323 "configure"
9981 +#line 17773 "configure"
9982  #include "confdefs.h"
9983  
9984  #if HAVE_DLFCN_H
9985 @@ -17437,7 +17887,8 @@
9986    # Now quote all the things that may contain metacharacters while being
9987    # careful not to overquote the AC_SUBSTed values.  We take copies of the
9988    # variables and quote the copies for generation of the libtool script.
9989 -  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
9990 +  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
9991 +    SED SHELL STRIP \
9992      libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9993      old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9994      deplibs_check_method reload_flag reload_cmds need_locks \
9995 @@ -17567,7 +18018,7 @@
9996  NM=$lt_NM
9997  
9998  # A symbol stripping program
9999 -STRIP=$STRIP
10000 +STRIP=$lt_STRIP
10001  
10002  # Used to examine libraries when file_magic_cmd begins "file"
10003  MAGIC_CMD=$MAGIC_CMD
10004 @@ -17598,7 +18049,7 @@
10005  libext="$libext"
10006  
10007  # Shared library suffix (normally ".so").
10008 -shrext='$shrext'
10009 +shrext_cmds='$shrext_cmds'
10010  
10011  # Executable file suffix (normally "").
10012  exeext="$exeext"
10013 @@ -17815,7 +18266,10 @@
10014    # If there is no Makefile yet, we rely on a make rule to execute
10015    # `config.status --recheck' to rerun these tests and create the
10016    # libtool script then.
10017 -  test -f Makefile && make "$ltmain"
10018 +  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10019 +  if test -f "$ltmain_in"; then
10020 +    test -f Makefile && make "$ltmain"
10021 +  fi
10022  fi
10023  
10024  
10025 @@ -17878,7 +18332,8 @@
10026    # Now quote all the things that may contain metacharacters while being
10027    # careful not to overquote the AC_SUBSTed values.  We take copies of the
10028    # variables and quote the copies for generation of the libtool script.
10029 -  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
10030 +  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
10031 +    SED SHELL STRIP \
10032      libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10033      old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10034      deplibs_check_method reload_flag reload_cmds need_locks \
10035 @@ -18008,7 +18463,7 @@
10036  NM=$lt_NM
10037  
10038  # A symbol stripping program
10039 -STRIP=$STRIP
10040 +STRIP=$lt_STRIP
10041  
10042  # Used to examine libraries when file_magic_cmd begins "file"
10043  MAGIC_CMD=$MAGIC_CMD
10044 @@ -18039,7 +18494,7 @@
10045  libext="$libext"
10046  
10047  # Shared library suffix (normally ".so").
10048 -shrext='$shrext'
10049 +shrext_cmds='$shrext_cmds'
10050  
10051  # Executable file suffix (normally "").
10052  exeext="$exeext"
10053 @@ -18256,7 +18711,10 @@
10054    # If there is no Makefile yet, we rely on a make rule to execute
10055    # `config.status --recheck' to rerun these tests and create the
10056    # libtool script then.
10057 -  test -f Makefile && make "$ltmain"
10058 +  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10059 +  if test -f "$ltmain_in"; then
10060 +    test -f Makefile && make "$ltmain"
10061 +  fi
10062  fi
10063  
10064  
10065 @@ -18364,11 +18822,11 @@
10066  
10067  
10068  
10069 -  succeeded=no
10070  
10071 -  if test -z "$PKG_CONFIG"; then
10072 -    # Extract the first word of "pkg-config", so it can be a program name with args.
10073 -set dummy pkg-config; ac_word=$2
10074 +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10075 +       if test -n "$ac_tool_prefix"; then
10076 +  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10077 +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10078  echo "$as_me:$LINENO: checking for $ac_word" >&5
10079  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10080  if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10081 @@ -18393,7 +18851,6 @@
10082  done
10083  done
10084  
10085 -  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10086    ;;
10087  esac
10088  fi
10089 @@ -18407,62 +18864,179 @@
10090  echo "${ECHO_T}no" >&6
10091  fi
10092  
10093 +fi
10094 +if test -z "$ac_cv_path_PKG_CONFIG"; then
10095 +  ac_pt_PKG_CONFIG=$PKG_CONFIG
10096 +  # Extract the first word of "pkg-config", so it can be a program name with args.
10097 +set dummy pkg-config; ac_word=$2
10098 +echo "$as_me:$LINENO: checking for $ac_word" >&5
10099 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10100 +if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
10101 +  echo $ECHO_N "(cached) $ECHO_C" >&6
10102 +else
10103 +  case $ac_pt_PKG_CONFIG in
10104 +  [\\/]* | ?:[\\/]*)
10105 +  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10106 +  ;;
10107 +  *)
10108 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10109 +for as_dir in $PATH
10110 +do
10111 +  IFS=$as_save_IFS
10112 +  test -z "$as_dir" && as_dir=.
10113 +  for ac_exec_ext in '' $ac_executable_extensions; do
10114 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10115 +    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10116 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10117 +    break 2
10118    fi
10119 +done
10120 +done
10121  
10122 -  if test "$PKG_CONFIG" = "no" ; then
10123 -     echo "*** The pkg-config script could not be found. Make sure it is"
10124 -     echo "*** in your path, or set the PKG_CONFIG environment variable"
10125 -     echo "*** to the full path to pkg-config."
10126 -     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10127 -  else
10128 -     PKG_CONFIG_MIN_VERSION=0.9.0
10129 -     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10130 -        echo "$as_me:$LINENO: checking for sigc++-1.2" >&5
10131 -echo $ECHO_N "checking for sigc++-1.2... $ECHO_C" >&6
10132 -
10133 -        if $PKG_CONFIG --exists "sigc++-1.2" ; then
10134 -            echo "$as_me:$LINENO: result: yes" >&5
10135 -echo "${ECHO_T}yes" >&6
10136 -            succeeded=yes
10137 +  ;;
10138 +esac
10139 +fi
10140 +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
10141  
10142 -            echo "$as_me:$LINENO: checking SIGC_CFLAGS" >&5
10143 -echo $ECHO_N "checking SIGC_CFLAGS... $ECHO_C" >&6
10144 -            SIGC_CFLAGS=`$PKG_CONFIG --cflags "sigc++-1.2"`
10145 -            echo "$as_me:$LINENO: result: $SIGC_CFLAGS" >&5
10146 -echo "${ECHO_T}$SIGC_CFLAGS" >&6
10147 -
10148 -            echo "$as_me:$LINENO: checking SIGC_LIBS" >&5
10149 -echo $ECHO_N "checking SIGC_LIBS... $ECHO_C" >&6
10150 -            SIGC_LIBS=`$PKG_CONFIG --libs "sigc++-1.2"`
10151 -            echo "$as_me:$LINENO: result: $SIGC_LIBS" >&5
10152 -echo "${ECHO_T}$SIGC_LIBS" >&6
10153 -        else
10154 -            SIGC_CFLAGS=""
10155 -            SIGC_LIBS=""
10156 -            ## If we have a custom action on failure, don't print errors, but
10157 -            ## do set a variable so people can do so.
10158 -            SIGC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sigc++-1.2"`
10159 -            echo $SIGC_PKG_ERRORS
10160 -        fi
10161 +if test -n "$ac_pt_PKG_CONFIG"; then
10162 +  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
10163 +echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
10164 +else
10165 +  echo "$as_me:$LINENO: result: no" >&5
10166 +echo "${ECHO_T}no" >&6
10167 +fi
10168  
10169 +  PKG_CONFIG=$ac_pt_PKG_CONFIG
10170 +else
10171 +  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
10172 +fi
10173  
10174 +fi
10175 +if test -n "$PKG_CONFIG"; then
10176 +       _pkg_min_version=0.9.0
10177 +       echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
10178 +echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
10179 +       if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10180 +               echo "$as_me:$LINENO: result: yes" >&5
10181 +echo "${ECHO_T}yes" >&6
10182 +       else
10183 +               echo "$as_me:$LINENO: result: no" >&5
10184 +echo "${ECHO_T}no" >&6
10185 +               PKG_CONFIG=""
10186 +       fi
10187  
10188 -     else
10189 -        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10190 -        echo "*** See http://www.freedesktop.org/software/pkgconfig"
10191 -     fi
10192 -  fi
10193 +fi
10194  
10195 -  if test $succeeded = yes; then
10196 -     :
10197 -  else
10198 -     { { echo "$as_me:$LINENO: error: Library requirements (sigc++-1.2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
10199 -echo "$as_me: error: Library requirements (sigc++-1.2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
10200 +pkg_failed=no
10201 +echo "$as_me:$LINENO: checking for SIGC_CFLAGS" >&5
10202 +echo $ECHO_N "checking for SIGC_CFLAGS... $ECHO_C" >&6
10203 +if test "${pkg_cv_SIGC_CFLAGS+set}" = set; then
10204 +  echo $ECHO_N "(cached) $ECHO_C" >&6
10205 +else
10206 +  if test "x$ac_cv_env_SIGC_CFLAGS_set" = "xset"; then
10207 +       pkg_cv_SIGC_CFLAGS=$ac_cv_env_SIGC_CFLAGS_value
10208 +elif test -n "$PKG_CONFIG"; then
10209 +       if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"sigc++-1.2\" >/dev/null 2>&1") >&5
10210 +  ($PKG_CONFIG --exists "sigc++-1.2" >/dev/null 2>&1) 2>&5
10211 +  ac_status=$?
10212 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 +  (exit $ac_status); }; then
10214 +               pkg_cv_SIGC_CFLAGS=`$PKG_CONFIG --cflags "sigc++-1.2" 2>/dev/null`
10215 +       else
10216 +               pkg_failed=yes
10217 +       fi
10218 +else
10219 +       pkg_failed=untried
10220 +fi
10221 +fi
10222 +echo "$as_me:$LINENO: result: $pkg_cv_SIGC_CFLAGS" >&5
10223 +echo "${ECHO_T}$pkg_cv_SIGC_CFLAGS" >&6
10224 +echo "$as_me:$LINENO: checking for SIGC_LIBS" >&5
10225 +echo $ECHO_N "checking for SIGC_LIBS... $ECHO_C" >&6
10226 +if test "${pkg_cv_SIGC_LIBS+set}" = set; then
10227 +  echo $ECHO_N "(cached) $ECHO_C" >&6
10228 +else
10229 +  if test "x$ac_cv_env_SIGC_LIBS_set" = "xset"; then
10230 +       pkg_cv_SIGC_LIBS=$ac_cv_env_SIGC_LIBS_value
10231 +elif test -n "$PKG_CONFIG"; then
10232 +       if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"sigc++-1.2\" >/dev/null 2>&1") >&5
10233 +  ($PKG_CONFIG --exists "sigc++-1.2" >/dev/null 2>&1) 2>&5
10234 +  ac_status=$?
10235 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236 +  (exit $ac_status); }; then
10237 +               pkg_cv_SIGC_LIBS=`$PKG_CONFIG --libs "sigc++-1.2" 2>/dev/null`
10238 +       else
10239 +               pkg_failed=yes
10240 +       fi
10241 +else
10242 +       pkg_failed=untried
10243 +fi
10244 +fi
10245 +echo "$as_me:$LINENO: result: $pkg_cv_SIGC_LIBS" >&5
10246 +echo "${ECHO_T}$pkg_cv_SIGC_LIBS" >&6
10247 +
10248 +if test $pkg_failed = yes; then
10249 +       SIGC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sigc++-1.2"`
10250 +       # Put the nasty error message in config.log where it belongs
10251 +       echo "$SIGC_PKG_ERRORS" 1>&5
10252 +
10253 +       { { echo "$as_me:$LINENO: error: Package requirements (sigc++-1.2) were not met.
10254 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
10255 +installed software in a non-standard prefix.
10256 +
10257 +Alternatively you may set the SIGC_CFLAGS and SIGC_LIBS environment variables
10258 +to avoid the need to call pkg-config.  See the pkg-config man page for
10259 +more details." >&5
10260 +echo "$as_me: error: Package requirements (sigc++-1.2) were not met.
10261 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
10262 +installed software in a non-standard prefix.
10263 +
10264 +Alternatively you may set the SIGC_CFLAGS and SIGC_LIBS environment variables
10265 +to avoid the need to call pkg-config.  See the pkg-config man page for
10266 +more details." >&2;}
10267     { (exit 1); exit 1; }; }
10268 -  fi
10269 +elif test $pkg_failed = untried; then
10270 +       { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
10271 +is in your PATH or set the PKG_CONFIG environment variable to the full
10272 +path to pkg-config.
10273 +
10274 +Alternatively you may set the SIGC_CFLAGS and SIGC_LIBS environment variables
10275 +to avoid the need to call pkg-config.  See the pkg-config man page for
10276 +more details.
10277 +
10278 +To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
10279 +See \`config.log' for more details." >&5
10280 +echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
10281 +is in your PATH or set the PKG_CONFIG environment variable to the full
10282 +path to pkg-config.
10283 +
10284 +Alternatively you may set the SIGC_CFLAGS and SIGC_LIBS environment variables
10285 +to avoid the need to call pkg-config.  See the pkg-config man page for
10286 +more details.
10287 +
10288 +To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
10289 +See \`config.log' for more details." >&2;}
10290 +   { (exit 1); exit 1; }; }
10291 +else
10292 +       SIGC_CFLAGS=$pkg_cv_SIGC_CFLAGS
10293 +       SIGC_LIBS=$pkg_cv_SIGC_LIBS
10294 +       :
10295 +fi
10296 +
10297  
10298  
10299  
10300 +echo "$as_me:$LINENO: checking for SigC++ macros" >&5
10301 +echo $ECHO_N "checking for SigC++ macros... $ECHO_C" >&6
10302 +SIGC_MACROS="`pkg-config --variable=prefix sigc++-1.2`/include/sigc++-1.2/sigc++/macros"
10303 +if test "$?" != "0"; then
10304 +  { { echo "$as_me:$LINENO: error: failed to locate the SigC++ macros" >&5
10305 +echo "$as_me: error: failed to locate the SigC++ macros" >&2;}
10306 +   { (exit 1); exit 1; }; }
10307 +else
10308 +  echo "$as_me:$LINENO: result: $SIGC_MACROS" >&5
10309 +echo "${ECHO_T}$SIGC_MACROS" >&6
10310 +fi
10311  
10312  
10313  
10314 @@ -18537,7 +19111,6 @@
10315  LIBS="$ac_orig_LIBS $PTHREAD_LIBS"
10316  
10317  cat >conftest.$ac_ext <<_ACEOF
10318 -#line $LINENO "configure"
10319  /* confdefs.h.  */
10320  _ACEOF
10321  cat confdefs.h >>conftest.$ac_ext
10322 @@ -18554,11 +19127,20 @@
10323  _ACEOF
10324  rm -f conftest.$ac_objext conftest$ac_exeext
10325  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10326 -  (eval $ac_link) 2>&5
10327 +  (eval $ac_link) 2>conftest.er1
10328    ac_status=$?
10329 +  grep -v '^ *+' conftest.er1 >conftest.err
10330 +  rm -f conftest.er1
10331 +  cat conftest.err >&5
10332    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333    (exit $ac_status); } &&
10334 -         { ac_try='test -s conftest$ac_exeext'
10335 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10336 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10337 +  (eval $ac_try) 2>&5
10338 +  ac_status=$?
10339 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 +  (exit $ac_status); }; } &&
10341 +        { ac_try='test -s conftest$ac_exeext'
10342    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10343    (eval $ac_try) 2>&5
10344    ac_status=$?
10345 @@ -18580,7 +19162,6 @@
10346    LIBS="$ac_orig_LIBS $PTHREAD_LIBS"
10347  
10348    cat >conftest.$ac_ext <<_ACEOF
10349 -#line $LINENO "configure"
10350  /* confdefs.h.  */
10351  _ACEOF
10352  cat confdefs.h >>conftest.$ac_ext
10353 @@ -18597,11 +19178,20 @@
10354  _ACEOF
10355  rm -f conftest.$ac_objext conftest$ac_exeext
10356  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10357 -  (eval $ac_link) 2>&5
10358 +  (eval $ac_link) 2>conftest.er1
10359    ac_status=$?
10360 +  grep -v '^ *+' conftest.er1 >conftest.err
10361 +  rm -f conftest.er1
10362 +  cat conftest.err >&5
10363    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364    (exit $ac_status); } &&
10365 -         { ac_try='test -s conftest$ac_exeext'
10366 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10367 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10368 +  (eval $ac_try) 2>&5
10369 +  ac_status=$?
10370 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10371 +  (exit $ac_status); }; } &&
10372 +        { ac_try='test -s conftest$ac_exeext'
10373    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10374    (eval $ac_try) 2>&5
10375    ac_status=$?
10376 @@ -18622,11 +19212,13 @@
10377      PTHREAD_LIBS="$ac_save_PTHREAD_LIBS"
10378  
10379  fi
10380 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10381 +rm -f conftest.err conftest.$ac_objext \
10382 +      conftest$ac_exeext conftest.$ac_ext
10383  
10384  
10385  fi
10386 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10387 +rm -f conftest.err conftest.$ac_objext \
10388 +      conftest$ac_exeext conftest.$ac_ext
10389  
10390  echo "$as_me:$LINENO: checking for compiler with -mt flag" >&5
10391  echo $ECHO_N "checking for compiler with -mt flag... $ECHO_C" >&6
10392 @@ -18634,7 +19226,6 @@
10393  PTHREAD_CFLAGS="-mt $PTHREAD_CFLAGS"
10394  CFLAGS="$ac_orig_CFLAGS $PTHREAD_CFLAGS"
10395  cat >conftest.$ac_ext <<_ACEOF
10396 -#line $LINENO "configure"
10397  /* confdefs.h.  */
10398  _ACEOF
10399  cat confdefs.h >>conftest.$ac_ext
10400 @@ -18651,11 +19242,20 @@
10401  _ACEOF
10402  rm -f conftest.$ac_objext conftest$ac_exeext
10403  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10404 -  (eval $ac_link) 2>&5
10405 +  (eval $ac_link) 2>conftest.er1
10406    ac_status=$?
10407 +  grep -v '^ *+' conftest.er1 >conftest.err
10408 +  rm -f conftest.er1
10409 +  cat conftest.err >&5
10410    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10411    (exit $ac_status); } &&
10412 -         { ac_try='test -s conftest$ac_exeext'
10413 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10414 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10415 +  (eval $ac_try) 2>&5
10416 +  ac_status=$?
10417 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10418 +  (exit $ac_status); }; } &&
10419 +        { ac_try='test -s conftest$ac_exeext'
10420    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10421    (eval $ac_try) 2>&5
10422    ac_status=$?
10423 @@ -18672,7 +19272,8 @@
10424    PTHREAD_CFLAGS="$ac_save_PTHREAD_CFLAGS"
10425  
10426  fi
10427 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10428 +rm -f conftest.err conftest.$ac_objext \
10429 +      conftest$ac_exeext conftest.$ac_ext
10430  
10431  
10432  
10433 @@ -18694,7 +19295,6 @@
10434    ac_check_lib_save_LIBS=$LIBS
10435  LIBS="-lrt  $LIBS"
10436  cat >conftest.$ac_ext <<_ACEOF
10437 -#line $LINENO "configure"
10438  /* confdefs.h.  */
10439  _ACEOF
10440  cat confdefs.h >>conftest.$ac_ext
10441 @@ -18718,11 +19318,20 @@
10442  _ACEOF
10443  rm -f conftest.$ac_objext conftest$ac_exeext
10444  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10445 -  (eval $ac_link) 2>&5
10446 +  (eval $ac_link) 2>conftest.er1
10447    ac_status=$?
10448 +  grep -v '^ *+' conftest.er1 >conftest.err
10449 +  rm -f conftest.er1
10450 +  cat conftest.err >&5
10451    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452    (exit $ac_status); } &&
10453 -         { ac_try='test -s conftest$ac_exeext'
10454 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10455 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10456 +  (eval $ac_try) 2>&5
10457 +  ac_status=$?
10458 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459 +  (exit $ac_status); }; } &&
10460 +        { ac_try='test -s conftest$ac_exeext'
10461    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10462    (eval $ac_try) 2>&5
10463    ac_status=$?
10464 @@ -18735,7 +19344,8 @@
10465  
10466  ac_cv_lib_rt_sched_get_priority_max=no
10467  fi
10468 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10469 +rm -f conftest.err conftest.$ac_objext \
10470 +      conftest$ac_exeext conftest.$ac_ext
10471  LIBS=$ac_check_lib_save_LIBS
10472  fi
10473  echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_get_priority_max" >&5
10474 @@ -18758,7 +19368,6 @@
10475  echo "$as_me:$LINENO: checking for pthread_yield" >&5
10476  echo $ECHO_N "checking for pthread_yield... $ECHO_C" >&6;
10477  cat >conftest.$ac_ext <<_ACEOF
10478 -#line $LINENO "configure"
10479  /* confdefs.h.  */
10480  _ACEOF
10481  cat confdefs.h >>conftest.$ac_ext
10482 @@ -18775,11 +19384,20 @@
10483  _ACEOF
10484  rm -f conftest.$ac_objext conftest$ac_exeext
10485  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10486 -  (eval $ac_link) 2>&5
10487 +  (eval $ac_link) 2>conftest.er1
10488    ac_status=$?
10489 +  grep -v '^ *+' conftest.er1 >conftest.err
10490 +  rm -f conftest.er1
10491 +  cat conftest.err >&5
10492    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493    (exit $ac_status); } &&
10494 -         { ac_try='test -s conftest$ac_exeext'
10495 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10496 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10497 +  (eval $ac_try) 2>&5
10498 +  ac_status=$?
10499 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10500 +  (exit $ac_status); }; } &&
10501 +        { ac_try='test -s conftest$ac_exeext'
10502    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10503    (eval $ac_try) 2>&5
10504    ac_status=$?
10505 @@ -18800,12 +19418,12 @@
10506  echo "$as_me:$LINENO: result: no" >&5
10507  echo "${ECHO_T}no" >&6
10508  fi
10509 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10510 +rm -f conftest.err conftest.$ac_objext \
10511 +      conftest$ac_exeext conftest.$ac_ext
10512  
10513  echo "$as_me:$LINENO: checking for sched_yield" >&5
10514  echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6;
10515  cat >conftest.$ac_ext <<_ACEOF
10516 -#line $LINENO "configure"
10517  /* confdefs.h.  */
10518  _ACEOF
10519  cat confdefs.h >>conftest.$ac_ext
10520 @@ -18822,11 +19440,20 @@
10521  _ACEOF
10522  rm -f conftest.$ac_objext conftest$ac_exeext
10523  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10524 -  (eval $ac_link) 2>&5
10525 +  (eval $ac_link) 2>conftest.er1
10526    ac_status=$?
10527 +  grep -v '^ *+' conftest.er1 >conftest.err
10528 +  rm -f conftest.er1
10529 +  cat conftest.err >&5
10530    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10531    (exit $ac_status); } &&
10532 -         { ac_try='test -s conftest$ac_exeext'
10533 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10534 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10535 +  (eval $ac_try) 2>&5
10536 +  ac_status=$?
10537 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10538 +  (exit $ac_status); }; } &&
10539 +        { ac_try='test -s conftest$ac_exeext'
10540    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10541    (eval $ac_try) 2>&5
10542    ac_status=$?
10543 @@ -18847,13 +19474,13 @@
10544  echo "$as_me:$LINENO: result: no" >&5
10545  echo "${ECHO_T}no" >&6
10546  fi
10547 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10548 +rm -f conftest.err conftest.$ac_objext \
10549 +      conftest$ac_exeext conftest.$ac_ext
10550  
10551  
10552  echo "$as_me:$LINENO: checking for pthread_sigmask" >&5
10553  echo $ECHO_N "checking for pthread_sigmask... $ECHO_C" >&6;
10554  cat >conftest.$ac_ext <<_ACEOF
10555 -#line $LINENO "configure"
10556  /* confdefs.h.  */
10557  _ACEOF
10558  cat confdefs.h >>conftest.$ac_ext
10559 @@ -18870,11 +19497,20 @@
10560  _ACEOF
10561  rm -f conftest.$ac_objext conftest$ac_exeext
10562  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10563 -  (eval $ac_link) 2>&5
10564 +  (eval $ac_link) 2>conftest.er1
10565    ac_status=$?
10566 +  grep -v '^ *+' conftest.er1 >conftest.err
10567 +  rm -f conftest.er1
10568 +  cat conftest.err >&5
10569    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10570    (exit $ac_status); } &&
10571 -         { ac_try='test -s conftest$ac_exeext'
10572 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10573 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10574 +  (eval $ac_try) 2>&5
10575 +  ac_status=$?
10576 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10577 +  (exit $ac_status); }; } &&
10578 +        { ac_try='test -s conftest$ac_exeext'
10579    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10580    (eval $ac_try) 2>&5
10581    ac_status=$?
10582 @@ -18895,13 +19531,13 @@
10583  echo "$as_me:$LINENO: result: no" >&5
10584  echo "${ECHO_T}no" >&6
10585  fi
10586 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10587 +rm -f conftest.err conftest.$ac_objext \
10588 +      conftest$ac_exeext conftest.$ac_ext
10589  
10590  
10591  echo "$as_me:$LINENO: checking for pthread_key_create" >&5
10592  echo $ECHO_N "checking for pthread_key_create... $ECHO_C" >&6
10593  cat >conftest.$ac_ext <<_ACEOF
10594 -#line $LINENO "configure"
10595  /* confdefs.h.  */
10596  _ACEOF
10597  cat confdefs.h >>conftest.$ac_ext
10598 @@ -18918,11 +19554,20 @@
10599  _ACEOF
10600  rm -f conftest.$ac_objext conftest$ac_exeext
10601  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10602 -  (eval $ac_link) 2>&5
10603 +  (eval $ac_link) 2>conftest.er1
10604    ac_status=$?
10605 +  grep -v '^ *+' conftest.er1 >conftest.err
10606 +  rm -f conftest.er1
10607 +  cat conftest.err >&5
10608    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10609    (exit $ac_status); } &&
10610 -         { ac_try='test -s conftest$ac_exeext'
10611 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10612 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10613 +  (eval $ac_try) 2>&5
10614 +  ac_status=$?
10615 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 +  (exit $ac_status); }; } &&
10617 +        { ac_try='test -s conftest$ac_exeext'
10618    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10619    (eval $ac_try) 2>&5
10620    ac_status=$?
10621 @@ -18946,7 +19591,6 @@
10622  echo $ECHO_N "checking for pthread_keycreate... $ECHO_C" >&6
10623  
10624    cat >conftest.$ac_ext <<_ACEOF
10625 -#line $LINENO "configure"
10626  /* confdefs.h.  */
10627  _ACEOF
10628  cat confdefs.h >>conftest.$ac_ext
10629 @@ -18963,11 +19607,20 @@
10630  _ACEOF
10631  rm -f conftest.$ac_objext conftest$ac_exeext
10632  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10633 -  (eval $ac_link) 2>&5
10634 +  (eval $ac_link) 2>conftest.er1
10635    ac_status=$?
10636 +  grep -v '^ *+' conftest.er1 >conftest.err
10637 +  rm -f conftest.er1
10638 +  cat conftest.err >&5
10639    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10640    (exit $ac_status); } &&
10641 -         { ac_try='test -s conftest$ac_exeext'
10642 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10643 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10644 +  (eval $ac_try) 2>&5
10645 +  ac_status=$?
10646 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10647 +  (exit $ac_status); }; } &&
10648 +        { ac_try='test -s conftest$ac_exeext'
10649    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10650    (eval $ac_try) 2>&5
10651    ac_status=$?
10652 @@ -18988,18 +19641,19 @@
10653  echo "$as_me:$LINENO: result: no" >&5
10654  echo "${ECHO_T}no" >&6
10655  fi
10656 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10657 +rm -f conftest.err conftest.$ac_objext \
10658 +      conftest$ac_exeext conftest.$ac_ext
10659  
10660  
10661  fi
10662 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10663 +rm -f conftest.err conftest.$ac_objext \
10664 +      conftest$ac_exeext conftest.$ac_ext
10665  
10666  
10667  echo "$as_me:$LINENO: checking for pthread_mutexattr_setkind_np" >&5
10668  echo $ECHO_N "checking for pthread_mutexattr_setkind_np... $ECHO_C" >&6;
10669  pthread_xtra_defs=""
10670  cat >conftest.$ac_ext <<_ACEOF
10671 -#line $LINENO "configure"
10672  /* confdefs.h.  */
10673  _ACEOF
10674  cat confdefs.h >>conftest.$ac_ext
10675 @@ -19016,11 +19670,20 @@
10676  _ACEOF
10677  rm -f conftest.$ac_objext conftest$ac_exeext
10678  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10679 -  (eval $ac_link) 2>&5
10680 +  (eval $ac_link) 2>conftest.er1
10681    ac_status=$?
10682 +  grep -v '^ *+' conftest.er1 >conftest.err
10683 +  rm -f conftest.er1
10684 +  cat conftest.err >&5
10685    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686    (exit $ac_status); } &&
10687 -         { ac_try='test -s conftest$ac_exeext'
10688 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10689 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10690 +  (eval $ac_try) 2>&5
10691 +  ac_status=$?
10692 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10693 +  (exit $ac_status); }; } &&
10694 +        { ac_try='test -s conftest$ac_exeext'
10695    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10696    (eval $ac_try) 2>&5
10697    ac_status=$?
10698 @@ -19051,7 +19714,6 @@
10699    fi
10700  
10701    cat >conftest.$ac_ext <<_ACEOF
10702 -#line $LINENO "configure"
10703  /* confdefs.h.  */
10704  _ACEOF
10705  cat confdefs.h >>conftest.$ac_ext
10706 @@ -19068,11 +19730,20 @@
10707  _ACEOF
10708  rm -f conftest.$ac_objext conftest$ac_exeext
10709  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10710 -  (eval $ac_link) 2>&5
10711 +  (eval $ac_link) 2>conftest.er1
10712    ac_status=$?
10713 +  grep -v '^ *+' conftest.er1 >conftest.err
10714 +  rm -f conftest.er1
10715 +  cat conftest.err >&5
10716    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717    (exit $ac_status); } &&
10718 -         { ac_try='test -s conftest$ac_exeext'
10719 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10720 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10721 +  (eval $ac_try) 2>&5
10722 +  ac_status=$?
10723 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 +  (exit $ac_status); }; } &&
10725 +        { ac_try='test -s conftest$ac_exeext'
10726    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10727    (eval $ac_try) 2>&5
10728    ac_status=$?
10729 @@ -19097,17 +19768,18 @@
10730      CFLAGS="$ac_save_CFLAGS"
10731  
10732  fi
10733 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10734 +rm -f conftest.err conftest.$ac_objext \
10735 +      conftest$ac_exeext conftest.$ac_ext
10736  
10737  
10738  fi
10739 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10740 +rm -f conftest.err conftest.$ac_objext \
10741 +      conftest$ac_exeext conftest.$ac_ext
10742  
10743  echo "$as_me:$LINENO: checking for pthread_condattr_setkind_np" >&5
10744  echo $ECHO_N "checking for pthread_condattr_setkind_np... $ECHO_C" >&6;
10745  pthread_xtra_defs=""
10746  cat >conftest.$ac_ext <<_ACEOF
10747 -#line $LINENO "configure"
10748  /* confdefs.h.  */
10749  _ACEOF
10750  cat confdefs.h >>conftest.$ac_ext
10751 @@ -19124,11 +19796,20 @@
10752  _ACEOF
10753  rm -f conftest.$ac_objext conftest$ac_exeext
10754  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10755 -  (eval $ac_link) 2>&5
10756 +  (eval $ac_link) 2>conftest.er1
10757    ac_status=$?
10758 +  grep -v '^ *+' conftest.er1 >conftest.err
10759 +  rm -f conftest.er1
10760 +  cat conftest.err >&5
10761    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10762    (exit $ac_status); } &&
10763 -         { ac_try='test -s conftest$ac_exeext'
10764 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10765 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10766 +  (eval $ac_try) 2>&5
10767 +  ac_status=$?
10768 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769 +  (exit $ac_status); }; } &&
10770 +        { ac_try='test -s conftest$ac_exeext'
10771    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10772    (eval $ac_try) 2>&5
10773    ac_status=$?
10774 @@ -19159,7 +19840,6 @@
10775    fi
10776  
10777    cat >conftest.$ac_ext <<_ACEOF
10778 -#line $LINENO "configure"
10779  /* confdefs.h.  */
10780  _ACEOF
10781  cat confdefs.h >>conftest.$ac_ext
10782 @@ -19176,11 +19856,20 @@
10783  _ACEOF
10784  rm -f conftest.$ac_objext conftest$ac_exeext
10785  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10786 -  (eval $ac_link) 2>&5
10787 +  (eval $ac_link) 2>conftest.er1
10788    ac_status=$?
10789 +  grep -v '^ *+' conftest.er1 >conftest.err
10790 +  rm -f conftest.er1
10791 +  cat conftest.err >&5
10792    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10793    (exit $ac_status); } &&
10794 -         { ac_try='test -s conftest$ac_exeext'
10795 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10796 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10797 +  (eval $ac_try) 2>&5
10798 +  ac_status=$?
10799 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10800 +  (exit $ac_status); }; } &&
10801 +        { ac_try='test -s conftest$ac_exeext'
10802    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10803    (eval $ac_try) 2>&5
10804    ac_status=$?
10805 @@ -19205,11 +19894,13 @@
10806      CFLAGS="$ac_save_CFLAGS"
10807  
10808  fi
10809 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10810 +rm -f conftest.err conftest.$ac_objext \
10811 +      conftest$ac_exeext conftest.$ac_ext
10812  
10813  
10814  fi
10815 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10816 +rm -f conftest.err conftest.$ac_objext \
10817 +      conftest$ac_exeext conftest.$ac_ext
10818  
10819  
10820  PTHREAD_LIBS="$LIBS"
10821 @@ -19230,103 +19921,101 @@
10822        ;;
10823      (glib)
10824  
10825 -  succeeded=no
10826 -
10827 -  if test -z "$PKG_CONFIG"; then
10828 -    # Extract the first word of "pkg-config", so it can be a program name with args.
10829 -set dummy pkg-config; ac_word=$2
10830 -echo "$as_me:$LINENO: checking for $ac_word" >&5
10831 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10832 -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10833 +pkg_failed=no
10834 +echo "$as_me:$LINENO: checking for GTHREAD_CFLAGS" >&5
10835 +echo $ECHO_N "checking for GTHREAD_CFLAGS... $ECHO_C" >&6
10836 +if test "${pkg_cv_GTHREAD_CFLAGS+set}" = set; then
10837    echo $ECHO_N "(cached) $ECHO_C" >&6
10838  else
10839 -  case $PKG_CONFIG in
10840 -  [\\/]* | ?:[\\/]*)
10841 -  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10842 -  ;;
10843 -  *)
10844 -  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10845 -for as_dir in $PATH
10846 -do
10847 -  IFS=$as_save_IFS
10848 -  test -z "$as_dir" && as_dir=.
10849 -  for ac_exec_ext in '' $ac_executable_extensions; do
10850 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10851 -    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10852 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10853 -    break 2
10854 -  fi
10855 -done
10856 -done
10857 -
10858 -  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10859 -  ;;
10860 -esac
10861 +  if test "x$ac_cv_env_GTHREAD_CFLAGS_set" = "xset"; then
10862 +       pkg_cv_GTHREAD_CFLAGS=$ac_cv_env_GTHREAD_CFLAGS_value
10863 +elif test -n "$PKG_CONFIG"; then
10864 +       if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gthread-2.0\" >/dev/null 2>&1") >&5
10865 +  ($PKG_CONFIG --exists "gthread-2.0" >/dev/null 2>&1) 2>&5
10866 +  ac_status=$?
10867 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10868 +  (exit $ac_status); }; then
10869 +               pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null`
10870 +       else
10871 +               pkg_failed=yes
10872 +       fi
10873 +else
10874 +       pkg_failed=untried
10875  fi
10876 -PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10877 -
10878 -if test -n "$PKG_CONFIG"; then
10879 -  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10880 -echo "${ECHO_T}$PKG_CONFIG" >&6
10881 +fi
10882 +echo "$as_me:$LINENO: result: $pkg_cv_GTHREAD_CFLAGS" >&5
10883 +echo "${ECHO_T}$pkg_cv_GTHREAD_CFLAGS" >&6
10884 +echo "$as_me:$LINENO: checking for GTHREAD_LIBS" >&5
10885 +echo $ECHO_N "checking for GTHREAD_LIBS... $ECHO_C" >&6
10886 +if test "${pkg_cv_GTHREAD_LIBS+set}" = set; then
10887 +  echo $ECHO_N "(cached) $ECHO_C" >&6
10888  else
10889 -  echo "$as_me:$LINENO: result: no" >&5
10890 -echo "${ECHO_T}no" >&6
10891 +  if test "x$ac_cv_env_GTHREAD_LIBS_set" = "xset"; then
10892 +       pkg_cv_GTHREAD_LIBS=$ac_cv_env_GTHREAD_LIBS_value
10893 +elif test -n "$PKG_CONFIG"; then
10894 +       if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gthread-2.0\" >/dev/null 2>&1") >&5
10895 +  ($PKG_CONFIG --exists "gthread-2.0" >/dev/null 2>&1) 2>&5
10896 +  ac_status=$?
10897 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10898 +  (exit $ac_status); }; then
10899 +               pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null`
10900 +       else
10901 +               pkg_failed=yes
10902 +       fi
10903 +else
10904 +       pkg_failed=untried
10905  fi
10906 +fi
10907 +echo "$as_me:$LINENO: result: $pkg_cv_GTHREAD_LIBS" >&5
10908 +echo "${ECHO_T}$pkg_cv_GTHREAD_LIBS" >&6
10909  
10910 -  fi
10911 -
10912 -  if test "$PKG_CONFIG" = "no" ; then
10913 -     echo "*** The pkg-config script could not be found. Make sure it is"
10914 -     echo "*** in your path, or set the PKG_CONFIG environment variable"
10915 -     echo "*** to the full path to pkg-config."
10916 -     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10917 -  else
10918 -     PKG_CONFIG_MIN_VERSION=0.9.0
10919 -     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10920 -        echo "$as_me:$LINENO: checking for gthread-2.0" >&5
10921 -echo $ECHO_N "checking for gthread-2.0... $ECHO_C" >&6
10922 -
10923 -        if $PKG_CONFIG --exists "gthread-2.0" ; then
10924 -            echo "$as_me:$LINENO: result: yes" >&5
10925 -echo "${ECHO_T}yes" >&6
10926 -            succeeded=yes
10927 -
10928 -            echo "$as_me:$LINENO: checking GTHREAD_CFLAGS" >&5
10929 -echo $ECHO_N "checking GTHREAD_CFLAGS... $ECHO_C" >&6
10930 -            GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0"`
10931 -            echo "$as_me:$LINENO: result: $GTHREAD_CFLAGS" >&5
10932 -echo "${ECHO_T}$GTHREAD_CFLAGS" >&6
10933 -
10934 -            echo "$as_me:$LINENO: checking GTHREAD_LIBS" >&5
10935 -echo $ECHO_N "checking GTHREAD_LIBS... $ECHO_C" >&6
10936 -            GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0"`
10937 -            echo "$as_me:$LINENO: result: $GTHREAD_LIBS" >&5
10938 -echo "${ECHO_T}$GTHREAD_LIBS" >&6
10939 -        else
10940 -            GTHREAD_CFLAGS=""
10941 -            GTHREAD_LIBS=""
10942 -            ## If we have a custom action on failure, don't print errors, but
10943 -            ## do set a variable so people can do so.
10944 -            GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread-2.0"`
10945 -            echo $GTHREAD_PKG_ERRORS
10946 -        fi
10947 -
10948 -
10949 +if test $pkg_failed = yes; then
10950 +       GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread-2.0"`
10951 +       # Put the nasty error message in config.log where it belongs
10952 +       echo "$GTHREAD_PKG_ERRORS" 1>&5
10953 +
10954 +       { { echo "$as_me:$LINENO: error: Package requirements (gthread-2.0) were not met.
10955 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
10956 +installed software in a non-standard prefix.
10957 +
10958 +Alternatively you may set the GTHREAD_CFLAGS and GTHREAD_LIBS environment variables
10959 +to avoid the need to call pkg-config.  See the pkg-config man page for
10960 +more details." >&5
10961 +echo "$as_me: error: Package requirements (gthread-2.0) were not met.
10962 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
10963 +installed software in a non-standard prefix.
10964 +
10965 +Alternatively you may set the GTHREAD_CFLAGS and GTHREAD_LIBS environment variables
10966 +to avoid the need to call pkg-config.  See the pkg-config man page for
10967 +more details." >&2;}
10968 +   { (exit 1); exit 1; }; }
10969 +elif test $pkg_failed = untried; then
10970 +       { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
10971 +is in your PATH or set the PKG_CONFIG environment variable to the full
10972 +path to pkg-config.
10973 +
10974 +Alternatively you may set the GTHREAD_CFLAGS and GTHREAD_LIBS environment variables
10975 +to avoid the need to call pkg-config.  See the pkg-config man page for
10976 +more details.
10977  
10978 -     else
10979 -        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10980 -        echo "*** See http://www.freedesktop.org/software/pkgconfig"
10981 -     fi
10982 -  fi
10983 +To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
10984 +See \`config.log' for more details." >&5
10985 +echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
10986 +is in your PATH or set the PKG_CONFIG environment variable to the full
10987 +path to pkg-config.
10988 +
10989 +Alternatively you may set the GTHREAD_CFLAGS and GTHREAD_LIBS environment variables
10990 +to avoid the need to call pkg-config.  See the pkg-config man page for
10991 +more details.
10992  
10993 -  if test $succeeded = yes; then
10994 -     THREADS_USED=glib
10995 -  else
10996 -     { { echo "$as_me:$LINENO: error: Library requirements (gthread-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
10997 -echo "$as_me: error: Library requirements (gthread-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
10998 +To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
10999 +See \`config.log' for more details." >&2;}
11000     { (exit 1); exit 1; }; }
11001 -  fi
11002 -
11003 +else
11004 +       GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
11005 +       GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
11006 +       THREADS_USED=glib
11007 +fi
11008        THREAD_LIBS=$GTHREAD_LIBS
11009        THREAD_CFLAGS=$GTHREAD_CFLAGS
11010        ;;
11011 @@ -19364,101 +20053,67 @@
11012  
11013  if test "$CHECK_GTK" = "yes"; then
11014  
11015 -  succeeded=no
11016 -
11017 -  if test -z "$PKG_CONFIG"; then
11018 -    # Extract the first word of "pkg-config", so it can be a program name with args.
11019 -set dummy pkg-config; ac_word=$2
11020 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11021 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11022 -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11023 +pkg_failed=no
11024 +echo "$as_me:$LINENO: checking for GTK_CFLAGS" >&5
11025 +echo $ECHO_N "checking for GTK_CFLAGS... $ECHO_C" >&6
11026 +if test "${pkg_cv_GTK_CFLAGS+set}" = set; then
11027    echo $ECHO_N "(cached) $ECHO_C" >&6
11028  else
11029 -  case $PKG_CONFIG in
11030 -  [\\/]* | ?:[\\/]*)
11031 -  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11032 -  ;;
11033 -  *)
11034 -  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11035 -for as_dir in $PATH
11036 -do
11037 -  IFS=$as_save_IFS
11038 -  test -z "$as_dir" && as_dir=.
11039 -  for ac_exec_ext in '' $ac_executable_extensions; do
11040 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11041 -    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11042 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11043 -    break 2
11044 -  fi
11045 -done
11046 -done
11047 -
11048 -  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11049 -  ;;
11050 -esac
11051 +  if test "x$ac_cv_env_GTK_CFLAGS_set" = "xset"; then
11052 +       pkg_cv_GTK_CFLAGS=$ac_cv_env_GTK_CFLAGS_value
11053 +elif test -n "$PKG_CONFIG"; then
11054 +       if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gtk+-2.0\" >/dev/null 2>&1") >&5
11055 +  ($PKG_CONFIG --exists "gtk+-2.0" >/dev/null 2>&1) 2>&5
11056 +  ac_status=$?
11057 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11058 +  (exit $ac_status); }; then
11059 +               pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
11060 +       else
11061 +               pkg_failed=yes
11062 +       fi
11063 +else
11064 +       pkg_failed=untried
11065  fi
11066 -PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11067 -
11068 -if test -n "$PKG_CONFIG"; then
11069 -  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11070 -echo "${ECHO_T}$PKG_CONFIG" >&6
11071 +fi
11072 +echo "$as_me:$LINENO: result: $pkg_cv_GTK_CFLAGS" >&5
11073 +echo "${ECHO_T}$pkg_cv_GTK_CFLAGS" >&6
11074 +echo "$as_me:$LINENO: checking for GTK_LIBS" >&5
11075 +echo $ECHO_N "checking for GTK_LIBS... $ECHO_C" >&6
11076 +if test "${pkg_cv_GTK_LIBS+set}" = set; then
11077 +  echo $ECHO_N "(cached) $ECHO_C" >&6
11078  else
11079 -  echo "$as_me:$LINENO: result: no" >&5
11080 -echo "${ECHO_T}no" >&6
11081 +  if test "x$ac_cv_env_GTK_LIBS_set" = "xset"; then
11082 +       pkg_cv_GTK_LIBS=$ac_cv_env_GTK_LIBS_value
11083 +elif test -n "$PKG_CONFIG"; then
11084 +       if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"gtk+-2.0\" >/dev/null 2>&1") >&5
11085 +  ($PKG_CONFIG --exists "gtk+-2.0" >/dev/null 2>&1) 2>&5
11086 +  ac_status=$?
11087 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11088 +  (exit $ac_status); }; then
11089 +               pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
11090 +       else
11091 +               pkg_failed=yes
11092 +       fi
11093 +else
11094 +       pkg_failed=untried
11095  fi
11096 +fi
11097 +echo "$as_me:$LINENO: result: $pkg_cv_GTK_LIBS" >&5
11098 +echo "${ECHO_T}$pkg_cv_GTK_LIBS" >&6
11099  
11100 -  fi
11101 -
11102 -  if test "$PKG_CONFIG" = "no" ; then
11103 -     echo "*** The pkg-config script could not be found. Make sure it is"
11104 -     echo "*** in your path, or set the PKG_CONFIG environment variable"
11105 -     echo "*** to the full path to pkg-config."
11106 -     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11107 -  else
11108 -     PKG_CONFIG_MIN_VERSION=0.9.0
11109 -     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11110 -        echo "$as_me:$LINENO: checking for gtk+-2.0" >&5
11111 -echo $ECHO_N "checking for gtk+-2.0... $ECHO_C" >&6
11112 -
11113 -        if $PKG_CONFIG --exists "gtk+-2.0" ; then
11114 -            echo "$as_me:$LINENO: result: yes" >&5
11115 -echo "${ECHO_T}yes" >&6
11116 -            succeeded=yes
11117 -
11118 -            echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
11119 -echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
11120 -            GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0"`
11121 -            echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
11122 -echo "${ECHO_T}$GTK_CFLAGS" >&6
11123 -
11124 -            echo "$as_me:$LINENO: checking GTK_LIBS" >&5
11125 -echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
11126 -            GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0"`
11127 -            echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
11128 -echo "${ECHO_T}$GTK_LIBS" >&6
11129 -        else
11130 -            GTK_CFLAGS=""
11131 -            GTK_LIBS=""
11132 -            ## If we have a custom action on failure, don't print errors, but
11133 -            ## do set a variable so people can do so.
11134 -            GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
11135 -
11136 -        fi
11137 -
11138 -
11139 -
11140 -     else
11141 -        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11142 -        echo "*** See http://www.freedesktop.org/software/pkgconfig"
11143 -     fi
11144 -  fi
11145 -
11146 -  if test $succeeded = yes; then
11147 -     HAVE_GTK=yes
11148 -  else
11149 -     HAVE_GTK=no
11150 -  fi
11151 +if test $pkg_failed = yes; then
11152 +       GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
11153 +       # Put the nasty error message in config.log where it belongs
11154 +       echo "$GTK_PKG_ERRORS" 1>&5
11155  
11156 +       HAVE_GTK=no
11157 +elif test $pkg_failed = untried; then
11158 +       HAVE_GTK=no
11159 +else
11160 +       GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
11161 +       GTK_LIBS=$pkg_cv_GTK_LIBS
11162 +       HAVE_GTK=yes
11163 +fi
11164    if test "$HAVE_GTK" = "yes"; then
11165  
11166  
11167 @@ -19480,7 +20135,6 @@
11168    echo $ECHO_N "(cached) $ECHO_C" >&6
11169  else
11170    cat >conftest.$ac_ext <<_ACEOF
11171 -#line $LINENO "configure"
11172  /* confdefs.h.  */
11173  _ACEOF
11174  cat confdefs.h >>conftest.$ac_ext
11175 @@ -19501,11 +20155,20 @@
11176  _ACEOF
11177  rm -f conftest.$ac_objext
11178  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11179 -  (eval $ac_compile) 2>&5
11180 +  (eval $ac_compile) 2>conftest.er1
11181    ac_status=$?
11182 +  grep -v '^ *+' conftest.er1 >conftest.err
11183 +  rm -f conftest.er1
11184 +  cat conftest.err >&5
11185    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186    (exit $ac_status); } &&
11187 -         { ac_try='test -s conftest.$ac_objext'
11188 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11189 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11190 +  (eval $ac_try) 2>&5
11191 +  ac_status=$?
11192 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 +  (exit $ac_status); }; } &&
11194 +        { ac_try='test -s conftest.$ac_objext'
11195    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11196    (eval $ac_try) 2>&5
11197    ac_status=$?
11198 @@ -19518,12 +20181,11 @@
11199  
11200  ac_cv_header_stdc=no
11201  fi
11202 -rm -f conftest.$ac_objext conftest.$ac_ext
11203 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11204  
11205  if test $ac_cv_header_stdc = yes; then
11206    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11207    cat >conftest.$ac_ext <<_ACEOF
11208 -#line $LINENO "configure"
11209  /* confdefs.h.  */
11210  _ACEOF
11211  cat confdefs.h >>conftest.$ac_ext
11212 @@ -19545,7 +20207,6 @@
11213  if test $ac_cv_header_stdc = yes; then
11214    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11215    cat >conftest.$ac_ext <<_ACEOF
11216 -#line $LINENO "configure"
11217  /* confdefs.h.  */
11218  _ACEOF
11219  cat confdefs.h >>conftest.$ac_ext
11220 @@ -19570,7 +20231,6 @@
11221    :
11222  else
11223    cat >conftest.$ac_ext <<_ACEOF
11224 -#line $LINENO "configure"
11225  /* confdefs.h.  */
11226  _ACEOF
11227  cat confdefs.h >>conftest.$ac_ext
11228 @@ -19582,9 +20242,9 @@
11229  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11230  #else
11231  # define ISLOWER(c) \
11232 -                   (('a' <= (c) && (c) <= 'i') \
11233 -                     || ('j' <= (c) && (c) <= 'r') \
11234 -                     || ('s' <= (c) && (c) <= 'z'))
11235 +                  (('a' <= (c) && (c) <= 'i') \
11236 +                    || ('j' <= (c) && (c) <= 'r') \
11237 +                    || ('s' <= (c) && (c) <= 'z'))
11238  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11239  #endif
11240  
11241 @@ -19595,7 +20255,7 @@
11242    int i;
11243    for (i = 0; i < 256; i++)
11244      if (XOR (islower (i), ISLOWER (i))
11245 -        || toupper (i) != TOUPPER (i))
11246 +       || toupper (i) != TOUPPER (i))
11247        exit(2);
11248    exit (0);
11249  }
11250 @@ -19620,7 +20280,7 @@
11251  ( exit $ac_status )
11252  ac_cv_header_stdc=no
11253  fi
11254 -rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11255 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11256  fi
11257  fi
11258  fi
11259 @@ -19651,7 +20311,6 @@
11260  echo "$as_me:$LINENO: checking $ac_header usability" >&5
11261  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11262  cat >conftest.$ac_ext <<_ACEOF
11263 -#line $LINENO "configure"
11264  /* confdefs.h.  */
11265  _ACEOF
11266  cat confdefs.h >>conftest.$ac_ext
11267 @@ -19662,11 +20321,20 @@
11268  _ACEOF
11269  rm -f conftest.$ac_objext
11270  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11271 -  (eval $ac_compile) 2>&5
11272 +  (eval $ac_compile) 2>conftest.er1
11273    ac_status=$?
11274 +  grep -v '^ *+' conftest.er1 >conftest.err
11275 +  rm -f conftest.er1
11276 +  cat conftest.err >&5
11277    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11278    (exit $ac_status); } &&
11279 -         { ac_try='test -s conftest.$ac_objext'
11280 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11281 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11282 +  (eval $ac_try) 2>&5
11283 +  ac_status=$?
11284 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11285 +  (exit $ac_status); }; } &&
11286 +        { ac_try='test -s conftest.$ac_objext'
11287    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11288    (eval $ac_try) 2>&5
11289    ac_status=$?
11290 @@ -19679,7 +20347,7 @@
11291  
11292  ac_header_compiler=no
11293  fi
11294 -rm -f conftest.$ac_objext conftest.$ac_ext
11295 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11296  echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11297  echo "${ECHO_T}$ac_header_compiler" >&6
11298  
11299 @@ -19687,7 +20355,6 @@
11300  echo "$as_me:$LINENO: checking $ac_header presence" >&5
11301  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11302  cat >conftest.$ac_ext <<_ACEOF
11303 -#line $LINENO "configure"
11304  /* confdefs.h.  */
11305  _ACEOF
11306  cat confdefs.h >>conftest.$ac_ext
11307 @@ -19705,6 +20372,7 @@
11308    (exit $ac_status); } >/dev/null; then
11309    if test -s conftest.err; then
11310      ac_cpp_err=$ac_c_preproc_warn_flag
11311 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11312    else
11313      ac_cpp_err=
11314    fi
11315 @@ -19724,33 +20392,32 @@
11316  echo "${ECHO_T}$ac_header_preproc" >&6
11317  
11318  # So?  What about this header?
11319 -case $ac_header_compiler:$ac_header_preproc in
11320 -  yes:no )
11321 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11322 +  yes:no: )
11323      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11324  echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11325 -    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11326 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11327 -    (
11328 -      cat <<\_ASBOX
11329 -## ------------------------------------ ##
11330 -## Report this to bug-autoconf@gnu.org. ##
11331 -## ------------------------------------ ##
11332 -_ASBOX
11333 -    ) |
11334 -      sed "s/^/$as_me: WARNING:     /" >&2
11335 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11336 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11337 +    ac_header_preproc=yes
11338      ;;
11339 -  no:yes )
11340 +  no:yes:* )
11341      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11342  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11343 -    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11344 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11345 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11346 +echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11347 +    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11348 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11349 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11350 +echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11351      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11352  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11353 +    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11354 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11355      (
11356        cat <<\_ASBOX
11357 -## ------------------------------------ ##
11358 -## Report this to bug-autoconf@gnu.org. ##
11359 -## ------------------------------------ ##
11360 +## ------------------------------------------ ##
11361 +## Report this to the AC_PACKAGE_NAME lists.  ##
11362 +## ------------------------------------------ ##
11363  _ASBOX
11364      ) |
11365        sed "s/^/$as_me: WARNING:     /" >&2
11366 @@ -19761,7 +20428,7 @@
11367  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11368    echo $ECHO_N "(cached) $ECHO_C" >&6
11369  else
11370 -  eval "$as_ac_Header=$ac_header_preproc"
11371 +  eval "$as_ac_Header=\$ac_header_preproc"
11372  fi
11373  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11374  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11375 @@ -19792,6 +20459,9 @@
11376    echo $ECHO_N "(cached) $ECHO_C" >&6
11377  else
11378  
11379 +if test x"$cross_compiling" = x"yes"; then
11380 +    ac_cv_cxx_eh=yes
11381 +else
11382  if test "$cross_compiling" = yes; then
11383    { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11384  See \`config.log' for more details." >&5
11385 @@ -19800,7 +20470,6 @@
11386     { (exit 1); exit 1; }; }
11387  else
11388    cat >conftest.$ac_ext <<_ACEOF
11389 -#line $LINENO "configure"
11390  /* confdefs.h.  */
11391  _ACEOF
11392  cat confdefs.h >>conftest.$ac_ext
11393 @@ -19848,9 +20517,9 @@
11394  ( exit $ac_status )
11395  ac_cv_cxx_eh=no
11396  fi
11397 -rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11398 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11399 +fi
11400  fi
11401 -
11402  fi
11403  
11404  echo "$as_me:$LINENO: result: $ac_cv_cxx_eh" >&5
11405 @@ -19893,7 +20562,6 @@
11406  else
11407  
11408  cat >conftest.$ac_ext <<_ACEOF
11409 -#line $LINENO "configure"
11410  /* confdefs.h.  */
11411  _ACEOF
11412  cat confdefs.h >>conftest.$ac_ext
11413 @@ -19918,11 +20586,20 @@
11414  _ACEOF
11415  rm -f conftest.$ac_objext
11416  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11417 -  (eval $ac_compile) 2>&5
11418 +  (eval $ac_compile) 2>conftest.er1
11419    ac_status=$?
11420 +  grep -v '^ *+' conftest.er1 >conftest.err
11421 +  rm -f conftest.er1
11422 +  cat conftest.err >&5
11423    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11424    (exit $ac_status); } &&
11425 -         { ac_try='test -s conftest.$ac_objext'
11426 +        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
11427 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11428 +  (eval $ac_try) 2>&5
11429 +  ac_status=$?
11430 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11431 +  (exit $ac_status); }; } &&
11432 +        { ac_try='test -s conftest.$ac_objext'
11433    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11434    (eval $ac_try) 2>&5
11435    ac_status=$?
11436 @@ -19935,7 +20612,7 @@
11437  
11438  ac_cv_cxx_ns=no
11439  fi
11440 -rm -f conftest.$ac_objext conftest.$ac_ext
11441 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11442  
11443  fi
11444  
11445 @@ -19981,7 +20658,6 @@
11446  else
11447  
11448  cat >conftest.$ac_ext <<_ACEOF
11449 -#line $LINENO "configure"
11450  /* confdefs.h.  */
11451  _ACEOF
11452  cat confdefs.h >>conftest.$ac_ext
11453 @@ -20006,11 +20682,20 @@
11454  _ACEOF
11455  rm -f conftest.$ac_objext
11456  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11457 -  (eval $ac_compile) 2>&5
11458 +  (eval $ac_compile) 2>conftest.er1
11459    ac_status=$?
11460 +  grep -v '^ *+' conftest.er1 >conftest.err
11461 +  rm -f conftest.er1
11462 +  cat conftest.err >&5
11463    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464    (exit $ac_status); } &&
11465 -         { ac_try='test -s conftest.$ac_objext'
11466 +        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
11467 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11468 +  (eval $ac_try) 2>&5
11469 +  ac_status=$?
11470 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11471 +  (exit $ac_status); }; } &&
11472 +        { ac_try='test -s conftest.$ac_objext'
11473    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11474    (eval $ac_try) 2>&5
11475    ac_status=$?
11476 @@ -20023,7 +20708,7 @@
11477  
11478  ac_cv_cxx_stl=no
11479  fi
11480 -rm -f conftest.$ac_objext conftest.$ac_ext
11481 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11482  
11483  fi
11484  
11485 @@ -20062,21 +20747,28 @@
11486    echo $ECHO_N "(cached) $ECHO_C" >&6
11487  else
11488    cat >conftest.$ac_ext <<_ACEOF
11489 -#line $LINENO "configure"
11490  /* confdefs.h.  */
11491  _ACEOF
11492  cat confdefs.h >>conftest.$ac_ext
11493  cat >>conftest.$ac_ext <<_ACEOF
11494  /* end confdefs.h.  */
11495 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11496 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11497 +#define $ac_func innocuous_$ac_func
11498 +
11499  /* System header to define __stub macros and hopefully few prototypes,
11500      which can conflict with char $ac_func (); below.
11501      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11502      <limits.h> exists even on freestanding compilers.  */
11503 +
11504  #ifdef __STDC__
11505  # include <limits.h>
11506  #else
11507  # include <assert.h>
11508  #endif
11509 +
11510 +#undef $ac_func
11511 +
11512  /* Override any gcc2 internal prototype to avoid an error.  */
11513  #ifdef __cplusplus
11514  extern "C"
11515 @@ -20107,11 +20799,20 @@
11516  _ACEOF
11517  rm -f conftest.$ac_objext conftest$ac_exeext
11518  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11519 -  (eval $ac_link) 2>&5
11520 +  (eval $ac_link) 2>conftest.er1
11521    ac_status=$?
11522 +  grep -v '^ *+' conftest.er1 >conftest.err
11523 +  rm -f conftest.er1
11524 +  cat conftest.err >&5
11525    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526    (exit $ac_status); } &&
11527 -         { ac_try='test -s conftest$ac_exeext'
11528 +        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11529 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11530 +  (eval $ac_try) 2>&5
11531 +  ac_status=$?
11532 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11533 +  (exit $ac_status); }; } &&
11534 +        { ac_try='test -s conftest$ac_exeext'
11535    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11536    (eval $ac_try) 2>&5
11537    ac_status=$?
11538 @@ -20124,7 +20825,8 @@
11539  
11540  eval "$as_ac_var=no"
11541  fi
11542 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11543 +rm -f conftest.err conftest.$ac_objext \
11544 +      conftest$ac_exeext conftest.$ac_ext
11545  fi
11546  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11547  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11548 @@ -20261,13 +20963,13 @@
11549        # `set' does not quote correctly, so add quotes (double-quote
11550        # substitution turns \\\\ into \\, and sed turns \\ into \).
11551        sed -n \
11552 -        "s/'/'\\\\''/g;
11553 -         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11554 +       "s/'/'\\\\''/g;
11555 +         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11556        ;;
11557      *)
11558        # `set' quotes correctly as required by POSIX, so do not add quotes.
11559        sed -n \
11560 -        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11561 +       "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11562        ;;
11563      esac;
11564  } |
11565 @@ -20297,13 +20999,13 @@
11566  # trailing colons and then remove the whole line if VPATH becomes empty
11567  # (actually we leave an empty line to preserve line numbers).
11568  if test "x$srcdir" = x.; then
11569 -  ac_vpsub='/^[        ]*VPATH[        ]*=/{
11570 +  ac_vpsub='/^[         ]*VPATH[        ]*=/{
11571  s/:*\$(srcdir):*/:/;
11572  s/:*\${srcdir}:*/:/;
11573  s/:*@srcdir@:*/:/;
11574 -s/^\([^=]*=[   ]*\):*/\1/;
11575 +s/^\([^=]*=[    ]*\):*/\1/;
11576  s/:*$//;
11577 -s/^[^=]*=[     ]*$//;
11578 +s/^[^=]*=[      ]*$//;
11579  }'
11580  fi
11581  
11582 @@ -20314,7 +21016,7 @@
11583  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11584    # 1. Remove the extension, and $U if already installed.
11585    ac_i=`echo "$ac_i" |
11586 -         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11587 +        sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11588    # 2. Add them.
11589    ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11590    ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11591 @@ -20324,27 +21026,6 @@
11592  LTLIBOBJS=$ac_ltlibobjs
11593  
11594  
11595 -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11596 -  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11597 -Usually this means the macro was only invoked conditionally." >&5
11598 -echo "$as_me: error: conditional \"AMDEP\" was never defined.
11599 -Usually this means the macro was only invoked conditionally." >&2;}
11600 -   { (exit 1); exit 1; }; }
11601 -fi
11602 -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11603 -  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11604 -Usually this means the macro was only invoked conditionally." >&5
11605 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11606 -Usually this means the macro was only invoked conditionally." >&2;}
11607 -   { (exit 1); exit 1; }; }
11608 -fi
11609 -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
11610 -  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
11611 -Usually this means the macro was only invoked conditionally." >&5
11612 -echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
11613 -Usually this means the macro was only invoked conditionally." >&2;}
11614 -   { (exit 1); exit 1; }; }
11615 -fi
11616  
11617  : ${CONFIG_STATUS=./config.status}
11618  ac_clean_files_save=$ac_clean_files
11619 @@ -20379,9 +21060,10 @@
11620  elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11621    set -o posix
11622  fi
11623 +DUALCASE=1; export DUALCASE # for MKS sh
11624  
11625  # Support unset when possible.
11626 -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
11627 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11628    as_unset=unset
11629  else
11630    as_unset=false
11631 @@ -20400,7 +21082,7 @@
11632    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11633    LC_TELEPHONE LC_TIME
11634  do
11635 -  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
11636 +  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11637      eval $as_var=C; export $as_var
11638    else
11639      $as_unset $as_var
11640 @@ -20579,16 +21261,17 @@
11641  if mkdir -p . 2>/dev/null; then
11642    as_mkdir_p=:
11643  else
11644 +  test -d ./-p && rmdir ./-p
11645    as_mkdir_p=false
11646  fi
11647  
11648  as_executable_p="test -f"
11649  
11650  # Sed expression to map a string onto a valid CPP name.
11651 -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
11652 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11653  
11654  # Sed expression to map a string onto a valid variable name.
11655 -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
11656 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11657  
11658  
11659  # IFS
11660 @@ -20615,7 +21298,7 @@
11661  cat >&5 <<_CSEOF
11662  
11663  This file was extended by $as_me, which was
11664 -generated by GNU Autoconf 2.57.  Invocation command line was
11665 +generated by GNU Autoconf 2.59.  Invocation command line was
11666  
11667    CONFIG_FILES    = $CONFIG_FILES
11668    CONFIG_HEADERS  = $CONFIG_HEADERS
11669 @@ -20659,9 +21342,9 @@
11670    -d, --debug      don't remove temporary files
11671        --recheck    update $as_me by reconfiguring in the same conditions
11672    --file=FILE[:TEMPLATE]
11673 -                   instantiate the configuration file FILE
11674 +                  instantiate the configuration file FILE
11675    --header=FILE[:TEMPLATE]
11676 -                   instantiate the configuration header FILE
11677 +                  instantiate the configuration header FILE
11678  
11679  Configuration files:
11680  $config_files
11681 @@ -20678,11 +21361,10 @@
11682  cat >>$CONFIG_STATUS <<_ACEOF
11683  ac_cs_version="\\
11684  config.status
11685 -configured by $0, generated by GNU Autoconf 2.57,
11686 +configured by $0, generated by GNU Autoconf 2.59,
11687    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11688  
11689 -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
11690 -Free Software Foundation, Inc.
11691 +Copyright (C) 2003 Free Software Foundation, Inc.
11692  This config.status script is free software; the Free Software Foundation
11693  gives unlimited permission to copy, distribute and modify it."
11694  srcdir=$srcdir
11695 @@ -20777,7 +21459,7 @@
11696  # INIT-COMMANDS section.
11697  #
11698  
11699 -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11700 +
11701  
11702  _ACEOF
11703  
11704 @@ -20797,7 +21479,7 @@
11705    "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
11706    "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
11707    "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
11708 -  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11709 +  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
11710    "sigcxconfig.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS sigcxconfig.h" ;;
11711    "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11712    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11713 @@ -20888,7 +21570,6 @@
11714  s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11715  s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11716  s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11717 -s,@CYGPATH_W@,$CYGPATH_W,;t t
11718  s,@PACKAGE@,$PACKAGE,;t t
11719  s,@VERSION@,$VERSION,;t t
11720  s,@ACLOCAL@,$ACLOCAL,;t t
11721 @@ -20896,14 +21577,7 @@
11722  s,@AUTOMAKE@,$AUTOMAKE,;t t
11723  s,@AUTOHEADER@,$AUTOHEADER,;t t
11724  s,@MAKEINFO@,$MAKEINFO,;t t
11725 -s,@AMTAR@,$AMTAR,;t t
11726 -s,@install_sh@,$install_sh,;t t
11727 -s,@STRIP@,$STRIP,;t t
11728 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11729 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
11730 -s,@AWK@,$AWK,;t t
11731  s,@SET_MAKE@,$SET_MAKE,;t t
11732 -s,@am__leading_dot@,$am__leading_dot,;t t
11733  s,@ISODATE@,$ISODATE,;t t
11734  s,@build@,$build,;t t
11735  s,@build_cpu@,$build_cpu,;t t
11736 @@ -20921,21 +21595,9 @@
11737  s,@ac_ct_CC@,$ac_ct_CC,;t t
11738  s,@EXEEXT@,$EXEEXT,;t t
11739  s,@OBJEXT@,$OBJEXT,;t t
11740 -s,@DEPDIR@,$DEPDIR,;t t
11741 -s,@am__include@,$am__include,;t t
11742 -s,@am__quote@,$am__quote,;t t
11743 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
11744 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
11745 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
11746 -s,@CCDEPMODE@,$CCDEPMODE,;t t
11747 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
11748 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
11749  s,@CXX@,$CXX,;t t
11750  s,@CXXFLAGS@,$CXXFLAGS,;t t
11751  s,@ac_ct_CXX@,$ac_ct_CXX,;t t
11752 -s,@CXXDEPMODE@,$CXXDEPMODE,;t t
11753 -s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
11754 -s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
11755  s,@EGREP@,$EGREP,;t t
11756  s,@LN_S@,$LN_S,;t t
11757  s,@ECHO@,$ECHO,;t t
11758 @@ -20943,6 +21605,8 @@
11759  s,@ac_ct_AR@,$ac_ct_AR,;t t
11760  s,@RANLIB@,$RANLIB,;t t
11761  s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11762 +s,@STRIP@,$STRIP,;t t
11763 +s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11764  s,@CPP@,$CPP,;t t
11765  s,@CXXCPP@,$CXXCPP,;t t
11766  s,@F77@,$F77,;t t
11767 @@ -20952,8 +21616,10 @@
11768  s,@SIGCX_BRANCH@,$SIGCX_BRANCH,;t t
11769  s,@SIGCX_DEVBRANCH@,$SIGCX_DEVBRANCH,;t t
11770  s,@PKG_CONFIG@,$PKG_CONFIG,;t t
11771 +s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
11772  s,@SIGC_CFLAGS@,$SIGC_CFLAGS,;t t
11773  s,@SIGC_LIBS@,$SIGC_LIBS,;t t
11774 +s,@SIGC_MACROS@,$SIGC_MACROS,;t t
11775  s,@PTHREAD_CFLAGS@,$PTHREAD_CFLAGS,;t t
11776  s,@PTHREAD_LIBS@,$PTHREAD_LIBS,;t t
11777  s,@GTHREAD_CFLAGS@,$GTHREAD_CFLAGS,;t t
11778 @@ -20998,9 +21664,9 @@
11779        (echo ':t
11780    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
11781        if test -z "$ac_sed_cmds"; then
11782 -       ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11783 +       ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11784        else
11785 -       ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11786 +       ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11787        fi
11788        ac_sed_frag=`expr $ac_sed_frag + 1`
11789        ac_beg=$ac_end
11790 @@ -21018,21 +21684,21 @@
11791    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11792    case $ac_file in
11793    - | *:- | *:-:* ) # input from stdin
11794 -        cat >$tmp/stdin
11795 -        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11796 -        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11797 +       cat >$tmp/stdin
11798 +       ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11799 +       ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11800    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11801 -        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11802 +       ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11803    * )   ac_file_in=$ac_file.in ;;
11804    esac
11805  
11806    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11807    ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11808  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11809 -         X"$ac_file" : 'X\(//\)[^/]' \| \
11810 -         X"$ac_file" : 'X\(//\)$' \| \
11811 -         X"$ac_file" : 'X\(/\)' \| \
11812 -         .     : '\(.\)' 2>/dev/null ||
11813 +        X"$ac_file" : 'X\(//\)[^/]' \| \
11814 +        X"$ac_file" : 'X\(//\)$' \| \
11815 +        X"$ac_file" : 'X\(/\)' \| \
11816 +        .     : '\(.\)' 2>/dev/null ||
11817  echo X"$ac_file" |
11818      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11819           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11820 @@ -21048,10 +21714,10 @@
11821        as_dirs="$as_dir $as_dirs"
11822        as_dir=`(dirname "$as_dir") 2>/dev/null ||
11823  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11824 -         X"$as_dir" : 'X\(//\)[^/]' \| \
11825 -         X"$as_dir" : 'X\(//\)$' \| \
11826 -         X"$as_dir" : 'X\(/\)' \| \
11827 -         .     : '\(.\)' 2>/dev/null ||
11828 +        X"$as_dir" : 'X\(//\)[^/]' \| \
11829 +        X"$as_dir" : 'X\(//\)$' \| \
11830 +        X"$as_dir" : 'X\(/\)' \| \
11831 +        .     : '\(.\)' 2>/dev/null ||
11832  echo X"$as_dir" |
11833      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11834           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11835 @@ -21089,12 +21755,45 @@
11836      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11837      ac_top_srcdir=$ac_top_builddir$srcdir ;;
11838  esac
11839 -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
11840 -# absolute.
11841 -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
11842 -ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
11843 -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
11844 -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
11845 +
11846 +# Do not use `cd foo && pwd` to compute absolute paths, because
11847 +# the directories may not exist.
11848 +case `pwd` in
11849 +.) ac_abs_builddir="$ac_dir";;
11850 +*)
11851 +  case "$ac_dir" in
11852 +  .) ac_abs_builddir=`pwd`;;
11853 +  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11854 +  *) ac_abs_builddir=`pwd`/"$ac_dir";;
11855 +  esac;;
11856 +esac
11857 +case $ac_abs_builddir in
11858 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
11859 +*)
11860 +  case ${ac_top_builddir}. in
11861 +  .) ac_abs_top_builddir=$ac_abs_builddir;;
11862 +  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11863 +  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11864 +  esac;;
11865 +esac
11866 +case $ac_abs_builddir in
11867 +.) ac_abs_srcdir=$ac_srcdir;;
11868 +*)
11869 +  case $ac_srcdir in
11870 +  .) ac_abs_srcdir=$ac_abs_builddir;;
11871 +  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11872 +  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11873 +  esac;;
11874 +esac
11875 +case $ac_abs_builddir in
11876 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
11877 +*)
11878 +  case $ac_top_srcdir in
11879 +  .) ac_abs_top_srcdir=$ac_abs_builddir;;
11880 +  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11881 +  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11882 +  esac;;
11883 +esac
11884  
11885  
11886    case $INSTALL in
11887 @@ -21102,11 +21801,6 @@
11888    *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
11889    esac
11890  
11891 -  if test x"$ac_file" != x-; then
11892 -    { echo "$as_me:$LINENO: creating $ac_file" >&5
11893 -echo "$as_me: creating $ac_file" >&6;}
11894 -    rm -f "$ac_file"
11895 -  fi
11896    # Let's still pretend it is `configure' which instantiates (i.e., don't
11897    # use $as_me), people would be surprised to read:
11898    #    /* config.h.  Generated by config.status.  */
11899 @@ -21116,7 +21810,7 @@
11900      configure_input="$ac_file.  "
11901    fi
11902    configure_input=$configure_input"Generated from `echo $ac_file_in |
11903 -                                     sed 's,.*/,,'` by configure."
11904 +                                    sed 's,.*/,,'` by configure."
11905  
11906    # First look for the input files in the build tree, otherwise in the
11907    # src tree.
11908 @@ -21125,26 +21819,32 @@
11909        case $f in
11910        -) echo $tmp/stdin ;;
11911        [\\/$]*)
11912 -         # Absolute (can't be DOS-style, as IFS=:)
11913 -         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11914 +        # Absolute (can't be DOS-style, as IFS=:)
11915 +        test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11916  echo "$as_me: error: cannot find input file: $f" >&2;}
11917     { (exit 1); exit 1; }; }
11918 -         echo $f;;
11919 +        echo "$f";;
11920        *) # Relative
11921 -         if test -f "$f"; then
11922 -           # Build tree
11923 -           echo $f
11924 -         elif test -f "$srcdir/$f"; then
11925 -           # Source tree
11926 -           echo $srcdir/$f
11927 -         else
11928 -           # /dev/null tree
11929 -           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11930 +        if test -f "$f"; then
11931 +          # Build tree
11932 +          echo "$f"
11933 +        elif test -f "$srcdir/$f"; then
11934 +          # Source tree
11935 +          echo "$srcdir/$f"
11936 +        else
11937 +          # /dev/null tree
11938 +          { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11939  echo "$as_me: error: cannot find input file: $f" >&2;}
11940     { (exit 1); exit 1; }; }
11941 -         fi;;
11942 +        fi;;
11943        esac
11944      done` || { (exit 1); exit 1; }
11945 +
11946 +  if test x"$ac_file" != x-; then
11947 +    { echo "$as_me:$LINENO: creating $ac_file" >&5
11948 +echo "$as_me: creating $ac_file" >&6;}
11949 +    rm -f "$ac_file"
11950 +  fi
11951  _ACEOF
11952  cat >>$CONFIG_STATUS <<_ACEOF
11953    sed "$ac_vpsub
11954 @@ -21184,12 +21884,12 @@
11955  # NAME is the cpp macro being defined and VALUE is the value it is being given.
11956  #
11957  # ac_d sets the value in "#define NAME VALUE" lines.
11958 -ac_dA='s,^\([  ]*\)#\([        ]*define[       ][      ]*\)'
11959 -ac_dB='[       ].*$,\1#\2'
11960 +ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
11961 +ac_dB='[        ].*$,\1#\2'
11962  ac_dC=' '
11963  ac_dD=',;t'
11964  # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11965 -ac_uA='s,^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
11966 +ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
11967  ac_uB='$,\1#\2define\3'
11968  ac_uC=' '
11969  ac_uD=',;t'
11970 @@ -21198,11 +21898,11 @@
11971    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11972    case $ac_file in
11973    - | *:- | *:-:* ) # input from stdin
11974 -        cat >$tmp/stdin
11975 -        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11976 -        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11977 +       cat >$tmp/stdin
11978 +       ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11979 +       ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11980    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11981 -        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11982 +       ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11983    * )   ac_file_in=$ac_file.in ;;
11984    esac
11985  
11986 @@ -21216,28 +21916,29 @@
11987        case $f in
11988        -) echo $tmp/stdin ;;
11989        [\\/$]*)
11990 -         # Absolute (can't be DOS-style, as IFS=:)
11991 -         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11992 +        # Absolute (can't be DOS-style, as IFS=:)
11993 +        test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11994  echo "$as_me: error: cannot find input file: $f" >&2;}
11995     { (exit 1); exit 1; }; }
11996 -         echo $f;;
11997 +        # Do quote $f, to prevent DOS paths from being IFS'd.
11998 +        echo "$f";;
11999        *) # Relative
12000 -         if test -f "$f"; then
12001 -           # Build tree
12002 -           echo $f
12003 -         elif test -f "$srcdir/$f"; then
12004 -           # Source tree
12005 -           echo $srcdir/$f
12006 -         else
12007 -           # /dev/null tree
12008 -           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12009 +        if test -f "$f"; then
12010 +          # Build tree
12011 +          echo "$f"
12012 +        elif test -f "$srcdir/$f"; then
12013 +          # Source tree
12014 +          echo "$srcdir/$f"
12015 +        else
12016 +          # /dev/null tree
12017 +          { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12018  echo "$as_me: error: cannot find input file: $f" >&2;}
12019     { (exit 1); exit 1; }; }
12020 -         fi;;
12021 +        fi;;
12022        esac
12023      done` || { (exit 1); exit 1; }
12024    # Remove the trailing spaces.
12025 -  sed 's/[     ]*$//' $ac_file_inputs >$tmp/in
12026 +  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
12027  
12028  _ACEOF
12029  
12030 @@ -21260,9 +21961,9 @@
12031  s,[\\$`],\\&,g
12032  t clear
12033  : clear
12034 -s,^[   ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12035 +s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12036  t end
12037 -s,^[   ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12038 +s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12039  : end
12040  _ACEOF
12041  # If some macros were called several times there might be several times
12042 @@ -21276,13 +21977,13 @@
12043  # example, in the case of _POSIX_SOURCE, which is predefined and required
12044  # on some systems where configure will not decide to define it.
12045  cat >>conftest.undefs <<\_ACEOF
12046 -s,^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12047 +s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12048  _ACEOF
12049  
12050  # Break up conftest.defines because some shells have a limit on the size
12051  # of here documents, and old seds have small limits too (100 cmds).
12052  echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12053 -echo '  if grep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12054 +echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12055  echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12056  echo '  :' >>$CONFIG_STATUS
12057  rm -f conftest.tail
12058 @@ -21291,7 +21992,7 @@
12059    # Write a limited-size here document to $tmp/defines.sed.
12060    echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12061    # Speed up: don't consider the non `#define' lines.
12062 -  echo '/^[    ]*#[    ]*define/!b' >>$CONFIG_STATUS
12063 +  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
12064    # Work around the forget-to-reset-the-flag bug.
12065    echo 't clr' >>$CONFIG_STATUS
12066    echo ': clr' >>$CONFIG_STATUS
12067 @@ -21318,7 +22019,7 @@
12068    # Write a limited-size here document to $tmp/undefs.sed.
12069    echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12070    # Speed up: don't consider the non `#undef'
12071 -  echo '/^[    ]*#[    ]*undef/!b' >>$CONFIG_STATUS
12072 +  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
12073    # Work around the forget-to-reset-the-flag bug.
12074    echo 't clr' >>$CONFIG_STATUS
12075    echo ': clr' >>$CONFIG_STATUS
12076 @@ -21352,10 +22053,10 @@
12077      else
12078        ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12079  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12080 -         X"$ac_file" : 'X\(//\)[^/]' \| \
12081 -         X"$ac_file" : 'X\(//\)$' \| \
12082 -         X"$ac_file" : 'X\(/\)' \| \
12083 -         .     : '\(.\)' 2>/dev/null ||
12084 +        X"$ac_file" : 'X\(//\)[^/]' \| \
12085 +        X"$ac_file" : 'X\(//\)$' \| \
12086 +        X"$ac_file" : 'X\(/\)' \| \
12087 +        .     : '\(.\)' 2>/dev/null ||
12088  echo X"$ac_file" |
12089      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12090           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12091 @@ -21371,10 +22072,10 @@
12092        as_dirs="$as_dir $as_dirs"
12093        as_dir=`(dirname "$as_dir") 2>/dev/null ||
12094  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12095 -         X"$as_dir" : 'X\(//\)[^/]' \| \
12096 -         X"$as_dir" : 'X\(//\)$' \| \
12097 -         X"$as_dir" : 'X\(/\)' \| \
12098 -         .     : '\(.\)' 2>/dev/null ||
12099 +        X"$as_dir" : 'X\(//\)[^/]' \| \
12100 +        X"$as_dir" : 'X\(//\)$' \| \
12101 +        X"$as_dir" : 'X\(/\)' \| \
12102 +        .     : '\(.\)' 2>/dev/null ||
12103  echo X"$as_dir" |
12104      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12105           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12106 @@ -21394,28 +22095,6 @@
12107      cat $tmp/config.h
12108      rm -f $tmp/config.h
12109    fi
12110 -# Compute $ac_file's index in $config_headers.
12111 -_am_stamp_count=1
12112 -for _am_header in $config_headers :; do
12113 -  case $_am_header in
12114 -    $ac_file | $ac_file:* )
12115 -      break ;;
12116 -    * )
12117 -      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12118 -  esac
12119 -done
12120 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12121 -$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12122 -         X$ac_file : 'X\(//\)[^/]' \| \
12123 -         X$ac_file : 'X\(//\)$' \| \
12124 -         X$ac_file : 'X\(/\)' \| \
12125 -         .     : '\(.\)' 2>/dev/null ||
12126 -echo X$ac_file |
12127 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12128 -         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12129 -         /^X\(\/\/\)$/{ s//\1/; q; }
12130 -         /^X\(\/\).*/{ s//\1/; q; }
12131 -         s/.*/./; q'`/stamp-h$_am_stamp_count
12132  done
12133  _ACEOF
12134  cat >>$CONFIG_STATUS <<\_ACEOF
12135 @@ -21428,16 +22107,41 @@
12136    ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
12137    ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
12138  $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12139 -         X"$ac_dest" : 'X\(//\)[^/]' \| \
12140 -         X"$ac_dest" : 'X\(//\)$' \| \
12141 -         X"$ac_dest" : 'X\(/\)' \| \
12142 -         .     : '\(.\)' 2>/dev/null ||
12143 +        X"$ac_dest" : 'X\(//\)[^/]' \| \
12144 +        X"$ac_dest" : 'X\(//\)$' \| \
12145 +        X"$ac_dest" : 'X\(/\)' \| \
12146 +        .     : '\(.\)' 2>/dev/null ||
12147  echo X"$ac_dest" |
12148      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12149           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12150           /^X\(\/\/\)$/{ s//\1/; q; }
12151           /^X\(\/\).*/{ s//\1/; q; }
12152           s/.*/./; q'`
12153 +  { if $as_mkdir_p; then
12154 +    mkdir -p "$ac_dir"
12155 +  else
12156 +    as_dir="$ac_dir"
12157 +    as_dirs=
12158 +    while test ! -d "$as_dir"; do
12159 +      as_dirs="$as_dir $as_dirs"
12160 +      as_dir=`(dirname "$as_dir") 2>/dev/null ||
12161 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12162 +        X"$as_dir" : 'X\(//\)[^/]' \| \
12163 +        X"$as_dir" : 'X\(//\)$' \| \
12164 +        X"$as_dir" : 'X\(/\)' \| \
12165 +        .     : '\(.\)' 2>/dev/null ||
12166 +echo X"$as_dir" |
12167 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12168 +         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12169 +         /^X\(\/\/\)$/{ s//\1/; q; }
12170 +         /^X\(\/\).*/{ s//\1/; q; }
12171 +         s/.*/./; q'`
12172 +    done
12173 +    test ! -n "$as_dirs" || mkdir $as_dirs
12174 +  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12175 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12176 +   { (exit 1); exit 1; }; }; }
12177 +
12178    ac_builddir=.
12179  
12180  if test "$ac_dir" != .; then
12181 @@ -21463,108 +22167,51 @@
12182      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12183      ac_top_srcdir=$ac_top_builddir$srcdir ;;
12184  esac
12185 -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
12186 -# absolute.
12187 -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
12188 -ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
12189 -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
12190 -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
12191 +
12192 +# Do not use `cd foo && pwd` to compute absolute paths, because
12193 +# the directories may not exist.
12194 +case `pwd` in
12195 +.) ac_abs_builddir="$ac_dir";;
12196 +*)
12197 +  case "$ac_dir" in
12198 +  .) ac_abs_builddir=`pwd`;;
12199 +  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12200 +  *) ac_abs_builddir=`pwd`/"$ac_dir";;
12201 +  esac;;
12202 +esac
12203 +case $ac_abs_builddir in
12204 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
12205 +*)
12206 +  case ${ac_top_builddir}. in
12207 +  .) ac_abs_top_builddir=$ac_abs_builddir;;
12208 +  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12209 +  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12210 +  esac;;
12211 +esac
12212 +case $ac_abs_builddir in
12213 +.) ac_abs_srcdir=$ac_srcdir;;
12214 +*)
12215 +  case $ac_srcdir in
12216 +  .) ac_abs_srcdir=$ac_abs_builddir;;
12217 +  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12218 +  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12219 +  esac;;
12220 +esac
12221 +case $ac_abs_builddir in
12222 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
12223 +*)
12224 +  case $ac_top_srcdir in
12225 +  .) ac_abs_top_srcdir=$ac_abs_builddir;;
12226 +  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12227 +  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12228 +  esac;;
12229 +esac
12230  
12231  
12232    { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12233  echo "$as_me: executing $ac_dest commands" >&6;}
12234    case $ac_dest in
12235 -    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
12236 -  # Strip MF so we end up with the name of the file.
12237 -  mf=`echo "$mf" | sed -e 's/:.*$//'`
12238 -  # Check whether this is an Automake generated Makefile or not.
12239 -  # We used to match only the files named `Makefile.in', but
12240 -  # some people rename them; so instead we look at the file content.
12241 -  # Grep'ing the first line is not enough: some people post-process
12242 -  # each Makefile.in and add a new line on top of each file to say so.
12243 -  # So let's grep whole file.
12244 -  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
12245 -    dirpart=`(dirname "$mf") 2>/dev/null ||
12246 -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12247 -         X"$mf" : 'X\(//\)[^/]' \| \
12248 -         X"$mf" : 'X\(//\)$' \| \
12249 -         X"$mf" : 'X\(/\)' \| \
12250 -         .     : '\(.\)' 2>/dev/null ||
12251 -echo X"$mf" |
12252 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12253 -         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12254 -         /^X\(\/\/\)$/{ s//\1/; q; }
12255 -         /^X\(\/\).*/{ s//\1/; q; }
12256 -         s/.*/./; q'`
12257 -  else
12258 -    continue
12259 -  fi
12260 -  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
12261 -  # Extract the definition of DEP_FILES from the Makefile without
12262 -  # running `make'.
12263 -  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
12264 -  test -z "$DEPDIR" && continue
12265 -  # When using ansi2knr, U may be empty or an underscore; expand it
12266 -  U=`sed -n -e '/^U = / s///p' < "$mf"`
12267 -  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
12268 -  # We invoke sed twice because it is the simplest approach to
12269 -  # changing $(DEPDIR) to its actual value in the expansion.
12270 -  for file in `sed -n -e '
12271 -    /^DEP_FILES = .*\\\\$/ {
12272 -      s/^DEP_FILES = //
12273 -      :loop
12274 -       s/\\\\$//
12275 -       p
12276 -       n
12277 -       /\\\\$/ b loop
12278 -      p
12279 -    }
12280 -    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
12281 -       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12282 -    # Make sure the directory exists.
12283 -    test -f "$dirpart/$file" && continue
12284 -    fdir=`(dirname "$file") 2>/dev/null ||
12285 -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12286 -         X"$file" : 'X\(//\)[^/]' \| \
12287 -         X"$file" : 'X\(//\)$' \| \
12288 -         X"$file" : 'X\(/\)' \| \
12289 -         .     : '\(.\)' 2>/dev/null ||
12290 -echo X"$file" |
12291 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12292 -         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12293 -         /^X\(\/\/\)$/{ s//\1/; q; }
12294 -         /^X\(\/\).*/{ s//\1/; q; }
12295 -         s/.*/./; q'`
12296 -    { if $as_mkdir_p; then
12297 -    mkdir -p $dirpart/$fdir
12298 -  else
12299 -    as_dir=$dirpart/$fdir
12300 -    as_dirs=
12301 -    while test ! -d "$as_dir"; do
12302 -      as_dirs="$as_dir $as_dirs"
12303 -      as_dir=`(dirname "$as_dir") 2>/dev/null ||
12304 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12305 -         X"$as_dir" : 'X\(//\)[^/]' \| \
12306 -         X"$as_dir" : 'X\(//\)$' \| \
12307 -         X"$as_dir" : 'X\(/\)' \| \
12308 -         .     : '\(.\)' 2>/dev/null ||
12309 -echo X"$as_dir" |
12310 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12311 -         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12312 -         /^X\(\/\/\)$/{ s//\1/; q; }
12313 -         /^X\(\/\).*/{ s//\1/; q; }
12314 -         s/.*/./; q'`
12315 -    done
12316 -    test ! -n "$as_dirs" || mkdir $as_dirs
12317 -  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
12318 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
12319 -   { (exit 1); exit 1; }; }; }
12320 -
12321 -    # echo "creating $dirpart/$file"
12322 -    echo '# dummy' > "$dirpart/$file"
12323 -  done
12324 -done
12325 - ;;
12326 +    default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
12327      sigcxconfig.h )
12328  
12329  ## Generate `sigcxconfig.h' in two cases
12330 diff -ruN libsigcx-0.6.4-patched/doc/Makefile.in libsigcx-0.6.4-regen/doc/Makefile.in
12331 --- libsigcx-0.6.4-patched/doc/Makefile.in      2003-06-03 10:02:57.000000000 -0700
12332 +++ libsigcx-0.6.4-regen/doc/Makefile.in        2005-05-06 21:21:32.000000000 -0700
12333 @@ -1,8 +1,6 @@
12334 -# Makefile.in generated by automake 1.7.5 from Makefile.am.
12335 -# @configure_input@
12336 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
12337  
12338 -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
12339 -# Free Software Foundation, Inc.
12340 +# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
12341  # This Makefile.in is free software; the Free Software Foundation
12342  # gives unlimited permission to copy and/or distribute it,
12343  # with or without modifications, as long as this notice is preserved.
12344 @@ -12,143 +10,102 @@
12345  # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12346  # PARTICULAR PURPOSE.
12347  
12348 -@SET_MAKE@
12349 +
12350 +SHELL = @SHELL@
12351  
12352  srcdir = @srcdir@
12353  top_srcdir = @top_srcdir@
12354  VPATH = @srcdir@
12355 +prefix = @prefix@
12356 +exec_prefix = @exec_prefix@
12357 +
12358 +bindir = @bindir@
12359 +sbindir = @sbindir@
12360 +libexecdir = @libexecdir@
12361 +datadir = @datadir@
12362 +sysconfdir = @sysconfdir@
12363 +sharedstatedir = @sharedstatedir@
12364 +localstatedir = @localstatedir@
12365 +libdir = @libdir@
12366 +infodir = @infodir@
12367 +mandir = @mandir@
12368 +includedir = @includedir@
12369 +oldincludedir = /usr/include
12370 +
12371 +DESTDIR =
12372 +
12373  pkgdatadir = $(datadir)/@PACKAGE@
12374  pkglibdir = $(libdir)/@PACKAGE@
12375  pkgincludedir = $(includedir)/@PACKAGE@
12376 +
12377  top_builddir = ..
12378  
12379 -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
12380 +ACLOCAL = @ACLOCAL@
12381 +AUTOCONF = @AUTOCONF@
12382 +AUTOMAKE = @AUTOMAKE@
12383 +AUTOHEADER = @AUTOHEADER@
12384 +
12385  INSTALL = @INSTALL@
12386 -install_sh_DATA = $(install_sh) -c -m 644
12387 -install_sh_PROGRAM = $(install_sh) -c
12388 -install_sh_SCRIPT = $(install_sh) -c
12389 -INSTALL_HEADER = $(INSTALL_DATA)
12390 -transform = $(program_transform_name)
12391 +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
12392 +INSTALL_DATA = @INSTALL_DATA@
12393 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
12394 +transform = @program_transform_name@
12395 +
12396  NORMAL_INSTALL = :
12397  PRE_INSTALL = :
12398  POST_INSTALL = :
12399  NORMAL_UNINSTALL = :
12400  PRE_UNINSTALL = :
12401  POST_UNINSTALL = :
12402 +host_alias = @host_alias@
12403  host_triplet = @host@
12404 -ACLOCAL = @ACLOCAL@
12405 -AMDEP_FALSE = @AMDEP_FALSE@
12406 -AMDEP_TRUE = @AMDEP_TRUE@
12407 -AMTAR = @AMTAR@
12408  AR = @AR@
12409 -AUTOCONF = @AUTOCONF@
12410 -AUTOHEADER = @AUTOHEADER@
12411 -AUTOMAKE = @AUTOMAKE@
12412 -AWK = @AWK@
12413 +AS = @AS@
12414  CC = @CC@
12415 -CCDEPMODE = @CCDEPMODE@
12416 -CFLAGS = @CFLAGS@
12417 -CPP = @CPP@
12418 -CPPFLAGS = @CPPFLAGS@
12419  CXX = @CXX@
12420  CXXCPP = @CXXCPP@
12421 -CXXDEPMODE = @CXXDEPMODE@
12422  CXXFLAGS = @CXXFLAGS@
12423 -CYGPATH_W = @CYGPATH_W@
12424 -DEFS = @DEFS@
12425 -DEPDIR = @DEPDIR@
12426 +DLLTOOL = @DLLTOOL@
12427  DOXYGEN = @DOXYGEN@
12428  ECHO = @ECHO@
12429 -ECHO_C = @ECHO_C@
12430 -ECHO_N = @ECHO_N@
12431 -ECHO_T = @ECHO_T@
12432  EGREP = @EGREP@
12433  EXEEXT = @EXEEXT@
12434  F77 = @F77@
12435 -FFLAGS = @FFLAGS@
12436 -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@
12437 -GTHREAD_LIBS = @GTHREAD_LIBS@
12438 +GCJ = @GCJ@
12439 +GCJFLAGS = @GCJFLAGS@
12440  GTKLIB = @GTKLIB@
12441  GTK_CFLAGS = @GTK_CFLAGS@
12442  GTK_LIBS = @GTK_LIBS@
12443 -INSTALL_DATA = @INSTALL_DATA@
12444 -INSTALL_PROGRAM = @INSTALL_PROGRAM@
12445 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
12446 -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
12447 +HAVE_LIB = @HAVE_LIB@
12448  ISODATE = @ISODATE@
12449  LDFLAGS = @LDFLAGS@
12450 -LIBOBJS = @LIBOBJS@
12451 -LIBS = @LIBS@
12452 +LIB = @LIB@
12453  LIBTOOL = @LIBTOOL@
12454  LN_S = @LN_S@
12455 -LTLIBOBJS = @LTLIBOBJS@
12456 +LTLIB = @LTLIB@
12457  M4 = @M4@
12458  MAKEINFO = @MAKEINFO@
12459  MAYBE_DOC = @MAYBE_DOC@
12460 +OBJDUMP = @OBJDUMP@
12461  OBJEXT = @OBJEXT@
12462  PACKAGE = @PACKAGE@
12463 -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
12464 -PACKAGE_NAME = @PACKAGE_NAME@
12465 -PACKAGE_STRING = @PACKAGE_STRING@
12466 -PACKAGE_TARNAME = @PACKAGE_TARNAME@
12467 -PACKAGE_VERSION = @PACKAGE_VERSION@
12468 -PATH_SEPARATOR = @PATH_SEPARATOR@
12469  PERL = @PERL@
12470  PKG_CONFIG = @PKG_CONFIG@
12471  PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
12472  PTHREAD_LIBS = @PTHREAD_LIBS@
12473  RANLIB = @RANLIB@
12474 -SET_MAKE = @SET_MAKE@
12475 -SHELL = @SHELL@
12476 +RC = @RC@
12477  SIGCX_BRANCH = @SIGCX_BRANCH@
12478  SIGCX_DEVBRANCH = @SIGCX_DEVBRANCH@
12479  SIGC_CFLAGS = @SIGC_CFLAGS@
12480  SIGC_LIBS = @SIGC_LIBS@
12481 +SIGC_MACROS = @SIGC_MACROS@
12482  STRIP = @STRIP@
12483  THREADS_USED = @THREADS_USED@
12484  THREAD_CFLAGS = @THREAD_CFLAGS@
12485  THREAD_LIBS = @THREAD_LIBS@
12486  VERSION = @VERSION@
12487 -ac_ct_AR = @ac_ct_AR@
12488 -ac_ct_CC = @ac_ct_CC@
12489 -ac_ct_CXX = @ac_ct_CXX@
12490 -ac_ct_F77 = @ac_ct_F77@
12491 -ac_ct_RANLIB = @ac_ct_RANLIB@
12492 -ac_ct_STRIP = @ac_ct_STRIP@
12493 -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
12494 -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
12495 -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
12496 -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
12497 -am__include = @am__include@
12498 -am__leading_dot = @am__leading_dot@
12499 -am__quote = @am__quote@
12500 -bindir = @bindir@
12501 -build = @build@
12502 -build_alias = @build_alias@
12503 -build_cpu = @build_cpu@
12504 -build_os = @build_os@
12505 -build_vendor = @build_vendor@
12506 -datadir = @datadir@
12507 -exec_prefix = @exec_prefix@
12508 -host = @host@
12509 -host_alias = @host_alias@
12510 -host_cpu = @host_cpu@
12511 -host_os = @host_os@
12512 -host_vendor = @host_vendor@
12513 -includedir = @includedir@
12514 -infodir = @infodir@
12515 -install_sh = @install_sh@
12516 -libdir = @libdir@
12517 -libexecdir = @libexecdir@
12518 -localstatedir = @localstatedir@
12519 -mandir = @mandir@
12520 -oldincludedir = @oldincludedir@
12521 -prefix = @prefix@
12522 -program_transform_name = @program_transform_name@
12523 -sbindir = @sbindir@
12524 -sharedstatedir = @sharedstatedir@
12525 -sysconfdir = @sysconfdir@
12526 -target_alias = @target_alias@
12527 +
12528  doc_dir = $(datadir)/doc/sigcx-@SIGCX_DEVBRANCH@
12529  
12530  stamp = doc-stamp
12531 @@ -162,17 +119,10 @@
12532  
12533  tagsdir = $(datadir)/sigcx-@SIGCX_DEVBRANCH@
12534  
12535 -docheaders = \
12536 -$(incdir)/timeval.h \
12537 -$(incdir)/dispatch.h \
12538 -$(incdir)/gtk_dispatch.h \
12539 -$(incdir)/thread.h \
12540 -$(incdir)/tunnel.h \
12541 -$(incdir)/thread_tunnel.h
12542 +docheaders =  $(incdir)/timeval.h $(incdir)/dispatch.h $(incdir)/gtk_dispatch.h $(incdir)/thread.h $(incdir)/tunnel.h $(incdir)/thread_tunnel.h
12543  
12544  
12545 -docexamples = \
12546 -$(exdir)/hello_world.cc
12547 +docexamples =  $(exdir)/hello_world.cc
12548  
12549  
12550  docdeps = doxy.conf index.doxy
12551 @@ -182,109 +132,92 @@
12552  tags_DATA = sigcx.tags
12553  
12554  EXTRA_DIST = $(docdeps)
12555 -subdir = doc
12556 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
12557  mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
12558 -CONFIG_HEADER = $(top_builddir)/config.h
12559 -CONFIG_CLEAN_FILES =
12560 -DIST_SOURCES =
12561 -DATA = $(tags_DATA)
12562 +CONFIG_HEADER = ../config.h
12563 +CONFIG_CLEAN_FILES = 
12564 +DATA =  $(tags_DATA)
12565 +
12566 +DIST_COMMON =  Makefile.am Makefile.in
12567  
12568 -DIST_COMMON = Makefile.am Makefile.in
12569 -all: all-am
12570  
12571 +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
12572 +
12573 +TAR = tar
12574 +GZIP_ENV = --best
12575 +all: all-redirect
12576  .SUFFIXES:
12577 -$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
12578 -       cd $(top_srcdir) && \
12579 -         $(AUTOMAKE) --gnu  doc/Makefile
12580 -Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
12581 -       cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
12582 +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) 
12583 +       cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps doc/Makefile
12584  
12585 -mostlyclean-libtool:
12586 -       -rm -f *.lo
12587 +Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
12588 +       cd $(top_builddir) \
12589 +         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
12590  
12591 -clean-libtool:
12592 -       -rm -rf .libs _libs
12593  
12594 -distclean-libtool:
12595 -       -rm -f libtool
12596 -uninstall-info-am:
12597 -tagsDATA_INSTALL = $(INSTALL_DATA)
12598  install-tagsDATA: $(tags_DATA)
12599         @$(NORMAL_INSTALL)
12600         $(mkinstalldirs) $(DESTDIR)$(tagsdir)
12601         @list='$(tags_DATA)'; for p in $$list; do \
12602 -         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
12603 -         f="`echo $$p | sed -e 's|^.*/||'`"; \
12604 -         echo " $(tagsDATA_INSTALL) $$d$$p $(DESTDIR)$(tagsdir)/$$f"; \
12605 -         $(tagsDATA_INSTALL) $$d$$p $(DESTDIR)$(tagsdir)/$$f; \
12606 +         if test -f $(srcdir)/$$p; then \
12607 +           echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(tagsdir)/$$p"; \
12608 +           $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(tagsdir)/$$p; \
12609 +         else if test -f $$p; then \
12610 +           echo " $(INSTALL_DATA) $$p $(DESTDIR)$(tagsdir)/$$p"; \
12611 +           $(INSTALL_DATA) $$p $(DESTDIR)$(tagsdir)/$$p; \
12612 +         fi; fi; \
12613         done
12614  
12615  uninstall-tagsDATA:
12616         @$(NORMAL_UNINSTALL)
12617 -       @list='$(tags_DATA)'; for p in $$list; do \
12618 -         f="`echo $$p | sed -e 's|^.*/||'`"; \
12619 -         echo " rm -f $(DESTDIR)$(tagsdir)/$$f"; \
12620 -         rm -f $(DESTDIR)$(tagsdir)/$$f; \
12621 +       list='$(tags_DATA)'; for p in $$list; do \
12622 +         rm -f $(DESTDIR)$(tagsdir)/$$p; \
12623         done
12624  tags: TAGS
12625  TAGS:
12626  
12627 -ctags: CTAGS
12628 -CTAGS:
12629  
12630 -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
12631 +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
12632  
12633 -top_distdir = ..
12634 -distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
12635 +subdir = doc
12636  
12637  distdir: $(DISTFILES)
12638 -       @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
12639 -       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
12640 -       list='$(DISTFILES)'; for file in $$list; do \
12641 -         case $$file in \
12642 -           $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
12643 -           $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
12644 -         esac; \
12645 -         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
12646 -         dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
12647 -         if test "$$dir" != "$$file" && test "$$dir" != "."; then \
12648 -           dir="/$$dir"; \
12649 -           $(mkinstalldirs) "$(distdir)$$dir"; \
12650 -         else \
12651 -           dir=''; \
12652 -         fi; \
12653 +       @for file in $(DISTFILES); do \
12654 +         d=$(srcdir); \
12655           if test -d $$d/$$file; then \
12656 -           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
12657 -             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
12658 -           fi; \
12659 -           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
12660 +           cp -pr $$d/$$file $(distdir)/$$file; \
12661           else \
12662             test -f $(distdir)/$$file \
12663 -           || cp -p $$d/$$file $(distdir)/$$file \
12664 -           || exit 1; \
12665 +           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
12666 +           || cp -p $$d/$$file $(distdir)/$$file || :; \
12667           fi; \
12668         done
12669 +info-am:
12670 +info: info-am
12671 +dvi-am:
12672 +dvi: dvi-am
12673  check-am: all-am
12674  check: check-am
12675 -all-am: Makefile $(DATA)
12676 -
12677 -installdirs:
12678 -       $(mkinstalldirs) $(DESTDIR)$(tagsdir)
12679 -install: install-am
12680 +installcheck-am:
12681 +installcheck: installcheck-am
12682 +install-exec-am:
12683  install-exec: install-exec-am
12684 +
12685 +install-data-am: install-tagsDATA install-data-local
12686  install-data: install-data-am
12687 -uninstall: uninstall-am
12688  
12689  install-am: all-am
12690         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
12691 -
12692 -installcheck: installcheck-am
12693 +install: install-am
12694 +uninstall-am: uninstall-tagsDATA uninstall-local
12695 +uninstall: uninstall-am
12696 +all-am: Makefile $(DATA)
12697 +all-redirect: all-am
12698  install-strip:
12699 -       $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
12700 -         INSTALL_STRIP_FLAG=-s \
12701 -         `test -z '$(STRIP)' || \
12702 -           echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
12703 +       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
12704 +installdirs:
12705 +       $(mkinstalldirs)  $(DESTDIR)$(tagsdir)
12706 +
12707 +
12708  mostlyclean-generic:
12709  
12710  clean-generic:
12711 @@ -292,65 +225,35 @@
12712  
12713  distclean-generic:
12714         -rm -f Makefile $(CONFIG_CLEAN_FILES)
12715 +       -rm -f config.cache config.log stamp-h stamp-h[0-9]*
12716  
12717  maintainer-clean-generic:
12718 -       @echo "This command is intended for maintainers to use"
12719 -       @echo "it deletes files that may require special tools to rebuild."
12720 -clean: clean-am
12721 -
12722 -clean-am: clean-generic clean-libtool clean-local mostlyclean-am
12723 -
12724 -distclean: distclean-am
12725 -
12726 -distclean-am: clean-am distclean-generic distclean-libtool
12727 -
12728 -dvi: dvi-am
12729 -
12730 -dvi-am:
12731 -
12732 -info: info-am
12733 -
12734 -info-am:
12735 -
12736 -install-data-am: install-data-local install-tagsDATA
12737 -
12738 -install-exec-am:
12739 -
12740 -install-info: install-info-am
12741 -
12742 -install-man:
12743 -
12744 -installcheck-am:
12745 -
12746 -maintainer-clean: maintainer-clean-am
12747 -
12748 -maintainer-clean-am: distclean-am maintainer-clean-generic \
12749 -       maintainer-clean-local
12750 +mostlyclean-am:  mostlyclean-generic
12751  
12752  mostlyclean: mostlyclean-am
12753  
12754 -mostlyclean-am: mostlyclean-generic mostlyclean-libtool
12755 +clean-am:  clean-generic mostlyclean-am clean-local
12756  
12757 -pdf: pdf-am
12758 +clean: clean-am
12759  
12760 -pdf-am:
12761 +distclean-am:  distclean-generic clean-am
12762 +       -rm -f libtool
12763  
12764 -ps: ps-am
12765 +distclean: distclean-am
12766  
12767 -ps-am:
12768 +maintainer-clean-am:  maintainer-clean-generic distclean-am \
12769 +               maintainer-clean-local
12770 +       @echo "This command is intended for maintainers to use;"
12771 +       @echo "it deletes files that may require special tools to rebuild."
12772  
12773 -uninstall-am: uninstall-info-am uninstall-local uninstall-tagsDATA
12774 +maintainer-clean: maintainer-clean-am
12775  
12776 -.PHONY: all all-am check check-am clean clean-generic clean-libtool \
12777 -       clean-local distclean distclean-generic distclean-libtool \
12778 -       distdir dvi dvi-am info info-am install install-am install-data \
12779 -       install-data-am install-data-local install-exec install-exec-am \
12780 -       install-info install-info-am install-man install-strip \
12781 -       install-tagsDATA installcheck installcheck-am installdirs \
12782 -       maintainer-clean maintainer-clean-generic \
12783 -       maintainer-clean-local mostlyclean mostlyclean-generic \
12784 -       mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
12785 -       uninstall-info-am uninstall-local uninstall-tagsDATA
12786 +.PHONY: uninstall-tagsDATA install-tagsDATA tags distdir info-am info \
12787 +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
12788 +install-exec install-data-local install-data-am install-data install-am \
12789 +install uninstall-local uninstall-am uninstall all-redirect all-am all \
12790 +installdirs mostlyclean-generic distclean-generic clean-generic \
12791 +maintainer-clean-generic clean mostlyclean distclean maintainer-clean
12792  
12793  
12794  clean-local:
12795 @@ -391,6 +294,7 @@
12796  
12797  maintainer-clean-local:
12798         rm -f $(stamp) $(doc_local_files)
12799 +
12800  # Tell versions [3.59,3.63) of GNU make to not export all variables.
12801  # Otherwise a system limit (for SysV at least) may be exceeded.
12802  .NOEXPORT:
12803 diff -ruN libsigcx-0.6.4-patched/examples/Makefile.in libsigcx-0.6.4-regen/examples/Makefile.in
12804 --- libsigcx-0.6.4-patched/examples/Makefile.in 2003-06-03 10:02:54.000000000 -0700
12805 +++ libsigcx-0.6.4-regen/examples/Makefile.in   2005-05-06 21:21:31.000000000 -0700
12806 @@ -1,8 +1,6 @@
12807 -# Makefile.in generated by automake 1.7.5 from Makefile.am.
12808 -# @configure_input@
12809 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
12810  
12811 -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
12812 -# Free Software Foundation, Inc.
12813 +# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
12814  # This Makefile.in is free software; the Free Software Foundation
12815  # gives unlimited permission to copy and/or distribute it,
12816  # with or without modifications, as long as this notice is preserved.
12817 @@ -12,143 +10,102 @@
12818  # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12819  # PARTICULAR PURPOSE.
12820  
12821 -@SET_MAKE@
12822 +
12823 +SHELL = @SHELL@
12824  
12825  srcdir = @srcdir@
12826  top_srcdir = @top_srcdir@
12827  VPATH = @srcdir@
12828 +prefix = @prefix@
12829 +exec_prefix = @exec_prefix@
12830 +
12831 +bindir = @bindir@
12832 +sbindir = @sbindir@
12833 +libexecdir = @libexecdir@
12834 +datadir = @datadir@
12835 +sysconfdir = @sysconfdir@
12836 +sharedstatedir = @sharedstatedir@
12837 +localstatedir = @localstatedir@
12838 +libdir = @libdir@
12839 +infodir = @infodir@
12840 +mandir = @mandir@
12841 +includedir = @includedir@
12842 +oldincludedir = /usr/include
12843 +
12844 +DESTDIR =
12845 +
12846  pkgdatadir = $(datadir)/@PACKAGE@
12847  pkglibdir = $(libdir)/@PACKAGE@
12848  pkgincludedir = $(includedir)/@PACKAGE@
12849 +
12850  top_builddir = ..
12851  
12852 -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
12853 +ACLOCAL = @ACLOCAL@
12854 +AUTOCONF = @AUTOCONF@
12855 +AUTOMAKE = @AUTOMAKE@
12856 +AUTOHEADER = @AUTOHEADER@
12857 +
12858  INSTALL = @INSTALL@
12859 -install_sh_DATA = $(install_sh) -c -m 644
12860 -install_sh_PROGRAM = $(install_sh) -c
12861 -install_sh_SCRIPT = $(install_sh) -c
12862 -INSTALL_HEADER = $(INSTALL_DATA)
12863 -transform = $(program_transform_name)
12864 +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
12865 +INSTALL_DATA = @INSTALL_DATA@
12866 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
12867 +transform = @program_transform_name@
12868 +
12869  NORMAL_INSTALL = :
12870  PRE_INSTALL = :
12871  POST_INSTALL = :
12872  NORMAL_UNINSTALL = :
12873  PRE_UNINSTALL = :
12874  POST_UNINSTALL = :
12875 +host_alias = @host_alias@
12876  host_triplet = @host@
12877 -ACLOCAL = @ACLOCAL@
12878 -AMDEP_FALSE = @AMDEP_FALSE@
12879 -AMDEP_TRUE = @AMDEP_TRUE@
12880 -AMTAR = @AMTAR@
12881  AR = @AR@
12882 -AUTOCONF = @AUTOCONF@
12883 -AUTOHEADER = @AUTOHEADER@
12884 -AUTOMAKE = @AUTOMAKE@
12885 -AWK = @AWK@
12886 +AS = @AS@
12887  CC = @CC@
12888 -CCDEPMODE = @CCDEPMODE@
12889 -CFLAGS = @CFLAGS@
12890 -CPP = @CPP@
12891 -CPPFLAGS = @CPPFLAGS@
12892  CXX = @CXX@
12893  CXXCPP = @CXXCPP@
12894 -CXXDEPMODE = @CXXDEPMODE@
12895  CXXFLAGS = @CXXFLAGS@
12896 -CYGPATH_W = @CYGPATH_W@
12897 -DEFS = @DEFS@
12898 -DEPDIR = @DEPDIR@
12899 +DLLTOOL = @DLLTOOL@
12900  DOXYGEN = @DOXYGEN@
12901  ECHO = @ECHO@
12902 -ECHO_C = @ECHO_C@
12903 -ECHO_N = @ECHO_N@
12904 -ECHO_T = @ECHO_T@
12905  EGREP = @EGREP@
12906  EXEEXT = @EXEEXT@
12907  F77 = @F77@
12908 -FFLAGS = @FFLAGS@
12909 -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@
12910 -GTHREAD_LIBS = @GTHREAD_LIBS@
12911 +GCJ = @GCJ@
12912 +GCJFLAGS = @GCJFLAGS@
12913  GTKLIB = @GTKLIB@
12914  GTK_CFLAGS = @GTK_CFLAGS@
12915  GTK_LIBS = @GTK_LIBS@
12916 -INSTALL_DATA = @INSTALL_DATA@
12917 -INSTALL_PROGRAM = @INSTALL_PROGRAM@
12918 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
12919 -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
12920 +HAVE_LIB = @HAVE_LIB@
12921  ISODATE = @ISODATE@
12922  LDFLAGS = @LDFLAGS@
12923 -LIBOBJS = @LIBOBJS@
12924 -LIBS = @LIBS@
12925 +LIB = @LIB@
12926  LIBTOOL = @LIBTOOL@
12927  LN_S = @LN_S@
12928 -LTLIBOBJS = @LTLIBOBJS@
12929 +LTLIB = @LTLIB@
12930  M4 = @M4@
12931  MAKEINFO = @MAKEINFO@
12932  MAYBE_DOC = @MAYBE_DOC@
12933 +OBJDUMP = @OBJDUMP@
12934  OBJEXT = @OBJEXT@
12935  PACKAGE = @PACKAGE@
12936 -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
12937 -PACKAGE_NAME = @PACKAGE_NAME@
12938 -PACKAGE_STRING = @PACKAGE_STRING@
12939 -PACKAGE_TARNAME = @PACKAGE_TARNAME@
12940 -PACKAGE_VERSION = @PACKAGE_VERSION@
12941 -PATH_SEPARATOR = @PATH_SEPARATOR@
12942  PERL = @PERL@
12943  PKG_CONFIG = @PKG_CONFIG@
12944  PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
12945  PTHREAD_LIBS = @PTHREAD_LIBS@
12946  RANLIB = @RANLIB@
12947 -SET_MAKE = @SET_MAKE@
12948 -SHELL = @SHELL@
12949 +RC = @RC@
12950  SIGCX_BRANCH = @SIGCX_BRANCH@
12951  SIGCX_DEVBRANCH = @SIGCX_DEVBRANCH@
12952  SIGC_CFLAGS = @SIGC_CFLAGS@
12953  SIGC_LIBS = @SIGC_LIBS@
12954 +SIGC_MACROS = @SIGC_MACROS@
12955  STRIP = @STRIP@
12956  THREADS_USED = @THREADS_USED@
12957  THREAD_CFLAGS = @THREAD_CFLAGS@
12958  THREAD_LIBS = @THREAD_LIBS@
12959  VERSION = @VERSION@
12960 -ac_ct_AR = @ac_ct_AR@
12961 -ac_ct_CC = @ac_ct_CC@
12962 -ac_ct_CXX = @ac_ct_CXX@
12963 -ac_ct_F77 = @ac_ct_F77@
12964 -ac_ct_RANLIB = @ac_ct_RANLIB@
12965 -ac_ct_STRIP = @ac_ct_STRIP@
12966 -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
12967 -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
12968 -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
12969 -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
12970 -am__include = @am__include@
12971 -am__leading_dot = @am__leading_dot@
12972 -am__quote = @am__quote@
12973 -bindir = @bindir@
12974 -build = @build@
12975 -build_alias = @build_alias@
12976 -build_cpu = @build_cpu@
12977 -build_os = @build_os@
12978 -build_vendor = @build_vendor@
12979 -datadir = @datadir@
12980 -exec_prefix = @exec_prefix@
12981 -host = @host@
12982 -host_alias = @host_alias@
12983 -host_cpu = @host_cpu@
12984 -host_os = @host_os@
12985 -host_vendor = @host_vendor@
12986 -includedir = @includedir@
12987 -infodir = @infodir@
12988 -install_sh = @install_sh@
12989 -libdir = @libdir@
12990 -libexecdir = @libexecdir@
12991 -localstatedir = @localstatedir@
12992 -mandir = @mandir@
12993 -oldincludedir = @oldincludedir@
12994 -prefix = @prefix@
12995 -program_transform_name = @program_transform_name@
12996 -sbindir = @sbindir@
12997 -sharedstatedir = @sharedstatedir@
12998 -sysconfdir = @sysconfdir@
12999 -target_alias = @target_alias@
13000 +
13001  noinst_PROGRAMS = hello_world
13002  
13003  sigcx_libs = $(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la $(SIGC_LIBS) $(THREAD_LIBS)
13004 @@ -158,99 +115,87 @@
13005  AM_CPPFLAGS = -I$(top_srcdir) $(SIGC_CFLAGS) $(THREAD_CFLAGS) 
13006  
13007  EXTRA_DIST = gtkmm_example.cc
13008 -subdir = examples
13009 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
13010  mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
13011 -CONFIG_HEADER = $(top_builddir)/config.h
13012 -CONFIG_CLEAN_FILES =
13013 -noinst_PROGRAMS = hello_world$(EXEEXT)
13014 -PROGRAMS = $(noinst_PROGRAMS)
13015 -
13016 -am_hello_world_OBJECTS = hello_world.$(OBJEXT)
13017 -hello_world_OBJECTS = $(am_hello_world_OBJECTS)
13018 -hello_world_DEPENDENCIES = \
13019 -       $(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
13020 -hello_world_LDFLAGS =
13021 -
13022 -DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
13023 -depcomp = $(SHELL) $(top_srcdir)/scripts/depcomp
13024 -am__depfiles_maybe = depfiles
13025 -@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/hello_world.Po
13026 -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
13027 -       $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
13028 -LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
13029 -       $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
13030 -       $(AM_CXXFLAGS) $(CXXFLAGS)
13031 +CONFIG_HEADER = ../config.h
13032 +CONFIG_CLEAN_FILES = 
13033 +noinst_PROGRAMS =  hello_world$(EXEEXT)
13034 +PROGRAMS =  $(noinst_PROGRAMS)
13035 +
13036 +
13037 +DEFS = @DEFS@ -I. -I$(srcdir) -I..
13038 +CPPFLAGS = @CPPFLAGS@
13039 +LIBS = @LIBS@
13040 +hello_world_OBJECTS =  hello_world.$(OBJEXT)
13041 +hello_world_DEPENDENCIES =  \
13042 +$(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
13043 +hello_world_LDFLAGS = 
13044 +CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
13045 +LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
13046  CXXLD = $(CXX)
13047 -CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
13048 -       $(AM_LDFLAGS) $(LDFLAGS) -o $@
13049 -DIST_SOURCES = $(hello_world_SOURCES)
13050 -DIST_COMMON = README Makefile.am Makefile.in
13051 -SOURCES = $(hello_world_SOURCES)
13052 +CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
13053 +DIST_COMMON =  README Makefile.am Makefile.in
13054  
13055 -all: all-am
13056  
13057 +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
13058 +
13059 +TAR = tar
13060 +GZIP_ENV = --best
13061 +SOURCES = $(hello_world_SOURCES)
13062 +OBJECTS = $(hello_world_OBJECTS)
13063 +
13064 +all: all-redirect
13065  .SUFFIXES:
13066 -.SUFFIXES: .cc .lo .o .obj
13067 -$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
13068 -       cd $(top_srcdir) && \
13069 -         $(AUTOMAKE) --gnu  examples/Makefile
13070 -Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
13071 -       cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
13072 +.SUFFIXES: .S .c .cc .lo .o .obj .s
13073 +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) 
13074 +       cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps examples/Makefile
13075 +
13076 +Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
13077 +       cd $(top_builddir) \
13078 +         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
13079 +
13080 +
13081 +mostlyclean-noinstPROGRAMS:
13082  
13083  clean-noinstPROGRAMS:
13084 -       @list='$(noinst_PROGRAMS)'; for p in $$list; do \
13085 -         f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
13086 -         echo " rm -f $$p $$f"; \
13087 -         rm -f $$p $$f ; \
13088 -       done
13089 -hello_world$(EXEEXT): $(hello_world_OBJECTS) $(hello_world_DEPENDENCIES) 
13090 -       @rm -f hello_world$(EXEEXT)
13091 -       $(CXXLINK) $(hello_world_LDFLAGS) $(hello_world_OBJECTS) $(hello_world_LDADD) $(LIBS)
13092 +       -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
13093 +
13094 +distclean-noinstPROGRAMS:
13095 +
13096 +maintainer-clean-noinstPROGRAMS:
13097 +
13098 +.c.o:
13099 +       $(COMPILE) -c $<
13100 +
13101 +# FIXME: We should only use cygpath when building on Windows,
13102 +# and only if it is available.
13103 +.c.obj:
13104 +       $(COMPILE) -c `cygpath -w $<`
13105 +
13106 +.s.o:
13107 +       $(COMPILE) -c $<
13108 +
13109 +.S.o:
13110 +       $(COMPILE) -c $<
13111  
13112  mostlyclean-compile:
13113 -       -rm -f *.$(OBJEXT) core *.core
13114 +       -rm -f *.o core *.core
13115 +       -rm -f *.$(OBJEXT)
13116 +
13117 +clean-compile:
13118  
13119  distclean-compile:
13120         -rm -f *.tab.c
13121  
13122 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hello_world.Po@am__quote@
13123 +maintainer-clean-compile:
13124  
13125 -distclean-depend:
13126 -       -rm -rf ./$(DEPDIR)
13127 +.c.lo:
13128 +       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
13129  
13130 -.cc.o:
13131 -@am__fastdepCXX_TRUE@  if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
13132 -@am__fastdepCXX_TRUE@    -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
13133 -@am__fastdepCXX_TRUE@  then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
13134 -@am__fastdepCXX_TRUE@  else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
13135 -@am__fastdepCXX_TRUE@  fi
13136 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
13137 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
13138 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13139 -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
13140 +.s.lo:
13141 +       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
13142  
13143 -.cc.obj:
13144 -@am__fastdepCXX_TRUE@  if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
13145 -@am__fastdepCXX_TRUE@    -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
13146 -@am__fastdepCXX_TRUE@  then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
13147 -@am__fastdepCXX_TRUE@  else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
13148 -@am__fastdepCXX_TRUE@  fi
13149 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
13150 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
13151 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13152 -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
13153 -
13154 -.cc.lo:
13155 -@am__fastdepCXX_TRUE@  if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
13156 -@am__fastdepCXX_TRUE@    -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
13157 -@am__fastdepCXX_TRUE@  then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
13158 -@am__fastdepCXX_TRUE@  else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
13159 -@am__fastdepCXX_TRUE@  fi
13160 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
13161 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
13162 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13163 -@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
13164 +.S.lo:
13165 +       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
13166  
13167  mostlyclean-libtool:
13168         -rm -f *.lo
13169 @@ -259,181 +204,137 @@
13170         -rm -rf .libs _libs
13171  
13172  distclean-libtool:
13173 -       -rm -f libtool
13174 -uninstall-info-am:
13175  
13176 -ETAGS = etags
13177 -ETAGSFLAGS =
13178 +maintainer-clean-libtool:
13179  
13180 -CTAGS = ctags
13181 -CTAGSFLAGS =
13182 +hello_world$(EXEEXT): $(hello_world_OBJECTS) $(hello_world_DEPENDENCIES)
13183 +       @rm -f hello_world$(EXEEXT)
13184 +       $(CXXLINK) $(hello_world_LDFLAGS) $(hello_world_OBJECTS) $(hello_world_LDADD) $(LIBS)
13185 +.cc.o:
13186 +       $(CXXCOMPILE) -c $<
13187 +.cc.obj:
13188 +       $(CXXCOMPILE) -c `cygpath -w $<`
13189 +.cc.lo:
13190 +       $(LTCXXCOMPILE) -c $<
13191  
13192  tags: TAGS
13193  
13194 -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
13195 -       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
13196 -       unique=`for i in $$list; do \
13197 -           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
13198 -         done | \
13199 -         $(AWK) '    { files[$$0] = 1; } \
13200 +ID: $(HEADERS) $(SOURCES) $(LISP)
13201 +       list='$(SOURCES) $(HEADERS)'; \
13202 +       unique=`for i in $$list; do echo $$i; done | \
13203 +         awk '    { files[$$0] = 1; } \
13204                END { for (i in files) print i; }'`; \
13205 -       mkid -fID $$unique
13206 +       here=`pwd` && cd $(srcdir) \
13207 +         && mkid -f$$here/ID $$unique $(LISP)
13208  
13209 -TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
13210 -               $(TAGS_FILES) $(LISP)
13211 +TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
13212         tags=; \
13213         here=`pwd`; \
13214 -       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
13215 -       unique=`for i in $$list; do \
13216 -           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
13217 -         done | \
13218 -         $(AWK) '    { files[$$0] = 1; } \
13219 +       list='$(SOURCES) $(HEADERS)'; \
13220 +       unique=`for i in $$list; do echo $$i; done | \
13221 +         awk '    { files[$$0] = 1; } \
13222                END { for (i in files) print i; }'`; \
13223 -       test -z "$(ETAGS_ARGS)$$tags$$unique" \
13224 -         || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
13225 -            $$tags $$unique
13226 -
13227 -ctags: CTAGS
13228 -CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
13229 -               $(TAGS_FILES) $(LISP)
13230 -       tags=; \
13231 -       here=`pwd`; \
13232 -       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
13233 -       unique=`for i in $$list; do \
13234 -           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
13235 -         done | \
13236 -         $(AWK) '    { files[$$0] = 1; } \
13237 -              END { for (i in files) print i; }'`; \
13238 -       test -z "$(CTAGS_ARGS)$$tags$$unique" \
13239 -         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
13240 -            $$tags $$unique
13241 -
13242 -GTAGS:
13243 -       here=`$(am__cd) $(top_builddir) && pwd` \
13244 -         && cd $(top_srcdir) \
13245 -         && gtags -i $(GTAGS_ARGS) $$here
13246 +       test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
13247 +         || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags  $$unique $(LISP))
13248 +
13249 +mostlyclean-tags:
13250 +
13251 +clean-tags:
13252  
13253  distclean-tags:
13254 -       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
13255 -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
13256 +       -rm -f TAGS ID
13257 +
13258 +maintainer-clean-tags:
13259  
13260 -top_distdir = ..
13261 -distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
13262 +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
13263 +
13264 +subdir = examples
13265  
13266  distdir: $(DISTFILES)
13267 -       @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
13268 -       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
13269 -       list='$(DISTFILES)'; for file in $$list; do \
13270 -         case $$file in \
13271 -           $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
13272 -           $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
13273 -         esac; \
13274 -         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
13275 -         dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
13276 -         if test "$$dir" != "$$file" && test "$$dir" != "."; then \
13277 -           dir="/$$dir"; \
13278 -           $(mkinstalldirs) "$(distdir)$$dir"; \
13279 -         else \
13280 -           dir=''; \
13281 -         fi; \
13282 +       @for file in $(DISTFILES); do \
13283 +         d=$(srcdir); \
13284           if test -d $$d/$$file; then \
13285 -           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
13286 -             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
13287 -           fi; \
13288 -           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
13289 +           cp -pr $$d/$$file $(distdir)/$$file; \
13290           else \
13291             test -f $(distdir)/$$file \
13292 -           || cp -p $$d/$$file $(distdir)/$$file \
13293 -           || exit 1; \
13294 +           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
13295 +           || cp -p $$d/$$file $(distdir)/$$file || :; \
13296           fi; \
13297         done
13298 +
13299 +info-am:
13300 +info: info-am
13301 +dvi-am:
13302 +dvi: dvi-am
13303  check-am: all-am
13304  check: check-am
13305 -all-am: Makefile $(PROGRAMS)
13306 -
13307 -installdirs:
13308 -install: install-am
13309 +installcheck-am:
13310 +installcheck: installcheck-am
13311 +install-exec-am:
13312  install-exec: install-exec-am
13313 +
13314 +install-data-am:
13315  install-data: install-data-am
13316 -uninstall: uninstall-am
13317  
13318  install-am: all-am
13319         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
13320 -
13321 -installcheck: installcheck-am
13322 +install: install-am
13323 +uninstall-am:
13324 +uninstall: uninstall-am
13325 +all-am: Makefile $(PROGRAMS)
13326 +all-redirect: all-am
13327  install-strip:
13328 -       $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
13329 -         INSTALL_STRIP_FLAG=-s \
13330 -         `test -z '$(STRIP)' || \
13331 -           echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
13332 +       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
13333 +installdirs:
13334 +
13335 +
13336  mostlyclean-generic:
13337  
13338  clean-generic:
13339  
13340  distclean-generic:
13341         -rm -f Makefile $(CONFIG_CLEAN_FILES)
13342 +       -rm -f config.cache config.log stamp-h stamp-h[0-9]*
13343  
13344  maintainer-clean-generic:
13345 -       @echo "This command is intended for maintainers to use"
13346 -       @echo "it deletes files that may require special tools to rebuild."
13347 -clean: clean-am
13348 -
13349 -clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
13350 -       mostlyclean-am
13351 -
13352 -distclean: distclean-am
13353 -
13354 -distclean-am: clean-am distclean-compile distclean-depend \
13355 -       distclean-generic distclean-libtool distclean-tags
13356 -
13357 -dvi: dvi-am
13358 -
13359 -dvi-am:
13360 -
13361 -info: info-am
13362 +mostlyclean-am:  mostlyclean-noinstPROGRAMS mostlyclean-compile \
13363 +               mostlyclean-libtool mostlyclean-tags \
13364 +               mostlyclean-generic
13365  
13366 -info-am:
13367 +mostlyclean: mostlyclean-am
13368  
13369 -install-data-am:
13370 +clean-am:  clean-noinstPROGRAMS clean-compile clean-libtool clean-tags \
13371 +               clean-generic mostlyclean-am
13372  
13373 -install-exec-am:
13374 +clean: clean-am
13375  
13376 -install-info: install-info-am
13377 +distclean-am:  distclean-noinstPROGRAMS distclean-compile \
13378 +               distclean-libtool distclean-tags distclean-generic \
13379 +               clean-am
13380 +       -rm -f libtool
13381  
13382 -install-man:
13383 +distclean: distclean-am
13384  
13385 -installcheck-am:
13386 +maintainer-clean-am:  maintainer-clean-noinstPROGRAMS \
13387 +               maintainer-clean-compile maintainer-clean-libtool \
13388 +               maintainer-clean-tags maintainer-clean-generic \
13389 +               distclean-am
13390 +       @echo "This command is intended for maintainers to use;"
13391 +       @echo "it deletes files that may require special tools to rebuild."
13392  
13393  maintainer-clean: maintainer-clean-am
13394  
13395 -maintainer-clean-am: distclean-am maintainer-clean-generic
13396 -
13397 -mostlyclean: mostlyclean-am
13398 -
13399 -mostlyclean-am: mostlyclean-compile mostlyclean-generic \
13400 -       mostlyclean-libtool
13401 -
13402 -pdf: pdf-am
13403 -
13404 -pdf-am:
13405 -
13406 -ps: ps-am
13407 -
13408 -ps-am:
13409 -
13410 -uninstall-am: uninstall-info-am
13411 -
13412 -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
13413 -       clean-libtool clean-noinstPROGRAMS ctags distclean \
13414 -       distclean-compile distclean-depend distclean-generic \
13415 -       distclean-libtool distclean-tags distdir dvi dvi-am info \
13416 -       info-am install install-am install-data install-data-am \
13417 -       install-exec install-exec-am install-info install-info-am \
13418 -       install-man install-strip installcheck installcheck-am \
13419 -       installdirs maintainer-clean maintainer-clean-generic \
13420 -       mostlyclean mostlyclean-compile mostlyclean-generic \
13421 -       mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
13422 -       uninstall-am uninstall-info-am
13423 +.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
13424 +clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
13425 +mostlyclean-compile distclean-compile clean-compile \
13426 +maintainer-clean-compile mostlyclean-libtool distclean-libtool \
13427 +clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
13428 +distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
13429 +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
13430 +install-exec install-data-am install-data install-am install \
13431 +uninstall-am uninstall all-redirect all-am all installdirs \
13432 +mostlyclean-generic distclean-generic clean-generic \
13433 +maintainer-clean-generic clean mostlyclean distclean maintainer-clean
13434  
13435  
13436  # Rules for gtkmm example
13437 @@ -442,6 +343,7 @@
13438  
13439  gtkmm_example.lo: gtkmm_example.cc
13440         libtool --mode=compile $(CXX) $(CXXFLAGS) $(AM_CPPFLAGS) `pkg-config --cflags gtkmm-2.0` -c -o $@ $^ 
13441 +
13442  # Tell versions [3.59,3.63) of GNU make to not export all variables.
13443  # Otherwise a system limit (for SysV at least) may be exceeded.
13444  .NOEXPORT:
13445 diff -ruN libsigcx-0.6.4-patched/scripts/Makefile.in libsigcx-0.6.4-regen/scripts/Makefile.in
13446 --- libsigcx-0.6.4-patched/scripts/Makefile.in  2003-06-03 10:02:59.000000000 -0700
13447 +++ libsigcx-0.6.4-regen/scripts/Makefile.in    2005-05-06 21:21:32.000000000 -0700
13448 @@ -1,8 +1,6 @@
13449 -# Makefile.in generated by automake 1.7.5 from Makefile.am.
13450 -# @configure_input@
13451 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
13452  
13453 -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
13454 -# Free Software Foundation, Inc.
13455 +# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
13456  # This Makefile.in is free software; the Free Software Foundation
13457  # gives unlimited permission to copy and/or distribute it,
13458  # with or without modifications, as long as this notice is preserved.
13459 @@ -12,290 +10,203 @@
13460  # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13461  # PARTICULAR PURPOSE.
13462  
13463 -@SET_MAKE@
13464 +
13465 +SHELL = @SHELL@
13466  
13467  srcdir = @srcdir@
13468  top_srcdir = @top_srcdir@
13469  VPATH = @srcdir@
13470 +prefix = @prefix@
13471 +exec_prefix = @exec_prefix@
13472 +
13473 +bindir = @bindir@
13474 +sbindir = @sbindir@
13475 +libexecdir = @libexecdir@
13476 +datadir = @datadir@
13477 +sysconfdir = @sysconfdir@
13478 +sharedstatedir = @sharedstatedir@
13479 +localstatedir = @localstatedir@
13480 +libdir = @libdir@
13481 +infodir = @infodir@
13482 +mandir = @mandir@
13483 +includedir = @includedir@
13484 +oldincludedir = /usr/include
13485 +
13486 +DESTDIR =
13487 +
13488  pkgdatadir = $(datadir)/@PACKAGE@
13489  pkglibdir = $(libdir)/@PACKAGE@
13490  pkgincludedir = $(includedir)/@PACKAGE@
13491 +
13492  top_builddir = ..
13493  
13494 -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
13495 +ACLOCAL = @ACLOCAL@
13496 +AUTOCONF = @AUTOCONF@
13497 +AUTOMAKE = @AUTOMAKE@
13498 +AUTOHEADER = @AUTOHEADER@
13499 +
13500  INSTALL = @INSTALL@
13501 -install_sh_DATA = $(install_sh) -c -m 644
13502 -install_sh_PROGRAM = $(install_sh) -c
13503 -install_sh_SCRIPT = $(install_sh) -c
13504 -INSTALL_HEADER = $(INSTALL_DATA)
13505 -transform = $(program_transform_name)
13506 +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
13507 +INSTALL_DATA = @INSTALL_DATA@
13508 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
13509 +transform = @program_transform_name@
13510 +
13511  NORMAL_INSTALL = :
13512  PRE_INSTALL = :
13513  POST_INSTALL = :
13514  NORMAL_UNINSTALL = :
13515  PRE_UNINSTALL = :
13516  POST_UNINSTALL = :
13517 +host_alias = @host_alias@
13518  host_triplet = @host@
13519 -ACLOCAL = @ACLOCAL@
13520 -AMDEP_FALSE = @AMDEP_FALSE@
13521 -AMDEP_TRUE = @AMDEP_TRUE@
13522 -AMTAR = @AMTAR@
13523  AR = @AR@
13524 -AUTOCONF = @AUTOCONF@
13525 -AUTOHEADER = @AUTOHEADER@
13526 -AUTOMAKE = @AUTOMAKE@
13527 -AWK = @AWK@
13528 +AS = @AS@
13529  CC = @CC@
13530 -CCDEPMODE = @CCDEPMODE@
13531 -CFLAGS = @CFLAGS@
13532 -CPP = @CPP@
13533 -CPPFLAGS = @CPPFLAGS@
13534  CXX = @CXX@
13535  CXXCPP = @CXXCPP@
13536 -CXXDEPMODE = @CXXDEPMODE@
13537  CXXFLAGS = @CXXFLAGS@
13538 -CYGPATH_W = @CYGPATH_W@
13539 -DEFS = @DEFS@
13540 -DEPDIR = @DEPDIR@
13541 +DLLTOOL = @DLLTOOL@
13542  DOXYGEN = @DOXYGEN@
13543  ECHO = @ECHO@
13544 -ECHO_C = @ECHO_C@
13545 -ECHO_N = @ECHO_N@
13546 -ECHO_T = @ECHO_T@
13547  EGREP = @EGREP@
13548  EXEEXT = @EXEEXT@
13549  F77 = @F77@
13550 -FFLAGS = @FFLAGS@
13551 -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@
13552 -GTHREAD_LIBS = @GTHREAD_LIBS@
13553 +GCJ = @GCJ@
13554 +GCJFLAGS = @GCJFLAGS@
13555  GTKLIB = @GTKLIB@
13556  GTK_CFLAGS = @GTK_CFLAGS@
13557  GTK_LIBS = @GTK_LIBS@
13558 -INSTALL_DATA = @INSTALL_DATA@
13559 -INSTALL_PROGRAM = @INSTALL_PROGRAM@
13560 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
13561 -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
13562 +HAVE_LIB = @HAVE_LIB@
13563  ISODATE = @ISODATE@
13564  LDFLAGS = @LDFLAGS@
13565 -LIBOBJS = @LIBOBJS@
13566 -LIBS = @LIBS@
13567 +LIB = @LIB@
13568  LIBTOOL = @LIBTOOL@
13569  LN_S = @LN_S@
13570 -LTLIBOBJS = @LTLIBOBJS@
13571 +LTLIB = @LTLIB@
13572  M4 = @M4@
13573  MAKEINFO = @MAKEINFO@
13574  MAYBE_DOC = @MAYBE_DOC@
13575 +OBJDUMP = @OBJDUMP@
13576  OBJEXT = @OBJEXT@
13577  PACKAGE = @PACKAGE@
13578 -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
13579 -PACKAGE_NAME = @PACKAGE_NAME@
13580 -PACKAGE_STRING = @PACKAGE_STRING@
13581 -PACKAGE_TARNAME = @PACKAGE_TARNAME@
13582 -PACKAGE_VERSION = @PACKAGE_VERSION@
13583 -PATH_SEPARATOR = @PATH_SEPARATOR@
13584  PERL = @PERL@
13585  PKG_CONFIG = @PKG_CONFIG@
13586  PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
13587  PTHREAD_LIBS = @PTHREAD_LIBS@
13588  RANLIB = @RANLIB@
13589 -SET_MAKE = @SET_MAKE@
13590 -SHELL = @SHELL@
13591 +RC = @RC@
13592  SIGCX_BRANCH = @SIGCX_BRANCH@
13593  SIGCX_DEVBRANCH = @SIGCX_DEVBRANCH@
13594  SIGC_CFLAGS = @SIGC_CFLAGS@
13595  SIGC_LIBS = @SIGC_LIBS@
13596 +SIGC_MACROS = @SIGC_MACROS@
13597  STRIP = @STRIP@
13598  THREADS_USED = @THREADS_USED@
13599  THREAD_CFLAGS = @THREAD_CFLAGS@
13600  THREAD_LIBS = @THREAD_LIBS@
13601  VERSION = @VERSION@
13602 -ac_ct_AR = @ac_ct_AR@
13603 -ac_ct_CC = @ac_ct_CC@
13604 -ac_ct_CXX = @ac_ct_CXX@
13605 -ac_ct_F77 = @ac_ct_F77@
13606 -ac_ct_RANLIB = @ac_ct_RANLIB@
13607 -ac_ct_STRIP = @ac_ct_STRIP@
13608 -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
13609 -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
13610 -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
13611 -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
13612 -am__include = @am__include@
13613 -am__leading_dot = @am__leading_dot@
13614 -am__quote = @am__quote@
13615 -bindir = @bindir@
13616 -build = @build@
13617 -build_alias = @build_alias@
13618 -build_cpu = @build_cpu@
13619 -build_os = @build_os@
13620 -build_vendor = @build_vendor@
13621 -datadir = @datadir@
13622 -exec_prefix = @exec_prefix@
13623 -host = @host@
13624 -host_alias = @host_alias@
13625 -host_cpu = @host_cpu@
13626 -host_os = @host_os@
13627 -host_vendor = @host_vendor@
13628 -includedir = @includedir@
13629 -infodir = @infodir@
13630 -install_sh = @install_sh@
13631 -libdir = @libdir@
13632 -libexecdir = @libexecdir@
13633 -localstatedir = @localstatedir@
13634 -mandir = @mandir@
13635 -oldincludedir = @oldincludedir@
13636 -prefix = @prefix@
13637 -program_transform_name = @program_transform_name@
13638 -sbindir = @sbindir@
13639 -sharedstatedir = @sharedstatedir@
13640 -sysconfdir = @sysconfdir@
13641 -target_alias = @target_alias@
13642 -EXTRA_DIST = macros.m4 pthread.m4 libtool.m4
13643 -subdir = scripts
13644 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
13645 +
13646 +EXTRA_DIST = macros.m4 pthread.m4
13647  mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
13648 -CONFIG_HEADER = $(top_builddir)/config.h
13649 -CONFIG_CLEAN_FILES =
13650 -DIST_SOURCES =
13651 -DIST_COMMON = Makefile.am Makefile.in config.guess config.sub depcomp \
13652 -       install-sh ltmain.sh missing mkinstalldirs
13653 -all: all-am
13654 +CONFIG_HEADER = ../config.h
13655 +CONFIG_CLEAN_FILES = 
13656 +DIST_COMMON =  Makefile.am Makefile.in config.guess config.sub \
13657 +install-sh ltmain.sh missing mkinstalldirs
13658  
13659 -.SUFFIXES:
13660 -$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
13661 -       cd $(top_srcdir) && \
13662 -         $(AUTOMAKE) --gnu  scripts/Makefile
13663 -Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
13664 -       cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
13665  
13666 -mostlyclean-libtool:
13667 -       -rm -f *.lo
13668 +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
13669  
13670 -clean-libtool:
13671 -       -rm -rf .libs _libs
13672 +TAR = tar
13673 +GZIP_ENV = --best
13674 +all: all-redirect
13675 +.SUFFIXES:
13676 +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) 
13677 +       cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps scripts/Makefile
13678 +
13679 +Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
13680 +       cd $(top_builddir) \
13681 +         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
13682  
13683 -distclean-libtool:
13684 -       -rm -f libtool
13685 -uninstall-info-am:
13686  tags: TAGS
13687  TAGS:
13688  
13689 -ctags: CTAGS
13690 -CTAGS:
13691  
13692 -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
13693 +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
13694  
13695 -top_distdir = ..
13696 -distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
13697 +subdir = scripts
13698  
13699  distdir: $(DISTFILES)
13700 -       @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
13701 -       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
13702 -       list='$(DISTFILES)'; for file in $$list; do \
13703 -         case $$file in \
13704 -           $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
13705 -           $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
13706 -         esac; \
13707 -         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
13708 -         dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
13709 -         if test "$$dir" != "$$file" && test "$$dir" != "."; then \
13710 -           dir="/$$dir"; \
13711 -           $(mkinstalldirs) "$(distdir)$$dir"; \
13712 -         else \
13713 -           dir=''; \
13714 -         fi; \
13715 +       @for file in $(DISTFILES); do \
13716 +         d=$(srcdir); \
13717           if test -d $$d/$$file; then \
13718 -           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
13719 -             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
13720 -           fi; \
13721 -           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
13722 +           cp -pr $$d/$$file $(distdir)/$$file; \
13723           else \
13724             test -f $(distdir)/$$file \
13725 -           || cp -p $$d/$$file $(distdir)/$$file \
13726 -           || exit 1; \
13727 +           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
13728 +           || cp -p $$d/$$file $(distdir)/$$file || :; \
13729           fi; \
13730         done
13731 +info-am:
13732 +info: info-am
13733 +dvi-am:
13734 +dvi: dvi-am
13735  check-am: all-am
13736  check: check-am
13737 -all-am: Makefile
13738 -
13739 -installdirs:
13740 -install: install-am
13741 +installcheck-am:
13742 +installcheck: installcheck-am
13743 +install-exec-am:
13744  install-exec: install-exec-am
13745 +
13746 +install-data-am:
13747  install-data: install-data-am
13748 -uninstall: uninstall-am
13749  
13750  install-am: all-am
13751         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
13752 -
13753 -installcheck: installcheck-am
13754 +install: install-am
13755 +uninstall-am:
13756 +uninstall: uninstall-am
13757 +all-am: Makefile
13758 +all-redirect: all-am
13759  install-strip:
13760 -       $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
13761 -         INSTALL_STRIP_FLAG=-s \
13762 -         `test -z '$(STRIP)' || \
13763 -           echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
13764 +       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
13765 +installdirs:
13766 +
13767 +
13768  mostlyclean-generic:
13769  
13770  clean-generic:
13771  
13772  distclean-generic:
13773         -rm -f Makefile $(CONFIG_CLEAN_FILES)
13774 +       -rm -f config.cache config.log stamp-h stamp-h[0-9]*
13775  
13776  maintainer-clean-generic:
13777 -       @echo "This command is intended for maintainers to use"
13778 -       @echo "it deletes files that may require special tools to rebuild."
13779 -clean: clean-am
13780 +mostlyclean-am:  mostlyclean-generic
13781  
13782 -clean-am: clean-generic clean-libtool mostlyclean-am
13783 -
13784 -distclean: distclean-am
13785 -
13786 -distclean-am: clean-am distclean-generic distclean-libtool
13787 -
13788 -dvi: dvi-am
13789 -
13790 -dvi-am:
13791 -
13792 -info: info-am
13793 -
13794 -info-am:
13795 +mostlyclean: mostlyclean-am
13796  
13797 -install-data-am:
13798 +clean-am:  clean-generic mostlyclean-am
13799  
13800 -install-exec-am:
13801 +clean: clean-am
13802  
13803 -install-info: install-info-am
13804 +distclean-am:  distclean-generic clean-am
13805 +       -rm -f libtool
13806  
13807 -install-man:
13808 +distclean: distclean-am
13809  
13810 -installcheck-am:
13811 +maintainer-clean-am:  maintainer-clean-generic distclean-am
13812 +       @echo "This command is intended for maintainers to use;"
13813 +       @echo "it deletes files that may require special tools to rebuild."
13814  
13815  maintainer-clean: maintainer-clean-am
13816  
13817 -maintainer-clean-am: distclean-am maintainer-clean-generic
13818 -
13819 -mostlyclean: mostlyclean-am
13820 -
13821 -mostlyclean-am: mostlyclean-generic mostlyclean-libtool
13822 -
13823 -pdf: pdf-am
13824 -
13825 -pdf-am:
13826 -
13827 -ps: ps-am
13828 -
13829 -ps-am:
13830 -
13831 -uninstall-am: uninstall-info-am
13832 +.PHONY: tags distdir info-am info dvi-am dvi check check-am \
13833 +installcheck-am installcheck install-exec-am install-exec \
13834 +install-data-am install-data install-am install uninstall-am uninstall \
13835 +all-redirect all-am all installdirs mostlyclean-generic \
13836 +distclean-generic clean-generic maintainer-clean-generic clean \
13837 +mostlyclean distclean maintainer-clean
13838  
13839 -.PHONY: all all-am check check-am clean clean-generic clean-libtool \
13840 -       distclean distclean-generic distclean-libtool distdir dvi \
13841 -       dvi-am info info-am install install-am install-data \
13842 -       install-data-am install-exec install-exec-am install-info \
13843 -       install-info-am install-man install-strip installcheck \
13844 -       installcheck-am installdirs maintainer-clean \
13845 -       maintainer-clean-generic mostlyclean mostlyclean-generic \
13846 -       mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
13847 -       uninstall-info-am
13848  
13849  # Tell versions [3.59,3.63) of GNU make to not export all variables.
13850  # Otherwise a system limit (for SysV at least) may be exceeded.
13851 diff -ruN libsigcx-0.6.4-patched/scripts/config.guess libsigcx-0.6.4-regen/scripts/config.guess
13852 --- libsigcx-0.6.4-patched/scripts/config.guess 2003-04-21 12:13:43.000000000 -0700
13853 +++ libsigcx-0.6.4-regen/scripts/config.guess   2005-04-24 13:01:25.000000000 -0700
13854 @@ -1,9 +1,9 @@
13855  #! /bin/sh
13856  # Attempt to guess a canonical system name.
13857  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
13858 -#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
13859 +#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
13860  
13861 -timestamp='2003-02-22'
13862 +timestamp='2005-04-22'
13863  
13864  # This file is free software; you can redistribute it and/or modify it
13865  # under the terms of the GNU General Public License as published by
13866 @@ -53,7 +53,7 @@
13867  GNU config.guess ($timestamp)
13868  
13869  Originally written by Per Bothner.
13870 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
13871 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
13872  Free Software Foundation, Inc.
13873  
13874  This is free software; see the source for copying conditions.  There is NO
13875 @@ -106,6 +106,7 @@
13876  : ${TMPDIR=/tmp} ;
13877   { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
13878   { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
13879 + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
13880   { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
13881  dummy=$tmp/dummy ;
13882  tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
13883 @@ -196,15 +197,21 @@
13884         # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
13885         echo "${machine}-${os}${release}"
13886         exit 0 ;;
13887 +    amd64:OpenBSD:*:*)
13888 +       echo x86_64-unknown-openbsd${UNAME_RELEASE}
13889 +       exit 0 ;;
13890      amiga:OpenBSD:*:*)
13891         echo m68k-unknown-openbsd${UNAME_RELEASE}
13892         exit 0 ;;
13893 -    arc:OpenBSD:*:*)
13894 -       echo mipsel-unknown-openbsd${UNAME_RELEASE}
13895 +    cats:OpenBSD:*:*)
13896 +       echo arm-unknown-openbsd${UNAME_RELEASE}
13897         exit 0 ;;
13898      hp300:OpenBSD:*:*)
13899         echo m68k-unknown-openbsd${UNAME_RELEASE}
13900         exit 0 ;;
13901 +    luna88k:OpenBSD:*:*)
13902 +       echo m88k-unknown-openbsd${UNAME_RELEASE}
13903 +       exit 0 ;;
13904      mac68k:OpenBSD:*:*)
13905         echo m68k-unknown-openbsd${UNAME_RELEASE}
13906         exit 0 ;;
13907 @@ -220,25 +227,33 @@
13908      mvmeppc:OpenBSD:*:*)
13909         echo powerpc-unknown-openbsd${UNAME_RELEASE}
13910         exit 0 ;;
13911 -    pmax:OpenBSD:*:*)
13912 -       echo mipsel-unknown-openbsd${UNAME_RELEASE}
13913 -       exit 0 ;;
13914      sgi:OpenBSD:*:*)
13915 -       echo mipseb-unknown-openbsd${UNAME_RELEASE}
13916 +       echo mips64-unknown-openbsd${UNAME_RELEASE}
13917         exit 0 ;;
13918      sun3:OpenBSD:*:*)
13919         echo m68k-unknown-openbsd${UNAME_RELEASE}
13920         exit 0 ;;
13921 -    wgrisc:OpenBSD:*:*)
13922 -       echo mipsel-unknown-openbsd${UNAME_RELEASE}
13923 -       exit 0 ;;
13924      *:OpenBSD:*:*)
13925         echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
13926         exit 0 ;;
13927 +    *:ekkoBSD:*:*)
13928 +       echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
13929 +       exit 0 ;;
13930 +    macppc:MirBSD:*:*)
13931 +       echo powerppc-unknown-mirbsd${UNAME_RELEASE}
13932 +       exit 0 ;;
13933 +    *:MirBSD:*:*)
13934 +       echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
13935 +       exit 0 ;;
13936      alpha:OSF1:*:*)
13937 -       if test $UNAME_RELEASE = "V4.0"; then
13938 +       case $UNAME_RELEASE in
13939 +       *4.0)
13940                 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
13941 -       fi
13942 +               ;;
13943 +       *5.*)
13944 +               UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
13945 +               ;;
13946 +       esac
13947         # According to Compaq, /usr/sbin/psrinfo has been available on
13948         # OSF/1 and Tru64 systems produced since 1995.  I hope that
13949         # covers most systems running today.  This code pipes the CPU
13950 @@ -276,11 +291,12 @@
13951             "EV7.9 (21364A)")
13952                 UNAME_MACHINE="alphaev79" ;;
13953         esac
13954 +       # A Pn.n version is a patched version.
13955         # A Vn.n version is a released version.
13956         # A Tn.n version is a released field test version.
13957         # A Xn.n version is an unreleased experimental baselevel.
13958         # 1.2 uses "1.2" for uname -r.
13959 -       echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
13960 +       echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
13961         exit 0 ;;
13962      Alpha\ *:Windows_NT*:*)
13963         # How do we know it's Interix rather than the generic POSIX subsystem?
13964 @@ -303,6 +319,12 @@
13965      *:OS/390:*:*)
13966         echo i370-ibm-openedition
13967         exit 0 ;;
13968 +    *:z/VM:*:*)
13969 +       echo s390-ibm-zvmoe
13970 +       exit 0 ;;
13971 +    *:OS400:*:*)
13972 +        echo powerpc-ibm-os400
13973 +       exit 0 ;;
13974      arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
13975         echo arm-acorn-riscix${UNAME_RELEASE}
13976         exit 0;;
13977 @@ -320,7 +342,10 @@
13978      NILE*:*:*:dcosx)
13979         echo pyramid-pyramid-svr4
13980         exit 0 ;;
13981 -    DRS?6000:UNIX_SV:4.2*:7*)
13982 +    DRS?6000:unix:4.0:6*)
13983 +       echo sparc-icl-nx6
13984 +       exit 0 ;;
13985 +    DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
13986         case `/usr/bin/uname -p` in
13987             sparc) echo sparc-icl-nx7 && exit 0 ;;
13988         esac ;;
13989 @@ -392,6 +417,9 @@
13990      *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
13991          echo m68k-unknown-mint${UNAME_RELEASE}
13992          exit 0 ;;
13993 +    m68k:machten:*:*)
13994 +       echo m68k-apple-machten${UNAME_RELEASE}
13995 +       exit 0 ;;
13996      powerpc:machten:*:*)
13997         echo powerpc-apple-machten${UNAME_RELEASE}
13998         exit 0 ;;
13999 @@ -727,7 +755,7 @@
14000         echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
14001         exit 0 ;;
14002      *:UNICOS/mp:*:*)
14003 -       echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 
14004 +       echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
14005         exit 0 ;;
14006      F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
14007         FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
14008 @@ -735,6 +763,11 @@
14009          FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
14010          echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
14011          exit 0 ;;
14012 +    5000:UNIX_System_V:4.*:*)
14013 +        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
14014 +        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
14015 +        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
14016 +       exit 0 ;;
14017      i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
14018         echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
14019         exit 0 ;;
14020 @@ -745,18 +778,7 @@
14021         echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
14022         exit 0 ;;
14023      *:FreeBSD:*:*)
14024 -       # Determine whether the default compiler uses glibc.
14025 -       eval $set_cc_for_build
14026 -       sed 's/^        //' << EOF >$dummy.c
14027 -       #include <features.h>
14028 -       #if __GLIBC__ >= 2
14029 -       LIBC=gnu
14030 -       #else
14031 -       LIBC=
14032 -       #endif
14033 -EOF
14034 -       eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
14035 -       echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
14036 +       echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
14037         exit 0 ;;
14038      i*:CYGWIN*:*)
14039         echo ${UNAME_MACHINE}-pc-cygwin
14040 @@ -767,8 +789,8 @@
14041      i*:PW*:*)
14042         echo ${UNAME_MACHINE}-pc-pw32
14043         exit 0 ;;
14044 -    x86:Interix*:3*)
14045 -       echo i586-pc-interix3
14046 +    x86:Interix*:[34]*)
14047 +       echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
14048         exit 0 ;;
14049      [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
14050         echo i${UNAME_MACHINE}-pc-mks
14051 @@ -782,6 +804,9 @@
14052      i*:UWIN*:*)
14053         echo ${UNAME_MACHINE}-pc-uwin
14054         exit 0 ;;
14055 +    amd64:CYGWIN*:*:*)
14056 +       echo x86_64-unknown-cygwin
14057 +       exit 0 ;;
14058      p*:CYGWIN*:*)
14059         echo powerpcle-unknown-cygwin
14060         exit 0 ;;
14061 @@ -789,17 +814,34 @@
14062         echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
14063         exit 0 ;;
14064      *:GNU:*:*)
14065 +       # the GNU system
14066         echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
14067         exit 0 ;;
14068 +    *:GNU/*:*:*)
14069 +       # other systems with GNU libc and userland
14070 +       echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
14071 +       exit 0 ;;
14072      i*86:Minix:*:*)
14073         echo ${UNAME_MACHINE}-pc-minix
14074         exit 0 ;;
14075      arm*:Linux:*:*)
14076         echo ${UNAME_MACHINE}-unknown-linux-gnu
14077         exit 0 ;;
14078 +    cris:Linux:*:*)
14079 +       echo cris-axis-linux-gnu
14080 +       exit 0 ;;
14081 +    crisv32:Linux:*:*)
14082 +       echo crisv32-axis-linux-gnu
14083 +       exit 0 ;;
14084 +    frv:Linux:*:*)
14085 +       echo frv-unknown-linux-gnu
14086 +       exit 0 ;;
14087      ia64:Linux:*:*)
14088         echo ${UNAME_MACHINE}-unknown-linux-gnu
14089         exit 0 ;;
14090 +    m32r*:Linux:*:*)
14091 +       echo ${UNAME_MACHINE}-unknown-linux-gnu
14092 +       exit 0 ;;
14093      m68*:Linux:*:*)
14094         echo ${UNAME_MACHINE}-unknown-linux-gnu
14095         exit 0 ;;
14096 @@ -875,6 +917,9 @@
14097      s390:Linux:*:* | s390x:Linux:*:*)
14098         echo ${UNAME_MACHINE}-ibm-linux
14099         exit 0 ;;
14100 +    sh64*:Linux:*:*)
14101 +       echo ${UNAME_MACHINE}-unknown-linux-gnu
14102 +       exit 0 ;;
14103      sh*:Linux:*:*)
14104         echo ${UNAME_MACHINE}-unknown-linux-gnu
14105         exit 0 ;;
14106 @@ -932,6 +977,9 @@
14107         LIBC=gnuaout
14108         #endif
14109         #endif
14110 +       #ifdef __dietlibc__
14111 +       LIBC=dietlibc
14112 +       #endif
14113  EOF
14114         eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
14115         test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
14116 @@ -962,6 +1010,9 @@
14117      i*86:atheos:*:*)
14118         echo ${UNAME_MACHINE}-unknown-atheos
14119         exit 0 ;;
14120 +       i*86:syllable:*:*)
14121 +       echo ${UNAME_MACHINE}-pc-syllable
14122 +       exit 0 ;;
14123      i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
14124         echo i386-unknown-lynxos${UNAME_RELEASE}
14125         exit 0 ;;
14126 @@ -1031,9 +1082,9 @@
14127      M680?0:D-NIX:5.3:*)
14128         echo m68k-diab-dnix
14129         exit 0 ;;
14130 -    M68*:*:R3V[567]*:*)
14131 +    M68*:*:R3V[5678]*:*)
14132         test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
14133 -    3[34]??:*: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)
14134 +    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)
14135         OS_REL=''
14136         test -r /etc/.relid \
14137         && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
14138 @@ -1089,6 +1140,10 @@
14139         # From seanf@swdc.stratus.com.
14140         echo i860-stratus-sysv4
14141         exit 0 ;;
14142 +    i*86:VOS:*:*)
14143 +       # From Paul.Green@stratus.com.
14144 +       echo ${UNAME_MACHINE}-stratus-vos
14145 +       exit 0 ;;
14146      *:VOS:*:*)
14147         # From Paul.Green@stratus.com.
14148         echo hppa1.1-stratus-vos
14149 @@ -1131,9 +1186,10 @@
14150         echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
14151         exit 0 ;;
14152      *:Darwin:*:*)
14153 -       case `uname -p` in
14154 +       UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
14155 +       case $UNAME_PROCESSOR in
14156             *86) UNAME_PROCESSOR=i686 ;;
14157 -           powerpc) UNAME_PROCESSOR=powerpc ;;
14158 +           unknown) UNAME_PROCESSOR=powerpc ;;
14159         esac
14160         echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
14161         exit 0 ;;
14162 @@ -1148,7 +1204,10 @@
14163      *:QNX:*:4*)
14164         echo i386-pc-qnx
14165         exit 0 ;;
14166 -    NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
14167 +    NSE-?:NONSTOP_KERNEL:*:*)
14168 +       echo nse-tandem-nsk${UNAME_RELEASE}
14169 +       exit 0 ;;
14170 +    NSR-?:NONSTOP_KERNEL:*:*)
14171         echo nsr-tandem-nsk${UNAME_RELEASE}
14172         exit 0 ;;
14173      *:NonStop-UX:*:*)
14174 @@ -1189,6 +1248,22 @@
14175      *:ITS:*:*)
14176         echo pdp10-unknown-its
14177         exit 0 ;;
14178 +    SEI:*:*:SEIUX)
14179 +        echo mips-sei-seiux${UNAME_RELEASE}
14180 +       exit 0 ;;
14181 +    *:DragonFly:*:*)
14182 +       echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
14183 +       exit 0 ;;
14184 +    *:*VMS:*:*)
14185 +       UNAME_MACHINE=`(uname -p) 2>/dev/null`
14186 +       case "${UNAME_MACHINE}" in
14187 +           A*) echo alpha-dec-vms && exit 0 ;;
14188 +           I*) echo ia64-dec-vms && exit 0 ;;
14189 +           V*) echo vax-dec-vms && exit 0 ;;
14190 +       esac ;;
14191 +    *:XENIX:*:SysV)
14192 +       echo i386-pc-xenix
14193 +       exit 0 ;;
14194  esac
14195  
14196  #echo '(No uname command or uname output not recognized.)' 1>&2
14197 @@ -1348,7 +1423,9 @@
14198  the operating system you are using. It is advised that you
14199  download the most up to date version of the config scripts from
14200  
14201 -    ftp://ftp.gnu.org/pub/gnu/config/
14202 +  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
14203 +and
14204 +  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
14205  
14206  If the version you run ($0) is already up to date, please
14207  send the following data and any information you think might be
14208 diff -ruN libsigcx-0.6.4-patched/scripts/config.sub libsigcx-0.6.4-regen/scripts/config.sub
14209 --- libsigcx-0.6.4-patched/scripts/config.sub   2003-04-21 12:13:43.000000000 -0700
14210 +++ libsigcx-0.6.4-regen/scripts/config.sub     2005-04-24 13:01:25.000000000 -0700
14211 @@ -1,9 +1,9 @@
14212  #! /bin/sh
14213  # Configuration validation subroutine script.
14214  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
14215 -#   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
14216 +#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
14217  
14218 -timestamp='2003-02-22'
14219 +timestamp='2005-04-22'
14220  
14221  # This file is (in principle) common to ALL GNU software.
14222  # The presence of a machine in this file suggests that SOME GNU software
14223 @@ -70,7 +70,7 @@
14224  version="\
14225  GNU config.sub ($timestamp)
14226  
14227 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
14228 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
14229  Free Software Foundation, Inc.
14230  
14231  This is free software; see the source for copying conditions.  There is NO
14232 @@ -118,7 +118,8 @@
14233  # Here we must recognize all the valid KERNEL-OS combinations.
14234  maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
14235  case $maybe_os in
14236 -  nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
14237 +  nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
14238 +  kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
14239      os=-$maybe_os
14240      basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
14241      ;;
14242 @@ -144,7 +145,7 @@
14243         -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
14244         -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
14245         -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
14246 -       -apple | -axis)
14247 +       -apple | -axis | -knuth | -cray)
14248                 os=
14249                 basic_machine=$1
14250                 ;;
14251 @@ -228,14 +229,16 @@
14252         | a29k \
14253         | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
14254         | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
14255 +       | am33_2.0 \
14256         | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
14257 -       | clipper \
14258 +       | bfin \
14259 +       | c4x | clipper \
14260         | d10v | d30v | dlx | dsp16xx \
14261         | fr30 | frv \
14262         | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
14263         | i370 | i860 | i960 | ia64 \
14264 -       | ip2k \
14265 -       | m32r | m68000 | m68k | m88k | mcore \
14266 +       | ip2k | iq2000 \
14267 +       | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
14268         | mips | mipsbe | mipseb | mipsel | mipsle \
14269         | mips16 \
14270         | mips64 | mips64el \
14271 @@ -247,6 +250,7 @@
14272         | mipsisa32 | mipsisa32el \
14273         | mipsisa32r2 | mipsisa32r2el \
14274         | mipsisa64 | mipsisa64el \
14275 +       | mipsisa64r2 | mipsisa64r2el \
14276         | mipsisa64sb1 | mipsisa64sb1el \
14277         | mipsisa64sr71k | mipsisa64sr71kel \
14278         | mipstx39 | mipstx39el \
14279 @@ -259,12 +263,13 @@
14280         | pyramid \
14281         | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
14282         | sh64 | sh64le \
14283 -       | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
14284 +       | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
14285 +       | sparcv8 | sparcv9 | sparcv9b \
14286         | strongarm \
14287 -       | tahoe | thumb | tic80 | tron \
14288 +       | tahoe | thumb | tic4x | tic80 | tron \
14289         | v850 | v850e \
14290         | we32k \
14291 -       | x86 | xscale | xstormy16 | xtensa \
14292 +       | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
14293         | z8k)
14294                 basic_machine=$basic_machine-unknown
14295                 ;;
14296 @@ -295,19 +300,19 @@
14297         | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
14298         | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
14299         | avr-* \
14300 -       | bs2000-* \
14301 +       | bfin-* | bs2000-* \
14302         | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
14303 -       | clipper-* | cydra-* \
14304 +       | clipper-* | craynv-* | cydra-* \
14305         | d10v-* | d30v-* | dlx-* \
14306         | elxsi-* \
14307         | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
14308         | h8300-* | h8500-* \
14309         | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
14310         | i*86-* | i860-* | i960-* | ia64-* \
14311 -       | ip2k-* \
14312 -       | m32r-* \
14313 +       | ip2k-* | iq2000-* \
14314 +       | m32r-* | m32rle-* \
14315         | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
14316 -       | m88110-* | m88k-* | mcore-* \
14317 +       | m88110-* | m88k-* | maxq-* | mcore-* \
14318         | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
14319         | mips16-* \
14320         | mips64-* | mips64el-* \
14321 @@ -319,11 +324,13 @@
14322         | mipsisa32-* | mipsisa32el-* \
14323         | mipsisa32r2-* | mipsisa32r2el-* \
14324         | mipsisa64-* | mipsisa64el-* \
14325 +       | mipsisa64r2-* | mipsisa64r2el-* \
14326         | mipsisa64sb1-* | mipsisa64sb1el-* \
14327         | mipsisa64sr71k-* | mipsisa64sr71kel-* \
14328         | mipstx39-* | mipstx39el-* \
14329 +       | mmix-* \
14330         | msp430-* \
14331 -       | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
14332 +       | none-* | np1-* | ns16k-* | ns32k-* \
14333         | orion-* \
14334         | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
14335         | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
14336 @@ -331,15 +338,16 @@
14337         | romp-* | rs6000-* \
14338         | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
14339         | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
14340 -       | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
14341 -       | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
14342 +       | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
14343 +       | sparclite-* \
14344 +       | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
14345         | tahoe-* | thumb-* \
14346         | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
14347         | tron-* \
14348         | v850-* | v850e-* | vax-* \
14349         | we32k-* \
14350 -       | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
14351 -       | xtensa-* \
14352 +       | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
14353 +       | xstormy16-* | xtensa-* \
14354         | ymp-* \
14355         | z8k-*)
14356                 ;;
14357 @@ -359,6 +367,9 @@
14358                 basic_machine=a29k-amd
14359                 os=-udi
14360                 ;;
14361 +       abacus)
14362 +               basic_machine=abacus-unknown
14363 +               ;;
14364         adobe68k)
14365                 basic_machine=m68010-adobe
14366                 os=-scout
14367 @@ -373,6 +384,12 @@
14368                 basic_machine=a29k-none
14369                 os=-bsd
14370                 ;;
14371 +       amd64)
14372 +               basic_machine=x86_64-pc
14373 +               ;;
14374 +       amd64-*)
14375 +               basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
14376 +               ;;
14377         amdahl)
14378                 basic_machine=580-amdahl
14379                 os=-sysv
14380 @@ -432,12 +449,27 @@
14381                 basic_machine=j90-cray
14382                 os=-unicos
14383                 ;;
14384 +       craynv)
14385 +               basic_machine=craynv-cray
14386 +               os=-unicosmp
14387 +               ;;
14388 +       cr16c)
14389 +               basic_machine=cr16c-unknown
14390 +               os=-elf
14391 +               ;;
14392         crds | unos)
14393                 basic_machine=m68k-crds
14394                 ;;
14395 +       crisv32 | crisv32-* | etraxfs*)
14396 +               basic_machine=crisv32-axis
14397 +               ;;
14398         cris | cris-* | etrax*)
14399                 basic_machine=cris-axis
14400                 ;;
14401 +       crx)
14402 +               basic_machine=crx-unknown
14403 +               os=-elf
14404 +               ;;
14405         da30 | da30-*)
14406                 basic_machine=m68k-da30
14407                 ;;
14408 @@ -460,6 +492,10 @@
14409                 basic_machine=m88k-motorola
14410                 os=-sysv3
14411                 ;;
14412 +       djgpp)
14413 +               basic_machine=i586-pc
14414 +               os=-msdosdjgpp
14415 +               ;;
14416         dpx20 | dpx20-*)
14417                 basic_machine=rs6000-bull
14418                 os=-bosx
14419 @@ -638,10 +674,6 @@
14420         mips3*)
14421                 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
14422                 ;;
14423 -       mmix*)
14424 -               basic_machine=mmix-knuth
14425 -               os=-mmixware
14426 -               ;;
14427         monitor)
14428                 basic_machine=m68k-rom68k
14429                 os=-coff
14430 @@ -722,10 +754,6 @@
14431         np1)
14432                 basic_machine=np1-gould
14433                 ;;
14434 -       nv1)
14435 -               basic_machine=nv1-cray
14436 -               os=-unicosmp
14437 -               ;;
14438         nsr-tandem)
14439                 basic_machine=nsr-tandem
14440                 ;;
14441 @@ -737,6 +765,10 @@
14442                 basic_machine=or32-unknown
14443                 os=-coff
14444                 ;;
14445 +       os400)
14446 +               basic_machine=powerpc-ibm
14447 +               os=-os400
14448 +               ;;
14449         OSE68000 | ose68000)
14450                 basic_machine=m68000-ericsson
14451                 os=-ose
14452 @@ -768,18 +800,24 @@
14453         pentiumpro | p6 | 6x86 | athlon | athlon_*)
14454                 basic_machine=i686-pc
14455                 ;;
14456 -       pentiumii | pentium2)
14457 +       pentiumii | pentium2 | pentiumiii | pentium3)
14458                 basic_machine=i686-pc
14459                 ;;
14460 +       pentium4)
14461 +               basic_machine=i786-pc
14462 +               ;;
14463         pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
14464                 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
14465                 ;;
14466         pentiumpro-* | p6-* | 6x86-* | athlon-*)
14467                 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
14468                 ;;
14469 -       pentiumii-* | pentium2-*)
14470 +       pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
14471                 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
14472                 ;;
14473 +       pentium4-*)
14474 +               basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
14475 +               ;;
14476         pn)
14477                 basic_machine=pn-gould
14478                 ;;
14479 @@ -838,6 +876,10 @@
14480         sb1el)
14481                 basic_machine=mipsisa64sb1el-unknown
14482                 ;;
14483 +       sei)
14484 +               basic_machine=mips-sei
14485 +               os=-seiux
14486 +               ;;
14487         sequent)
14488                 basic_machine=i386-sequent
14489                 ;;
14490 @@ -845,6 +887,9 @@
14491                 basic_machine=sh-hitachi
14492                 os=-hms
14493                 ;;
14494 +       sh64)
14495 +               basic_machine=sh64-unknown
14496 +               ;;
14497         sparclite-wrs | simso-wrs)
14498                 basic_machine=sparclite-wrs
14499                 os=-vxworks
14500 @@ -919,10 +964,6 @@
14501                 basic_machine=t90-cray
14502                 os=-unicos
14503                 ;;
14504 -        tic4x | c4x*)
14505 -               basic_machine=tic4x-unknown
14506 -               os=-coff
14507 -               ;;
14508         tic54x | c54x*)
14509                 basic_machine=tic54x-unknown
14510                 os=-coff
14511 @@ -948,6 +989,10 @@
14512         tower | tower-32)
14513                 basic_machine=m68k-ncr
14514                 ;;
14515 +       tpf)
14516 +               basic_machine=s390x-ibm
14517 +               os=-tpf
14518 +               ;;
14519         udi29k)
14520                 basic_machine=a29k-amd
14521                 os=-udi
14522 @@ -991,6 +1036,10 @@
14523                 basic_machine=hppa1.1-winbond
14524                 os=-proelf
14525                 ;;
14526 +       xbox)
14527 +               basic_machine=i686-pc
14528 +               os=-mingw32
14529 +               ;;
14530         xps | xps100)
14531                 basic_machine=xps100-honeywell
14532                 ;;
14533 @@ -1021,6 +1070,9 @@
14534         romp)
14535                 basic_machine=romp-ibm
14536                 ;;
14537 +       mmix)
14538 +               basic_machine=mmix-knuth
14539 +               ;;
14540         rs6000)
14541                 basic_machine=rs6000-ibm
14542                 ;;
14543 @@ -1043,7 +1095,7 @@
14544         sh64)
14545                 basic_machine=sh64-unknown
14546                 ;;
14547 -       sparc | sparcv9 | sparcv9b)
14548 +       sparc | sparcv8 | sparcv9 | sparcv9b)
14549                 basic_machine=sparc-sun
14550                 ;;
14551         cydra)
14552 @@ -1116,19 +1168,20 @@
14553               | -aos* \
14554               | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
14555               | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
14556 -             | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
14557 -             | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
14558 +             | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
14559 +             | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
14560 +             | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
14561               | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
14562               | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
14563               | -chorusos* | -chorusrdb* \
14564               | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
14565 -             | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
14566 +             | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
14567               | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
14568               | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
14569               | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
14570               | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
14571               | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
14572 -             | -powermax* | -dnix*)
14573 +             | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
14574         # Remember, each alternative MUST END IN *, to match a version number.
14575                 ;;
14576         -qnx*)
14577 @@ -1152,6 +1205,9 @@
14578         -mac*)
14579                 os=`echo $os | sed -e 's|mac|macos|'`
14580                 ;;
14581 +       -linux-dietlibc)
14582 +               os=-linux-dietlibc
14583 +               ;;
14584         -linux*)
14585                 os=`echo $os | sed -e 's|linux|linux-gnu|'`
14586                 ;;
14587 @@ -1164,6 +1220,9 @@
14588         -opened*)
14589                 os=-openedition
14590                 ;;
14591 +        -os400*)
14592 +               os=-os400
14593 +               ;;
14594         -wince*)
14595                 os=-wince
14596                 ;;
14597 @@ -1185,6 +1244,9 @@
14598         -atheos*)
14599                 os=-atheos
14600                 ;;
14601 +       -syllable*)
14602 +               os=-syllable
14603 +               ;;
14604         -386bsd)
14605                 os=-bsd
14606                 ;;
14607 @@ -1207,6 +1269,9 @@
14608         -sinix*)
14609                 os=-sysv4
14610                 ;;
14611 +        -tpf*)
14612 +               os=-tpf
14613 +               ;;
14614         -triton*)
14615                 os=-sysv3
14616                 ;;
14617 @@ -1243,6 +1308,9 @@
14618         -kaos*)
14619                 os=-kaos
14620                 ;;
14621 +       -zvmoe)
14622 +               os=-zvmoe
14623 +               ;;
14624         -none)
14625                 ;;
14626         *)
14627 @@ -1274,6 +1342,9 @@
14628         arm*-semi)
14629                 os=-aout
14630                 ;;
14631 +    c4x-* | tic4x-*)
14632 +        os=-coff
14633 +        ;;
14634         # This must come before the *-dec entry.
14635         pdp10-*)
14636                 os=-tops20
14637 @@ -1320,6 +1391,9 @@
14638         *-ibm)
14639                 os=-aix
14640                 ;;
14641 +       *-knuth)
14642 +               os=-mmixware
14643 +               ;;
14644         *-wec)
14645                 os=-proelf
14646                 ;;
14647 @@ -1452,9 +1526,15 @@
14648                         -mvs* | -opened*)
14649                                 vendor=ibm
14650                                 ;;
14651 +                       -os400*)
14652 +                               vendor=ibm
14653 +                               ;;
14654                         -ptx*)
14655                                 vendor=sequent
14656                                 ;;
14657 +                       -tpf*)
14658 +                               vendor=ibm
14659 +                               ;;
14660                         -vxsim* | -vxworks* | -windiss*)
14661                                 vendor=wrs
14662                                 ;;
14663 diff -ruN libsigcx-0.6.4-patched/scripts/depcomp libsigcx-0.6.4-regen/scripts/depcomp
14664 --- libsigcx-0.6.4-patched/scripts/depcomp      2003-05-19 11:10:58.000000000 -0700
14665 +++ libsigcx-0.6.4-regen/scripts/depcomp        1969-12-31 16:00:00.000000000 -0800
14666 @@ -1,464 +0,0 @@
14667 -#! /bin/sh
14668 -
14669 -# depcomp - compile a program generating dependencies as side-effects
14670 -# Copyright 1999, 2000 Free Software Foundation, Inc.
14671 -
14672 -# This program is free software; you can redistribute it and/or modify
14673 -# it under the terms of the GNU General Public License as published by
14674 -# the Free Software Foundation; either version 2, or (at your option)
14675 -# any later version.
14676 -
14677 -# This program is distributed in the hope that it will be useful,
14678 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
14679 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14680 -# GNU General Public License for more details.
14681 -
14682 -# You should have received a copy of the GNU General Public License
14683 -# along with this program; if not, write to the Free Software
14684 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
14685 -# 02111-1307, USA.
14686 -
14687 -# As a special exception to the GNU General Public License, if you
14688 -# distribute this file as part of a program that contains a
14689 -# configuration script generated by Autoconf, you may include it under
14690 -# the same distribution terms that you use for the rest of that program.
14691 -
14692 -# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
14693 -
14694 -if test -z "$depmode" || test -z "$source" || test -z "$object"; then
14695 -  echo "depcomp: Variables source, object and depmode must be set" 1>&2
14696 -  exit 1
14697 -fi
14698 -# `libtool' can also be set to `yes' or `no'.
14699 -
14700 -if test -z "$depfile"; then
14701 -   base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'`
14702 -   dir=`echo "$object" | sed 's,/.*$,/,'`
14703 -   if test "$dir" = "$object"; then
14704 -      dir=
14705 -   fi
14706 -   # FIXME: should be _deps on DOS.
14707 -   depfile="$dir.deps/$base"
14708 -fi
14709 -
14710 -tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
14711 -
14712 -rm -f "$tmpdepfile"
14713 -
14714 -# Some modes work just like other modes, but use different flags.  We
14715 -# parameterize here, but still list the modes in the big case below,
14716 -# to make depend.m4 easier to write.  Note that we *cannot* use a case
14717 -# here, because this file can only contain one case statement.
14718 -if test "$depmode" = hp; then
14719 -  # HP compiler uses -M and no extra arg.
14720 -  gccflag=-M
14721 -  depmode=gcc
14722 -fi
14723 -
14724 -if test "$depmode" = dashXmstdout; then
14725 -   # This is just like dashmstdout with a different argument.
14726 -   dashmflag=-xM
14727 -   depmode=dashmstdout
14728 -fi
14729 -
14730 -case "$depmode" in
14731 -gcc3)
14732 -## gcc 3 implements dependency tracking that does exactly what
14733 -## we want.  Yay!  Note: for some reason libtool 1.4 doesn't like
14734 -## it if -MD -MP comes after the -MF stuff.  Hmm.
14735 -  "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
14736 -  stat=$?
14737 -  if test $stat -eq 0; then :
14738 -  else
14739 -    rm -f "$tmpdepfile"
14740 -    exit $stat
14741 -  fi
14742 -  mv "$tmpdepfile" "$depfile"
14743 -  ;;
14744 -
14745 -gcc)
14746 -## There are various ways to get dependency output from gcc.  Here's
14747 -## why we pick this rather obscure method:
14748 -## - Don't want to use -MD because we'd like the dependencies to end
14749 -##   up in a subdir.  Having to rename by hand is ugly.
14750 -##   (We might end up doing this anyway to support other compilers.)
14751 -## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
14752 -##   -MM, not -M (despite what the docs say).
14753 -## - Using -M directly means running the compiler twice (even worse
14754 -##   than renaming).
14755 -  if test -z "$gccflag"; then
14756 -    gccflag=-MD,
14757 -  fi
14758 -  "$@" -Wp,"$gccflag$tmpdepfile"
14759 -  stat=$?
14760 -  if test $stat -eq 0; then :
14761 -  else
14762 -    rm -f "$tmpdepfile"
14763 -    exit $stat
14764 -  fi
14765 -  rm -f "$depfile"
14766 -  echo "$object : \\" > "$depfile"
14767 -  alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
14768 -## The second -e expression handles DOS-style file names with drive letters.
14769 -  sed -e 's/^[^:]*: / /' \
14770 -      -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
14771 -## This next piece of magic avoids the `deleted header file' problem.
14772 -## The problem is that when a header file which appears in a .P file
14773 -## is deleted, the dependency causes make to die (because there is
14774 -## typically no way to rebuild the header).  We avoid this by adding
14775 -## dummy dependencies for each header file.  Too bad gcc doesn't do
14776 -## this for us directly.
14777 -  tr ' ' '
14778 -' < "$tmpdepfile" |
14779 -## Some versions of gcc put a space before the `:'.  On the theory
14780 -## that the space means something, we add a space to the output as
14781 -## well.
14782 -## Some versions of the HPUX 10.20 sed can't process this invocation
14783 -## correctly.  Breaking it into two sed invocations is a workaround.
14784 -    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
14785 -  rm -f "$tmpdepfile"
14786 -  ;;
14787 -
14788 -hp)
14789 -  # This case exists only to let depend.m4 do its work.  It works by
14790 -  # looking at the text of this script.  This case will never be run,
14791 -  # since it is checked for above.
14792 -  exit 1
14793 -  ;;
14794 -
14795 -sgi)
14796 -  if test "$libtool" = yes; then
14797 -    "$@" "-Wp,-MDupdate,$tmpdepfile"
14798 -  else
14799 -    "$@" -MDupdate "$tmpdepfile"
14800 -  fi
14801 -  stat=$?
14802 -  if test $stat -eq 0; then :
14803 -  else
14804 -    rm -f "$tmpdepfile"
14805 -    exit $stat
14806 -  fi
14807 -  rm -f "$depfile"
14808 -
14809 -  if test -f "$tmpdepfile"; then  # yes, the sourcefile depend on other files
14810 -    echo "$object : \\" > "$depfile"
14811 -
14812 -    # Clip off the initial element (the dependent).  Don't try to be
14813 -    # clever and replace this with sed code, as IRIX sed won't handle
14814 -    # lines with more than a fixed number of characters (4096 in
14815 -    # IRIX 6.2 sed, 8192 in IRIX 6.5).  We also remove comment lines;
14816 -    # the IRIX cc adds comments like `#:fec' to the end of the
14817 -    # dependency line.
14818 -    tr ' ' '
14819 -' < "$tmpdepfile" \
14820 -    | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
14821 -    tr '
14822 -' ' ' >> $depfile
14823 -    echo >> $depfile
14824 -
14825 -    # The second pass generates a dummy entry for each header file.
14826 -    tr ' ' '
14827 -' < "$tmpdepfile" \
14828 -   | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
14829 -   >> $depfile
14830 -  else
14831 -    # The sourcefile does not contain any dependencies, so just
14832 -    # store a dummy comment line, to avoid errors with the Makefile
14833 -    # "include basename.Plo" scheme.
14834 -    echo "#dummy" > "$depfile"
14835 -  fi
14836 -  rm -f "$tmpdepfile"
14837 -  ;;
14838 -
14839 -aix)
14840 -  # The C for AIX Compiler uses -M and outputs the dependencies
14841 -  # in a .u file.  This file always lives in the current directory.
14842 -  # Also, the AIX compiler puts `$object:' at the start of each line;
14843 -  # $object doesn't have directory information.
14844 -  stripped=`echo "$object" | sed -e 's,^.*/,,' -e 's/\(.*\)\..*$/\1/'`
14845 -  tmpdepfile="$stripped.u"
14846 -  outname="$stripped.o"
14847 -  if test "$libtool" = yes; then
14848 -    "$@" -Wc,-M
14849 -  else
14850 -    "$@" -M
14851 -  fi
14852 -
14853 -  stat=$?
14854 -  if test $stat -eq 0; then :
14855 -  else
14856 -    rm -f "$tmpdepfile"
14857 -    exit $stat
14858 -  fi
14859 -
14860 -  if test -f "$tmpdepfile"; then
14861 -    # Each line is of the form `foo.o: dependent.h'.
14862 -    # Do two passes, one to just change these to
14863 -    # `$object: dependent.h' and one to simply `dependent.h:'.
14864 -    sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
14865 -    sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
14866 -  else
14867 -    # The sourcefile does not contain any dependencies, so just
14868 -    # store a dummy comment line, to avoid errors with the Makefile
14869 -    # "include basename.Plo" scheme.
14870 -    echo "#dummy" > "$depfile"
14871 -  fi
14872 -  rm -f "$tmpdepfile"
14873 -  ;;
14874 -
14875 -icc)
14876 -  # Must come before tru64.
14877 -
14878 -  # Intel's C compiler understands `-MD -MF file'.  However
14879 -  #    icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
14880 -  # will fill foo.d with something like
14881 -  #    foo.o: sub/foo.c
14882 -  #    foo.o: sub/foo.h
14883 -  # which is wrong.  We want:
14884 -  #    sub/foo.o: sub/foo.c
14885 -  #    sub/foo.o: sub/foo.h
14886 -  #    sub/foo.c:
14887 -  #    sub/foo.h:
14888 -
14889 -  "$@" -MD -MF "$tmpdepfile"
14890 -  stat=$?
14891 -  if test $stat -eq 0; then :
14892 -  else
14893 -    rm -f "$tmpdepfile"
14894 -    exit $stat
14895 -  fi
14896 -  rm -f "$depfile"
14897 -  # Each line is of the form `foo.o: dependent.h'.
14898 -  # Do two passes, one to just change these to
14899 -  # `$object: dependent.h' and one to simply `dependent.h:'.
14900 -  sed -e "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
14901 -  sed -e "s,^[^:]*: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
14902 -  rm -f "$tmpdepfile"
14903 -  ;;
14904 -
14905 -tru64)
14906 -   # The Tru64 compiler uses -MD to generate dependencies as a side
14907 -   # effect.  `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
14908 -   # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
14909 -   # dependencies in `foo.d' instead, so we check for that too.
14910 -   # Subdirectories are respected.
14911 -   dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
14912 -   test "x$dir" = "x$object" && dir=
14913 -   base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
14914 -
14915 -   if test "$libtool" = yes; then
14916 -      tmpdepfile1="$dir.libs/$base.lo.d"
14917 -      tmpdepfile2="$dir.libs/$base.d"
14918 -      "$@" -Wc,-MD
14919 -   else
14920 -      tmpdepfile1="$dir$base.o.d"
14921 -      tmpdepfile2="$dir$base.d"
14922 -      "$@" -MD
14923 -   fi
14924 -
14925 -   stat=$?
14926 -   if test $stat -eq 0; then :
14927 -   else
14928 -      rm -f "$tmpdepfile1" "$tmpdepfile2"
14929 -      exit $stat
14930 -   fi
14931 -
14932 -   if test -f "$tmpdepfile1"; then
14933 -      tmpdepfile="$tmpdepfile1"
14934 -   else
14935 -      tmpdepfile="$tmpdepfile2"
14936 -   fi
14937 -   if test -f "$tmpdepfile"; then
14938 -      sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
14939 -      # That's a space and a tab in the [].
14940 -      sed -e 's,^.*\.[a-z]*:[  ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
14941 -   else
14942 -      echo "#dummy" > "$depfile"
14943 -   fi
14944 -   rm -f "$tmpdepfile"
14945 -   ;;
14946 -
14947 -#nosideeffect)
14948 -  # This comment above is used by automake to tell side-effect
14949 -  # dependency tracking mechanisms from slower ones.
14950 -
14951 -dashmstdout)
14952 -  # Important note: in order to support this mode, a compiler *must*
14953 -  # always write the proprocessed file to stdout, regardless of -o.
14954 -  "$@" || exit $?
14955 -
14956 -  # Remove the call to Libtool.
14957 -  if test "$libtool" = yes; then
14958 -    while test $1 != '--mode=compile'; do
14959 -      shift
14960 -    done
14961 -    shift
14962 -  fi
14963 -
14964 -  # Remove `-o $object'.
14965 -  IFS=" "
14966 -  for arg
14967 -  do
14968 -    case $arg in
14969 -    -o)
14970 -      shift
14971 -      ;;
14972 -    $object)
14973 -      shift
14974 -      ;;
14975 -    *)
14976 -      set fnord "$@" "$arg"
14977 -      shift # fnord
14978 -      shift # $arg
14979 -      ;;
14980 -    esac
14981 -  done
14982 -
14983 -  test -z "$dashmflag" && dashmflag=-M
14984 -  # Require at least two characters before searching for `:'
14985 -  # in the target name.  This is to cope with DOS-style filenames:
14986 -  # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
14987 -  "$@" $dashmflag |
14988 -    sed 's:^[  ]*[^: ][^:][^:]*\:[    ]*:'"$object"'\: :' > "$tmpdepfile"
14989 -  rm -f "$depfile"
14990 -  cat < "$tmpdepfile" > "$depfile"
14991 -  tr ' ' '
14992 -' < "$tmpdepfile" | \
14993 -## Some versions of the HPUX 10.20 sed can't process this invocation
14994 -## correctly.  Breaking it into two sed invocations is a workaround.
14995 -    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
14996 -  rm -f "$tmpdepfile"
14997 -  ;;
14998 -
14999 -dashXmstdout)
15000 -  # This case only exists to satisfy depend.m4.  It is never actually
15001 -  # run, as this mode is specially recognized in the preamble.
15002 -  exit 1
15003 -  ;;
15004 -
15005 -makedepend)
15006 -  "$@" || exit $?
15007 -  # Remove any Libtool call
15008 -  if test "$libtool" = yes; then
15009 -    while test $1 != '--mode=compile'; do
15010 -      shift
15011 -    done
15012 -    shift
15013 -  fi
15014 -  # X makedepend
15015 -  shift
15016 -  cleared=no
15017 -  for arg in "$@"; do
15018 -    case $cleared in
15019 -    no)
15020 -      set ""; shift
15021 -      cleared=yes ;;
15022 -    esac
15023 -    case "$arg" in
15024 -    -D*|-I*)
15025 -      set fnord "$@" "$arg"; shift ;;
15026 -    # Strip any option that makedepend may not understand.  Remove
15027 -    # the object too, otherwise makedepend will parse it as a source file.
15028 -    -*|$object)
15029 -      ;;
15030 -    *)
15031 -      set fnord "$@" "$arg"; shift ;;
15032 -    esac
15033 -  done
15034 -  obj_suffix="`echo $object | sed 's/^.*\././'`"
15035 -  touch "$tmpdepfile"
15036 -  ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
15037 -  rm -f "$depfile"
15038 -  cat < "$tmpdepfile" > "$depfile"
15039 -  sed '1,2d' "$tmpdepfile" | tr ' ' '
15040 -' | \
15041 -## Some versions of the HPUX 10.20 sed can't process this invocation
15042 -## correctly.  Breaking it into two sed invocations is a workaround.
15043 -    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
15044 -  rm -f "$tmpdepfile" "$tmpdepfile".bak
15045 -  ;;
15046 -
15047 -cpp)
15048 -  # Important note: in order to support this mode, a compiler *must*
15049 -  # always write the proprocessed file to stdout.
15050 -  "$@" || exit $?
15051 -
15052 -  # Remove the call to Libtool.
15053 -  if test "$libtool" = yes; then
15054 -    while test $1 != '--mode=compile'; do
15055 -      shift
15056 -    done
15057 -    shift
15058 -  fi
15059 -
15060 -  # Remove `-o $object'.
15061 -  IFS=" "
15062 -  for arg
15063 -  do
15064 -    case $arg in
15065 -    -o)
15066 -      shift
15067 -      ;;
15068 -    $object)
15069 -      shift
15070 -      ;;
15071 -    *)
15072 -      set fnord "$@" "$arg"
15073 -      shift # fnord
15074 -      shift # $arg
15075 -      ;;
15076 -    esac
15077 -  done
15078 -
15079 -  "$@" -E |
15080 -    sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
15081 -    sed '$ s: \\$::' > "$tmpdepfile"
15082 -  rm -f "$depfile"
15083 -  echo "$object : \\" > "$depfile"
15084 -  cat < "$tmpdepfile" >> "$depfile"
15085 -  sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
15086 -  rm -f "$tmpdepfile"
15087 -  ;;
15088 -
15089 -msvisualcpp)
15090 -  # Important note: in order to support this mode, a compiler *must*
15091 -  # always write the proprocessed file to stdout, regardless of -o,
15092 -  # because we must use -o when running libtool.
15093 -  "$@" || exit $?
15094 -  IFS=" "
15095 -  for arg
15096 -  do
15097 -    case "$arg" in
15098 -    "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
15099 -       set fnord "$@"
15100 -       shift
15101 -       shift
15102 -       ;;
15103 -    *)
15104 -       set fnord "$@" "$arg"
15105 -       shift
15106 -       shift
15107 -       ;;
15108 -    esac
15109 -  done
15110 -  "$@" -E |
15111 -  sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
15112 -  rm -f "$depfile"
15113 -  echo "$object : \\" > "$depfile"
15114 -  . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::   \1 \\:p' >> "$depfile"
15115 -  echo "       " >> "$depfile"
15116 -  . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
15117 -  rm -f "$tmpdepfile"
15118 -  ;;
15119 -
15120 -none)
15121 -  exec "$@"
15122 -  ;;
15123 -
15124 -*)
15125 -  echo "Unknown depmode $depmode" 1>&2
15126 -  exit 1
15127 -  ;;
15128 -esac
15129 -
15130 -exit 0
15131 diff -ruN libsigcx-0.6.4-patched/scripts/install-sh libsigcx-0.6.4-regen/scripts/install-sh
15132 --- libsigcx-0.6.4-patched/scripts/install-sh   2003-05-19 11:10:58.000000000 -0700
15133 +++ libsigcx-0.6.4-regen/scripts/install-sh     2005-02-05 22:18:29.000000000 -0800
15134 @@ -74,7 +74,7 @@
15135  
15136  while [ x"$1" != x ]; do
15137      case $1 in
15138 -       -c) instcmd=$cpprog
15139 +       -c) instcmd="$cpprog"
15140             shift
15141             continue;;
15142  
15143 @@ -97,7 +97,7 @@
15144             shift
15145             continue;;
15146  
15147 -       -s) stripcmd=$stripprog
15148 +       -s) stripcmd="$stripprog"
15149             shift
15150             continue;;
15151  
15152 @@ -124,132 +124,128 @@
15153  
15154  if [ x"$src" = x ]
15155  then
15156 -       echo "$0: no input file specified" >&2
15157 +       echo "install:  no input file specified"
15158         exit 1
15159  else
15160 -       :
15161 +       true
15162  fi
15163  
15164  if [ x"$dir_arg" != x ]; then
15165         dst=$src
15166         src=""
15167 -
15168 -       if [ -d "$dst" ]; then
15169 +       
15170 +       if [ -d $dst ]; then
15171                 instcmd=:
15172                 chmodcmd=""
15173         else
15174 -               instcmd=$mkdirprog
15175 +               instcmd=mkdir
15176         fi
15177  else
15178  
15179  # Waiting for this to be detected by the "$instcmd $src $dsttmp" command
15180 -# might cause directories to be created, which would be especially bad
15181 +# might cause directories to be created, which would be especially bad 
15182  # if $src (and thus $dsttmp) contains '*'.
15183  
15184 -       if [ -f "$src" ] || [ -d "$src" ]
15185 +       if [ -f $src -o -d $src ]
15186         then
15187 -               :
15188 +               true
15189         else
15190 -               echo "$0: $src does not exist" >&2
15191 +               echo "install:  $src does not exist"
15192                 exit 1
15193         fi
15194 -
15195 +       
15196         if [ x"$dst" = x ]
15197         then
15198 -               echo "$0: no destination specified" >&2
15199 +               echo "install:  no destination specified"
15200                 exit 1
15201         else
15202 -               :
15203 +               true
15204         fi
15205  
15206  # If destination is a directory, append the input filename; if your system
15207  # does not like double slashes in filenames, you may need to add some logic
15208  
15209 -       if [ -d "$dst" ]
15210 +       if [ -d $dst ]
15211         then
15212 -               dst=$dst/`basename "$src"`
15213 +               dst="$dst"/`basename $src`
15214         else
15215 -               :
15216 +               true
15217         fi
15218  fi
15219  
15220  ## this sed command emulates the dirname command
15221 -dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
15222 +dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
15223  
15224  # Make sure that the destination directory exists.
15225  #  this part is taken from Noah Friedman's mkinstalldirs script
15226  
15227  # Skip lots of stat calls in the usual case.
15228  if [ ! -d "$dstdir" ]; then
15229 -defaultIFS='
15230 -       '
15231 -IFS="${IFS-$defaultIFS}"
15232 +defaultIFS='   
15233 +'
15234 +IFS="${IFS-${defaultIFS}}"
15235  
15236 -oIFS=$IFS
15237 +oIFS="${IFS}"
15238  # Some sh's can't handle IFS=/ for some reason.
15239  IFS='%'
15240 -set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
15241 -IFS=$oIFS
15242 +set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
15243 +IFS="${oIFS}"
15244  
15245  pathcomp=''
15246  
15247  while [ $# -ne 0 ] ; do
15248 -       pathcomp=$pathcomp$1
15249 +       pathcomp="${pathcomp}${1}"
15250         shift
15251  
15252 -       if [ ! -d "$pathcomp" ] ;
15253 +       if [ ! -d "${pathcomp}" ] ;
15254          then
15255 -               $mkdirprog "$pathcomp"
15256 +               $mkdirprog "${pathcomp}"
15257         else
15258 -               :
15259 +               true
15260         fi
15261  
15262 -       pathcomp=$pathcomp/
15263 +       pathcomp="${pathcomp}/"
15264  done
15265  fi
15266  
15267  if [ x"$dir_arg" != x ]
15268  then
15269 -       $doit $instcmd "$dst" &&
15270 +       $doit $instcmd $dst &&
15271  
15272 -       if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dst"; else : ; fi &&
15273 -       if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dst"; else : ; fi &&
15274 -       if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dst"; else : ; fi &&
15275 -       if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dst"; else : ; fi
15276 +       if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
15277 +       if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
15278 +       if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
15279 +       if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
15280  else
15281  
15282  # If we're going to rename the final executable, determine the name now.
15283  
15284 -       if [ x"$transformarg" = x ]
15285 +       if [ x"$transformarg" = x ] 
15286         then
15287 -               dstfile=`basename "$dst"`
15288 +               dstfile=`basename $dst`
15289         else
15290 -               dstfile=`basename "$dst" $transformbasename |
15291 +               dstfile=`basename $dst $transformbasename | 
15292                         sed $transformarg`$transformbasename
15293         fi
15294  
15295  # don't allow the sed command to completely eliminate the filename
15296  
15297 -       if [ x"$dstfile" = x ]
15298 +       if [ x"$dstfile" = x ] 
15299         then
15300 -               dstfile=`basename "$dst"`
15301 +               dstfile=`basename $dst`
15302         else
15303 -               :
15304 +               true
15305         fi
15306  
15307 -# Make a couple of temp file names in the proper directory.
15308 +# Make a temp file name in the proper directory.
15309  
15310         dsttmp=$dstdir/#inst.$$#
15311 -       rmtmp=$dstdir/#rm.$$#
15312 -
15313 -# Trap to clean up temp files at exit.
15314 -
15315 -       trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0
15316 -       trap '(exit $?); exit' 1 2 13 15
15317  
15318  # Move or copy the file name to the temp name
15319  
15320 -       $doit $instcmd "$src" "$dsttmp" &&
15321 +       $doit $instcmd $src $dsttmp &&
15322 +
15323 +       trap "rm -f ${dsttmp}" 0 &&
15324  
15325  # and set any options; do chmod last to preserve setuid bits
15326  
15327 @@ -257,38 +253,17 @@
15328  # ignore errors from any of these, just make sure not to ignore
15329  # errors from the above "$doit $instcmd $src $dsttmp" command.
15330  
15331 -       if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp"; else :;fi &&
15332 -       if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp"; else :;fi &&
15333 -       if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dsttmp"; else :;fi &&
15334 -       if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; else :;fi &&
15335 -
15336 -# Now remove or move aside any old file at destination location.  We try this
15337 -# two ways since rm can't unlink itself on some systems and the destination
15338 -# file might be busy for other reasons.  In this case, the final cleanup
15339 -# might fail but the new file should still install successfully.
15340 -
15341 -{
15342 -       if [ -f "$dstdir/$dstfile" ]
15343 -       then
15344 -               $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null ||
15345 -               $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null ||
15346 -               {
15347 -                 echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
15348 -                 (exit 1); exit
15349 -               }
15350 -       else
15351 -               :
15352 -       fi
15353 -} &&
15354 +       if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
15355 +       if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
15356 +       if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
15357 +       if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
15358  
15359  # Now rename the file to the real destination.
15360  
15361 -       $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
15362 +       $doit $rmcmd -f $dstdir/$dstfile &&
15363 +       $doit $mvcmd $dsttmp $dstdir/$dstfile 
15364  
15365  fi &&
15366  
15367 -# The final little trick to "correctly" pass the exit status to the exit trap.
15368  
15369 -{
15370 -       (exit 0); exit
15371 -}
15372 +exit 0
15373 diff -ruN libsigcx-0.6.4-patched/scripts/libtool.m4 libsigcx-0.6.4-regen/scripts/libtool.m4
15374 --- libsigcx-0.6.4-patched/scripts/libtool.m4   2003-04-22 10:28:48.000000000 -0700
15375 +++ libsigcx-0.6.4-regen/scripts/libtool.m4     1969-12-31 16:00:00.000000000 -0800
15376 @@ -1,5867 +0,0 @@
15377 -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
15378 -## Copyright 1996, 1997, 1998, 1999, 2000, 2001
15379 -## Free Software Foundation, Inc.
15380 -## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
15381 -##
15382 -## This program is free software; you can redistribute it and/or modify
15383 -## it under the terms of the GNU General Public License as published by
15384 -## the Free Software Foundation; either version 2 of the License, or
15385 -## (at your option) any later version.
15386 -##
15387 -## This program is distributed in the hope that it will be useful, but
15388 -## WITHOUT ANY WARRANTY; without even the implied warranty of
15389 -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15390 -## General Public License for more details.
15391 -##
15392 -## You should have received a copy of the GNU General Public License
15393 -## along with this program; if not, write to the Free Software
15394 -## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15395 -##
15396 -## As a special exception to the GNU General Public License, if you
15397 -## distribute this file as part of a program that contains a
15398 -## configuration script generated by Autoconf, you may include it under
15399 -## the same distribution terms that you use for the rest of that program.
15400 -
15401 -# serial 47 AC_PROG_LIBTOOL
15402 -
15403 -
15404 -# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
15405 -# -----------------------------------------------------------
15406 -# If this macro is not defined by Autoconf, define it here.
15407 -m4_ifdef([AC_PROVIDE_IFELSE],
15408 -         [],
15409 -         [m4_define([AC_PROVIDE_IFELSE],
15410 -                [m4_ifdef([AC_PROVIDE_$1],
15411 -                          [$2], [$3])])])
15412 -
15413 -
15414 -# AC_PROG_LIBTOOL
15415 -# ---------------
15416 -AC_DEFUN([AC_PROG_LIBTOOL],
15417 -[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
15418 -dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
15419 -dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
15420 -  AC_PROVIDE_IFELSE([AC_PROG_CXX],
15421 -    [AC_LIBTOOL_CXX],
15422 -    [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
15423 -  ])])
15424 -dnl And a similar setup for Fortran 77 support
15425 -  AC_PROVIDE_IFELSE([AC_PROG_F77],
15426 -    [AC_LIBTOOL_F77],
15427 -    [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
15428 -])])
15429 -
15430 -dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
15431 -dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
15432 -dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
15433 -  AC_PROVIDE_IFELSE([AC_PROG_GCJ],
15434 -    [AC_LIBTOOL_GCJ],
15435 -    [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
15436 -      [AC_LIBTOOL_GCJ],
15437 -      [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
15438 -       [AC_LIBTOOL_GCJ],
15439 -      [ifdef([AC_PROG_GCJ],
15440 -            [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
15441 -       ifdef([A][M_PROG_GCJ],
15442 -            [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
15443 -       ifdef([LT_AC_PROG_GCJ],
15444 -            [define([LT_AC_PROG_GCJ],
15445 -               defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
15446 -])])# AC_PROG_LIBTOOL
15447 -
15448 -
15449 -# _AC_PROG_LIBTOOL
15450 -# ----------------
15451 -AC_DEFUN([_AC_PROG_LIBTOOL],
15452 -[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
15453 -AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
15454 -AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
15455 -AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
15456 -
15457 -# This can be used to rebuild libtool when needed
15458 -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
15459 -
15460 -# Always use our own libtool.
15461 -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
15462 -AC_SUBST(LIBTOOL)dnl
15463 -
15464 -# Prevent multiple expansion
15465 -define([AC_PROG_LIBTOOL], [])
15466 -])# _AC_PROG_LIBTOOL
15467 -
15468 -
15469 -# AC_LIBTOOL_SETUP
15470 -# ----------------
15471 -AC_DEFUN([AC_LIBTOOL_SETUP],
15472 -[AC_PREREQ(2.50)dnl
15473 -AC_REQUIRE([AC_ENABLE_SHARED])dnl
15474 -AC_REQUIRE([AC_ENABLE_STATIC])dnl
15475 -AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
15476 -AC_REQUIRE([AC_CANONICAL_HOST])dnl
15477 -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
15478 -AC_REQUIRE([AC_PROG_CC])dnl
15479 -AC_REQUIRE([AC_PROG_LD])dnl
15480 -AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
15481 -AC_REQUIRE([AC_PROG_NM])dnl
15482 -
15483 -AC_REQUIRE([AC_PROG_LN_S])dnl
15484 -AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
15485 -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
15486 -AC_REQUIRE([AC_OBJEXT])dnl
15487 -AC_REQUIRE([AC_EXEEXT])dnl
15488 -dnl
15489 -
15490 -AC_LIBTOOL_SYS_MAX_CMD_LEN
15491 -AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
15492 -AC_LIBTOOL_OBJDIR
15493 -
15494 -AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
15495 -_LT_AC_PROG_ECHO_BACKSLASH
15496 -
15497 -case $host_os in
15498 -aix3*)
15499 -  # AIX sometimes has problems with the GCC collect2 program.  For some
15500 -  # reason, if we set the COLLECT_NAMES environment variable, the problems
15501 -  # vanish in a puff of smoke.
15502 -  if test "X${COLLECT_NAMES+set}" != Xset; then
15503 -    COLLECT_NAMES=
15504 -    export COLLECT_NAMES
15505 -  fi
15506 -  ;;
15507 -esac
15508 -
15509 -# Sed substitution that helps us do robust quoting.  It backslashifies
15510 -# metacharacters that are still active within double-quoted strings.
15511 -Xsed='sed -e s/^X//'
15512 -[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
15513 -
15514 -# Same as above, but do not quote variable references.
15515 -[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
15516 -
15517 -# Sed substitution to delay expansion of an escaped shell variable in a
15518 -# double_quote_subst'ed string.
15519 -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
15520 -
15521 -# Sed substitution to avoid accidental globbing in evaled expressions
15522 -no_glob_subst='s/\*/\\\*/g'
15523 -
15524 -# Constants:
15525 -rm="rm -f"
15526 -
15527 -# Global variables:
15528 -default_ofile=libtool
15529 -can_build_shared=yes
15530 -
15531 -# All known linkers require a `.a' archive for static linking (except M$VC,
15532 -# which needs '.lib').
15533 -libext=a
15534 -ltmain="$ac_aux_dir/ltmain.sh"
15535 -ofile="$default_ofile"
15536 -with_gnu_ld="$lt_cv_prog_gnu_ld"
15537 -
15538 -AC_CHECK_TOOL(AR, ar, false)
15539 -AC_CHECK_TOOL(RANLIB, ranlib, :)
15540 -AC_CHECK_TOOL(STRIP, strip, :)
15541 -
15542 -old_CC="$CC"
15543 -old_CFLAGS="$CFLAGS"
15544 -
15545 -# Set sane defaults for various variables
15546 -test -z "$AR" && AR=ar
15547 -test -z "$AR_FLAGS" && AR_FLAGS=cru
15548 -test -z "$AS" && AS=as
15549 -test -z "$CC" && CC=cc
15550 -test -z "$LTCC" && LTCC=$CC
15551 -test -z "$DLLTOOL" && DLLTOOL=dlltool
15552 -test -z "$LD" && LD=ld
15553 -test -z "$LN_S" && LN_S="ln -s"
15554 -test -z "$MAGIC_CMD" && MAGIC_CMD=file
15555 -test -z "$NM" && NM=nm
15556 -test -z "$SED" && SED=sed
15557 -test -z "$OBJDUMP" && OBJDUMP=objdump
15558 -test -z "$RANLIB" && RANLIB=:
15559 -test -z "$STRIP" && STRIP=:
15560 -test -z "$ac_objext" && ac_objext=o
15561 -
15562 -# Determine commands to create old-style static archives.
15563 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
15564 -old_postinstall_cmds='chmod 644 $oldlib'
15565 -old_postuninstall_cmds=
15566 -
15567 -if test -n "$RANLIB"; then
15568 -  case $host_os in
15569 -  openbsd*)
15570 -    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
15571 -    ;;
15572 -  *)
15573 -    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
15574 -    ;;
15575 -  esac
15576 -  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
15577 -fi
15578 -
15579 -# Only perform the check for file, if the check method requires it
15580 -case $deplibs_check_method in
15581 -file_magic*)
15582 -  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
15583 -    AC_PATH_MAGIC
15584 -  fi
15585 -  ;;
15586 -esac
15587 -
15588 -AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
15589 -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
15590 -enable_win32_dll=yes, enable_win32_dll=no)
15591 -
15592 -AC_ARG_ENABLE([libtool-lock],
15593 -    [AC_HELP_STRING([--disable-libtool-lock],
15594 -       [avoid locking (might break parallel builds)])])
15595 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
15596 -
15597 -AC_ARG_WITH([pic],
15598 -    [AC_HELP_STRING([--with-pic],
15599 -       [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
15600 -    [pic_mode="$withval"],
15601 -    [pic_mode=default])
15602 -test -z "$pic_mode" && pic_mode=default
15603 -
15604 -# Use C for the default configuration in the libtool script
15605 -tagname=
15606 -AC_LIBTOOL_LANG_C_CONFIG
15607 -_LT_AC_TAGCONFIG
15608 -])# AC_LIBTOOL_SETUP
15609 -
15610 -
15611 -# _LT_AC_SYS_COMPILER
15612 -# -------------------
15613 -AC_DEFUN([_LT_AC_SYS_COMPILER],
15614 -[AC_REQUIRE([AC_PROG_CC])dnl
15615 -
15616 -# If no C compiler was specified, use CC.
15617 -LTCC=${LTCC-"$CC"}
15618 -
15619 -# Allow CC to be a program name with arguments.
15620 -compiler=$CC
15621 -])# _LT_AC_SYS_COMPILER
15622 -
15623 -
15624 -# _LT_AC_SYS_LIBPATH_AIX
15625 -# ----------------------
15626 -# Links a minimal program and checks the executable
15627 -# for the system default hardcoded library path. In most cases,
15628 -# this is /usr/lib:/lib, but when the MPI compilers are used
15629 -# the location of the communication and MPI libs are included too.
15630 -# If we don't find anything, use the default library path according
15631 -# to the aix ld manual.
15632 -AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
15633 -[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
15634 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
15635 -}'`
15636 -# Check for a 64-bit object if we didn't find anything.
15637 -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; }
15638 -}'`; fi],[])
15639 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15640 -])# _LT_AC_SYS_LIBPATH_AIX
15641 -
15642 -
15643 -# _LT_AC_SHELL_INIT(ARG)
15644 -# ----------------------
15645 -AC_DEFUN([_LT_AC_SHELL_INIT],
15646 -[ifdef([AC_DIVERSION_NOTICE],
15647 -            [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
15648 -        [AC_DIVERT_PUSH(NOTICE)])
15649 -$1
15650 -AC_DIVERT_POP
15651 -])# _LT_AC_SHELL_INIT
15652 -
15653 -
15654 -# _LT_AC_PROG_ECHO_BACKSLASH
15655 -# --------------------------
15656 -# Add some code to the start of the generated configure script which
15657 -# will find an echo command which doesn't interpret backslashes.
15658 -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
15659 -[_LT_AC_SHELL_INIT([
15660 -# Check that we are running under the correct shell.
15661 -SHELL=${CONFIG_SHELL-/bin/sh}
15662 -
15663 -case X$ECHO in
15664 -X*--fallback-echo)
15665 -  # Remove one level of quotation (which was required for Make).
15666 -  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
15667 -  ;;
15668 -esac
15669 -
15670 -echo=${ECHO-echo}
15671 -if test "X[$]1" = X--no-reexec; then
15672 -  # Discard the --no-reexec flag, and continue.
15673 -  shift
15674 -elif test "X[$]1" = X--fallback-echo; then
15675 -  # Avoid inline document here, it may be left over
15676 -  :
15677 -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
15678 -  # Yippee, $echo works!
15679 -  :
15680 -else
15681 -  # Restart under the correct shell.
15682 -  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
15683 -fi
15684 -
15685 -if test "X[$]1" = X--fallback-echo; then
15686 -  # used as fallback echo
15687 -  shift
15688 -  cat <<EOF
15689 -[$]*
15690 -EOF
15691 -  exit 0
15692 -fi
15693 -
15694 -# The HP-UX ksh and POSIX shell print the target directory to stdout
15695 -# if CDPATH is set.
15696 -if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
15697 -
15698 -if test -z "$ECHO"; then
15699 -if test "X${echo_test_string+set}" != Xset; then
15700 -# find a string as large as possible, as long as the shell can cope with it
15701 -  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
15702 -    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
15703 -    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
15704 -       echo_test_string="`eval $cmd`" &&
15705 -       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
15706 -    then
15707 -      break
15708 -    fi
15709 -  done
15710 -fi
15711 -
15712 -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
15713 -   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
15714 -   test "X$echo_testing_string" = "X$echo_test_string"; then
15715 -  :
15716 -else
15717 -  # The Solaris, AIX, and Digital Unix default echo programs unquote
15718 -  # backslashes.  This makes it impossible to quote backslashes using
15719 -  #   echo "$something" | sed 's/\\/\\\\/g'
15720 -  #
15721 -  # So, first we look for a working echo in the user's PATH.
15722 -
15723 -  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15724 -  for dir in $PATH /usr/ucb; do
15725 -    IFS="$lt_save_ifs"
15726 -    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
15727 -       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
15728 -       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
15729 -       test "X$echo_testing_string" = "X$echo_test_string"; then
15730 -      echo="$dir/echo"
15731 -      break
15732 -    fi
15733 -  done
15734 -  IFS="$lt_save_ifs"
15735 -
15736 -  if test "X$echo" = Xecho; then
15737 -    # We didn't find a better echo, so look for alternatives.
15738 -    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
15739 -       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
15740 -       test "X$echo_testing_string" = "X$echo_test_string"; then
15741 -      # This shell has a builtin print -r that does the trick.
15742 -      echo='print -r'
15743 -    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
15744 -        test "X$CONFIG_SHELL" != X/bin/ksh; then
15745 -      # If we have ksh, try running configure again with it.
15746 -      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15747 -      export ORIGINAL_CONFIG_SHELL
15748 -      CONFIG_SHELL=/bin/ksh
15749 -      export CONFIG_SHELL
15750 -      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
15751 -    else
15752 -      # Try using printf.
15753 -      echo='printf %s\n'
15754 -      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
15755 -        echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
15756 -        test "X$echo_testing_string" = "X$echo_test_string"; then
15757 -       # Cool, printf works
15758 -       :
15759 -      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
15760 -          test "X$echo_testing_string" = 'X\t' &&
15761 -          echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
15762 -          test "X$echo_testing_string" = "X$echo_test_string"; then
15763 -       CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
15764 -       export CONFIG_SHELL
15765 -       SHELL="$CONFIG_SHELL"
15766 -       export SHELL
15767 -       echo="$CONFIG_SHELL [$]0 --fallback-echo"
15768 -      elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
15769 -          test "X$echo_testing_string" = 'X\t' &&
15770 -          echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
15771 -          test "X$echo_testing_string" = "X$echo_test_string"; then
15772 -       echo="$CONFIG_SHELL [$]0 --fallback-echo"
15773 -      else
15774 -       # maybe with a smaller string...
15775 -       prev=:
15776 -
15777 -       for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
15778 -         if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
15779 -         then
15780 -           break
15781 -         fi
15782 -         prev="$cmd"
15783 -       done
15784 -
15785 -       if test "$prev" != 'sed 50q "[$]0"'; then
15786 -         echo_test_string=`eval $prev`
15787 -         export echo_test_string
15788 -         exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
15789 -       else
15790 -         # Oops.  We lost completely, so just stick with echo.
15791 -         echo=echo
15792 -       fi
15793 -      fi
15794 -    fi
15795 -  fi
15796 -fi
15797 -fi
15798 -
15799 -# Copy echo and quote the copy suitably for passing to libtool from
15800 -# the Makefile, instead of quoting the original, which is used later.
15801 -ECHO=$echo
15802 -if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
15803 -   ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
15804 -fi
15805 -
15806 -AC_SUBST(ECHO)
15807 -])])# _LT_AC_PROG_ECHO_BACKSLASH
15808 -
15809 -
15810 -# _LT_AC_LOCK
15811 -# -----------
15812 -AC_DEFUN([_LT_AC_LOCK],
15813 -[AC_ARG_ENABLE([libtool-lock],
15814 -    [AC_HELP_STRING([--disable-libtool-lock],
15815 -       [avoid locking (might break parallel builds)])])
15816 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
15817 -
15818 -# Some flags need to be propagated to the compiler or linker for good
15819 -# libtool support.
15820 -case $host in
15821 -ia64-*-hpux*)
15822 -  # Find out which ABI we are using.
15823 -  echo 'int i;' > conftest.$ac_ext
15824 -  if AC_TRY_EVAL(ac_compile); then
15825 -    case `/usr/bin/file conftest.$ac_objext` in
15826 -    *ELF-32*)
15827 -      HPUX_IA64_MODE="32"
15828 -      ;;
15829 -    *ELF-64*)
15830 -      HPUX_IA64_MODE="64"
15831 -      ;;
15832 -    esac
15833 -  fi
15834 -  rm -rf conftest*
15835 -  ;;
15836 -*-*-irix6*)
15837 -  # Find out which ABI we are using.
15838 -  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
15839 -  if AC_TRY_EVAL(ac_compile); then
15840 -   if test "$lt_cv_prog_gnu_ld" = yes; then
15841 -    case `/usr/bin/file conftest.$ac_objext` in
15842 -    *32-bit*)
15843 -      LD="${LD-ld} -melf32bsmip"
15844 -      ;;
15845 -    *N32*)
15846 -      LD="${LD-ld} -melf32bmipn32"
15847 -      ;;
15848 -    *64-bit*)
15849 -      LD="${LD-ld} -melf64bmip"
15850 -      ;;
15851 -    esac
15852 -   else
15853 -    case `/usr/bin/file conftest.$ac_objext` in
15854 -    *32-bit*)
15855 -      LD="${LD-ld} -32"
15856 -      ;;
15857 -    *N32*)
15858 -      LD="${LD-ld} -n32"
15859 -      ;;
15860 -    *64-bit*)
15861 -      LD="${LD-ld} -64"
15862 -      ;;
15863 -    esac
15864 -   fi
15865 -  fi
15866 -  rm -rf conftest*
15867 -  ;;
15868 -
15869 -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
15870 -  # Find out which ABI we are using.
15871 -  echo 'int i;' > conftest.$ac_ext
15872 -  if AC_TRY_EVAL(ac_compile); then
15873 -    case "`/usr/bin/file conftest.o`" in
15874 -    *32-bit*)
15875 -      case $host in
15876 -        x86_64-*linux*)
15877 -          LD="${LD-ld} -m elf_i386"
15878 -          ;;
15879 -        ppc64-*linux*)
15880 -          LD="${LD-ld} -m elf32ppclinux"
15881 -          ;;
15882 -        s390x-*linux*)
15883 -          LD="${LD-ld} -m elf_s390"
15884 -          ;;
15885 -        sparc64-*linux*)
15886 -          LD="${LD-ld} -m elf32_sparc"
15887 -          ;;
15888 -      esac
15889 -      ;;
15890 -    *64-bit*)
15891 -      case $host in
15892 -        x86_64-*linux*)
15893 -          LD="${LD-ld} -m elf_x86_64"
15894 -          ;;
15895 -        ppc*-*linux*|powerpc*-*linux*)
15896 -          LD="${LD-ld} -m elf64ppc"
15897 -          ;;
15898 -        s390*-*linux*)
15899 -          LD="${LD-ld} -m elf64_s390"
15900 -          ;;
15901 -        sparc*-*linux*)
15902 -          LD="${LD-ld} -m elf64_sparc"
15903 -          ;;
15904 -      esac
15905 -      ;;
15906 -    esac
15907 -  fi
15908 -  rm -rf conftest*
15909 -  ;;
15910 -
15911 -*-*-sco3.2v5*)
15912 -  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
15913 -  SAVE_CFLAGS="$CFLAGS"
15914 -  CFLAGS="$CFLAGS -belf"
15915 -  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
15916 -    [AC_LANG_PUSH(C)
15917 -     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
15918 -     AC_LANG_POP])
15919 -  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
15920 -    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
15921 -    CFLAGS="$SAVE_CFLAGS"
15922 -  fi
15923 -  ;;
15924 -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
15925 -[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
15926 -  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
15927 -  AC_CHECK_TOOL(AS, as, false)
15928 -  AC_CHECK_TOOL(OBJDUMP, objdump, false)
15929 -  ;;
15930 -  ])
15931 -esac
15932 -
15933 -need_locks="$enable_libtool_lock"
15934 -
15935 -])# _LT_AC_LOCK
15936 -
15937 -
15938 -# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
15939 -#              [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
15940 -# ----------------------------------------------------------------
15941 -# Check whether the given compiler option works
15942 -AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
15943 -[AC_CACHE_CHECK([$1], [$2],
15944 -  [$2=no
15945 -  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
15946 -   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15947 -   lt_compiler_flag="$3"
15948 -   # Insert the option either (1) after the last *FLAGS variable, or
15949 -   # (2) before a word containing "conftest.", or (3) at the end.
15950 -   # Note that $ac_compile itself does not contain backslashes and begins
15951 -   # with a dollar sign (not a hyphen), so the echo should work correctly.
15952 -   # The option is referenced via a variable to avoid confusing sed.
15953 -   lt_compile=`echo "$ac_compile" | $SED \
15954 -   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15955 -   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
15956 -   -e 's:$: $lt_compiler_flag:'`
15957 -   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
15958 -   (eval "$lt_compile" 2>conftest.err)
15959 -   ac_status=$?
15960 -   cat conftest.err >&AS_MESSAGE_LOG_FD
15961 -   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
15962 -   if (exit $ac_status) && test -s "$ac_outfile"; then
15963 -     # The compiler can only warn and ignore the option if not recognized
15964 -     # So say no if there are warnings
15965 -     if test ! -s conftest.err; then
15966 -       $2=yes
15967 -     fi
15968 -   fi
15969 -   $rm conftest*
15970 -])
15971 -
15972 -if test x"[$]$2" = xyes; then
15973 -    ifelse([$5], , :, [$5])
15974 -else
15975 -    ifelse([$6], , :, [$6])
15976 -fi
15977 -])# AC_LIBTOOL_COMPILER_OPTION
15978 -
15979 -
15980 -# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
15981 -#                          [ACTION-SUCCESS], [ACTION-FAILURE])
15982 -# ------------------------------------------------------------
15983 -# Check whether the given compiler option works
15984 -AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
15985 -[AC_CACHE_CHECK([$1], [$2],
15986 -  [$2=no
15987 -   save_LDFLAGS="$LDFLAGS"
15988 -   LDFLAGS="$LDFLAGS $3"
15989 -   printf "$lt_simple_link_test_code" > conftest.$ac_ext
15990 -   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15991 -     # The compiler can only warn and ignore the option if not recognized
15992 -     # So say no if there are warnings
15993 -     if test -s conftest.err; then
15994 -       # Append any errors to the config.log.
15995 -       cat conftest.err 1>&AS_MESSAGE_LOG_FD
15996 -     else
15997 -       $2=yes
15998 -     fi
15999 -   fi
16000 -   $rm conftest*
16001 -   LDFLAGS="$save_LDFLAGS"
16002 -])
16003 -
16004 -if test x"[$]$2" = xyes; then
16005 -    ifelse([$4], , :, [$4])
16006 -else
16007 -    ifelse([$5], , :, [$5])
16008 -fi
16009 -])# AC_LIBTOOL_LINKER_OPTION
16010 -
16011 -
16012 -# AC_LIBTOOL_SYS_MAX_CMD_LEN
16013 -# --------------------------
16014 -AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
16015 -[# find the maximum length of command line arguments
16016 -AC_MSG_CHECKING([the maximum length of command line arguments])
16017 -AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
16018 -  i=0
16019 -  testring="ABCD"
16020 -
16021 -  case $build_os in
16022 -  msdosdjgpp*)
16023 -    # On DJGPP, this test can blow up pretty badly due to problems in libc
16024 -    # (any single argument exceeding 2000 bytes causes a buffer overrun
16025 -    # during glob expansion).  Even if it were fixed, the result of this
16026 -    # check would be larger than it should be.
16027 -    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
16028 -    ;;
16029 -
16030 -  gnu*)
16031 -    # Under GNU Hurd, this test is not required because there is
16032 -    # no limit to the length of command line arguments.
16033 -    # Libtool will interpret -1 as no limit whatsoever
16034 -    lt_cv_sys_max_cmd_len=-1;
16035 -    ;;
16036 -
16037 -  cygwin* | mingw*)
16038 -    # On Win9x/ME, this test blows up -- it succeeds, but takes
16039 -    # about 5 minutes as the teststring grows exponentially.
16040 -    # Worse, since 9x/ME are not pre-emptively multitasking,
16041 -    # you end up with a "frozen" computer, even though with patience
16042 -    # the test eventually succeeds (with a max line length of 256k).
16043 -    # Instead, let's just punt: use the minimum linelength reported by
16044 -    # all of the supported platforms: 8192 (on NT/2K/XP).
16045 -    lt_cv_sys_max_cmd_len=8192;
16046 -    ;;
16047 -
16048 - *)
16049 -    # If test is not a shell built-in, we'll probably end up computing a
16050 -    # maximum length that is only half of the actual maximum length, but
16051 -    # we can't tell.
16052 -    while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \
16053 -              = "XX$testring") >/dev/null 2>&1 &&
16054 -           new_result=`expr "X$testring" : ".*" 2>&1` &&
16055 -           lt_cv_sys_max_cmd_len=$new_result &&
16056 -           test $i != 17 # 1/2 MB should be enough
16057 -    do
16058 -      i=`expr $i + 1`
16059 -      testring=$testring$testring
16060 -    done
16061 -    testring=
16062 -    # Add a significant safety factor because C++ compilers can tack on massive
16063 -    # amounts of additional arguments before passing them to the linker.
16064 -    # It appears as though 1/2 is a usable value.
16065 -    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
16066 -    ;;
16067 -  esac
16068 -])
16069 -if test -n $lt_cv_sys_max_cmd_len ; then
16070 -  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
16071 -else
16072 -  AC_MSG_RESULT(none)
16073 -fi
16074 -])# AC_LIBTOOL_SYS_MAX_CMD_LEN
16075 -
16076 -
16077 -# _LT_AC_CHECK_DLFCN
16078 -# --------------------
16079 -AC_DEFUN([_LT_AC_CHECK_DLFCN],
16080 -[AC_CHECK_HEADERS(dlfcn.h)dnl
16081 -])# _LT_AC_CHECK_DLFCN
16082 -
16083 -
16084 -# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
16085 -#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
16086 -# ------------------------------------------------------------------
16087 -AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
16088 -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
16089 -if test "$cross_compiling" = yes; then :
16090 -  [$4]
16091 -else
16092 -  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16093 -  lt_status=$lt_dlunknown
16094 -  cat > conftest.$ac_ext <<EOF
16095 -[#line __oline__ "configure"
16096 -#include "confdefs.h"
16097 -
16098 -#if HAVE_DLFCN_H
16099 -#include <dlfcn.h>
16100 -#endif
16101 -
16102 -#include <stdio.h>
16103 -
16104 -#ifdef RTLD_GLOBAL
16105 -#  define LT_DLGLOBAL          RTLD_GLOBAL
16106 -#else
16107 -#  ifdef DL_GLOBAL
16108 -#    define LT_DLGLOBAL                DL_GLOBAL
16109 -#  else
16110 -#    define LT_DLGLOBAL                0
16111 -#  endif
16112 -#endif
16113 -
16114 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16115 -   find out it does not work in some platform. */
16116 -#ifndef LT_DLLAZY_OR_NOW
16117 -#  ifdef RTLD_LAZY
16118 -#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
16119 -#  else
16120 -#    ifdef DL_LAZY
16121 -#      define LT_DLLAZY_OR_NOW         DL_LAZY
16122 -#    else
16123 -#      ifdef RTLD_NOW
16124 -#        define LT_DLLAZY_OR_NOW       RTLD_NOW
16125 -#      else
16126 -#        ifdef DL_NOW
16127 -#          define LT_DLLAZY_OR_NOW     DL_NOW
16128 -#        else
16129 -#          define LT_DLLAZY_OR_NOW     0
16130 -#        endif
16131 -#      endif
16132 -#    endif
16133 -#  endif
16134 -#endif
16135 -
16136 -#ifdef __cplusplus
16137 -extern "C" void exit (int);
16138 -#endif
16139 -
16140 -void fnord() { int i=42;}
16141 -int main ()
16142 -{
16143 -  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16144 -  int status = $lt_dlunknown;
16145 -
16146 -  if (self)
16147 -    {
16148 -      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
16149 -      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16150 -      /* dlclose (self); */
16151 -    }
16152 -
16153 -    exit (status);
16154 -}]
16155 -EOF
16156 -  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
16157 -    (./conftest; exit; ) 2>/dev/null
16158 -    lt_status=$?
16159 -    case x$lt_status in
16160 -      x$lt_dlno_uscore) $1 ;;
16161 -      x$lt_dlneed_uscore) $2 ;;
16162 -      x$lt_unknown|x*) $3 ;;
16163 -    esac
16164 -  else :
16165 -    # compilation failed
16166 -    $3
16167 -  fi
16168 -fi
16169 -rm -fr conftest*
16170 -])# _LT_AC_TRY_DLOPEN_SELF
16171 -
16172 -
16173 -# AC_LIBTOOL_DLOPEN_SELF
16174 -# -------------------
16175 -AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
16176 -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
16177 -if test "x$enable_dlopen" != xyes; then
16178 -  enable_dlopen=unknown
16179 -  enable_dlopen_self=unknown
16180 -  enable_dlopen_self_static=unknown
16181 -else
16182 -  lt_cv_dlopen=no
16183 -  lt_cv_dlopen_libs=
16184 -
16185 -  case $host_os in
16186 -  beos*)
16187 -    lt_cv_dlopen="load_add_on"
16188 -    lt_cv_dlopen_libs=
16189 -    lt_cv_dlopen_self=yes
16190 -    ;;
16191 -
16192 -  mingw* | pw32*)
16193 -    lt_cv_dlopen="LoadLibrary"
16194 -    lt_cv_dlopen_libs=
16195 -   ;;
16196 -
16197 -  cygwin*)
16198 -    lt_cv_dlopen="dlopen"
16199 -    lt_cv_dlopen_libs=
16200 -   ;;
16201 -
16202 -  darwin*)
16203 -  # if libdl is installed we need to link against it
16204 -    AC_CHECK_LIB([dl], [dlopen],
16205 -               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
16206 -    lt_cv_dlopen="dyld"
16207 -    lt_cv_dlopen_libs=
16208 -    lt_cv_dlopen_self=yes
16209 -    ])
16210 -   ;;
16211 -    
16212 -  *)
16213 -    AC_CHECK_FUNC([shl_load],
16214 -         [lt_cv_dlopen="shl_load"],
16215 -      [AC_CHECK_LIB([dld], [shl_load],
16216 -           [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
16217 -       [AC_CHECK_FUNC([dlopen],
16218 -             [lt_cv_dlopen="dlopen"],
16219 -         [AC_CHECK_LIB([dl], [dlopen],
16220 -               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
16221 -           [AC_CHECK_LIB([svld], [dlopen],
16222 -                 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
16223 -             [AC_CHECK_LIB([dld], [dld_link],
16224 -                   [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
16225 -             ])
16226 -           ])
16227 -         ])
16228 -       ])
16229 -      ])
16230 -    ;;
16231 -  esac
16232 -
16233 -  if test "x$lt_cv_dlopen" != xno; then
16234 -    enable_dlopen=yes
16235 -  else
16236 -    enable_dlopen=no
16237 -  fi
16238 -
16239 -  case $lt_cv_dlopen in
16240 -  dlopen)
16241 -    save_CPPFLAGS="$CPPFLAGS"
16242 -    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
16243 -
16244 -    save_LDFLAGS="$LDFLAGS"
16245 -    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
16246 -
16247 -    save_LIBS="$LIBS"
16248 -    LIBS="$lt_cv_dlopen_libs $LIBS"
16249 -
16250 -    AC_CACHE_CHECK([whether a program can dlopen itself],
16251 -         lt_cv_dlopen_self, [dnl
16252 -         _LT_AC_TRY_DLOPEN_SELF(
16253 -           lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
16254 -           lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
16255 -    ])
16256 -
16257 -    if test "x$lt_cv_dlopen_self" = xyes; then
16258 -      LDFLAGS="$LDFLAGS $link_static_flag"
16259 -      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
16260 -         lt_cv_dlopen_self_static, [dnl
16261 -         _LT_AC_TRY_DLOPEN_SELF(
16262 -           lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
16263 -           lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
16264 -      ])
16265 -    fi
16266 -
16267 -    CPPFLAGS="$save_CPPFLAGS"
16268 -    LDFLAGS="$save_LDFLAGS"
16269 -    LIBS="$save_LIBS"
16270 -    ;;
16271 -  esac
16272 -
16273 -  case $lt_cv_dlopen_self in
16274 -  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
16275 -  *) enable_dlopen_self=unknown ;;
16276 -  esac
16277 -
16278 -  case $lt_cv_dlopen_self_static in
16279 -  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
16280 -  *) enable_dlopen_self_static=unknown ;;
16281 -  esac
16282 -fi
16283 -])# AC_LIBTOOL_DLOPEN_SELF
16284 -
16285 -
16286 -# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
16287 -# ---------------------------------
16288 -# Check to see if options -c and -o are simultaneously supported by compiler
16289 -AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
16290 -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
16291 -AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
16292 -  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
16293 -  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
16294 -   $rm -r conftest 2>/dev/null
16295 -   mkdir conftest
16296 -   cd conftest
16297 -   mkdir out
16298 -   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16299 -
16300 -   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
16301 -   # that will create temporary files in the current directory regardless of
16302 -   # the output directory.  Thus, making CWD read-only will cause this test
16303 -   # to fail, enabling locking or at least warning the user not to do parallel
16304 -   # builds.
16305 -   chmod -w .
16306 -
16307 -   lt_compiler_flag="-o out/conftest2.$ac_objext"
16308 -   # Insert the option either (1) after the last *FLAGS variable, or
16309 -   # (2) before a word containing "conftest.", or (3) at the end.
16310 -   # Note that $ac_compile itself does not contain backslashes and begins
16311 -   # with a dollar sign (not a hyphen), so the echo should work correctly.
16312 -   lt_compile=`echo "$ac_compile" | $SED \
16313 -   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16314 -   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
16315 -   -e 's:$: $lt_compiler_flag:'`
16316 -   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
16317 -   (eval "$lt_compile" 2>out/conftest.err)
16318 -   ac_status=$?
16319 -   cat out/conftest.err >&AS_MESSAGE_LOG_FD
16320 -   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
16321 -   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16322 -   then
16323 -     # The compiler can only warn and ignore the option if not recognized
16324 -     # So say no if there are warnings
16325 -     if test ! -s out/conftest.err; then
16326 -       _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
16327 -     fi
16328 -   fi
16329 -   chmod u+w .
16330 -   $rm conftest* out/*
16331 -   rmdir out
16332 -   cd ..
16333 -   rmdir conftest
16334 -   $rm conftest*
16335 -])
16336 -])# AC_LIBTOOL_PROG_CC_C_O
16337 -
16338 -
16339 -# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
16340 -# -----------------------------------------
16341 -# Check to see if we can do hard links to lock some files if needed
16342 -AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
16343 -[AC_REQUIRE([_LT_AC_LOCK])dnl
16344 -
16345 -hard_links="nottested"
16346 -if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
16347 -  # do not overwrite the value of need_locks provided by the user
16348 -  AC_MSG_CHECKING([if we can lock with hard links])
16349 -  hard_links=yes
16350 -  $rm conftest*
16351 -  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16352 -  touch conftest.a
16353 -  ln conftest.a conftest.b 2>&5 || hard_links=no
16354 -  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16355 -  AC_MSG_RESULT([$hard_links])
16356 -  if test "$hard_links" = no; then
16357 -    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
16358 -    need_locks=warn
16359 -  fi
16360 -else
16361 -  need_locks=no
16362 -fi
16363 -])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
16364 -
16365 -
16366 -# AC_LIBTOOL_OBJDIR
16367 -# -----------------
16368 -AC_DEFUN([AC_LIBTOOL_OBJDIR],
16369 -[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
16370 -[rm -f .libs 2>/dev/null
16371 -mkdir .libs 2>/dev/null
16372 -if test -d .libs; then
16373 -  lt_cv_objdir=.libs
16374 -else
16375 -  # MS-DOS does not allow filenames that begin with a dot.
16376 -  lt_cv_objdir=_libs
16377 -fi
16378 -rmdir .libs 2>/dev/null])
16379 -objdir=$lt_cv_objdir
16380 -])# AC_LIBTOOL_OBJDIR
16381 -
16382 -
16383 -# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
16384 -# ----------------------------------------------
16385 -# Check hardcoding attributes.
16386 -AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
16387 -[AC_MSG_CHECKING([how to hardcode library paths into programs])
16388 -_LT_AC_TAGVAR(hardcode_action, $1)=
16389 -if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
16390 -   test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \
16391 -   test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then
16392 -
16393 -  # We can hardcode non-existant directories.
16394 -  if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
16395 -     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16396 -     # have to relink, otherwise we might link with an installed library
16397 -     # when we should be linking with a yet-to-be-installed one
16398 -     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
16399 -     test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
16400 -    # Linking always hardcodes the temporary library directory.
16401 -    _LT_AC_TAGVAR(hardcode_action, $1)=relink
16402 -  else
16403 -    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16404 -    _LT_AC_TAGVAR(hardcode_action, $1)=immediate
16405 -  fi
16406 -else
16407 -  # We cannot hardcode anything, or else we can only hardcode existing
16408 -  # directories.
16409 -  _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
16410 -fi
16411 -AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
16412 -
16413 -if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
16414 -  # Fast installation is not supported
16415 -  enable_fast_install=no
16416 -elif test "$shlibpath_overrides_runpath" = yes ||
16417 -     test "$enable_shared" = no; then
16418 -  # Fast installation is not necessary
16419 -  enable_fast_install=needless
16420 -fi
16421 -])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
16422 -
16423 -
16424 -# AC_LIBTOOL_SYS_LIB_STRIP
16425 -# ------------------------
16426 -AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
16427 -[striplib=
16428 -old_striplib=
16429 -AC_MSG_CHECKING([whether stripping libraries is possible])
16430 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16431 -  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16432 -  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16433 -  AC_MSG_RESULT([yes])
16434 -else
16435 -# FIXME - insert some real tests, host_os isn't really good enough
16436 -  case $host_os in
16437 -   darwin*)
16438 -       if test -n "$STRIP" ; then
16439 -         striplib="$STRIP -x"
16440 -         AC_MSG_RESULT([yes])
16441 -       else
16442 -  AC_MSG_RESULT([no])
16443 -fi
16444 -       ;;
16445 -   *)
16446 -  AC_MSG_RESULT([no])
16447 -    ;;
16448 -  esac  
16449 -fi
16450 -])# AC_LIBTOOL_SYS_LIB_STRIP
16451 -
16452 -
16453 -# AC_LIBTOOL_SYS_DYNAMIC_LINKER
16454 -# -----------------------------
16455 -# PORTME Fill in your ld.so characteristics
16456 -AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
16457 -[AC_MSG_CHECKING([dynamic linker characteristics])
16458 -library_names_spec=
16459 -libname_spec='lib$name'
16460 -soname_spec=
16461 -shrext=".so"
16462 -postinstall_cmds=
16463 -postuninstall_cmds=
16464 -finish_cmds=
16465 -finish_eval=
16466 -shlibpath_var=
16467 -shlibpath_overrides_runpath=unknown
16468 -version_type=none
16469 -dynamic_linker="$host_os ld.so"
16470 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
16471 -if test "$GCC" = yes; then
16472 -  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16473 -  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16474 -    # if the path contains ";" then we assume it to be the separator
16475 -    # otherwise default to the standard path separator (i.e. ":") - it is
16476 -    # assumed that no part of a normal pathname contains ";" but that should
16477 -    # okay in the real world where ";" in dirpaths is itself problematic.
16478 -    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16479 -  else
16480 -    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16481 -  fi
16482 -else
16483 -  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16484 -fi
16485 -need_lib_prefix=unknown
16486 -hardcode_into_libs=no
16487 -
16488 -# when you set need_version to no, make sure it does not cause -set_version
16489 -# flags to be left without arguments
16490 -need_version=unknown
16491 -
16492 -case $host_os in
16493 -aix3*)
16494 -  version_type=linux
16495 -  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16496 -  shlibpath_var=LIBPATH
16497 -
16498 -  # AIX 3 has no versioning support, so we append a major version to the name.
16499 -  soname_spec='${libname}${release}${shared_ext}$major'
16500 -  ;;
16501 -
16502 -aix4* | aix5*)
16503 -  version_type=linux
16504 -  need_lib_prefix=no
16505 -  need_version=no
16506 -  hardcode_into_libs=yes
16507 -  if test "$host_cpu" = ia64; then
16508 -    # AIX 5 supports IA64
16509 -    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16510 -    shlibpath_var=LD_LIBRARY_PATH
16511 -  else
16512 -    # With GCC up to 2.95.x, collect2 would create an import file
16513 -    # for dependence libraries.  The import file would start with
16514 -    # the line `#! .'.  This would cause the generated library to
16515 -    # depend on `.', always an invalid library.  This was fixed in
16516 -    # development snapshots of GCC prior to 3.0.
16517 -    case $host_os in
16518 -      aix4 | aix4.[[01]] | aix4.[[01]].*)
16519 -      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16520 -          echo ' yes '
16521 -          echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16522 -       :
16523 -      else
16524 -       can_build_shared=no
16525 -      fi
16526 -      ;;
16527 -    esac
16528 -    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16529 -    # soname into executable. Probably we can add versioning support to
16530 -    # collect2, so additional links can be useful in future.
16531 -    if test "$aix_use_runtimelinking" = yes; then
16532 -      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16533 -      # instead of lib<name>.a to let people know that these are not
16534 -      # typical AIX shared libraries.
16535 -      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16536 -    else
16537 -      # We preserve .a as extension for shared libraries through AIX4.2
16538 -      # and later when we are not doing run time linking.
16539 -      library_names_spec='${libname}${release}.a $libname.a'
16540 -      soname_spec='${libname}${release}${shared_ext}$major'
16541 -    fi
16542 -    shlibpath_var=LIBPATH
16543 -  fi
16544 -  ;;
16545 -
16546 -amigaos*)
16547 -  library_names_spec='$libname.ixlibrary $libname.a'
16548 -  # Create ${libname}_ixlibrary.a entries in /sys/libs.
16549 -  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'
16550 -  ;;
16551 -
16552 -beos*)
16553 -  library_names_spec='${libname}${shared_ext}'
16554 -  dynamic_linker="$host_os ld.so"
16555 -  shlibpath_var=LIBRARY_PATH
16556 -  ;;
16557 -
16558 -bsdi4*)
16559 -  version_type=linux
16560 -  need_version=no
16561 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16562 -  soname_spec='${libname}${release}${shared_ext}$major'
16563 -  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16564 -  shlibpath_var=LD_LIBRARY_PATH
16565 -  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16566 -  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16567 -  # the default ld.so.conf also contains /usr/contrib/lib and
16568 -  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16569 -  # libtool to hard-code these into programs
16570 -  ;;
16571 -
16572 -cygwin* | mingw* | pw32*)
16573 -  version_type=windows
16574 -  shrext=".dll"
16575 -  need_version=no
16576 -  need_lib_prefix=no
16577 -
16578 -  case $GCC,$host_os in
16579 -  yes,cygwin* | yes,mingw* | yes,pw32*)
16580 -    library_names_spec='$libname.dll.a'
16581 -    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16582 -    postinstall_cmds='base_file=`basename \${file}`~
16583 -      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16584 -      dldir=$destdir/`dirname \$dlpath`~
16585 -      test -d \$dldir || mkdir -p \$dldir~
16586 -      $install_prog $dir/$dlname \$dldir/$dlname'
16587 -    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16588 -      dlpath=$dir/\$dldll~
16589 -       $rm \$dlpath'
16590 -    shlibpath_overrides_runpath=yes
16591 -
16592 -    case $host_os in
16593 -    cygwin*)
16594 -      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16595 -      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
16596 -      sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16597 -      ;;
16598 -    mingw*)
16599 -      # MinGW DLLs use traditional 'lib' prefix
16600 -      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
16601 -      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16602 -      if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
16603 -        # It is most probably a Windows format PATH printed by
16604 -        # mingw gcc, but we are running on Cygwin. Gcc prints its search
16605 -        # path with ; separators, and with drive letters. We can handle the
16606 -        # drive letters (cygwin fileutils understands them), so leave them,
16607 -        # especially as we might pass files found there to a mingw objdump,
16608 -        # which wouldn't understand a cygwinified path. Ahh.
16609 -        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16610 -      else
16611 -        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16612 -      fi
16613 -      ;;
16614 -    pw32*)
16615 -      # pw32 DLLs use 'pw' prefix rather than 'lib'
16616 -      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16617 -      ;;
16618 -    esac
16619 -    ;;
16620 -
16621 -  *)
16622 -    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
16623 -    ;;
16624 -  esac
16625 -  dynamic_linker='Win32 ld.exe'
16626 -  # FIXME: first we should search . and the directory the executable is in
16627 -  shlibpath_var=PATH
16628 -  ;;
16629 -
16630 -darwin* | rhapsody*)
16631 -  dynamic_linker="$host_os dyld"
16632 -  version_type=darwin
16633 -  need_lib_prefix=no
16634 -  need_version=no
16635 -  # FIXME: Relying on posixy $() will cause problems for
16636 -  #        cross-compilation, but unfortunately the echo tests do not
16637 -  #        yet detect zsh echo's removal of \ escapes.
16638 -  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16639 -  soname_spec='${libname}${release}${major}$shared_ext'
16640 -  shlibpath_overrides_runpath=yes
16641 -  shlibpath_var=DYLD_LIBRARY_PATH
16642 -  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16643 -  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16644 -  if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 
16645 -  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"`
16646 -  fi
16647 -  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16648 -  ;;
16649 -
16650 -dgux*)
16651 -  version_type=linux
16652 -  need_lib_prefix=no
16653 -  need_version=no
16654 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16655 -  soname_spec='${libname}${release}${shared_ext}$major'
16656 -  shlibpath_var=LD_LIBRARY_PATH
16657 -  ;;
16658 -
16659 -freebsd1*)
16660 -  dynamic_linker=no
16661 -  ;;
16662 -
16663 -freebsd*)
16664 -  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16665 -  version_type=freebsd-$objformat
16666 -  case $version_type in
16667 -    freebsd-elf*)
16668 -      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16669 -      need_version=no
16670 -      need_lib_prefix=no
16671 -      ;;
16672 -    freebsd-*)
16673 -      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16674 -      need_version=yes
16675 -      ;;
16676 -  esac
16677 -  shlibpath_var=LD_LIBRARY_PATH
16678 -  case $host_os in
16679 -  freebsd2*)
16680 -    shlibpath_overrides_runpath=yes
16681 -    ;;
16682 -  freebsd3.[01]* | freebsdelf3.[01]*)
16683 -    shlibpath_overrides_runpath=yes
16684 -    hardcode_into_libs=yes
16685 -    ;;
16686 -  *) # from 3.2 on
16687 -    shlibpath_overrides_runpath=no
16688 -    hardcode_into_libs=yes
16689 -    ;;
16690 -  esac
16691 -  ;;
16692 -
16693 -gnu*)
16694 -  version_type=linux
16695 -  need_lib_prefix=no
16696 -  need_version=no
16697 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16698 -  soname_spec='${libname}${release}${shared_ext}$major'
16699 -  shlibpath_var=LD_LIBRARY_PATH
16700 -  hardcode_into_libs=yes
16701 -  ;;
16702 -
16703 -hpux9* | hpux10* | hpux11*)
16704 -  # Give a soname corresponding to the major version so that dld.sl refuses to
16705 -  # link against other versions.
16706 -  version_type=sunos
16707 -  need_lib_prefix=no
16708 -  need_version=no
16709 -  case "$host_cpu" in
16710 -  ia64*)
16711 -    shrext='.so'
16712 -    hardcode_into_libs=yes
16713 -    dynamic_linker="$host_os dld.so"
16714 -    shlibpath_var=LD_LIBRARY_PATH
16715 -    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16716 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16717 -    soname_spec='${libname}${release}${shared_ext}$major'
16718 -    if test "X$HPUX_IA64_MODE" = X32; then
16719 -      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16720 -    else
16721 -      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16722 -    fi
16723 -    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16724 -    ;;
16725 -   hppa*64*)
16726 -     shrext='.sl'
16727 -     hardcode_into_libs=yes
16728 -     dynamic_linker="$host_os dld.sl"
16729 -     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16730 -     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16731 -     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16732 -     soname_spec='${libname}${release}${shared_ext}$major'
16733 -     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16734 -     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16735 -     ;;
16736 -   *)
16737 -    shrext='.sl'
16738 -    dynamic_linker="$host_os dld.sl"
16739 -    shlibpath_var=SHLIB_PATH
16740 -    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16741 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16742 -    soname_spec='${libname}${release}${shared_ext}$major'
16743 -    ;;
16744 -  esac
16745 -  # HP-UX runs *really* slowly unless shared libraries are mode 555.
16746 -  postinstall_cmds='chmod 555 $lib'
16747 -  ;;
16748 -
16749 -irix5* | irix6* | nonstopux*)
16750 -  case $host_os in
16751 -    nonstopux*) version_type=nonstopux ;;
16752 -    *)
16753 -       if test "$lt_cv_prog_gnu_ld" = yes; then
16754 -               version_type=linux
16755 -       else
16756 -               version_type=irix
16757 -       fi ;;
16758 -  esac
16759 -  need_lib_prefix=no
16760 -  need_version=no
16761 -  soname_spec='${libname}${release}${shared_ext}$major'
16762 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16763 -  case $host_os in
16764 -  irix5* | nonstopux*)
16765 -    libsuff= shlibsuff=
16766 -    ;;
16767 -  *)
16768 -    case $LD in # libtool.m4 will add one of these switches to LD
16769 -    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16770 -      libsuff= shlibsuff= libmagic=32-bit;;
16771 -    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16772 -      libsuff=32 shlibsuff=N32 libmagic=N32;;
16773 -    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16774 -      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16775 -    *) libsuff= shlibsuff= libmagic=never-match;;
16776 -    esac
16777 -    ;;
16778 -  esac
16779 -  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16780 -  shlibpath_overrides_runpath=no
16781 -  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16782 -  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16783 -  hardcode_into_libs=yes
16784 -  ;;
16785 -
16786 -# No shared lib support for Linux oldld, aout, or coff.
16787 -linux*oldld* | linux*aout* | linux*coff*)
16788 -  dynamic_linker=no
16789 -  ;;
16790 -
16791 -# This must be Linux ELF.
16792 -linux*)
16793 -  version_type=linux
16794 -  need_lib_prefix=no
16795 -  need_version=no
16796 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16797 -  soname_spec='${libname}${release}${shared_ext}$major'
16798 -  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16799 -  shlibpath_var=LD_LIBRARY_PATH
16800 -  shlibpath_overrides_runpath=no
16801 -  # This implies no fast_install, which is unacceptable.
16802 -  # Some rework will be needed to allow for fast_install
16803 -  # before this can be enabled.
16804 -  hardcode_into_libs=yes
16805 -
16806 -  # We used to test for /lib/ld.so.1 and disable shared libraries on
16807 -  # powerpc, because MkLinux only supported shared libraries with the
16808 -  # GNU dynamic linker.  Since this was broken with cross compilers,
16809 -  # most powerpc-linux boxes support dynamic linking these days and
16810 -  # people can always --disable-shared, the test was removed, and we
16811 -  # assume the GNU/Linux dynamic linker is in use.
16812 -  dynamic_linker='GNU/Linux ld.so'
16813 -  ;;
16814 -
16815 -netbsd*)
16816 -  version_type=sunos
16817 -  need_lib_prefix=no
16818 -  need_version=no
16819 -  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16820 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16821 -    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16822 -    dynamic_linker='NetBSD (a.out) ld.so'
16823 -  else
16824 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16825 -    soname_spec='${libname}${release}${shared_ext}$major'
16826 -    dynamic_linker='NetBSD ld.elf_so'
16827 -  fi
16828 -  shlibpath_var=LD_LIBRARY_PATH
16829 -  shlibpath_overrides_runpath=yes
16830 -  hardcode_into_libs=yes
16831 -  ;;
16832 -
16833 -newsos6)
16834 -  version_type=linux
16835 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16836 -  shlibpath_var=LD_LIBRARY_PATH
16837 -  shlibpath_overrides_runpath=yes
16838 -  ;;
16839 -
16840 -nto-qnx)
16841 -  version_type=linux
16842 -  need_lib_prefix=no
16843 -  need_version=no
16844 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16845 -  soname_spec='${libname}${release}${shared_ext}$major'
16846 -  shlibpath_var=LD_LIBRARY_PATH
16847 -  shlibpath_overrides_runpath=yes
16848 -  ;;
16849 -
16850 -openbsd*)
16851 -  version_type=sunos
16852 -  need_lib_prefix=no
16853 -  need_version=no
16854 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16855 -  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16856 -  shlibpath_var=LD_LIBRARY_PATH
16857 -  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16858 -    case $host_os in
16859 -      openbsd2.[[89]] | openbsd2.[[89]].*)
16860 -       shlibpath_overrides_runpath=no
16861 -       ;;
16862 -      *)
16863 -       shlibpath_overrides_runpath=yes
16864 -       ;;
16865 -      esac
16866 -  else
16867 -    shlibpath_overrides_runpath=yes
16868 -  fi
16869 -  ;;
16870 -
16871 -os2*)
16872 -  libname_spec='$name'
16873 -  shrext=".dll"
16874 -  need_lib_prefix=no
16875 -  library_names_spec='$libname${shared_ext} $libname.a'
16876 -  dynamic_linker='OS/2 ld.exe'
16877 -  shlibpath_var=LIBPATH
16878 -  ;;
16879 -
16880 -osf3* | osf4* | osf5*)
16881 -  version_type=osf
16882 -  need_lib_prefix=no
16883 -  need_version=no
16884 -  soname_spec='${libname}${release}${shared_ext}$major'
16885 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16886 -  shlibpath_var=LD_LIBRARY_PATH
16887 -  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16888 -  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16889 -  ;;
16890 -
16891 -sco3.2v5*)
16892 -  version_type=osf
16893 -  soname_spec='${libname}${release}${shared_ext}$major'
16894 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16895 -  shlibpath_var=LD_LIBRARY_PATH
16896 -  ;;
16897 -
16898 -solaris*)
16899 -  version_type=linux
16900 -  need_lib_prefix=no
16901 -  need_version=no
16902 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16903 -  soname_spec='${libname}${release}${shared_ext}$major'
16904 -  shlibpath_var=LD_LIBRARY_PATH
16905 -  shlibpath_overrides_runpath=yes
16906 -  hardcode_into_libs=yes
16907 -  # ldd complains unless libraries are executable
16908 -  postinstall_cmds='chmod +x $lib'
16909 -  ;;
16910 -
16911 -sunos4*)
16912 -  version_type=sunos
16913 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16914 -  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16915 -  shlibpath_var=LD_LIBRARY_PATH
16916 -  shlibpath_overrides_runpath=yes
16917 -  if test "$with_gnu_ld" = yes; then
16918 -    need_lib_prefix=no
16919 -  fi
16920 -  need_version=yes
16921 -  ;;
16922 -
16923 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16924 -  version_type=linux
16925 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16926 -  soname_spec='${libname}${release}${shared_ext}$major'
16927 -  shlibpath_var=LD_LIBRARY_PATH
16928 -  case $host_vendor in
16929 -    sni)
16930 -      shlibpath_overrides_runpath=no
16931 -      need_lib_prefix=no
16932 -      export_dynamic_flag_spec='${wl}-Blargedynsym'
16933 -      runpath_var=LD_RUN_PATH
16934 -      ;;
16935 -    siemens)
16936 -      need_lib_prefix=no
16937 -      ;;
16938 -    motorola)
16939 -      need_lib_prefix=no
16940 -      need_version=no
16941 -      shlibpath_overrides_runpath=no
16942 -      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16943 -      ;;
16944 -  esac
16945 -  ;;
16946 -
16947 -sysv4*MP*)
16948 -  if test -d /usr/nec ;then
16949 -    version_type=linux
16950 -    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16951 -    soname_spec='$libname${shared_ext}.$major'
16952 -    shlibpath_var=LD_LIBRARY_PATH
16953 -  fi
16954 -  ;;
16955 -
16956 -uts4*)
16957 -  version_type=linux
16958 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16959 -  soname_spec='${libname}${release}${shared_ext}$major'
16960 -  shlibpath_var=LD_LIBRARY_PATH
16961 -  ;;
16962 -
16963 -*)
16964 -  dynamic_linker=no
16965 -  ;;
16966 -esac
16967 -AC_MSG_RESULT([$dynamic_linker])
16968 -test "$dynamic_linker" = no && can_build_shared=no
16969 -])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
16970 -
16971 -
16972 -# _LT_AC_TAGCONFIG
16973 -# ----------------
16974 -AC_DEFUN([_LT_AC_TAGCONFIG],
16975 -[AC_ARG_WITH([tags],
16976 -    [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
16977 -        [include additional configurations @<:@automatic@:>@])],
16978 -    [tagnames="$withval"])
16979 -
16980 -if test -f "$ltmain" && test -n "$tagnames"; then
16981 -  if test ! -f "${ofile}"; then
16982 -    AC_MSG_WARN([output file `$ofile' does not exist])
16983 -  fi
16984 -
16985 -  if test -z "$LTCC"; then
16986 -    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
16987 -    if test -z "$LTCC"; then
16988 -      AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
16989 -    else
16990 -      AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
16991 -    fi
16992 -  fi
16993 -
16994 -  # Extract list of available tagged configurations in $ofile.
16995 -  # Note that this assumes the entire list is on one line.
16996 -  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
16997 -
16998 -  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
16999 -  for tagname in $tagnames; do
17000 -    IFS="$lt_save_ifs"
17001 -    # Check whether tagname contains only valid characters
17002 -    case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
17003 -    "") ;;
17004 -    *)  AC_MSG_ERROR([invalid tag name: $tagname])
17005 -       ;;
17006 -    esac
17007 -
17008 -    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
17009 -    then
17010 -      AC_MSG_ERROR([tag name \"$tagname\" already exists])
17011 -    fi
17012 -
17013 -    # Update the list of available tags.
17014 -    if test -n "$tagname"; then
17015 -      echo appending configuration tag \"$tagname\" to $ofile
17016 -
17017 -      case $tagname in
17018 -      CXX)
17019 -       if test -n "$CXX" && test "X$CXX" != "Xno"; then
17020 -         AC_LIBTOOL_LANG_CXX_CONFIG
17021 -       else
17022 -         tagname=""
17023 -       fi
17024 -       ;;
17025 -
17026 -      F77)
17027 -       if test -n "$F77" && test "X$F77" != "Xno"; then
17028 -         AC_LIBTOOL_LANG_F77_CONFIG
17029 -       else
17030 -         tagname=""
17031 -       fi
17032 -       ;;
17033 -
17034 -      GCJ)
17035 -       if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17036 -         AC_LIBTOOL_LANG_GCJ_CONFIG
17037 -       else
17038 -         tagname=""
17039 -       fi
17040 -       ;;
17041 -
17042 -      RC)
17043 -       AC_LIBTOOL_LANG_RC_CONFIG
17044 -       ;;
17045 -
17046 -      *)
17047 -       AC_MSG_ERROR([Unsupported tag name: $tagname])
17048 -       ;;
17049 -      esac
17050 -
17051 -      # Append the new tag name to the list of available tags.
17052 -      if test -n "$tagname" ; then
17053 -      available_tags="$available_tags $tagname"
17054 -    fi
17055 -    fi
17056 -  done
17057 -  IFS="$lt_save_ifs"
17058 -
17059 -  # Now substitute the updated list of available tags.
17060 -  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
17061 -    mv "${ofile}T" "$ofile"
17062 -    chmod +x "$ofile"
17063 -  else
17064 -    rm -f "${ofile}T"
17065 -    AC_MSG_ERROR([unable to update list of available tagged configurations.])
17066 -  fi
17067 -fi
17068 -])# _LT_AC_TAGCONFIG
17069 -
17070 -
17071 -# AC_LIBTOOL_DLOPEN
17072 -# -----------------
17073 -# enable checks for dlopen support
17074 -AC_DEFUN([AC_LIBTOOL_DLOPEN],
17075 - [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
17076 -])# AC_LIBTOOL_DLOPEN
17077 -
17078 -
17079 -# AC_LIBTOOL_WIN32_DLL
17080 -# --------------------
17081 -# declare package support for building win32 dll's
17082 -AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
17083 -[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
17084 -])# AC_LIBTOOL_WIN32_DLL
17085 -
17086 -
17087 -# AC_ENABLE_SHARED([DEFAULT])
17088 -# ---------------------------
17089 -# implement the --enable-shared flag
17090 -# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
17091 -AC_DEFUN([AC_ENABLE_SHARED],
17092 -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
17093 -AC_ARG_ENABLE([shared],
17094 -    [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
17095 -       [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
17096 -    [p=${PACKAGE-default}
17097 -    case $enableval in
17098 -    yes) enable_shared=yes ;;
17099 -    no) enable_shared=no ;;
17100 -    *)
17101 -      enable_shared=no
17102 -      # Look at the argument we got.  We use all the common list separators.
17103 -      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
17104 -      for pkg in $enableval; do
17105 -       IFS="$lt_save_ifs"
17106 -       if test "X$pkg" = "X$p"; then
17107 -         enable_shared=yes
17108 -       fi
17109 -      done
17110 -      IFS="$lt_save_ifs"
17111 -      ;;
17112 -    esac],
17113 -    [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
17114 -])# AC_ENABLE_SHARED
17115 -
17116 -
17117 -# AC_DISABLE_SHARED
17118 -# -----------------
17119 -#- set the default shared flag to --disable-shared
17120 -AC_DEFUN([AC_DISABLE_SHARED],
17121 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
17122 -AC_ENABLE_SHARED(no)
17123 -])# AC_DISABLE_SHARED
17124 -
17125 -
17126 -# AC_ENABLE_STATIC([DEFAULT])
17127 -# ---------------------------
17128 -# implement the --enable-static flag
17129 -# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
17130 -AC_DEFUN([AC_ENABLE_STATIC],
17131 -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
17132 -AC_ARG_ENABLE([static],
17133 -    [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
17134 -       [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
17135 -    [p=${PACKAGE-default}
17136 -    case $enableval in
17137 -    yes) enable_static=yes ;;
17138 -    no) enable_static=no ;;
17139 -    *)
17140 -     enable_static=no
17141 -      # Look at the argument we got.  We use all the common list separators.
17142 -      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
17143 -      for pkg in $enableval; do
17144 -       IFS="$lt_save_ifs"
17145 -       if test "X$pkg" = "X$p"; then
17146 -         enable_static=yes
17147 -       fi
17148 -      done
17149 -      IFS="$lt_save_ifs"
17150 -      ;;
17151 -    esac],
17152 -    [enable_static=]AC_ENABLE_STATIC_DEFAULT)
17153 -])# AC_ENABLE_STATIC
17154 -
17155 -
17156 -# AC_DISABLE_STATIC
17157 -# -----------------
17158 -# set the default static flag to --disable-static
17159 -AC_DEFUN([AC_DISABLE_STATIC],
17160 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
17161 -AC_ENABLE_STATIC(no)
17162 -])# AC_DISABLE_STATIC
17163 -
17164 -
17165 -# AC_ENABLE_FAST_INSTALL([DEFAULT])
17166 -# ---------------------------------
17167 -# implement the --enable-fast-install flag
17168 -# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
17169 -AC_DEFUN([AC_ENABLE_FAST_INSTALL],
17170 -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
17171 -AC_ARG_ENABLE([fast-install],
17172 -    [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
17173 -    [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
17174 -    [p=${PACKAGE-default}
17175 -    case $enableval in
17176 -    yes) enable_fast_install=yes ;;
17177 -    no) enable_fast_install=no ;;
17178 -    *)
17179 -      enable_fast_install=no
17180 -      # Look at the argument we got.  We use all the common list separators.
17181 -      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
17182 -      for pkg in $enableval; do
17183 -       IFS="$lt_save_ifs"
17184 -       if test "X$pkg" = "X$p"; then
17185 -         enable_fast_install=yes
17186 -       fi
17187 -      done
17188 -      IFS="$lt_save_ifs"
17189 -      ;;
17190 -    esac],
17191 -    [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
17192 -])# AC_ENABLE_FAST_INSTALL
17193 -
17194 -
17195 -# AC_DISABLE_FAST_INSTALL
17196 -# -----------------------
17197 -# set the default to --disable-fast-install
17198 -AC_DEFUN([AC_DISABLE_FAST_INSTALL],
17199 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
17200 -AC_ENABLE_FAST_INSTALL(no)
17201 -])# AC_DISABLE_FAST_INSTALL
17202 -
17203 -
17204 -# AC_LIBTOOL_PICMODE([MODE])
17205 -# --------------------------
17206 -# implement the --with-pic flag
17207 -# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
17208 -AC_DEFUN([AC_LIBTOOL_PICMODE],
17209 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
17210 -pic_mode=ifelse($#,1,$1,default)
17211 -])# AC_LIBTOOL_PICMODE
17212 -
17213 -
17214 -# AC_PROG_EGREP
17215 -# -------------
17216 -# This is predefined starting with Autoconf 2.54, so this conditional
17217 -# definition can be removed once we require Autoconf 2.54 or later.
17218 -m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
17219 -[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
17220 -   [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
17221 -    then ac_cv_prog_egrep='grep -E'
17222 -    else ac_cv_prog_egrep='egrep'
17223 -    fi])
17224 - EGREP=$ac_cv_prog_egrep
17225 - AC_SUBST([EGREP])
17226 -])])
17227 -
17228 -
17229 -# AC_PATH_TOOL_PREFIX
17230 -# -------------------
17231 -# find a file program which can recognise shared library
17232 -AC_DEFUN([AC_PATH_TOOL_PREFIX],
17233 -[AC_REQUIRE([AC_PROG_EGREP])dnl
17234 -AC_MSG_CHECKING([for $1])
17235 -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
17236 -[case $MAGIC_CMD in
17237 -[[\\/*] |  ?:[\\/]*])
17238 -  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
17239 -  ;;
17240 -*)
17241 -  lt_save_MAGIC_CMD="$MAGIC_CMD"
17242 -  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17243 -dnl $ac_dummy forces splitting on constant user-supplied paths.
17244 -dnl POSIX.2 word splitting is done only on the output of word expansions,
17245 -dnl not every word.  This closes a longstanding sh security hole.
17246 -  ac_dummy="ifelse([$2], , $PATH, [$2])"
17247 -  for ac_dir in $ac_dummy; do
17248 -    IFS="$lt_save_ifs"
17249 -    test -z "$ac_dir" && ac_dir=.
17250 -    if test -f $ac_dir/$1; then
17251 -      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
17252 -      if test -n "$file_magic_test_file"; then
17253 -       case $deplibs_check_method in
17254 -       "file_magic "*)
17255 -         file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
17256 -         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
17257 -         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
17258 -           $EGREP "$file_magic_regex" > /dev/null; then
17259 -           :
17260 -         else
17261 -           cat <<EOF 1>&2
17262 -
17263 -*** Warning: the command libtool uses to detect shared libraries,
17264 -*** $file_magic_cmd, produces output that libtool cannot recognize.
17265 -*** The result is that libtool may fail to recognize shared libraries
17266 -*** as such.  This will affect the creation of libtool libraries that
17267 -*** depend on shared libraries, but programs linked with such libtool
17268 -*** libraries will work regardless of this problem.  Nevertheless, you
17269 -*** may want to report the problem to your system manager and/or to
17270 -*** bug-libtool@gnu.org
17271 -
17272 -EOF
17273 -         fi ;;
17274 -       esac
17275 -      fi
17276 -      break
17277 -    fi
17278 -  done
17279 -  IFS="$lt_save_ifs"
17280 -  MAGIC_CMD="$lt_save_MAGIC_CMD"
17281 -  ;;
17282 -esac])
17283 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
17284 -if test -n "$MAGIC_CMD"; then
17285 -  AC_MSG_RESULT($MAGIC_CMD)
17286 -else
17287 -  AC_MSG_RESULT(no)
17288 -fi
17289 -])# AC_PATH_TOOL_PREFIX
17290 -
17291 -
17292 -# AC_PATH_MAGIC
17293 -# -------------
17294 -# find a file program which can recognise a shared library
17295 -AC_DEFUN([AC_PATH_MAGIC],
17296 -[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
17297 -if test -z "$lt_cv_path_MAGIC_CMD"; then
17298 -  if test -n "$ac_tool_prefix"; then
17299 -    AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
17300 -  else
17301 -    MAGIC_CMD=:
17302 -  fi
17303 -fi
17304 -])# AC_PATH_MAGIC
17305 -
17306 -
17307 -# AC_PROG_LD
17308 -# ----------
17309 -# find the path to the GNU or non-GNU linker
17310 -AC_DEFUN([AC_PROG_LD],
17311 -[AC_ARG_WITH([gnu-ld],
17312 -    [AC_HELP_STRING([--with-gnu-ld],
17313 -       [assume the C compiler uses GNU ld @<:@default=no@:>@])],
17314 -    [test "$withval" = no || with_gnu_ld=yes],
17315 -    [with_gnu_ld=no])
17316 -AC_REQUIRE([LT_AC_PROG_SED])dnl
17317 -AC_REQUIRE([AC_PROG_CC])dnl
17318 -AC_REQUIRE([AC_CANONICAL_HOST])dnl
17319 -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
17320 -ac_prog=ld
17321 -if test "$GCC" = yes; then
17322 -  # Check if gcc -print-prog-name=ld gives a path.
17323 -  AC_MSG_CHECKING([for ld used by $CC])
17324 -  case $host in
17325 -  *-*-mingw*)
17326 -    # gcc leaves a trailing carriage return which upsets mingw
17327 -    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17328 -  *)
17329 -    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17330 -  esac
17331 -  case $ac_prog in
17332 -    # Accept absolute paths.
17333 -    [[\\/]]* | ?:[[\\/]]*)
17334 -      re_direlt='/[[^/]][[^/]]*/\.\./'
17335 -      # Canonicalize the path of ld
17336 -      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
17337 -      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
17338 -       ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
17339 -      done
17340 -      test -z "$LD" && LD="$ac_prog"
17341 -      ;;
17342 -  "")
17343 -    # If it fails, then pretend we aren't using GCC.
17344 -    ac_prog=ld
17345 -    ;;
17346 -  *)
17347 -    # If it is relative, then search for the first ld in PATH.
17348 -    with_gnu_ld=unknown
17349 -    ;;
17350 -  esac
17351 -elif test "$with_gnu_ld" = yes; then
17352 -  AC_MSG_CHECKING([for GNU ld])
17353 -else
17354 -  AC_MSG_CHECKING([for non-GNU ld])
17355 -fi
17356 -AC_CACHE_VAL(lt_cv_path_LD,
17357 -[if test -z "$LD"; then
17358 -  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17359 -  for ac_dir in $PATH; do
17360 -    IFS="$lt_save_ifs"
17361 -    test -z "$ac_dir" && ac_dir=.
17362 -    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17363 -      lt_cv_path_LD="$ac_dir/$ac_prog"
17364 -      # Check to see if the program is GNU ld.  I'd rather use --version,
17365 -      # but apparently some GNU ld's only accept -v.
17366 -      # Break only if it was the GNU/non-GNU ld that we prefer.
17367 -      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
17368 -      *GNU* | *'with BFD'*)
17369 -       test "$with_gnu_ld" != no && break
17370 -       ;;
17371 -      *)
17372 -       test "$with_gnu_ld" != yes && break
17373 -       ;;
17374 -      esac
17375 -    fi
17376 -  done
17377 -  IFS="$lt_save_ifs"
17378 -else
17379 -  lt_cv_path_LD="$LD" # Let the user override the test with a path.
17380 -fi])
17381 -LD="$lt_cv_path_LD"
17382 -if test -n "$LD"; then
17383 -  AC_MSG_RESULT($LD)
17384 -else
17385 -  AC_MSG_RESULT(no)
17386 -fi
17387 -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
17388 -AC_PROG_LD_GNU
17389 -])# AC_PROG_LD
17390 -
17391 -
17392 -# AC_PROG_LD_GNU
17393 -# --------------
17394 -AC_DEFUN([AC_PROG_LD_GNU],
17395 -[AC_REQUIRE([AC_PROG_EGREP])dnl
17396 -AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
17397 -[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
17398 -case `"$LD" -v 2>&1 </dev/null` in
17399 -*GNU* | *'with BFD'*)
17400 -  lt_cv_prog_gnu_ld=yes
17401 -  ;;
17402 -*)
17403 -  lt_cv_prog_gnu_ld=no
17404 -  ;;
17405 -esac])
17406 -with_gnu_ld=$lt_cv_prog_gnu_ld
17407 -])# AC_PROG_LD_GNU
17408 -
17409 -
17410 -# AC_PROG_LD_RELOAD_FLAG
17411 -# ----------------------
17412 -# find reload flag for linker
17413 -#   -- PORTME Some linkers may need a different reload flag.
17414 -AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
17415 -[AC_CACHE_CHECK([for $LD option to reload object files],
17416 -  lt_cv_ld_reload_flag,
17417 -  [lt_cv_ld_reload_flag='-r'])
17418 -reload_flag=$lt_cv_ld_reload_flag
17419 -case $reload_flag in
17420 -"" | " "*) ;;
17421 -*) reload_flag=" $reload_flag" ;;
17422 -esac
17423 -reload_cmds='$LD$reload_flag -o $output$reload_objs'
17424 -])# AC_PROG_LD_RELOAD_FLAG
17425 -
17426 -
17427 -# AC_DEPLIBS_CHECK_METHOD
17428 -# -----------------------
17429 -# how to check for library dependencies
17430 -#  -- PORTME fill in with the dynamic library characteristics
17431 -AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
17432 -[AC_CACHE_CHECK([how to recognise dependent libraries],
17433 -lt_cv_deplibs_check_method,
17434 -[lt_cv_file_magic_cmd='$MAGIC_CMD'
17435 -lt_cv_file_magic_test_file=
17436 -lt_cv_deplibs_check_method='unknown'
17437 -# Need to set the preceding variable on all platforms that support
17438 -# interlibrary dependencies.
17439 -# 'none' -- dependencies not supported.
17440 -# `unknown' -- same as none, but documents that we really don't know.
17441 -# 'pass_all' -- all dependencies passed with no checks.
17442 -# 'test_compile' -- check by making test program.
17443 -# 'file_magic [[regex]]' -- check by looking for files in library path
17444 -# which responds to the $file_magic_cmd with a given extended regex.
17445 -# If you have `file' or equivalent on your system and you're not sure
17446 -# whether `pass_all' will *always* work, you probably want this one.
17447 -
17448 -case $host_os in
17449 -aix4* | aix5*)
17450 -  lt_cv_deplibs_check_method=pass_all
17451 -  ;;
17452 -
17453 -beos*)
17454 -  lt_cv_deplibs_check_method=pass_all
17455 -  ;;
17456 -
17457 -bsdi4*)
17458 -  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
17459 -  lt_cv_file_magic_cmd='/usr/bin/file -L'
17460 -  lt_cv_file_magic_test_file=/shlib/libc.so
17461 -  ;;
17462 -
17463 -cygwin* | mingw* | pw32*)
17464 -  # win32_libid is a shell function defined in ltmain.sh
17465 -  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
17466 -  lt_cv_file_magic_cmd='win32_libid'
17467 -  ;;
17468 -
17469 -darwin* | rhapsody*)
17470 -  # this will be overwritten by pass_all, but leave it in just in case
17471 -  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
17472 -  lt_cv_file_magic_cmd='/usr/bin/file -L'
17473 -  case "$host_os" in
17474 -  rhapsody* | darwin1.[[012]])
17475 -    lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
17476 -    ;;
17477 -  *) # Darwin 1.3 on
17478 -    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
17479 -    ;;
17480 -  esac
17481 -  lt_cv_deplibs_check_method=pass_all
17482 -  ;;
17483 -
17484 -freebsd*)
17485 -  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
17486 -    case $host_cpu in
17487 -    i*86 )
17488 -      # Not sure whether the presence of OpenBSD here was a mistake.
17489 -      # Let's accept both of them until this is cleared up.
17490 -      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
17491 -      lt_cv_file_magic_cmd=/usr/bin/file
17492 -      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
17493 -      ;;
17494 -    esac
17495 -  else
17496 -    lt_cv_deplibs_check_method=pass_all
17497 -  fi
17498 -  ;;
17499 -
17500 -gnu*)
17501 -  lt_cv_deplibs_check_method=pass_all
17502 -  ;;
17503 -
17504 -hpux10.20* | hpux11*)
17505 -  lt_cv_file_magic_cmd=/usr/bin/file
17506 -  case "$host_cpu" in
17507 -  ia64*)
17508 -    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
17509 -    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
17510 -    ;;
17511 -  hppa*64*)
17512 -    [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]']
17513 -    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
17514 -    ;;
17515 -  *)
17516 -    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
17517 -    lt_cv_file_magic_test_file=/usr/lib/libc.sl
17518 -    ;;
17519 -  esac
17520 -  ;;
17521 -
17522 -irix5* | irix6* | nonstopux*)
17523 -  case $host_os in
17524 -  irix5* | nonstopux*)
17525 -    # this will be overridden with pass_all, but let us keep it just in case
17526 -    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
17527 -    ;;
17528 -  *)
17529 -    case $LD in
17530 -    *-32|*"-32 ") libmagic=32-bit;;
17531 -    *-n32|*"-n32 ") libmagic=N32;;
17532 -    *-64|*"-64 ") libmagic=64-bit;;
17533 -    *) libmagic=never-match;;
17534 -    esac
17535 -    # this will be overridden with pass_all, but let us keep it just in case
17536 -    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
17537 -    ;;
17538 -  esac
17539 -  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
17540 -  lt_cv_deplibs_check_method=pass_all
17541 -  ;;
17542 -
17543 -# This must be Linux ELF.
17544 -linux*)
17545 -  case $host_cpu in
17546 -  alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
17547 -    lt_cv_deplibs_check_method=pass_all ;;
17548 -  *)
17549 -    # glibc up to 2.1.1 does not perform some relocations on ARM
17550 -    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
17551 -  esac
17552 -  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
17553 -  ;;
17554 -
17555 -netbsd*)
17556 -  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
17557 -    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
17558 -  else
17559 -    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
17560 -  fi
17561 -  ;;
17562 -
17563 -newos6*)
17564 -  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
17565 -  lt_cv_file_magic_cmd=/usr/bin/file
17566 -  lt_cv_file_magic_test_file=/usr/lib/libnls.so
17567 -  ;;
17568 -
17569 -nto-qnx)
17570 -  lt_cv_deplibs_check_method=unknown
17571 -  ;;
17572 -
17573 -openbsd*)
17574 -  lt_cv_file_magic_cmd=/usr/bin/file
17575 -  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
17576 -  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17577 -    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
17578 -  else
17579 -    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
17580 -  fi
17581 -  ;;
17582 -
17583 -osf3* | osf4* | osf5*)
17584 -  # this will be overridden with pass_all, but let us keep it just in case
17585 -  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
17586 -  lt_cv_file_magic_test_file=/shlib/libc.so
17587 -  lt_cv_deplibs_check_method=pass_all
17588 -  ;;
17589 -
17590 -sco3.2v5*)
17591 -  lt_cv_deplibs_check_method=pass_all
17592 -  ;;
17593 -
17594 -solaris*)
17595 -  lt_cv_deplibs_check_method=pass_all
17596 -  lt_cv_file_magic_test_file=/lib/libc.so
17597 -  ;;
17598 -
17599 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
17600 -  case $host_vendor in
17601 -  motorola)
17602 -    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]]'
17603 -    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
17604 -    ;;
17605 -  ncr)
17606 -    lt_cv_deplibs_check_method=pass_all
17607 -    ;;
17608 -  sequent)
17609 -    lt_cv_file_magic_cmd='/bin/file'
17610 -    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
17611 -    ;;
17612 -  sni)
17613 -    lt_cv_file_magic_cmd='/bin/file'
17614 -    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
17615 -    lt_cv_file_magic_test_file=/lib/libc.so
17616 -    ;;
17617 -  siemens)
17618 -    lt_cv_deplibs_check_method=pass_all
17619 -    ;;
17620 -  esac
17621 -  ;;
17622 -
17623 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
17624 -  lt_cv_deplibs_check_method=pass_all
17625 -  ;;
17626 -esac
17627 -])
17628 -file_magic_cmd=$lt_cv_file_magic_cmd
17629 -deplibs_check_method=$lt_cv_deplibs_check_method
17630 -test -z "$deplibs_check_method" && deplibs_check_method=unknown
17631 -])# AC_DEPLIBS_CHECK_METHOD
17632 -
17633 -
17634 -# AC_PROG_NM
17635 -# ----------
17636 -# find the path to a BSD-compatible name lister
17637 -AC_DEFUN([AC_PROG_NM],
17638 -[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
17639 -[if test -n "$NM"; then
17640 -  # Let the user override the test.
17641 -  lt_cv_path_NM="$NM"
17642 -else
17643 -  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17644 -  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
17645 -    IFS="$lt_save_ifs"
17646 -    test -z "$ac_dir" && ac_dir=.
17647 -    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
17648 -    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
17649 -      # Check to see if the nm accepts a BSD-compat flag.
17650 -      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
17651 -      #   nm: unknown option "B" ignored
17652 -      # Tru64's nm complains that /dev/null is an invalid object file
17653 -      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
17654 -      */dev/null* | *'Invalid file or object type'*)
17655 -       lt_cv_path_NM="$tmp_nm -B"
17656 -       break
17657 -        ;;
17658 -      *)
17659 -       case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
17660 -       */dev/null*)
17661 -         lt_cv_path_NM="$tmp_nm -p"
17662 -         break
17663 -         ;;
17664 -       *)
17665 -         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
17666 -         continue # so that we can try to find one that supports BSD flags
17667 -         ;;
17668 -       esac
17669 -      esac
17670 -    fi
17671 -  done
17672 -  IFS="$lt_save_ifs"
17673 -  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
17674 -fi])
17675 -NM="$lt_cv_path_NM"
17676 -])# AC_PROG_NM
17677 -
17678 -
17679 -# AC_CHECK_LIBM
17680 -# -------------
17681 -# check for math library
17682 -AC_DEFUN([AC_CHECK_LIBM],
17683 -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
17684 -LIBM=
17685 -case $host in
17686 -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
17687 -  # These system don't have libm, or don't need it
17688 -  ;;
17689 -*-ncr-sysv4.3*)
17690 -  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
17691 -  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
17692 -  ;;
17693 -*)
17694 -  AC_CHECK_LIB(m, cos, LIBM="-lm")
17695 -  ;;
17696 -esac
17697 -])# AC_CHECK_LIBM
17698 -
17699 -
17700 -# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
17701 -# -----------------------------------
17702 -# sets LIBLTDL to the link flags for the libltdl convenience library and
17703 -# LTDLINCL to the include flags for the libltdl header and adds
17704 -# --enable-ltdl-convenience to the configure arguments.  Note that LIBLTDL
17705 -# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If
17706 -# DIRECTORY is not provided, it is assumed to be `libltdl'.  LIBLTDL will
17707 -# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
17708 -# '${top_srcdir}/' (note the single quotes!).  If your package is not
17709 -# flat and you're not using automake, define top_builddir and
17710 -# top_srcdir appropriately in the Makefiles.
17711 -AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
17712 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
17713 -  case $enable_ltdl_convenience in
17714 -  no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
17715 -  "") enable_ltdl_convenience=yes
17716 -      ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
17717 -  esac
17718 -  LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
17719 -  LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
17720 -  # For backwards non-gettext consistent compatibility...
17721 -  INCLTDL="$LTDLINCL"
17722 -])# AC_LIBLTDL_CONVENIENCE
17723 -
17724 -
17725 -# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
17726 -# -----------------------------------
17727 -# sets LIBLTDL to the link flags for the libltdl installable library and
17728 -# LTDLINCL to the include flags for the libltdl header and adds
17729 -# --enable-ltdl-install to the configure arguments.  Note that LIBLTDL
17730 -# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If
17731 -# DIRECTORY is not provided and an installed libltdl is not found, it is
17732 -# assumed to be `libltdl'.  LIBLTDL will be prefixed with '${top_builddir}/'
17733 -# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
17734 -# quotes!).  If your package is not flat and you're not using automake,
17735 -# define top_builddir and top_srcdir appropriately in the Makefiles.
17736 -# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
17737 -AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
17738 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
17739 -  AC_CHECK_LIB(ltdl, lt_dlinit,
17740 -  [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
17741 -  [if test x"$enable_ltdl_install" = xno; then
17742 -     AC_MSG_WARN([libltdl not installed, but installation disabled])
17743 -   else
17744 -     enable_ltdl_install=yes
17745 -   fi
17746 -  ])
17747 -  if test x"$enable_ltdl_install" = x"yes"; then
17748 -    ac_configure_args="$ac_configure_args --enable-ltdl-install"
17749 -    LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
17750 -    LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
17751 -  else
17752 -    ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
17753 -    LIBLTDL="-lltdl"
17754 -    LTDLINCL=
17755 -  fi
17756 -  # For backwards non-gettext consistent compatibility...
17757 -  INCLTDL="$LTDLINCL"
17758 -])# AC_LIBLTDL_INSTALLABLE
17759 -
17760 -
17761 -# AC_LIBTOOL_CXX
17762 -# --------------
17763 -# enable support for C++ libraries
17764 -AC_DEFUN([AC_LIBTOOL_CXX],
17765 -[AC_REQUIRE([_LT_AC_LANG_CXX])
17766 -])# AC_LIBTOOL_CXX
17767 -
17768 -
17769 -# _LT_AC_LANG_CXX
17770 -# ---------------
17771 -AC_DEFUN([_LT_AC_LANG_CXX],
17772 -[AC_REQUIRE([AC_PROG_CXX])
17773 -AC_REQUIRE([AC_PROG_CXXCPP])
17774 -_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`])
17775 -])# _LT_AC_LANG_CXX
17776 -
17777 -
17778 -# AC_LIBTOOL_F77
17779 -# --------------
17780 -# enable support for Fortran 77 libraries
17781 -AC_DEFUN([AC_LIBTOOL_F77],
17782 -[AC_REQUIRE([_LT_AC_LANG_F77])
17783 -])# AC_LIBTOOL_F77
17784 -
17785 -
17786 -# _LT_AC_LANG_F77
17787 -# ---------------
17788 -AC_DEFUN([_LT_AC_LANG_F77],
17789 -[AC_REQUIRE([AC_PROG_F77])
17790 -_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,F77" | sed 's/^,//'`])
17791 -])# _LT_AC_LANG_F77
17792 -
17793 -
17794 -# AC_LIBTOOL_GCJ
17795 -# --------------
17796 -# enable support for GCJ libraries
17797 -AC_DEFUN([AC_LIBTOOL_GCJ],
17798 -[AC_REQUIRE([_LT_AC_LANG_GCJ])
17799 -])# AC_LIBTOOL_GCJ
17800 -
17801 -
17802 -# _LT_AC_LANG_GCJ
17803 -# ---------------
17804 -AC_DEFUN([_LT_AC_LANG_GCJ],
17805 -[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
17806 -  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
17807 -    [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
17808 -      [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
17809 -        [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
17810 -          [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
17811 -_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,GCJ" | sed 's/^,//'`])
17812 -])# _LT_AC_LANG_GCJ
17813 -
17814 -
17815 -# AC_LIBTOOL_RC
17816 -# --------------
17817 -# enable support for Windows resource files
17818 -AC_DEFUN([AC_LIBTOOL_RC],
17819 -[AC_REQUIRE([LT_AC_PROG_RC])
17820 -_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,RC" | sed 's/^,//'`])
17821 -])# AC_LIBTOOL_RC
17822 -
17823 -
17824 -# AC_LIBTOOL_LANG_C_CONFIG
17825 -# ------------------------
17826 -# Ensure that the configuration vars for the C compiler are
17827 -# suitably defined.  Those variables are subsequently used by
17828 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
17829 -AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
17830 -AC_DEFUN([_LT_AC_LANG_C_CONFIG],
17831 -[lt_save_CC="$CC"
17832 -AC_LANG_PUSH(C)
17833 -
17834 -# Source file extension for C test sources.
17835 -ac_ext=c
17836 -
17837 -# Object file extension for compiled C test sources.
17838 -objext=o
17839 -_LT_AC_TAGVAR(objext, $1)=$objext
17840 -
17841 -# Code to be used in simple compile tests
17842 -lt_simple_compile_test_code="int some_variable = 0;\n"
17843 -
17844 -# Code to be used in simple link tests
17845 -lt_simple_link_test_code='int main(){return(0);}\n'
17846 -
17847 -_LT_AC_SYS_COMPILER
17848 -
17849 -#
17850 -# Check for any special shared library compilation flags.
17851 -#
17852 -_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
17853 -if test "$GCC" = no; then
17854 -  case $host_os in
17855 -  sco3.2v5*)
17856 -    _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
17857 -    ;;
17858 -  esac
17859 -fi
17860 -if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
17861 -  AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
17862 -  if echo "$old_CC $old_CFLAGS " | grep "[[    ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[      ]]" >/dev/null; then :
17863 -  else
17864 -    AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
17865 -    _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
17866 -  fi
17867 -fi
17868 -
17869 -
17870 -#
17871 -# Check to make sure the static flag actually works.
17872 -#
17873 -AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
17874 -  _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
17875 -  $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
17876 -  [],
17877 -  [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
17878 -
17879 -
17880 -## CAVEAT EMPTOR:
17881 -## There is no encapsulation within the following macros, do not change
17882 -## the running order or otherwise move them around unless you know exactly
17883 -## what you are doing...
17884 -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
17885 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
17886 -AC_LIBTOOL_PROG_CC_C_O($1)
17887 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
17888 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
17889 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
17890 -AC_LIBTOOL_SYS_LIB_STRIP
17891 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
17892 -AC_LIBTOOL_DLOPEN_SELF($1)
17893 -
17894 -# Report which librarie types wil actually be built
17895 -AC_MSG_CHECKING([if libtool supports shared libraries])
17896 -AC_MSG_RESULT([$can_build_shared])
17897 -
17898 -AC_MSG_CHECKING([whether to build shared libraries])
17899 -test "$can_build_shared" = "no" && enable_shared=no
17900 -
17901 -# On AIX, shared libraries and static libraries use the same namespace, and
17902 -# are all built from PIC.
17903 -case "$host_os" in
17904 -aix3*)
17905 -  test "$enable_shared" = yes && enable_static=no
17906 -  if test -n "$RANLIB"; then
17907 -    archive_cmds="$archive_cmds~\$RANLIB \$lib"
17908 -    postinstall_cmds='$RANLIB $lib'
17909 -  fi
17910 -  ;;
17911 -
17912 -aix4*)
17913 -  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17914 -    test "$enable_shared" = yes && enable_static=no
17915 -  fi
17916 -  ;;
17917 -  darwin* | rhapsody*)
17918 -  if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 
17919 -    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
17920 -    case "$host_os" in
17921 -    rhapsody* | darwin1.[[012]])
17922 -      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
17923 -      ;;
17924 -    *) # Darwin 1.3 on
17925 -      test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
17926 -      ;;
17927 -    esac
17928 -    # FIXME: Relying on posixy $() will cause problems for
17929 -    #        cross-compilation, but unfortunately the echo tests do not
17930 -    #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
17931 -    #         `"' quotes if we put them in here... so don't!
17932 -               output_verbose_link_cmd='echo'
17933 -    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
17934 -    _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
17935 -    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
17936 -                 _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}'
17937 -                 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17938 -    _LT_AC_TAGVAR(hardcode_direct, $1)=no
17939 -    _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
17940 -    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
17941 -    _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
17942 -    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
17943 -    fi
17944 -    ;;  
17945 -esac
17946 -AC_MSG_RESULT([$enable_shared])
17947 -
17948 -AC_MSG_CHECKING([whether to build static libraries])
17949 -# Make sure either enable_shared or enable_static is yes.
17950 -test "$enable_shared" = yes || enable_static=yes
17951 -AC_MSG_RESULT([$enable_static])
17952 -
17953 -AC_LIBTOOL_CONFIG($1)
17954 -
17955 -AC_LANG_POP
17956 -CC="$lt_save_CC"
17957 -])# AC_LIBTOOL_LANG_C_CONFIG
17958 -
17959 -
17960 -# AC_LIBTOOL_LANG_CXX_CONFIG
17961 -# --------------------------
17962 -# Ensure that the configuration vars for the C compiler are
17963 -# suitably defined.  Those variables are subsequently used by
17964 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
17965 -AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
17966 -AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
17967 -[AC_LANG_PUSH(C++)
17968 -AC_REQUIRE([AC_PROG_CXX])
17969 -AC_REQUIRE([AC_PROG_CXXCPP])
17970 -
17971 -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
17972 -_LT_AC_TAGVAR(allow_undefined_flag, $1)=
17973 -_LT_AC_TAGVAR(always_export_symbols, $1)=no
17974 -_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
17975 -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
17976 -_LT_AC_TAGVAR(hardcode_direct, $1)=no
17977 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
17978 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
17979 -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
17980 -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
17981 -_LT_AC_TAGVAR(hardcode_automatic, $1)=no
17982 -_LT_AC_TAGVAR(module_cmds, $1)=
17983 -_LT_AC_TAGVAR(module_expsym_cmds, $1)=
17984 -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
17985 -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
17986 -_LT_AC_TAGVAR(no_undefined_flag, $1)=
17987 -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
17988 -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
17989 -
17990 -# Dependencies to place before and after the object being linked:
17991 -_LT_AC_TAGVAR(predep_objects, $1)=
17992 -_LT_AC_TAGVAR(postdep_objects, $1)=
17993 -_LT_AC_TAGVAR(predeps, $1)=
17994 -_LT_AC_TAGVAR(postdeps, $1)=
17995 -_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
17996 -
17997 -# Source file extension for C++ test sources.
17998 -ac_ext=cc
17999 -
18000 -# Object file extension for compiled C++ test sources.
18001 -objext=o
18002 -_LT_AC_TAGVAR(objext, $1)=$objext
18003 -
18004 -# Code to be used in simple compile tests
18005 -lt_simple_compile_test_code="int some_variable = 0;\n"
18006 -
18007 -# Code to be used in simple link tests
18008 -lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
18009 -
18010 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18011 -_LT_AC_SYS_COMPILER
18012 -
18013 -# Allow CC to be a program name with arguments.
18014 -lt_save_CC=$CC
18015 -lt_save_LD=$LD
18016 -lt_save_GCC=$GCC
18017 -GCC=$GXX
18018 -lt_save_with_gnu_ld=$with_gnu_ld
18019 -lt_save_path_LD=$lt_cv_path_LD
18020 -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18021 -  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
18022 -else
18023 -  unset lt_cv_prog_gnu_ld
18024 -fi
18025 -if test -n "${lt_cv_path_LDCXX+set}"; then
18026 -  lt_cv_path_LD=$lt_cv_path_LDCXX
18027 -else
18028 -  unset lt_cv_path_LD
18029 -fi
18030 -test -z "${LDCXX+set}" || LD=$LDCXX
18031 -CC=${CXX-"c++"}
18032 -compiler=$CC
18033 -_LT_AC_TAGVAR(compiler, $1)=$CC
18034 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
18035 -
18036 -# We don't want -fno-exception wen compiling C++ code, so set the
18037 -# no_builtin_flag separately
18038 -if test "$GXX" = yes; then
18039 -  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
18040 -else
18041 -  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
18042 -fi
18043 -
18044 -if test "$GXX" = yes; then
18045 -  # Set up default GNU C++ configuration
18046 -
18047 -  AC_PROG_LD
18048 -
18049 -  # Check if GNU C++ uses GNU ld as the underlying linker, since the
18050 -  # archiving commands below assume that GNU ld is being used.
18051 -  if test "$with_gnu_ld" = yes; then
18052 -    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18053 -    _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'
18054 -
18055 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
18056 -    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
18057 -
18058 -    # If archive_cmds runs LD, not CC, wlarc should be empty
18059 -    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18060 -    #     investigate it a little bit more. (MM)
18061 -    wlarc='${wl}'
18062 -
18063 -    # ancient GNU ld didn't support --whole-archive et. al.
18064 -    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
18065 -       grep 'no-whole-archive' > /dev/null; then
18066 -      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18067 -    else
18068 -      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
18069 -    fi
18070 -  else
18071 -    with_gnu_ld=no
18072 -    wlarc=
18073 -
18074 -    # A generic and very simple default shared library creation
18075 -    # command for GNU C++ for the case where it uses the native
18076 -    # linker, instead of GNU ld.  If possible, this setting should
18077 -    # overridden to take advantage of the native linker features on
18078 -    # the platform it is being used on.
18079 -    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18080 -  fi
18081 -
18082 -  # Commands to make compiler produce verbose output that lists
18083 -  # what "hidden" libraries, object files and flags are used when
18084 -  # linking a shared library.
18085 -  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18086 -
18087 -else
18088 -  GXX=no
18089 -  with_gnu_ld=no
18090 -  wlarc=
18091 -fi
18092 -
18093 -# PORTME: fill in a description of your system's C++ link characteristics
18094 -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
18095 -_LT_AC_TAGVAR(ld_shlibs, $1)=yes
18096 -case $host_os in
18097 -  aix3*)
18098 -    # FIXME: insert proper C++ library support
18099 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no
18100 -    ;;
18101 -  aix4* | aix5*)
18102 -    if test "$host_cpu" = ia64; then
18103 -      # On IA64, the linker does run time linking by default, so we don't
18104 -      # have to do anything special.
18105 -      aix_use_runtimelinking=no
18106 -      exp_sym_flag='-Bexport'
18107 -      no_entry_flag=""
18108 -    else
18109 -      aix_use_runtimelinking=no
18110 -
18111 -      # Test if we are trying to use run time linking or normal
18112 -      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18113 -      # need to do runtime linking.
18114 -      case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
18115 -       for ld_flag in $LDFLAGS; do
18116 -         case $ld_flag in
18117 -         *-brtl*)
18118 -           aix_use_runtimelinking=yes
18119 -           break
18120 -           ;;
18121 -         esac
18122 -       done
18123 -      esac
18124 -
18125 -      exp_sym_flag='-bexport'
18126 -      no_entry_flag='-bnoentry'
18127 -    fi
18128 -
18129 -    # When large executables or shared objects are built, AIX ld can
18130 -    # have problems creating the table of contents.  If linking a library
18131 -    # or program results in "error TOC overflow" add -mminimal-toc to
18132 -    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
18133 -    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18134 -
18135 -    _LT_AC_TAGVAR(archive_cmds, $1)=''
18136 -    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
18137 -    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
18138 -    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
18139 -
18140 -    if test "$GXX" = yes; then
18141 -      case $host_os in aix4.[012]|aix4.[012].*)
18142 -      # We only want to do this on AIX 4.2 and lower, the check
18143 -      # below for broken collect2 doesn't work under 4.3+
18144 -       collect2name=`${CC} -print-prog-name=collect2`
18145 -       if test -f "$collect2name" && \
18146 -          strings "$collect2name" | grep resolve_lib_name >/dev/null
18147 -       then
18148 -         # We have reworked collect2
18149 -         _LT_AC_TAGVAR(hardcode_direct, $1)=yes
18150 -       else
18151 -         # We have old collect2
18152 -         _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
18153 -         # It fails to find uninstalled libraries when the uninstalled
18154 -         # path is not listed in the libpath.  Setting hardcode_minus_L
18155 -         # to unsupported forces relinking
18156 -         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
18157 -         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
18158 -         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
18159 -       fi
18160 -      esac
18161 -      shared_flag='-shared'
18162 -    else
18163 -      # not using gcc
18164 -      if test "$host_cpu" = ia64; then
18165 -       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18166 -       # chokes on -Wl,-G. The following line is correct:
18167 -       shared_flag='-G'
18168 -      else
18169 -       if test "$aix_use_runtimelinking" = yes; then
18170 -         shared_flag='${wl}-G'
18171 -       else
18172 -         shared_flag='${wl}-bM:SRE'
18173 -       fi
18174 -      fi
18175 -    fi
18176 -
18177 -    # It seems that -bexpall does not export symbols beginning with
18178 -    # underscore (_), so it is better to generate a list of symbols to export.
18179 -    _LT_AC_TAGVAR(always_export_symbols, $1)=yes
18180 -    if test "$aix_use_runtimelinking" = yes; then
18181 -      # Warning - without using the other runtime loading flags (-brtl),
18182 -      # -berok will link without error, but may produce a broken library.
18183 -      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
18184 -      # Determine the default libpath from the value encoded in an empty executable.
18185 -      _LT_AC_SYS_LIBPATH_AIX
18186 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
18187 -
18188 -      _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"
18189 -     else
18190 -      if test "$host_cpu" = ia64; then
18191 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
18192 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
18193 -       _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"
18194 -      else
18195 -       # Determine the default libpath from the value encoded in an empty executable.
18196 -       _LT_AC_SYS_LIBPATH_AIX
18197 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
18198 -       # Warning - without using the other run time loading flags,
18199 -       # -berok will link without error, but may produce a broken library.
18200 -       _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
18201 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
18202 -       # -bexpall does not export symbols beginning with underscore (_)
18203 -       _LT_AC_TAGVAR(always_export_symbols, $1)=yes
18204 -       # Exported symbols can be pulled into shared objects from archives
18205 -       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
18206 -       _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
18207 -       # This is similar to how AIX traditionally builds it's shared libraries.
18208 -       _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'
18209 -      fi
18210 -    fi
18211 -    ;;
18212 -  chorus*)
18213 -    case $cc_basename in
18214 -      *)
18215 -       # FIXME: insert proper C++ library support
18216 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
18217 -       ;;
18218 -    esac
18219 -    ;;
18220 -
18221 -  cygwin* | mingw* | pw32*)
18222 -    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
18223 -    # as there is no search path for DLLs.
18224 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
18225 -    _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
18226 -    _LT_AC_TAGVAR(always_export_symbols, $1)=no
18227 -    _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
18228 -
18229 -    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18230 -      _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'
18231 -      # If the export-symbols file already is a .def file (1st line
18232 -      # is EXPORTS), use it as is; otherwise, prepend...
18233 -      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18234 -       cp $export_symbols $output_objdir/$soname.def;
18235 -      else
18236 -       echo EXPORTS > $output_objdir/$soname.def;
18237 -       cat $export_symbols >> $output_objdir/$soname.def;
18238 -      fi~
18239 -      $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'
18240 -    else
18241 -      _LT_AC_TAGVAR(ld_shlibs, $1)=no
18242 -    fi
18243 -  ;;
18244 -
18245 -  darwin* | rhapsody*)
18246 -   if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 
18247 -    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
18248 -    case "$host_os" in
18249 -    rhapsody* | darwin1.[[012]])
18250 -      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
18251 -      ;;
18252 -    *) # Darwin 1.3 on
18253 -      test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
18254 -      ;;
18255 -    esac
18256 -       lt_int_apple_cc_single_mod=no
18257 -       output_verbose_link_cmd='echo'
18258 -       if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
18259 -         lt_int_apple_cc_single_mod=yes
18260 -       fi
18261 -       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18262 -         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18263 -       else
18264 -        _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'
18265 -      fi
18266 -      _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
18267 -
18268 -    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
18269 -      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18270 -        _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}'
18271 -      else
18272 -        _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}'
18273 -      fi
18274 -        _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18275 -    _LT_AC_TAGVAR(hardcode_direct, $1)=no
18276 -    _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
18277 -    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
18278 -    _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
18279 -    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
18280 -   fi 
18281 -    ;;
18282 -
18283 -  dgux*)
18284 -    case $cc_basename in
18285 -      ec++)
18286 -       # FIXME: insert proper C++ library support
18287 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
18288 -       ;;
18289 -      ghcx)
18290 -       # Green Hills C++ Compiler
18291 -       # FIXME: insert proper C++ library support
18292 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
18293 -       ;;
18294 -      *)
18295 -       # FIXME: insert proper C++ library support
18296 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
18297 -       ;;
18298 -    esac
18299 -    ;;
18300 -  freebsd[12]*)
18301 -    # C++ shared libraries reported to be fairly broken before switch to ELF
18302 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no
18303 -    ;;
18304 -  freebsd-elf*)
18305 -    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
18306 -    ;;
18307 -  freebsd*)
18308 -    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18309 -    # conventions
18310 -    _LT_AC_TAGVAR(ld_shlibs, $1)=yes
18311 -    ;;
18312 -  gnu*)
18313 -    ;;
18314 -  hpux9*)
18315 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
18316 -    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18317 -    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
18318 -    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
18319 -    _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
18320 -                               # but as the default
18321 -                               # location of the library.
18322 -
18323 -    case $cc_basename in
18324 -    CC)
18325 -      # FIXME: insert proper C++ library support
18326 -      _LT_AC_TAGVAR(ld_shlibs, $1)=no
18327 -      ;;
18328 -    aCC)
18329 -      _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'
18330 -      # Commands to make compiler produce verbose output that lists
18331 -      # what "hidden" libraries, object files and flags are used when
18332 -      # linking a shared library.
18333 -      #
18334 -      # There doesn't appear to be a way to prevent this compiler from
18335 -      # explicitly linking system object files so we need to strip them
18336 -      # from the output so that they don't get included in the library
18337 -      # dependencies.
18338 -      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
18339 -      ;;
18340 -    *)
18341 -      if test "$GXX" = yes; then
18342 -        _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'
18343 -      else
18344 -        # FIXME: insert proper C++ library support
18345 -        _LT_AC_TAGVAR(ld_shlibs, $1)=no
18346 -      fi
18347 -      ;;
18348 -    esac
18349 -    ;;
18350 -  hpux10*|hpux11*)
18351 -    if test $with_gnu_ld = no; then
18352 -      case "$host_cpu" in
18353 -      hppa*64*)
18354 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
18355 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
18356 -       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18357 -        ;;
18358 -      ia64*)
18359 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
18360 -        ;;
18361 -      *)
18362 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
18363 -       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18364 -       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
18365 -        ;;
18366 -      esac
18367 -    fi
18368 -    case "$host_cpu" in
18369 -    hppa*64*)
18370 -      _LT_AC_TAGVAR(hardcode_direct, $1)=no
18371 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18372 -      ;;
18373 -    ia64*)
18374 -      _LT_AC_TAGVAR(hardcode_direct, $1)=no
18375 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18376 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
18377 -                                             # but as the default
18378 -                                             # location of the library.
18379 -      ;;
18380 -    *)
18381 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
18382 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
18383 -                                             # but as the default
18384 -                                             # location of the library.
18385 -      ;;
18386 -    esac
18387 -
18388 -    case $cc_basename in
18389 -      CC)
18390 -       # FIXME: insert proper C++ library support
18391 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
18392 -       ;;
18393 -      aCC)
18394 -       case "$host_cpu" in
18395 -       hppa*64*|ia64*)
18396 -         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
18397 -         ;;
18398 -       *)
18399 -         _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'
18400 -         ;;
18401 -       esac
18402 -       # Commands to make compiler produce verbose output that lists
18403 -       # what "hidden" libraries, object files and flags are used when
18404 -       # linking a shared library.
18405 -       #
18406 -       # There doesn't appear to be a way to prevent this compiler from
18407 -       # explicitly linking system object files so we need to strip them
18408 -       # from the output so that they don't get included in the library
18409 -       # dependencies.
18410 -       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'
18411 -       ;;
18412 -      *)
18413 -       if test "$GXX" = yes; then
18414 -         if test $with_gnu_ld = no; then
18415 -           case "$host_cpu" in
18416 -           ia64*|hppa*64*)
18417 -             _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
18418 -             ;;
18419 -           *)
18420 -             _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'
18421 -             ;;
18422 -           esac
18423 -         fi
18424 -       else
18425 -         # FIXME: insert proper C++ library support
18426 -         _LT_AC_TAGVAR(ld_shlibs, $1)=no
18427 -       fi
18428 -       ;;
18429 -    esac
18430 -    ;;
18431 -  irix5* | irix6*)
18432 -    case $cc_basename in
18433 -      CC)
18434 -       # SGI C++
18435 -       _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'
18436 -
18437 -       # Archives containing C++ object files must be created using
18438 -       # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
18439 -       # necessary to make sure instantiated templates are included
18440 -       # in the archive.
18441 -       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
18442 -       ;;
18443 -      *)
18444 -       if test "$GXX" = yes; then
18445 -         if test "$with_gnu_ld" = no; then
18446 -           _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'
18447 -         else
18448 -           _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'
18449 -         fi
18450 -       fi
18451 -       _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
18452 -       ;;
18453 -    esac
18454 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
18455 -    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18456 -    ;;
18457 -  linux*)
18458 -    case $cc_basename in
18459 -      KCC)
18460 -       # Kuck and Associates, Inc. (KAI) C++ Compiler
18461 -
18462 -       # KCC will only create a shared library if the output file
18463 -       # ends with ".so" (or ".sl" for HP-UX), so rename the library
18464 -       # to its proper name (with version) after linking.
18465 -       _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'
18466 -       _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'
18467 -       # Commands to make compiler produce verbose output that lists
18468 -       # what "hidden" libraries, object files and flags are used when
18469 -       # linking a shared library.
18470 -       #
18471 -       # There doesn't appear to be a way to prevent this compiler from
18472 -       # explicitly linking system object files so we need to strip them
18473 -       # from the output so that they don't get included in the library
18474 -       # dependencies.
18475 -       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'
18476 -
18477 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
18478 -       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
18479 -
18480 -       # Archives containing C++ object files must be created using
18481 -       # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18482 -       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
18483 -       ;;
18484 -      icpc)
18485 -       # Intel C++
18486 -       with_gnu_ld=yes
18487 -       _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
18488 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18489 -       _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'
18490 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
18491 -       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
18492 -       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18493 -       ;;
18494 -      cxx)
18495 -       # Compaq C++
18496 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18497 -       _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'
18498 -
18499 -       runpath_var=LD_RUN_PATH
18500 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
18501 -       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18502 -
18503 -       # Commands to make compiler produce verbose output that lists
18504 -       # what "hidden" libraries, object files and flags are used when
18505 -       # linking a shared library.
18506 -       #
18507 -       # There doesn't appear to be a way to prevent this compiler from
18508 -       # explicitly linking system object files so we need to strip them
18509 -       # from the output so that they don't get included in the library
18510 -       # dependencies.
18511 -       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'
18512 -       ;;
18513 -    esac
18514 -    ;;
18515 -  lynxos*)
18516 -    # FIXME: insert proper C++ library support
18517 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no
18518 -    ;;
18519 -  m88k*)
18520 -    # FIXME: insert proper C++ library support
18521 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no
18522 -    ;;
18523 -  mvs*)
18524 -    case $cc_basename in
18525 -      cxx)
18526 -       # FIXME: insert proper C++ library support
18527 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
18528 -       ;;
18529 -      *)
18530 -       # FIXME: insert proper C++ library support
18531 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
18532 -       ;;
18533 -    esac
18534 -    ;;
18535 -  netbsd*)
18536 -    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18537 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18538 -      wlarc=
18539 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
18540 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
18541 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18542 -    fi
18543 -    # Workaround some broken pre-1.5 toolchains
18544 -    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18545 -    ;;
18546 -  osf3*)
18547 -    case $cc_basename in
18548 -      KCC)
18549 -       # Kuck and Associates, Inc. (KAI) C++ Compiler
18550 -
18551 -       # KCC will only create a shared library if the output file
18552 -       # ends with ".so" (or ".sl" for HP-UX), so rename the library
18553 -       # to its proper name (with version) after linking.
18554 -       _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'
18555 -
18556 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
18557 -       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18558 -
18559 -       # Archives containing C++ object files must be created using
18560 -       # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18561 -       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
18562 -
18563 -       ;;
18564 -      RCC)
18565 -       # Rational C++ 2.4.1
18566 -       # FIXME: insert proper C++ library support
18567 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
18568 -       ;;
18569 -      cxx)
18570 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
18571 -       _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'
18572 -
18573 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
18574 -       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18575 -
18576 -       # Commands to make compiler produce verbose output that lists
18577 -       # what "hidden" libraries, object files and flags are used when
18578 -       # linking a shared library.
18579 -       #
18580 -       # There doesn't appear to be a way to prevent this compiler from
18581 -       # explicitly linking system object files so we need to strip them
18582 -       # from the output so that they don't get included in the library
18583 -       # dependencies.
18584 -       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'
18585 -       ;;
18586 -      *)
18587 -       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18588 -         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
18589 -         _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'
18590 -
18591 -         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
18592 -         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18593 -
18594 -         # Commands to make compiler produce verbose output that lists
18595 -         # what "hidden" libraries, object files and flags are used when
18596 -         # linking a shared library.
18597 -         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18598 -
18599 -       else
18600 -         # FIXME: insert proper C++ library support
18601 -         _LT_AC_TAGVAR(ld_shlibs, $1)=no
18602 -       fi
18603 -       ;;
18604 -    esac
18605 -    ;;
18606 -  osf4* | osf5*)
18607 -    case $cc_basename in
18608 -      KCC)
18609 -       # Kuck and Associates, Inc. (KAI) C++ Compiler
18610 -
18611 -       # KCC will only create a shared library if the output file
18612 -       # ends with ".so" (or ".sl" for HP-UX), so rename the library
18613 -       # to its proper name (with version) after linking.
18614 -       _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'
18615 -
18616 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
18617 -       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18618 -
18619 -       # Archives containing C++ object files must be created using
18620 -       # the KAI C++ compiler.
18621 -       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
18622 -       ;;
18623 -      RCC)
18624 -       # Rational C++ 2.4.1
18625 -       # FIXME: insert proper C++ library support
18626 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
18627 -       ;;
18628 -      cxx)
18629 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
18630 -       _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'
18631 -       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
18632 -         echo "-hidden">> $lib.exp~
18633 -         $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~
18634 -         $rm $lib.exp'
18635 -
18636 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
18637 -       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18638 -
18639 -       # Commands to make compiler produce verbose output that lists
18640 -       # what "hidden" libraries, object files and flags are used when
18641 -       # linking a shared library.
18642 -       #
18643 -       # There doesn't appear to be a way to prevent this compiler from
18644 -       # explicitly linking system object files so we need to strip them
18645 -       # from the output so that they don't get included in the library
18646 -       # dependencies.
18647 -       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'
18648 -       ;;
18649 -      *)
18650 -       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18651 -         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
18652 -        _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'
18653 -
18654 -         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
18655 -         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
18656 -
18657 -         # Commands to make compiler produce verbose output that lists
18658 -         # what "hidden" libraries, object files and flags are used when
18659 -         # linking a shared library.
18660 -         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18661 -
18662 -       else
18663 -         # FIXME: insert proper C++ library support
18664 -         _LT_AC_TAGVAR(ld_shlibs, $1)=no
18665 -       fi
18666 -       ;;
18667 -    esac
18668 -    ;;
18669 -  psos*)
18670 -    # FIXME: insert proper C++ library support
18671 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no
18672 -    ;;
18673 -  sco*)
18674 -    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
18675 -    case $cc_basename in
18676 -      CC)
18677 -       # FIXME: insert proper C++ library support
18678 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
18679 -       ;;
18680 -      *)
18681 -       # FIXME: insert proper C++ library support
18682 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
18683 -       ;;
18684 -    esac
18685 -    ;;
18686 -  sunos4*)
18687 -    case $cc_basename in
18688 -      CC)
18689 -       # Sun C++ 4.x
18690 -       # FIXME: insert proper C++ library support
18691 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
18692 -       ;;
18693 -      lcc)
18694 -       # Lucid
18695 -       # FIXME: insert proper C++ library support
18696 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
18697 -       ;;
18698 -      *)
18699 -       # FIXME: insert proper C++ library support
18700 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
18701 -       ;;
18702 -    esac
18703 -    ;;
18704 -  solaris*)
18705 -    case $cc_basename in
18706 -      CC)
18707 -       # Sun C++ 4.2, 5.x and Centerline C++
18708 -       _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
18709 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18710 -       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18711 -       $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'
18712 -
18713 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
18714 -       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
18715 -       case $host_os in
18716 -         solaris2.[0-5] | solaris2.[0-5].*) ;;
18717 -         *)
18718 -           # The C++ compiler is used as linker so we must use $wl
18719 -           # flag to pass the commands to the underlying system
18720 -           # linker.
18721 -           # Supported since Solaris 2.6 (maybe 2.5.1?)
18722 -           _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18723 -           ;;
18724 -       esac
18725 -       _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
18726 -
18727 -       # Commands to make compiler produce verbose output that lists
18728 -       # what "hidden" libraries, object files and flags are used when
18729 -       # linking a shared library.
18730 -       #
18731 -       # There doesn't appear to be a way to prevent this compiler from
18732 -       # explicitly linking system object files so we need to strip them
18733 -       # from the output so that they don't get included in the library
18734 -       # dependencies.
18735 -       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'
18736 -
18737 -       # Archives containing C++ object files must be created using
18738 -       # "CC -xar", where "CC" is the Sun C++ compiler.  This is
18739 -       # necessary to make sure instantiated templates are included
18740 -       # in the archive.
18741 -       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
18742 -       ;;
18743 -      gcx)
18744 -       # Green Hills C++ Compiler
18745 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18746 -
18747 -       # The C++ compiler must be used to create the archive.
18748 -       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
18749 -       ;;
18750 -      *)
18751 -       # GNU C++ compiler with Solaris linker
18752 -       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18753 -         _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
18754 -         if $CC --version | grep -v '^2\.7' > /dev/null; then
18755 -           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18756 -           _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18757 -               $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
18758 -
18759 -           # Commands to make compiler produce verbose output that lists
18760 -           # what "hidden" libraries, object files and flags are used when
18761 -           # linking a shared library.
18762 -           output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
18763 -         else
18764 -           # g++ 2.7 appears to require `-G' NOT `-shared' on this
18765 -           # platform.
18766 -           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18767 -           _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18768 -               $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
18769 -
18770 -           # Commands to make compiler produce verbose output that lists
18771 -           # what "hidden" libraries, object files and flags are used when
18772 -           # linking a shared library.
18773 -           output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
18774 -         fi
18775 -
18776 -         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
18777 -       fi
18778 -       ;;
18779 -    esac
18780 -    ;;
18781 -  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
18782 -    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
18783 -    ;;
18784 -  tandem*)
18785 -    case $cc_basename in
18786 -      NCC)
18787 -       # NonStop-UX NCC 3.20
18788 -       # FIXME: insert proper C++ library support
18789 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
18790 -       ;;
18791 -      *)
18792 -       # FIXME: insert proper C++ library support
18793 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
18794 -       ;;
18795 -    esac
18796 -    ;;
18797 -  vxworks*)
18798 -    # FIXME: insert proper C++ library support
18799 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no
18800 -    ;;
18801 -  *)
18802 -    # FIXME: insert proper C++ library support
18803 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no
18804 -    ;;
18805 -esac
18806 -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
18807 -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
18808 -
18809 -_LT_AC_TAGVAR(GCC, $1)="$GXX"
18810 -_LT_AC_TAGVAR(LD, $1)="$LD"
18811 -
18812 -## CAVEAT EMPTOR:
18813 -## There is no encapsulation within the following macros, do not change
18814 -## the running order or otherwise move them around unless you know exactly
18815 -## what you are doing...
18816 -AC_LIBTOOL_POSTDEP_PREDEP($1)
18817 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
18818 -AC_LIBTOOL_PROG_CC_C_O($1)
18819 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
18820 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
18821 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
18822 -AC_LIBTOOL_SYS_LIB_STRIP
18823 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
18824 -AC_LIBTOOL_DLOPEN_SELF($1)
18825 -
18826 -AC_LIBTOOL_CONFIG($1)
18827 -
18828 -AC_LANG_POP
18829 -CC=$lt_save_CC
18830 -LDCXX=$LD
18831 -LD=$lt_save_LD
18832 -GCC=$lt_save_GCC
18833 -with_gnu_ldcxx=$with_gnu_ld
18834 -with_gnu_ld=$lt_save_with_gnu_ld
18835 -lt_cv_path_LDCXX=$lt_cv_path_LD
18836 -lt_cv_path_LD=$lt_save_path_LD
18837 -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
18838 -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
18839 -])# AC_LIBTOOL_LANG_CXX_CONFIG
18840 -
18841 -# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
18842 -# ------------------------
18843 -# Figure out "hidden" library dependencies from verbose
18844 -# compiler output when linking a shared library.
18845 -# Parse the compiler output and extract the necessary
18846 -# objects, libraries and library flags.
18847 -AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
18848 -dnl we can't use the lt_simple_compile_test_code here,
18849 -dnl because it contains code intended for an executable,
18850 -dnl not a library.  It's possible we should let each
18851 -dnl tag define a new lt_????_link_test_code variable,
18852 -dnl but it's only used here...
18853 -ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
18854 -int a;
18855 -void foo (void) { a = 0; }
18856 -EOF
18857 -],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
18858 -class Foo
18859 -{
18860 -public:
18861 -  Foo (void) { a = 0; }
18862 -private:
18863 -  int a;
18864 -};
18865 -EOF
18866 -],[$1],[F77],[cat > conftest.$ac_ext <<EOF
18867 -      subroutine foo
18868 -      implicit none
18869 -      integer*4 a
18870 -      a=0
18871 -      return
18872 -      end
18873 -EOF
18874 -],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
18875 -public class foo {
18876 -  private int a;
18877 -  public void bar (void) {
18878 -    a = 0;
18879 -  }
18880 -};
18881 -EOF
18882 -])
18883 -dnl Parse the compiler output and extract the necessary
18884 -dnl objects, libraries and library flags.
18885 -if AC_TRY_EVAL(ac_compile); then
18886 -  # Parse the compiler output and extract the necessary
18887 -  # objects, libraries and library flags.
18888 -
18889 -  # Sentinel used to keep track of whether or not we are before
18890 -  # the conftest object file.
18891 -  pre_test_object_deps_done=no
18892 -
18893 -  # The `*' in the case matches for architectures that use `case' in
18894 -  # $output_verbose_cmd can trigger glob expansion during the loop
18895 -  # eval without this substitution.
18896 -  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
18897 -
18898 -  for p in `eval $output_verbose_link_cmd`; do
18899 -    case $p in
18900 -
18901 -    -L* | -R* | -l*)
18902 -       # Some compilers place space between "-{L,R}" and the path.
18903 -       # Remove the space.
18904 -       if test $p = "-L" \
18905 -         || test $p = "-R"; then
18906 -        prev=$p
18907 -        continue
18908 -       else
18909 -        prev=
18910 -       fi
18911 -
18912 -       if test "$pre_test_object_deps_done" = no; then
18913 -        case $p in
18914 -        -L* | -R*)
18915 -          # Internal compiler library paths should come after those
18916 -          # provided the user.  The postdeps already come after the
18917 -          # user supplied libs so there is no need to process them.
18918 -          if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
18919 -            _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
18920 -          else
18921 -            _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
18922 -          fi
18923 -          ;;
18924 -        # The "-l" case would never come before the object being
18925 -        # linked, so don't bother handling this case.
18926 -        esac
18927 -       else
18928 -        if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
18929 -          _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
18930 -        else
18931 -          _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
18932 -        fi
18933 -       fi
18934 -       ;;
18935 -
18936 -    *.$objext)
18937 -       # This assumes that the test object file only shows up
18938 -       # once in the compiler output.
18939 -       if test "$p" = "conftest.$objext"; then
18940 -        pre_test_object_deps_done=yes
18941 -        continue
18942 -       fi
18943 -
18944 -       if test "$pre_test_object_deps_done" = no; then
18945 -        if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
18946 -          _LT_AC_TAGVAR(predep_objects, $1)="$p"
18947 -        else
18948 -          _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
18949 -        fi
18950 -       else
18951 -        if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
18952 -          _LT_AC_TAGVAR(postdep_objects, $1)="$p"
18953 -        else
18954 -          _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
18955 -        fi
18956 -       fi
18957 -       ;;
18958 -
18959 -    *) ;; # Ignore the rest.
18960 -
18961 -    esac
18962 -  done
18963 -
18964 -  # Clean up.
18965 -  rm -f a.out a.exe
18966 -else
18967 -  echo "libtool.m4: error: problem compiling $1 test program"
18968 -fi
18969 -
18970 -$rm -f confest.$objext
18971 -
18972 -case " $_LT_AC_TAGVAR(postdeps, $1) " in
18973 -*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
18974 -esac
18975 -])# AC_LIBTOOL_POSTDEP_PREDEP
18976 -
18977 -# AC_LIBTOOL_LANG_F77_CONFIG
18978 -# ------------------------
18979 -# Ensure that the configuration vars for the C compiler are
18980 -# suitably defined.  Those variables are subsequently used by
18981 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
18982 -AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
18983 -AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
18984 -[AC_REQUIRE([AC_PROG_F77])
18985 -AC_LANG_PUSH(Fortran 77)
18986 -
18987 -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
18988 -_LT_AC_TAGVAR(allow_undefined_flag, $1)=
18989 -_LT_AC_TAGVAR(always_export_symbols, $1)=no
18990 -_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
18991 -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
18992 -_LT_AC_TAGVAR(hardcode_direct, $1)=no
18993 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
18994 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
18995 -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
18996 -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
18997 -_LT_AC_TAGVAR(hardcode_automatic, $1)=no
18998 -_LT_AC_TAGVAR(module_cmds, $1)=
18999 -_LT_AC_TAGVAR(module_expsym_cmds, $1)=
19000 -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
19001 -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
19002 -_LT_AC_TAGVAR(no_undefined_flag, $1)=
19003 -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
19004 -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
19005 -
19006 -# Source file extension for f77 test sources.
19007 -ac_ext=f
19008 -
19009 -# Object file extension for compiled f77 test sources.
19010 -objext=o
19011 -_LT_AC_TAGVAR(objext, $1)=$objext
19012 -
19013 -# Code to be used in simple compile tests
19014 -lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
19015 -
19016 -# Code to be used in simple link tests
19017 -lt_simple_link_test_code="      program t\n      end\n"
19018 -
19019 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19020 -_LT_AC_SYS_COMPILER
19021 -
19022 -# Allow CC to be a program name with arguments.
19023 -lt_save_CC="$CC"
19024 -CC=${F77-"f77"}
19025 -compiler=$CC
19026 -_LT_AC_TAGVAR(compiler, $1)=$CC
19027 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
19028 -
19029 -AC_MSG_CHECKING([if libtool supports shared libraries])
19030 -AC_MSG_RESULT([$can_build_shared])
19031 -
19032 -AC_MSG_CHECKING([whether to build shared libraries])
19033 -test "$can_build_shared" = "no" && enable_shared=no
19034 -
19035 -# On AIX, shared libraries and static libraries use the same namespace, and
19036 -# are all built from PIC.
19037 -case "$host_os" in
19038 -aix3*)
19039 -  test "$enable_shared" = yes && enable_static=no
19040 -  if test -n "$RANLIB"; then
19041 -    archive_cmds="$archive_cmds~\$RANLIB \$lib"
19042 -    postinstall_cmds='$RANLIB $lib'
19043 -  fi
19044 -  ;;
19045 -aix4*)
19046 -  test "$enable_shared" = yes && enable_static=no
19047 -  ;;
19048 -esac
19049 -AC_MSG_RESULT([$enable_shared])
19050 -
19051 -AC_MSG_CHECKING([whether to build static libraries])
19052 -# Make sure either enable_shared or enable_static is yes.
19053 -test "$enable_shared" = yes || enable_static=yes
19054 -AC_MSG_RESULT([$enable_static])
19055 -
19056 -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
19057 -
19058 -_LT_AC_TAGVAR(GCC, $1)="$G77"
19059 -_LT_AC_TAGVAR(LD, $1)="$LD"
19060 -
19061 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
19062 -AC_LIBTOOL_PROG_CC_C_O($1)
19063 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
19064 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
19065 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
19066 -AC_LIBTOOL_SYS_LIB_STRIP
19067 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
19068 -
19069 -AC_LIBTOOL_CONFIG($1)
19070 -
19071 -AC_LANG_POP
19072 -CC="$lt_save_CC"
19073 -])# AC_LIBTOOL_LANG_F77_CONFIG
19074 -
19075 -
19076 -# AC_LIBTOOL_LANG_GCJ_CONFIG
19077 -# --------------------------
19078 -# Ensure that the configuration vars for the C compiler are
19079 -# suitably defined.  Those variables are subsequently used by
19080 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
19081 -AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
19082 -AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
19083 -[AC_LANG_SAVE
19084 -
19085 -# Source file extension for Java test sources.
19086 -ac_ext=java
19087 -
19088 -# Object file extension for compiled Java test sources.
19089 -objext=o
19090 -_LT_AC_TAGVAR(objext, $1)=$objext
19091 -
19092 -# Code to be used in simple compile tests
19093 -lt_simple_compile_test_code="class foo {}\n"
19094 -
19095 -# Code to be used in simple link tests
19096 -lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
19097 -
19098 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19099 -_LT_AC_SYS_COMPILER
19100 -
19101 -# Allow CC to be a program name with arguments.
19102 -lt_save_CC="$CC"
19103 -CC=${GCJ-"gcj"}
19104 -compiler=$CC
19105 -_LT_AC_TAGVAR(compiler, $1)=$CC
19106 -
19107 -# GCJ did not exist at the time GCC didn't implicitly link libc in.
19108 -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
19109 -
19110 -## CAVEAT EMPTOR:
19111 -## There is no encapsulation within the following macros, do not change
19112 -## the running order or otherwise move them around unless you know exactly
19113 -## what you are doing...
19114 -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
19115 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
19116 -AC_LIBTOOL_PROG_CC_C_O($1)
19117 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
19118 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
19119 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
19120 -AC_LIBTOOL_SYS_LIB_STRIP
19121 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
19122 -AC_LIBTOOL_DLOPEN_SELF($1)
19123 -
19124 -AC_LIBTOOL_CONFIG($1)
19125 -
19126 -AC_LANG_RESTORE
19127 -CC="$lt_save_CC"
19128 -])# AC_LIBTOOL_LANG_GCJ_CONFIG
19129 -
19130 -
19131 -# AC_LIBTOOL_LANG_RC_CONFIG
19132 -# --------------------------
19133 -# Ensure that the configuration vars for the Windows resource compiler are
19134 -# suitably defined.  Those variables are subsequently used by
19135 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
19136 -AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
19137 -AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
19138 -[AC_LANG_SAVE
19139 -
19140 -# Source file extension for RC test sources.
19141 -ac_ext=rc
19142 -
19143 -# Object file extension for compiled RC test sources.
19144 -objext=o
19145 -_LT_AC_TAGVAR(objext, $1)=$objext
19146 -
19147 -# Code to be used in simple compile tests
19148 -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19149 -
19150 -# Code to be used in simple link tests
19151 -lt_simple_link_test_code="$lt_simple_compile_test_code"
19152 -
19153 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19154 -_LT_AC_SYS_COMPILER
19155 -
19156 -# Allow CC to be a program name with arguments.
19157 -lt_save_CC="$CC"
19158 -CC=${RC-"windres"}
19159 -compiler=$CC
19160 -_LT_AC_TAGVAR(compiler, $1)=$CC
19161 -_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
19162 -
19163 -AC_LIBTOOL_CONFIG($1)
19164 -
19165 -AC_LANG_RESTORE
19166 -CC="$lt_save_CC"
19167 -])# AC_LIBTOOL_LANG_RC_CONFIG
19168 -
19169 -
19170 -# AC_LIBTOOL_CONFIG([TAGNAME])
19171 -# ----------------------------
19172 -# If TAGNAME is not passed, then create an initial libtool script
19173 -# with a default configuration from the untagged config vars.  Otherwise
19174 -# add code to config.status for appending the configuration named by
19175 -# TAGNAME from the matching tagged config vars.
19176 -AC_DEFUN([AC_LIBTOOL_CONFIG],
19177 -[# The else clause should only fire when bootstrapping the
19178 -# libtool distribution, otherwise you forgot to ship ltmain.sh
19179 -# with your package, and you will get complaints that there are
19180 -# no rules to generate ltmain.sh.
19181 -if test -f "$ltmain"; then
19182 -  # See if we are running on zsh, and set the options which allow our commands through
19183 -  # without removal of \ escapes.
19184 -  if test -n "${ZSH_VERSION+set}" ; then
19185 -    setopt NO_GLOB_SUBST
19186 -  fi  
19187 -  # Now quote all the things that may contain metacharacters while being
19188 -  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19189 -  # variables and quote the copies for generation of the libtool script.
19190 -  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
19191 -    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19192 -    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19193 -    deplibs_check_method reload_flag reload_cmds need_locks \
19194 -    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19195 -    lt_cv_sys_global_symbol_to_c_name_address \
19196 -    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19197 -    old_postinstall_cmds old_postuninstall_cmds \
19198 -    _LT_AC_TAGVAR(compiler, $1) \
19199 -    _LT_AC_TAGVAR(CC, $1) \
19200 -    _LT_AC_TAGVAR(LD, $1) \
19201 -    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
19202 -    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
19203 -    _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
19204 -    _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
19205 -    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
19206 -    _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
19207 -    _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
19208 -    _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
19209 -    _LT_AC_TAGVAR(old_archive_cmds, $1) \
19210 -    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
19211 -    _LT_AC_TAGVAR(predep_objects, $1) \
19212 -    _LT_AC_TAGVAR(postdep_objects, $1) \
19213 -    _LT_AC_TAGVAR(predeps, $1) \
19214 -    _LT_AC_TAGVAR(postdeps, $1) \
19215 -    _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
19216 -    _LT_AC_TAGVAR(archive_cmds, $1) \
19217 -    _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
19218 -    _LT_AC_TAGVAR(postinstall_cmds, $1) \
19219 -    _LT_AC_TAGVAR(postuninstall_cmds, $1) \
19220 -    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
19221 -    _LT_AC_TAGVAR(allow_undefined_flag, $1) \
19222 -    _LT_AC_TAGVAR(no_undefined_flag, $1) \
19223 -    _LT_AC_TAGVAR(export_symbols_cmds, $1) \
19224 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
19225 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
19226 -    _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
19227 -    _LT_AC_TAGVAR(hardcode_automatic, $1) \
19228 -    _LT_AC_TAGVAR(module_cmds, $1) \
19229 -    _LT_AC_TAGVAR(module_expsym_cmds, $1) \
19230 -    _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
19231 -    _LT_AC_TAGVAR(exclude_expsyms, $1) \
19232 -    _LT_AC_TAGVAR(include_expsyms, $1); do
19233 -
19234 -    case $var in
19235 -    _LT_AC_TAGVAR(old_archive_cmds, $1) | \
19236 -    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
19237 -    _LT_AC_TAGVAR(archive_cmds, $1) | \
19238 -    _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
19239 -    _LT_AC_TAGVAR(module_cmds, $1) | \
19240 -    _LT_AC_TAGVAR(module_expsym_cmds, $1) | \   
19241 -    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
19242 -    _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
19243 -    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19244 -    postinstall_cmds | postuninstall_cmds | \
19245 -    old_postinstall_cmds | old_postuninstall_cmds | \
19246 -    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19247 -      # Double-quote double-evaled strings.
19248 -      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19249 -      ;;
19250 -    *)
19251 -      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19252 -      ;;
19253 -    esac
19254 -  done
19255 -
19256 -  case $lt_echo in
19257 -  *'\[$]0 --fallback-echo"')
19258 -    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
19259 -    ;;
19260 -  esac
19261 -
19262 -ifelse([$1], [],
19263 -  [cfgfile="${ofile}T"
19264 -  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
19265 -  $rm -f "$cfgfile"
19266 -  AC_MSG_NOTICE([creating $ofile])],
19267 -  [cfgfile="$ofile"])
19268 -
19269 -  cat <<__EOF__ >> "$cfgfile"
19270 -ifelse([$1], [],
19271 -[#! $SHELL
19272 -
19273 -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19274 -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
19275 -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
19276 -#
19277 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
19278 -# Free Software Foundation, Inc.
19279 -#
19280 -# This file is part of GNU Libtool:
19281 -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
19282 -#
19283 -# This program is free software; you can redistribute it and/or modify
19284 -# it under the terms of the GNU General Public License as published by
19285 -# the Free Software Foundation; either version 2 of the License, or
19286 -# (at your option) any later version.
19287 -#
19288 -# This program is distributed in the hope that it will be useful, but
19289 -# WITHOUT ANY WARRANTY; without even the implied warranty of
19290 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19291 -# General Public License for more details.
19292 -#
19293 -# You should have received a copy of the GNU General Public License
19294 -# along with this program; if not, write to the Free Software
19295 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19296 -#
19297 -# As a special exception to the GNU General Public License, if you
19298 -# distribute this file as part of a program that contains a
19299 -# configuration script generated by Autoconf, you may include it under
19300 -# the same distribution terms that you use for the rest of that program.
19301 -
19302 -# A sed program that does not truncate output.
19303 -SED=$lt_SED
19304 -
19305 -# Sed that helps us avoid accidentally triggering echo(1) options like -n.
19306 -Xsed="$SED -e s/^X//"
19307 -
19308 -# The HP-UX ksh and POSIX shell print the target directory to stdout
19309 -# if CDPATH is set.
19310 -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
19311 -
19312 -# The names of the tagged configurations supported by this script.
19313 -available_tags=
19314 -
19315 -# ### BEGIN LIBTOOL CONFIG],
19316 -[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
19317 -
19318 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19319 -
19320 -# Shell to use when invoking shell scripts.
19321 -SHELL=$lt_SHELL
19322 -
19323 -# Whether or not to build shared libraries.
19324 -build_libtool_libs=$enable_shared
19325 -
19326 -# Whether or not to build static libraries.
19327 -build_old_libs=$enable_static
19328 -
19329 -# Whether or not to add -lc for building shared libraries.
19330 -build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
19331 -
19332 -# Whether or not to disallow shared libs when runtime libs are static
19333 -allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
19334 -
19335 -# Whether or not to optimize for fast installation.
19336 -fast_install=$enable_fast_install
19337 -
19338 -# The host system.
19339 -host_alias=$host_alias
19340 -host=$host
19341 -
19342 -# An echo program that does not interpret backslashes.
19343 -echo=$lt_echo
19344 -
19345 -# The archiver.
19346 -AR=$lt_AR
19347 -AR_FLAGS=$lt_AR_FLAGS
19348 -
19349 -# A C compiler.
19350 -LTCC=$lt_LTCC
19351 -
19352 -# A language-specific compiler.
19353 -CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
19354 -
19355 -# Is the compiler the GNU C compiler?
19356 -with_gcc=$_LT_AC_TAGVAR(GCC, $1)
19357 -
19358 -# An ERE matcher.
19359 -EGREP=$lt_EGREP
19360 -
19361 -# The linker used to build libraries.
19362 -LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
19363 -
19364 -# Whether we need hard or soft links.
19365 -LN_S=$lt_LN_S
19366 -
19367 -# A BSD-compatible nm program.
19368 -NM=$lt_NM
19369 -
19370 -# A symbol stripping program
19371 -STRIP=$STRIP
19372 -
19373 -# Used to examine libraries when file_magic_cmd begins "file"
19374 -MAGIC_CMD=$MAGIC_CMD
19375 -
19376 -# Used on cygwin: DLL creation program.
19377 -DLLTOOL="$DLLTOOL"
19378 -
19379 -# Used on cygwin: object dumper.
19380 -OBJDUMP="$OBJDUMP"
19381 -
19382 -# Used on cygwin: assembler.
19383 -AS="$AS"
19384 -
19385 -# The name of the directory that contains temporary libtool files.
19386 -objdir=$objdir
19387 -
19388 -# How to create reloadable object files.
19389 -reload_flag=$lt_reload_flag
19390 -reload_cmds=$lt_reload_cmds
19391 -
19392 -# How to pass a linker flag through the compiler.
19393 -wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
19394 -
19395 -# Object file suffix (normally "o").
19396 -objext="$ac_objext"
19397 -
19398 -# Old archive suffix (normally "a").
19399 -libext="$libext"
19400 -
19401 -# Shared library suffix (normally ".so").
19402 -shrext='$shrext'
19403 -
19404 -# Executable file suffix (normally "").
19405 -exeext="$exeext"
19406 -
19407 -# Additional compiler flags for building library objects.
19408 -pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
19409 -pic_mode=$pic_mode
19410 -
19411 -# What is the maximum length of a command?
19412 -max_cmd_len=$lt_cv_sys_max_cmd_len
19413 -
19414 -# Does compiler simultaneously support -c and -o options?
19415 -compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
19416 -
19417 -# Must we lock files when doing compilation ?
19418 -need_locks=$lt_need_locks
19419 -
19420 -# Do we need the lib prefix for modules?
19421 -need_lib_prefix=$need_lib_prefix
19422 -
19423 -# Do we need a version for libraries?
19424 -need_version=$need_version
19425 -
19426 -# Whether dlopen is supported.
19427 -dlopen_support=$enable_dlopen
19428 -
19429 -# Whether dlopen of programs is supported.
19430 -dlopen_self=$enable_dlopen_self
19431 -
19432 -# Whether dlopen of statically linked programs is supported.
19433 -dlopen_self_static=$enable_dlopen_self_static
19434 -
19435 -# Compiler flag to prevent dynamic linking.
19436 -link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
19437 -
19438 -# Compiler flag to turn off builtin functions.
19439 -no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
19440 -
19441 -# Compiler flag to allow reflexive dlopens.
19442 -export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
19443 -
19444 -# Compiler flag to generate shared objects directly from archives.
19445 -whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
19446 -
19447 -# Compiler flag to generate thread-safe objects.
19448 -thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
19449 -
19450 -# Library versioning type.
19451 -version_type=$version_type
19452 -
19453 -# Format of library name prefix.
19454 -libname_spec=$lt_libname_spec
19455 -
19456 -# List of archive names.  First name is the real one, the rest are links.
19457 -# The last name is the one that the linker finds with -lNAME.
19458 -library_names_spec=$lt_library_names_spec
19459 -
19460 -# The coded name of the library, if different from the real name.
19461 -soname_spec=$lt_soname_spec
19462 -
19463 -# Commands used to build and install an old-style archive.
19464 -RANLIB=$lt_RANLIB
19465 -old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
19466 -old_postinstall_cmds=$lt_old_postinstall_cmds
19467 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
19468 -
19469 -# Create an old-style archive from a shared archive.
19470 -old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
19471 -
19472 -# Create a temporary old-style archive to link instead of a shared archive.
19473 -old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
19474 -
19475 -# Commands used to build and install a shared archive.
19476 -archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
19477 -archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
19478 -postinstall_cmds=$lt_postinstall_cmds
19479 -postuninstall_cmds=$lt_postuninstall_cmds
19480 -
19481 -# Commands used to build a loadable module (assumed same as above if empty)
19482 -module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
19483 -module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
19484 -
19485 -# Commands to strip libraries.
19486 -old_striplib=$lt_old_striplib
19487 -striplib=$lt_striplib
19488 -
19489 -# Dependencies to place before the objects being linked to create a
19490 -# shared library.
19491 -predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
19492 -
19493 -# Dependencies to place after the objects being linked to create a
19494 -# shared library.
19495 -postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
19496 -
19497 -# Dependencies to place before the objects being linked to create a
19498 -# shared library.
19499 -predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
19500 -
19501 -# Dependencies to place after the objects being linked to create a
19502 -# shared library.
19503 -postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
19504 -
19505 -# The library search path used internally by the compiler when linking
19506 -# a shared library.
19507 -compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
19508 -
19509 -# Method to check whether dependent libraries are shared objects.
19510 -deplibs_check_method=$lt_deplibs_check_method
19511 -
19512 -# Command to use when deplibs_check_method == file_magic.
19513 -file_magic_cmd=$lt_file_magic_cmd
19514 -
19515 -# Flag that allows shared libraries with undefined symbols to be built.
19516 -allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
19517 -
19518 -# Flag that forces no undefined symbols.
19519 -no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
19520 -
19521 -# Commands used to finish a libtool library installation in a directory.
19522 -finish_cmds=$lt_finish_cmds
19523 -
19524 -# Same as above, but a single script fragment to be evaled but not shown.
19525 -finish_eval=$lt_finish_eval
19526 -
19527 -# Take the output of nm and produce a listing of raw symbols and C names.
19528 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19529 -
19530 -# Transform the output of nm in a proper C declaration
19531 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19532 -
19533 -# Transform the output of nm in a C name address pair
19534 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19535 -
19536 -# This is the shared library runtime path variable.
19537 -runpath_var=$runpath_var
19538 -
19539 -# This is the shared library path variable.
19540 -shlibpath_var=$shlibpath_var
19541 -
19542 -# Is shlibpath searched before the hard-coded library search path?
19543 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19544 -
19545 -# How to hardcode a shared library path into an executable.
19546 -hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
19547 -
19548 -# Whether we should hardcode library paths into libraries.
19549 -hardcode_into_libs=$hardcode_into_libs
19550 -
19551 -# Flag to hardcode \$libdir into a binary during linking.
19552 -# This must work even if \$libdir does not exist.
19553 -hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
19554 -
19555 -# If ld is used when linking, flag to hardcode \$libdir into
19556 -# a binary during linking. This must work even if \$libdir does
19557 -# not exist.
19558 -hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
19559 -
19560 -# Whether we need a single -rpath flag with a separated argument.
19561 -hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
19562 -
19563 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19564 -# resulting binary.
19565 -hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
19566 -
19567 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19568 -# resulting binary.
19569 -hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
19570 -
19571 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19572 -# the resulting binary.
19573 -hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
19574 -
19575 -# Set to yes if building a shared library automatically hardcodes DIR into the library
19576 -# and all subsequent libraries and executables linked against it.
19577 -hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
19578 -
19579 -# Variables whose values should be saved in libtool wrapper scripts and
19580 -# restored at relink time.
19581 -variables_saved_for_relink="$variables_saved_for_relink"
19582 -
19583 -# Whether libtool must link a program against all its dependency libraries.
19584 -link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
19585 -
19586 -# Compile-time system search path for libraries
19587 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19588 -
19589 -# Run-time system search path for libraries
19590 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19591 -
19592 -# Fix the shell variable \$srcfile for the compiler.
19593 -fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
19594 -
19595 -# Set to yes if exported symbols are required.
19596 -always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
19597 -
19598 -# The commands to list exported symbols.
19599 -export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
19600 -
19601 -# The commands to extract the exported symbol list from a shared archive.
19602 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
19603 -
19604 -# Symbols that should not be listed in the preloaded symbols.
19605 -exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
19606 -
19607 -# Symbols that must always be exported.
19608 -include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
19609 -
19610 -ifelse([$1],[],
19611 -[# ### END LIBTOOL CONFIG],
19612 -[# ### END LIBTOOL TAG CONFIG: $tagname])
19613 -
19614 -__EOF__
19615 -
19616 -ifelse([$1],[], [
19617 -  case $host_os in
19618 -  aix3*)
19619 -    cat <<\EOF >> "$cfgfile"
19620 -
19621 -# AIX sometimes has problems with the GCC collect2 program.  For some
19622 -# reason, if we set the COLLECT_NAMES environment variable, the problems
19623 -# vanish in a puff of smoke.
19624 -if test "X${COLLECT_NAMES+set}" != Xset; then
19625 -  COLLECT_NAMES=
19626 -  export COLLECT_NAMES
19627 -fi
19628 -EOF
19629 -    ;;
19630 -  esac
19631 -
19632 -  # We use sed instead of cat because bash on DJGPP gets confused if
19633 -  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19634 -  # text mode, it properly converts lines to CR/LF.  This bash problem
19635 -  # is reportedly fixed, but why not run on old versions too?
19636 -  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
19637 -
19638 -  mv -f "$cfgfile" "$ofile" || \
19639 -    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19640 -  chmod +x "$ofile"
19641 -])
19642 -else
19643 -  # If there is no Makefile yet, we rely on a make rule to execute
19644 -  # `config.status --recheck' to rerun these tests and create the
19645 -  # libtool script then.
19646 -  test -f Makefile && make "$ltmain"
19647 -fi
19648 -])# AC_LIBTOOL_CONFIG
19649 -
19650 -
19651 -# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
19652 -# -------------------------------------------
19653 -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
19654 -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
19655 -
19656 -_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
19657 -
19658 -if test "$GCC" = yes; then
19659 -  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
19660 -
19661 -  AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
19662 -    lt_cv_prog_compiler_rtti_exceptions,
19663 -    [-fno-rtti -fno-exceptions], [],
19664 -    [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
19665 -fi
19666 -])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
19667 -
19668 -
19669 -# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
19670 -# ---------------------------------
19671 -AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
19672 -[AC_REQUIRE([AC_CANONICAL_HOST])
19673 -AC_REQUIRE([AC_PROG_NM])
19674 -AC_REQUIRE([AC_OBJEXT])
19675 -# Check for command to grab the raw symbol name followed by C symbol from nm.
19676 -AC_MSG_CHECKING([command to parse $NM output from $compiler object])
19677 -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
19678 -[
19679 -# These are sane defaults that work on at least a few old systems.
19680 -# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
19681 -
19682 -# Character class describing NM global symbol codes.
19683 -symcode='[[BCDEGRST]]'
19684 -
19685 -# Regexp to match symbols that can be accessed directly from C.
19686 -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
19687 -
19688 -# Transform the above into a raw symbol and a C symbol.
19689 -symxfrm='\1 \2\3 \3'
19690 -
19691 -# Transform an extracted symbol line into a proper C declaration
19692 -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
19693 -
19694 -# Transform an extracted symbol line into symbol name and symbol address
19695 -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'"
19696 -
19697 -# Define system-specific variables.
19698 -case $host_os in
19699 -aix*)
19700 -  symcode='[[BCDT]]'
19701 -  ;;
19702 -cygwin* | mingw* | pw32*)
19703 -  symcode='[[ABCDGISTW]]'
19704 -  ;;
19705 -hpux*) # Its linker distinguishes data from code symbols
19706 -  if test "$host_cpu" = ia64; then
19707 -    symcode='[[ABCDEGRST]]'
19708 -  fi
19709 -  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
19710 -  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'"
19711 -  ;;
19712 -irix* | nonstopux*)
19713 -  symcode='[[BCDEGRST]]'
19714 -  ;;
19715 -osf*)
19716 -  symcode='[[BCDEGQRST]]'
19717 -  ;;
19718 -solaris* | sysv5*)
19719 -  symcode='[[BDT]]'
19720 -  ;;
19721 -sysv4)
19722 -  symcode='[[DFNSTU]]'
19723 -  ;;
19724 -esac
19725 -
19726 -# Handle CRLF in mingw tool chain
19727 -opt_cr=
19728 -case $build_os in
19729 -mingw*)
19730 -  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
19731 -  ;;
19732 -esac
19733 -
19734 -# If we're using GNU nm, then use its standard symbol codes.
19735 -case `$NM -V 2>&1` in
19736 -*GNU* | *'with BFD'*)
19737 -  symcode='[[ABCDGISTW]]' ;;
19738 -esac
19739 -
19740 -# Try without a prefix undercore, then with it.
19741 -for ac_symprfx in "" "_"; do
19742 -
19743 -  # Write the raw and C identifiers.
19744 -  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[     ]]\($symcode$symcode*\)[[       ]][[    ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
19745 -
19746 -  # Check to see that the pipe works correctly.
19747 -  pipe_works=no
19748 -
19749 -  rm -f conftest*
19750 -  cat > conftest.$ac_ext <<EOF
19751 -#ifdef __cplusplus
19752 -extern "C" {
19753 -#endif
19754 -char nm_test_var;
19755 -void nm_test_func(){}
19756 -#ifdef __cplusplus
19757 -}
19758 -#endif
19759 -int main(){nm_test_var='a';nm_test_func();return(0);}
19760 -EOF
19761 -
19762 -  if AC_TRY_EVAL(ac_compile); then
19763 -    # Now try to grab the symbols.
19764 -    nlist=conftest.nm
19765 -    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
19766 -      # Try sorting and uniquifying the output.
19767 -      if sort "$nlist" | uniq > "$nlist"T; then
19768 -       mv -f "$nlist"T "$nlist"
19769 -      else
19770 -       rm -f "$nlist"T
19771 -      fi
19772 -
19773 -      # Make sure that we snagged all the symbols we need.
19774 -      if grep ' nm_test_var$' "$nlist" >/dev/null; then
19775 -       if grep ' nm_test_func$' "$nlist" >/dev/null; then
19776 -         cat <<EOF > conftest.$ac_ext
19777 -#ifdef __cplusplus
19778 -extern "C" {
19779 -#endif
19780 -
19781 -EOF
19782 -         # Now generate the symbol file.
19783 -         eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
19784 -
19785 -         cat <<EOF >> conftest.$ac_ext
19786 -#if defined (__STDC__) && __STDC__
19787 -# define lt_ptr_t void *
19788 -#else
19789 -# define lt_ptr_t char *
19790 -# define const
19791 -#endif
19792 -
19793 -/* The mapping between symbol names and symbols. */
19794 -const struct {
19795 -  const char *name;
19796 -  lt_ptr_t address;
19797 -}
19798 -lt_preloaded_symbols[[]] =
19799 -{
19800 -EOF
19801 -         $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
19802 -         cat <<\EOF >> conftest.$ac_ext
19803 -  {0, (lt_ptr_t) 0}
19804 -};
19805 -
19806 -#ifdef __cplusplus
19807 -}
19808 -#endif
19809 -EOF
19810 -         # Now try linking the two files.
19811 -         mv conftest.$ac_objext conftstm.$ac_objext
19812 -         lt_save_LIBS="$LIBS"
19813 -         lt_save_CFLAGS="$CFLAGS"
19814 -         LIBS="conftstm.$ac_objext"
19815 -         CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
19816 -         if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
19817 -           pipe_works=yes
19818 -         fi
19819 -         LIBS="$lt_save_LIBS"
19820 -         CFLAGS="$lt_save_CFLAGS"
19821 -       else
19822 -         echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
19823 -       fi
19824 -      else
19825 -       echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
19826 -      fi
19827 -    else
19828 -      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
19829 -    fi
19830 -  else
19831 -    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
19832 -    cat conftest.$ac_ext >&5
19833 -  fi
19834 -  rm -f conftest* conftst*
19835 -
19836 -  # Do not use the global_symbol_pipe unless it works.
19837 -  if test "$pipe_works" = yes; then
19838 -    break
19839 -  else
19840 -    lt_cv_sys_global_symbol_pipe=
19841 -  fi
19842 -done
19843 -])
19844 -if test -z "$lt_cv_sys_global_symbol_pipe"; then
19845 -  lt_cv_sys_global_symbol_to_cdecl=
19846 -fi
19847 -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
19848 -  AC_MSG_RESULT(failed)
19849 -else
19850 -  AC_MSG_RESULT(ok)
19851 -fi
19852 -]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
19853 -
19854 -
19855 -# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
19856 -# ---------------------------------------
19857 -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
19858 -[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
19859 -_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
19860 -_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
19861 -
19862 -AC_MSG_CHECKING([for $compiler option to produce PIC])
19863 - ifelse([$1],[CXX],[
19864 -  # C++ specific cases for pic, static, wl, etc.
19865 -  if test "$GXX" = yes; then
19866 -    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
19867 -    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
19868 -
19869 -    case $host_os in
19870 -    aix*)
19871 -      # All AIX code is PIC.
19872 -      if test "$host_cpu" = ia64; then
19873 -       # AIX 5 now supports IA64 processor
19874 -       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
19875 -      fi
19876 -      ;;
19877 -    amigaos*)
19878 -      # FIXME: we need at least 68020 code to build shared libraries, but
19879 -      # adding the `-m68020' flag to GCC prevents building anything better,
19880 -      # like `-m68040'.
19881 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
19882 -      ;;
19883 -    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19884 -      # PIC is the default for these OSes.
19885 -      ;;
19886 -    mingw* | os2* | pw32*)
19887 -      # This hack is so that the source file can tell whether it is being
19888 -      # built for inclusion in a dll (and should export symbols for example).
19889 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
19890 -      ;;
19891 -    darwin* | rhapsody*)
19892 -      # PIC is the default on this platform
19893 -      # Common symbols not allowed in MH_DYLIB files
19894 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
19895 -      ;;
19896 -    *djgpp*)
19897 -      # DJGPP does not support shared libraries at all
19898 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
19899 -      ;;
19900 -    sysv4*MP*)
19901 -      if test -d /usr/nec; then
19902 -       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
19903 -      fi
19904 -      ;;
19905 -    hpux*)
19906 -      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19907 -      # not for PA HP-UX.
19908 -      case "$host_cpu" in
19909 -      hppa*64*|ia64*)
19910 -       ;;
19911 -      *)
19912 -       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
19913 -       ;;
19914 -      esac
19915 -      ;;
19916 -    *)
19917 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
19918 -      ;;
19919 -    esac
19920 -  else
19921 -    case $host_os in
19922 -      aix4* | aix5*)
19923 -       # All AIX code is PIC.
19924 -       if test "$host_cpu" = ia64; then
19925 -         # AIX 5 now supports IA64 processor
19926 -         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
19927 -       else
19928 -         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
19929 -       fi
19930 -       ;;
19931 -      chorus*)
19932 -       case $cc_basename in
19933 -       cxch68)
19934 -         # Green Hills C++ Compiler
19935 -         # _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"
19936 -         ;;
19937 -       esac
19938 -       ;;
19939 -      dgux*)
19940 -       case $cc_basename in
19941 -         ec++)
19942 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
19943 -           ;;
19944 -         ghcx)
19945 -           # Green Hills C++ Compiler
19946 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
19947 -           ;;
19948 -         *)
19949 -           ;;
19950 -       esac
19951 -       ;;
19952 -      freebsd*)
19953 -       # FreeBSD uses GNU C++
19954 -       ;;
19955 -      hpux9* | hpux10* | hpux11*)
19956 -       case $cc_basename in
19957 -         CC)
19958 -           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
19959 -           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
19960 -           if test "$host_cpu" != ia64; then
19961 -             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
19962 -           fi
19963 -           ;;
19964 -         aCC)
19965 -           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
19966 -           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
19967 -           case "$host_cpu" in
19968 -           hppa*64*|ia64*)
19969 -             # +Z the default
19970 -             ;;
19971 -           *)
19972 -             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
19973 -             ;;
19974 -           esac
19975 -           ;;
19976 -         *)
19977 -           ;;
19978 -       esac
19979 -       ;;
19980 -      irix5* | irix6* | nonstopux*)
19981 -       case $cc_basename in
19982 -         CC)
19983 -           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
19984 -           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
19985 -           # CC pic flag -KPIC is the default.
19986 -           ;;
19987 -         *)
19988 -           ;;
19989 -       esac
19990 -       ;;
19991 -      linux*)
19992 -       case $cc_basename in
19993 -         KCC)
19994 -           # KAI C++ Compiler
19995 -           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
19996 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
19997 -           ;;
19998 -         icpc)
19999 -           # Intel C++
20000 -           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
20001 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
20002 -           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
20003 -           ;; 
20004 -         cxx)
20005 -           # Compaq C++
20006 -           # Make sure the PIC flag is empty.  It appears that all Alpha
20007 -           # Linux and Compaq Tru64 Unix objects are PIC.
20008 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
20009 -           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
20010 -           ;;
20011 -         *)
20012 -           ;;
20013 -       esac
20014 -       ;;
20015 -      lynxos*)
20016 -       ;;
20017 -      m88k*)
20018 -       ;;
20019 -      mvs*)
20020 -       case $cc_basename in
20021 -         cxx)
20022 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
20023 -           ;;
20024 -         *)
20025 -           ;;
20026 -       esac
20027 -       ;;
20028 -      netbsd*)
20029 -       ;;
20030 -      osf3* | osf4* | osf5*)
20031 -       case $cc_basename in
20032 -         KCC)
20033 -           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
20034 -           ;;
20035 -         RCC)
20036 -           # Rational C++ 2.4.1
20037 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
20038 -           ;;
20039 -         cxx)
20040 -           # Digital/Compaq C++
20041 -           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
20042 -           # Make sure the PIC flag is empty.  It appears that all Alpha
20043 -           # Linux and Compaq Tru64 Unix objects are PIC.
20044 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
20045 -           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
20046 -           ;;
20047 -         *)
20048 -           ;;
20049 -       esac
20050 -       ;;
20051 -      psos*)
20052 -       ;;
20053 -      sco*)
20054 -       case $cc_basename in
20055 -         CC)
20056 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
20057 -           ;;
20058 -         *)
20059 -           ;;
20060 -       esac
20061 -       ;;
20062 -      solaris*)
20063 -       case $cc_basename in
20064 -         CC)
20065 -           # Sun C++ 4.2, 5.x and Centerline C++
20066 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
20067 -           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
20068 -           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
20069 -           ;;
20070 -         gcx)
20071 -           # Green Hills C++ Compiler
20072 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
20073 -           ;;
20074 -         *)
20075 -           ;;
20076 -       esac
20077 -       ;;
20078 -      sunos4*)
20079 -       case $cc_basename in
20080 -         CC)
20081 -           # Sun C++ 4.x
20082 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
20083 -           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
20084 -           ;;
20085 -         lcc)
20086 -           # Lucid
20087 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
20088 -           ;;
20089 -         *)
20090 -           ;;
20091 -       esac
20092 -       ;;
20093 -      tandem*)
20094 -       case $cc_basename in
20095 -         NCC)
20096 -           # NonStop-UX NCC 3.20
20097 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
20098 -           ;;
20099 -         *)
20100 -           ;;
20101 -       esac
20102 -       ;;
20103 -      unixware*)
20104 -       ;;
20105 -      vxworks*)
20106 -       ;;
20107 -      *)
20108 -       _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
20109 -       ;;
20110 -    esac
20111 -  fi
20112 -],
20113 -[
20114 -  if test "$GCC" = yes; then
20115 -    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
20116 -    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
20117 -
20118 -    case $host_os in
20119 -      aix*)
20120 -      # All AIX code is PIC.
20121 -      if test "$host_cpu" = ia64; then
20122 -       # AIX 5 now supports IA64 processor
20123 -       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
20124 -      fi
20125 -      ;;
20126 -
20127 -    amigaos*)
20128 -      # FIXME: we need at least 68020 code to build shared libraries, but
20129 -      # adding the `-m68020' flag to GCC prevents building anything better,
20130 -      # like `-m68040'.
20131 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
20132 -      ;;
20133 -
20134 -    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
20135 -      # PIC is the default for these OSes.
20136 -      ;;
20137 -
20138 -    mingw* | pw32* | os2*)
20139 -      # This hack is so that the source file can tell whether it is being
20140 -      # built for inclusion in a dll (and should export symbols for example).
20141 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
20142 -      ;;
20143 -
20144 -    darwin* | rhapsody*)
20145 -      # PIC is the default on this platform
20146 -      # Common symbols not allowed in MH_DYLIB files
20147 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
20148 -      ;;
20149 -
20150 -    msdosdjgpp*)
20151 -      # Just because we use GCC doesn't mean we suddenly get shared libraries
20152 -      # on systems that don't support them.
20153 -      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
20154 -      enable_shared=no
20155 -      ;;
20156 -
20157 -    sysv4*MP*)
20158 -      if test -d /usr/nec; then
20159 -       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
20160 -      fi
20161 -      ;;
20162 -
20163 -    hpux*)
20164 -      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
20165 -      # not for PA HP-UX.
20166 -      case "$host_cpu" in
20167 -      hppa*64*|ia64*)
20168 -       # +Z the default
20169 -       ;;
20170 -      *)
20171 -       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
20172 -       ;;
20173 -      esac
20174 -      ;;
20175 -
20176 -    *)
20177 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
20178 -      ;;
20179 -    esac
20180 -  else
20181 -    # PORTME Check for flag to pass linker flags through the system compiler.
20182 -    case $host_os in
20183 -    aix*)
20184 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
20185 -      if test "$host_cpu" = ia64; then
20186 -       # AIX 5 now supports IA64 processor
20187 -       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
20188 -      else
20189 -       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
20190 -      fi
20191 -      ;;
20192 -
20193 -    mingw* | pw32* | os2*)
20194 -      # This hack is so that the source file can tell whether it is being
20195 -      # built for inclusion in a dll (and should export symbols for example).
20196 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
20197 -      ;;
20198 -
20199 -    hpux9* | hpux10* | hpux11*)
20200 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
20201 -      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
20202 -      # not for PA HP-UX.
20203 -      case "$host_cpu" in
20204 -      hppa*64*|ia64*)
20205 -       # +Z the default
20206 -       ;;
20207 -      *)
20208 -       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
20209 -       ;;
20210 -      esac
20211 -      # Is there a better lt_prog_compiler_static that works with the bundled CC?
20212 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
20213 -      ;;
20214 -
20215 -    irix5* | irix6* | nonstopux*)
20216 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
20217 -      # PIC (with -KPIC) is the default.
20218 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
20219 -      ;;
20220 -
20221 -    newsos6)
20222 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
20223 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
20224 -      ;;
20225 -
20226 -    linux*)
20227 -      case $CC in
20228 -      icc|ecc)
20229 -       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
20230 -       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
20231 -       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
20232 -        ;;
20233 -      ccc)
20234 -        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
20235 -        # All Alpha code is PIC.
20236 -        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
20237 -        ;;
20238 -      esac
20239 -      ;;
20240 -
20241 -    osf3* | osf4* | osf5*)
20242 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
20243 -      # All OSF/1 code is PIC.
20244 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
20245 -      ;;
20246 -
20247 -    sco3.2v5*)
20248 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
20249 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
20250 -      ;;
20251 -
20252 -    solaris*)
20253 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
20254 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
20255 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
20256 -      ;;
20257 -
20258 -    sunos4*)
20259 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
20260 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
20261 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
20262 -      ;;
20263 -
20264 -    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
20265 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
20266 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
20267 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
20268 -      ;;
20269 -
20270 -    sysv4*MP*)
20271 -      if test -d /usr/nec ;then
20272 -       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
20273 -       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
20274 -      fi
20275 -      ;;
20276 -
20277 -    uts4*)
20278 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
20279 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
20280 -      ;;
20281 -
20282 -    *)
20283 -      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
20284 -      ;;
20285 -    esac
20286 -  fi
20287 -])
20288 -AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
20289 -
20290 -#
20291 -# Check to make sure the PIC flag actually works.
20292 -#
20293 -if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
20294 -  AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
20295 -    _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
20296 -    [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
20297 -    [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
20298 -     "" | " "*) ;;
20299 -     *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
20300 -     esac],
20301 -    [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
20302 -     _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
20303 -fi
20304 -case "$host_os" in
20305 -  # For platforms which do not support PIC, -DPIC is meaningless:
20306 -  *djgpp*)
20307 -    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
20308 -    ;;
20309 -  *)
20310 -    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
20311 -    ;;
20312 -esac
20313 -])
20314 -
20315 -
20316 -# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
20317 -# ------------------------------------
20318 -# See if the linker supports building shared libraries.
20319 -AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
20320 -[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
20321 -ifelse([$1],[CXX],[
20322 -  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20323 -  case $host_os in
20324 -  aix4* | aix5*)
20325 -    # If we're using GNU nm, then we don't want the "-C" option.
20326 -    # -C means demangle to AIX nm, but means don't demangle with GNU nm
20327 -    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
20328 -      _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'
20329 -    else
20330 -      _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'
20331 -    fi
20332 -    ;;
20333 -  pw32*)
20334 -    _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
20335 -  ;;
20336 -  cygwin* | mingw*)
20337 -    _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'
20338 -  ;;
20339 -  *)
20340 -    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20341 -  ;;
20342 -  esac
20343 -],[
20344 -  runpath_var=
20345 -  _LT_AC_TAGVAR(allow_undefined_flag, $1)=
20346 -  _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
20347 -  _LT_AC_TAGVAR(archive_cmds, $1)=
20348 -  _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
20349 -  _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
20350 -  _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
20351 -  _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
20352 -  _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
20353 -  _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
20354 -  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
20355 -  _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
20356 -  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
20357 -  _LT_AC_TAGVAR(hardcode_direct, $1)=no
20358 -  _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
20359 -  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
20360 -  _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
20361 -  _LT_AC_TAGVAR(hardcode_automatic, $1)=no
20362 -  _LT_AC_TAGVAR(module_cmds, $1)=
20363 -  _LT_AC_TAGVAR(module_expsym_cmds, $1)=  
20364 -  _LT_AC_TAGVAR(always_export_symbols, $1)=no
20365 -  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20366 -  # include_expsyms should be a list of space-separated symbols to be *always*
20367 -  # included in the symbol list
20368 -  _LT_AC_TAGVAR(include_expsyms, $1)=
20369 -  # exclude_expsyms can be an extended regexp of symbols to exclude
20370 -  # it will be wrapped by ` (' and `)$', so one must not match beginning or
20371 -  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
20372 -  # as well as any symbol that contains `d'.
20373 -  _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
20374 -  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
20375 -  # platforms (ab)use it in PIC code, but their linkers get confused if
20376 -  # the symbol is explicitly referenced.  Since portable code cannot
20377 -  # rely on this symbol name, it's probably fine to never include it in
20378 -  # preloaded symbol tables.
20379 -  extract_expsyms_cmds=
20380 -
20381 -  case $host_os in
20382 -  cygwin* | mingw* | pw32*)
20383 -    # FIXME: the MSVC++ port hasn't been tested in a loooong time
20384 -    # When not using gcc, we currently assume that we are using
20385 -    # Microsoft Visual C++.
20386 -    if test "$GCC" != yes; then
20387 -      with_gnu_ld=no
20388 -    fi
20389 -    ;;
20390 -  openbsd*)
20391 -    with_gnu_ld=no
20392 -    ;;
20393 -  esac
20394 -
20395 -  _LT_AC_TAGVAR(ld_shlibs, $1)=yes
20396 -  if test "$with_gnu_ld" = yes; then
20397 -    # If archive_cmds runs LD, not CC, wlarc should be empty
20398 -    wlarc='${wl}'
20399 -
20400 -    # See if GNU ld supports shared libraries.
20401 -    case $host_os in
20402 -    aix3* | aix4* | aix5*)
20403 -      # On AIX/PPC, the GNU linker is very broken
20404 -      if test "$host_cpu" != ia64; then
20405 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
20406 -       cat <<EOF 1>&2
20407 -
20408 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
20409 -*** to be unable to reliably create shared libraries on AIX.
20410 -*** Therefore, libtool is disabling shared libraries support.  If you
20411 -*** really care for shared libraries, you may want to modify your PATH
20412 -*** so that a non-GNU linker is found, and then restart.
20413 -
20414 -EOF
20415 -      fi
20416 -      ;;
20417 -
20418 -    amigaos*)
20419 -      _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)'
20420 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
20421 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
20422 -
20423 -      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
20424 -      # that the semantics of dynamic libraries on AmigaOS, at least up
20425 -      # to version 4, is to share data among multiple programs linked
20426 -      # with the same dynamic library.  Since this doesn't match the
20427 -      # behavior of shared libraries on other platforms, we can't use
20428 -      # them.
20429 -      _LT_AC_TAGVAR(ld_shlibs, $1)=no
20430 -      ;;
20431 -
20432 -    beos*)
20433 -      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20434 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
20435 -       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
20436 -       # support --undefined.  This deserves some investigation.  FIXME
20437 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20438 -      else
20439 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
20440 -      fi
20441 -      ;;
20442 -
20443 -    cygwin* | mingw* | pw32*)
20444 -      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
20445 -      # as there is no search path for DLLs.
20446 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
20447 -      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
20448 -      _LT_AC_TAGVAR(always_export_symbols, $1)=no
20449 -      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
20450 -      _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'
20451 -
20452 -      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
20453 -        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
20454 -       # If the export-symbols file already is a .def file (1st line
20455 -       # is EXPORTS), use it as is; otherwise, prepend...
20456 -       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
20457 -         cp $export_symbols $output_objdir/$soname.def;
20458 -       else
20459 -         echo EXPORTS > $output_objdir/$soname.def;
20460 -         cat $export_symbols >> $output_objdir/$soname.def;
20461 -       fi~
20462 -       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
20463 -      else
20464 -       ld_shlibs=no
20465 -      fi
20466 -      ;;
20467 -
20468 -    netbsd*)
20469 -      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20470 -       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
20471 -       wlarc=
20472 -      else
20473 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20474 -       _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'
20475 -      fi
20476 -      ;;
20477 -
20478 -    solaris* | sysv5*)
20479 -      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
20480 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
20481 -       cat <<EOF 1>&2
20482 -
20483 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
20484 -*** create shared libraries on Solaris systems.  Therefore, libtool
20485 -*** is disabling shared libraries support.  We urge you to upgrade GNU
20486 -*** binutils to release 2.9.1 or newer.  Another option is to modify
20487 -*** your PATH or compiler configuration so that the native linker is
20488 -*** used, and then restart.
20489 -
20490 -EOF
20491 -      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20492 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20493 -       _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'
20494 -      else
20495 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
20496 -      fi
20497 -      ;;
20498 -
20499 -    sunos4*)
20500 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20501 -      wlarc=
20502 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20503 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20504 -      ;;
20505 -
20506 -    *)
20507 -      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
20508 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20509 -       _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'
20510 -      else
20511 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
20512 -      fi
20513 -      ;;
20514 -    esac
20515 -
20516 -    if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then
20517 -      runpath_var=LD_RUN_PATH
20518 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
20519 -      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
20520 -      # ancient GNU ld didn't support --whole-archive et. al.
20521 -      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
20522 -       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
20523 -      else
20524 -       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
20525 -      fi
20526 -    fi
20527 -  else
20528 -    # PORTME fill in a description of your system's linker (not GNU ld)
20529 -    case $host_os in
20530 -    aix3*)
20531 -      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
20532 -      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
20533 -      _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'
20534 -      # Note: this linker hardcodes the directories in LIBPATH if there
20535 -      # are no directories specified by -L.
20536 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
20537 -      if test "$GCC" = yes && test -z "$link_static_flag"; then
20538 -       # Neither direct hardcoding nor static linking is supported with a
20539 -       # broken collect2.
20540 -       _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
20541 -      fi
20542 -      ;;
20543 -
20544 -    aix4* | aix5*)
20545 -      if test "$host_cpu" = ia64; then
20546 -       # On IA64, the linker does run time linking by default, so we don't
20547 -       # have to do anything special.
20548 -       aix_use_runtimelinking=no
20549 -       exp_sym_flag='-Bexport'
20550 -       no_entry_flag=""
20551 -      else
20552 -       # If we're using GNU nm, then we don't want the "-C" option.
20553 -       # -C means demangle to AIX nm, but means don't demangle with GNU nm
20554 -       if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
20555 -         _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'
20556 -       else
20557 -         _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'
20558 -       fi
20559 -       aix_use_runtimelinking=no
20560 -
20561 -       # Test if we are trying to use run time linking or normal
20562 -       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
20563 -       # need to do runtime linking.
20564 -       case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
20565 -         for ld_flag in $LDFLAGS; do
20566 -         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
20567 -           aix_use_runtimelinking=yes
20568 -           break
20569 -         fi
20570 -         done
20571 -       esac
20572 -
20573 -       exp_sym_flag='-bexport'
20574 -       no_entry_flag='-bnoentry'
20575 -      fi
20576 -
20577 -      # When large executables or shared objects are built, AIX ld can
20578 -      # have problems creating the table of contents.  If linking a library
20579 -      # or program results in "error TOC overflow" add -mminimal-toc to
20580 -      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
20581 -      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
20582 -
20583 -      _LT_AC_TAGVAR(archive_cmds, $1)=''
20584 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20585 -      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
20586 -      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
20587 -
20588 -      if test "$GCC" = yes; then
20589 -       case $host_os in aix4.[012]|aix4.[012].*)
20590 -       # We only want to do this on AIX 4.2 and lower, the check
20591 -       # below for broken collect2 doesn't work under 4.3+
20592 -         collect2name=`${CC} -print-prog-name=collect2`
20593 -         if test -f "$collect2name" && \
20594 -          strings "$collect2name" | grep resolve_lib_name >/dev/null
20595 -         then
20596 -         # We have reworked collect2
20597 -         _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20598 -         else
20599 -         # We have old collect2
20600 -         _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
20601 -         # It fails to find uninstalled libraries when the uninstalled
20602 -         # path is not listed in the libpath.  Setting hardcode_minus_L
20603 -         # to unsupported forces relinking
20604 -         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
20605 -         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
20606 -         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
20607 -         fi
20608 -       esac
20609 -       shared_flag='-shared'
20610 -      else
20611 -       # not using gcc
20612 -       if test "$host_cpu" = ia64; then
20613 -       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
20614 -       # chokes on -Wl,-G. The following line is correct:
20615 -         shared_flag='-G'
20616 -       else
20617 -       if test "$aix_use_runtimelinking" = yes; then
20618 -           shared_flag='${wl}-G'
20619 -         else
20620 -           shared_flag='${wl}-bM:SRE'
20621 -       fi
20622 -       fi
20623 -      fi
20624 -
20625 -      # It seems that -bexpall does not export symbols beginning with
20626 -      # underscore (_), so it is better to generate a list of symbols to export.
20627 -      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
20628 -      if test "$aix_use_runtimelinking" = yes; then
20629 -       # Warning - without using the other runtime loading flags (-brtl),
20630 -       # -berok will link without error, but may produce a broken library.
20631 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
20632 -       # Determine the default libpath from the value encoded in an empty executable.
20633 -       _LT_AC_SYS_LIBPATH_AIX
20634 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
20635 -       _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"
20636 -       else
20637 -       if test "$host_cpu" = ia64; then
20638 -         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
20639 -         _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
20640 -         _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"
20641 -       else
20642 -        # Determine the default libpath from the value encoded in an empty executable.
20643 -        _LT_AC_SYS_LIBPATH_AIX
20644 -        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
20645 -         # Warning - without using the other run time loading flags,
20646 -         # -berok will link without error, but may produce a broken library.
20647 -         _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
20648 -         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
20649 -         # -bexpall does not export symbols beginning with underscore (_)
20650 -         _LT_AC_TAGVAR(always_export_symbols, $1)=yes
20651 -         # Exported symbols can be pulled into shared objects from archives
20652 -         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
20653 -         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
20654 -         # This is similar to how AIX traditionally builds it's shared libraries.
20655 -         _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'
20656 -       fi
20657 -      fi
20658 -      ;;
20659 -
20660 -    amigaos*)
20661 -      _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)'
20662 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
20663 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
20664 -      # see comment about different semantics on the GNU ld section
20665 -      _LT_AC_TAGVAR(ld_shlibs, $1)=no
20666 -      ;;
20667 -
20668 -    bsdi4*)
20669 -      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
20670 -      ;;
20671 -
20672 -    cygwin* | mingw* | pw32*)
20673 -      # When not using gcc, we currently assume that we are using
20674 -      # Microsoft Visual C++.
20675 -      # hardcode_libdir_flag_spec is actually meaningless, as there is
20676 -      # no search path for DLLs.
20677 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
20678 -      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
20679 -      # Tell ltmain to make .lib files, not .a files.
20680 -      libext=lib
20681 -      # Tell ltmain to make .dll files, not .so files.
20682 -      shrext=".dll"
20683 -      # FIXME: Setting linknames here is a bad hack.
20684 -      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
20685 -      # The linker will automatically build a .lib file if we build a DLL.
20686 -      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
20687 -      # FIXME: Should let the user specify the lib program.
20688 -      _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
20689 -      fix_srcfile_path='`cygpath -w "$srcfile"`'
20690 -      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
20691 -      ;;
20692 -
20693 -    darwin* | rhapsody*)
20694 -    if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 
20695 -      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
20696 -      case "$host_os" in
20697 -      rhapsody* | darwin1.[[012]])
20698 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
20699 -       ;;
20700 -      *) # Darwin 1.3 on
20701 -       test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
20702 -       ;;
20703 -      esac
20704 -      # FIXME: Relying on posixy $() will cause problems for
20705 -      #        cross-compilation, but unfortunately the echo tests do not
20706 -      #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
20707 -      #               `"' quotes if we put them in here... so don't!
20708 -       lt_int_apple_cc_single_mod=no
20709 -       output_verbose_link_cmd='echo'
20710 -       if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
20711 -         lt_int_apple_cc_single_mod=yes
20712 -       fi
20713 -       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
20714 -         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
20715 -       else
20716 -        _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'
20717 -      fi
20718 -      _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
20719 -      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
20720 -        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
20721 -          _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}'
20722 -        else
20723 -          _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}'
20724 -        fi
20725 -          _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20726 -      _LT_AC_TAGVAR(hardcode_direct, $1)=no
20727 -      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
20728 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
20729 -      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
20730 -      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
20731 -    fi  
20732 -      ;;
20733 -
20734 -    dgux*)
20735 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20736 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
20737 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20738 -      ;;
20739 -
20740 -    freebsd1*)
20741 -      _LT_AC_TAGVAR(ld_shlibs, $1)=no
20742 -      ;;
20743 -
20744 -    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
20745 -    # support.  Future versions do this automatically, but an explicit c++rt0.o
20746 -    # does not break anything, and helps significantly (at the cost of a little
20747 -    # extra space).
20748 -    freebsd2.2*)
20749 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
20750 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
20751 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20752 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20753 -      ;;
20754 -
20755 -    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
20756 -    freebsd2*)
20757 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20758 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20759 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
20760 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20761 -      ;;
20762 -
20763 -    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
20764 -    freebsd*)
20765 -      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
20766 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
20767 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20768 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20769 -      ;;
20770 -
20771 -    hpux9*)
20772 -      if test "$GCC" = yes; then
20773 -       _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'
20774 -      else
20775 -       _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'
20776 -      fi
20777 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
20778 -      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
20779 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20780 -
20781 -      # hardcode_minus_L: Not really in the search PATH,
20782 -      # but as the default location of the library.
20783 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
20784 -      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
20785 -      ;;
20786 -
20787 -    hpux10* | hpux11*)
20788 -      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
20789 -       case "$host_cpu" in
20790 -       hppa*64*|ia64*)
20791 -         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20792 -         ;;
20793 -       *)
20794 -         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20795 -         ;;
20796 -       esac
20797 -      else
20798 -       case "$host_cpu" in
20799 -       hppa*64*|ia64*)
20800 -         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
20801 -         ;;
20802 -       *)
20803 -         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
20804 -         ;;
20805 -       esac
20806 -      fi
20807 -      if test "$with_gnu_ld" = no; then
20808 -       case "$host_cpu" in
20809 -       hppa*64*)
20810 -         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
20811 -         _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
20812 -         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
20813 -         _LT_AC_TAGVAR(hardcode_direct, $1)=no
20814 -         _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20815 -         ;;
20816 -       ia64*)
20817 -         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
20818 -         _LT_AC_TAGVAR(hardcode_direct, $1)=no
20819 -         _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20820 -
20821 -         # hardcode_minus_L: Not really in the search PATH,
20822 -         # but as the default location of the library.
20823 -         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
20824 -         ;;
20825 -       *)
20826 -         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
20827 -         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
20828 -         _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20829 -         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
20830 -
20831 -         # hardcode_minus_L: Not really in the search PATH,
20832 -         # but as the default location of the library.
20833 -         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
20834 -         ;;
20835 -       esac
20836 -      fi
20837 -      ;;
20838 -
20839 -    irix5* | irix6* | nonstopux*)
20840 -      if test "$GCC" = yes; then
20841 -       _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'
20842 -      else
20843 -       _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'
20844 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
20845 -      fi
20846 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
20847 -      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
20848 -      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
20849 -      ;;
20850 -
20851 -    netbsd*)
20852 -      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20853 -       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
20854 -      else
20855 -       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
20856 -      fi
20857 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
20858 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20859 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20860 -      ;;
20861 -
20862 -    newsos6)
20863 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20864 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20865 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
20866 -      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
20867 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20868 -      ;;
20869 -
20870 -    openbsd*)
20871 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20872 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20873 -      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20874 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20875 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
20876 -       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
20877 -      else
20878 -       case $host_os in
20879 -        openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
20880 -          _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20881 -          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
20882 -          ;;
20883 -        *)
20884 -          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20885 -          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
20886 -          ;;
20887 -       esac
20888 -      fi
20889 -      ;;
20890 -
20891 -    os2*)
20892 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
20893 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
20894 -      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
20895 -      _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'
20896 -      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
20897 -      ;;
20898 -
20899 -    osf3*)
20900 -      if test "$GCC" = yes; then
20901 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
20902 -       _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'
20903 -      else
20904 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
20905 -       _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'
20906 -      fi
20907 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
20908 -      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
20909 -      ;;
20910 -
20911 -    osf4* | osf5*)     # as osf3* with the addition of -msym flag
20912 -      if test "$GCC" = yes; then
20913 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
20914 -       _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'
20915 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
20916 -      else
20917 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
20918 -       _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'
20919 -       _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~
20920 -       $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'
20921 -
20922 -       # Both c and cxx compiler support -rpath directly
20923 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
20924 -      fi
20925 -      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
20926 -      ;;
20927 -
20928 -    sco3.2v5*)
20929 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20930 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20931 -      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
20932 -      runpath_var=LD_RUN_PATH
20933 -      hardcode_runpath_var=yes
20934 -      ;;
20935 -
20936 -    solaris*)
20937 -      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
20938 -      if test "$GCC" = yes; then
20939 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20940 -       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20941 -         $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
20942 -      else
20943 -       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20944 -       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20945 -       $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20946 -      fi
20947 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
20948 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20949 -      case $host_os in
20950 -      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
20951 -      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
20952 -       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
20953 -      esac
20954 -      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
20955 -      ;;
20956 -
20957 -    sunos4*)
20958 -      if test "x$host_vendor" = xsequent; then
20959 -       # Use $CC to link under sequent, because it throws in some extra .o
20960 -       # files that make .init and .fini sections work.
20961 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
20962 -      else
20963 -       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
20964 -      fi
20965 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
20966 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
20967 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
20968 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20969 -      ;;
20970 -
20971 -    sysv4)
20972 -      case $host_vendor in
20973 -       sni)
20974 -         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20975 -         _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
20976 -       ;;
20977 -       siemens)
20978 -         ## LD is ld it makes a PLAMLIB
20979 -         ## CC just makes a GrossModule.
20980 -         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20981 -         _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
20982 -         _LT_AC_TAGVAR(hardcode_direct, $1)=no
20983 -        ;;
20984 -       motorola)
20985 -         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20986 -         _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
20987 -       ;;
20988 -      esac
20989 -      runpath_var='LD_RUN_PATH'
20990 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20991 -      ;;
20992 -
20993 -    sysv4.3*)
20994 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20995 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
20996 -      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
20997 -      ;;
20998 -
20999 -    sysv4*MP*)
21000 -      if test -d /usr/nec; then
21001 -       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21002 -       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
21003 -       runpath_var=LD_RUN_PATH
21004 -       hardcode_runpath_var=yes
21005 -       _LT_AC_TAGVAR(ld_shlibs, $1)=yes
21006 -      fi
21007 -      ;;
21008 -
21009 -    sysv4.2uw2*)
21010 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
21011 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
21012 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
21013 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
21014 -      hardcode_runpath_var=yes
21015 -      runpath_var=LD_RUN_PATH
21016 -      ;;
21017 -
21018 -   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[[78]]* | unixware7*)
21019 -      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
21020 -      if test "$GCC" = yes; then
21021 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21022 -      else
21023 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21024 -      fi
21025 -      runpath_var='LD_RUN_PATH'
21026 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
21027 -      ;;
21028 -
21029 -    sysv5*)
21030 -      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
21031 -      # $CC -shared without GNU ld will not create a library from C++
21032 -      # object files and a static libstdc++, better avoid it by now
21033 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
21034 -      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
21035 -               $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
21036 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
21037 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
21038 -      runpath_var='LD_RUN_PATH'
21039 -      ;;
21040 -
21041 -    uts4*)
21042 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21043 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
21044 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
21045 -      ;;
21046 -
21047 -    *)
21048 -      _LT_AC_TAGVAR(ld_shlibs, $1)=no
21049 -      ;;
21050 -    esac
21051 -  fi
21052 -])
21053 -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
21054 -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
21055 -
21056 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
21057 -if test "$GCC" = yes; then
21058 -  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21059 -fi
21060 -
21061 -#
21062 -# Do we need to explicitly link libc?
21063 -#
21064 -case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
21065 -x|xyes)
21066 -  # Assume -lc should be added
21067 -  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
21068 -
21069 -  if test "$enable_shared" = yes && test "$GCC" = yes; then
21070 -    case $_LT_AC_TAGVAR(archive_cmds, $1) in
21071 -    *'~'*)
21072 -      # FIXME: we may have to deal with multi-command sequences.
21073 -      ;;
21074 -    '$CC '*)
21075 -      # Test whether the compiler implicitly links with -lc since on some
21076 -      # systems, -lgcc has to come before -lc. If gcc already passes -lc
21077 -      # to ld, don't add -lc before -lgcc.
21078 -      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
21079 -      $rm conftest*
21080 -      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21081 -  
21082 -      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
21083 -        soname=conftest
21084 -        lib=conftest
21085 -        libobjs=conftest.$ac_objext
21086 -        deplibs=
21087 -        wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
21088 -        compiler_flags=-v
21089 -        linker_flags=-v
21090 -        verstring=
21091 -        output_objdir=.
21092 -        libname=conftest
21093 -        lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
21094 -        _LT_AC_TAGVAR(allow_undefined_flag, $1)=
21095 -        if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
21096 -        then
21097 -         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
21098 -        else
21099 -         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
21100 -        fi
21101 -        _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
21102 -      else
21103 -        cat conftest.err 1>&5
21104 -      fi
21105 -      $rm conftest*
21106 -      AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
21107 -      ;;
21108 -    esac
21109 -  fi
21110 -  ;;
21111 -esac
21112 -])# AC_LIBTOOL_PROG_LD_SHLIBS
21113 -
21114 -
21115 -# _LT_AC_FILE_LTDLL_C
21116 -# -------------------
21117 -# Be careful that the start marker always follows a newline.
21118 -AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
21119 -# /* ltdll.c starts here */
21120 -# #define WIN32_LEAN_AND_MEAN
21121 -# #include <windows.h>
21122 -# #undef WIN32_LEAN_AND_MEAN
21123 -# #include <stdio.h>
21124 -#
21125 -# #ifndef __CYGWIN__
21126 -# #  ifdef __CYGWIN32__
21127 -# #    define __CYGWIN__ __CYGWIN32__
21128 -# #  endif
21129 -# #endif
21130 -#
21131 -# #ifdef __cplusplus
21132 -# extern "C" {
21133 -# #endif
21134 -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
21135 -# #ifdef __cplusplus
21136 -# }
21137 -# #endif
21138 -#
21139 -# #ifdef __CYGWIN__
21140 -# #include <cygwin/cygwin_dll.h>
21141 -# DECLARE_CYGWIN_DLL( DllMain );
21142 -# #endif
21143 -# HINSTANCE __hDllInstance_base;
21144 -#
21145 -# BOOL APIENTRY
21146 -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
21147 -# {
21148 -#   __hDllInstance_base = hInst;
21149 -#   return TRUE;
21150 -# }
21151 -# /* ltdll.c ends here */
21152 -])# _LT_AC_FILE_LTDLL_C
21153 -
21154 -
21155 -# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
21156 -# ---------------------------------
21157 -AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
21158 -
21159 -
21160 -# old names
21161 -AC_DEFUN([AM_PROG_LIBTOOL],   [AC_PROG_LIBTOOL])
21162 -AC_DEFUN([AM_ENABLE_SHARED],  [AC_ENABLE_SHARED($@)])
21163 -AC_DEFUN([AM_ENABLE_STATIC],  [AC_ENABLE_STATIC($@)])
21164 -AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
21165 -AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
21166 -AC_DEFUN([AM_PROG_LD],        [AC_PROG_LD])
21167 -AC_DEFUN([AM_PROG_NM],        [AC_PROG_NM])
21168 -
21169 -# This is just to silence aclocal about the macro not being used
21170 -ifelse([AC_DISABLE_FAST_INSTALL])
21171 -
21172 -AC_DEFUN([LT_AC_PROG_GCJ],
21173 -[AC_CHECK_TOOL(GCJ, gcj, no)
21174 -  test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
21175 -  AC_SUBST(GCJFLAGS)
21176 -])
21177 -
21178 -AC_DEFUN([LT_AC_PROG_RC],
21179 -[AC_CHECK_TOOL(RC, windres, no)
21180 -])
21181 -
21182 -############################################################
21183 -# NOTE: This macro has been submitted for inclusion into   #
21184 -#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
21185 -#  a released version of Autoconf we should remove this    #
21186 -#  macro and use it instead.                               #
21187 -############################################################
21188 -# LT_AC_PROG_SED
21189 -# --------------
21190 -# Check for a fully-functional sed program, that truncates
21191 -# as few characters as possible.  Prefer GNU sed if found.
21192 -AC_DEFUN([LT_AC_PROG_SED],
21193 -[AC_MSG_CHECKING([for a sed that does not truncate output])
21194 -AC_CACHE_VAL(lt_cv_path_SED,
21195 -[# Loop through the user's path and test for sed and gsed.
21196 -# Then use that list of sed's as ones to test for truncation.
21197 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21198 -for as_dir in $PATH
21199 -do
21200 -  IFS=$as_save_IFS
21201 -  test -z "$as_dir" && as_dir=.
21202 -  for lt_ac_prog in sed gsed; do
21203 -    for ac_exec_ext in '' $ac_executable_extensions; do
21204 -      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
21205 -        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
21206 -      fi
21207 -    done
21208 -  done
21209 -done
21210 -lt_ac_max=0
21211 -lt_ac_count=0
21212 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris
21213 -# along with /bin/sed that truncates output.
21214 -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
21215 -  test ! -f $lt_ac_sed && break
21216 -  cat /dev/null > conftest.in
21217 -  lt_ac_count=0
21218 -  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
21219 -  # Check for GNU sed and select it if it is found.
21220 -  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
21221 -    lt_cv_path_SED=$lt_ac_sed
21222 -    break
21223 -  fi
21224 -  while true; do
21225 -    cat conftest.in conftest.in >conftest.tmp
21226 -    mv conftest.tmp conftest.in
21227 -    cp conftest.in conftest.nl
21228 -    echo >>conftest.nl
21229 -    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
21230 -    cmp -s conftest.out conftest.nl || break
21231 -    # 10000 chars as input seems more than enough
21232 -    test $lt_ac_count -gt 10 && break
21233 -    lt_ac_count=`expr $lt_ac_count + 1`
21234 -    if test $lt_ac_count -gt $lt_ac_max; then
21235 -      lt_ac_max=$lt_ac_count
21236 -      lt_cv_path_SED=$lt_ac_sed
21237 -    fi
21238 -  done
21239 -done
21240 -SED=$lt_cv_path_SED
21241 -])
21242 -AC_MSG_RESULT([$SED])
21243 -])
21244 diff -ruN libsigcx-0.6.4-patched/scripts/ltmain.sh libsigcx-0.6.4-regen/scripts/ltmain.sh
21245 --- libsigcx-0.6.4-patched/scripts/ltmain.sh    2003-04-21 12:13:43.000000000 -0700
21246 +++ libsigcx-0.6.4-regen/scripts/ltmain.sh      2005-03-31 16:47:06.000000000 -0800
21247 @@ -1,7 +1,7 @@
21248  # ltmain.sh - Provide generalized library-building support services.
21249  # NOTE: Changing this file will not affect anything until you rerun configure.
21250  #
21251 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003
21252 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004
21253  # Free Software Foundation, Inc.
21254  # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
21255  #
21256 @@ -24,6 +24,29 @@
21257  # configuration script generated by Autoconf, you may include it under
21258  # the same distribution terms that you use for the rest of that program.
21259  
21260 +basename="s,^.*/,,g"
21261 +
21262 +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
21263 +# is ksh but when the shell is invoked as "sh" and the current value of
21264 +# the _XPG environment variable is not equal to 1 (one), the special
21265 +# positional parameter $0, within a function call, is the name of the
21266 +# function.
21267 +progpath="$0"
21268 +
21269 +# The name of this program:
21270 +progname=`echo "$progpath" | $SED $basename`
21271 +modename="$progname"
21272 +
21273 +# Global variables:
21274 +EXIT_SUCCESS=0
21275 +EXIT_FAILURE=1
21276 +
21277 +PROGRAM=ltmain.sh
21278 +PACKAGE=libtool
21279 +VERSION=1.5.6
21280 +TIMESTAMP=" (1.1220.2.95 2004/04/11 05:50:42) Debian$Rev: 224 $"
21281 +
21282 +
21283  # Check that we have a working $echo.
21284  if test "X$1" = X--no-reexec; then
21285    # Discard the --no-reexec flag, and continue.
21286 @@ -36,7 +59,7 @@
21287    :
21288  else
21289    # Restart under the correct shell, and then maybe $echo will work.
21290 -  exec $SHELL "$0" --no-reexec ${1+"$@"}
21291 +  exec $SHELL "$progpath" --no-reexec ${1+"$@"}
21292  fi
21293  
21294  if test "X$1" = X--fallback-echo; then
21295 @@ -45,19 +68,9 @@
21296    cat <<EOF
21297  $*
21298  EOF
21299 -  exit 0
21300 +  exit $EXIT_SUCCESS
21301  fi
21302  
21303 -# The name of this program.
21304 -progname=`$echo "$0" | ${SED} 's%^.*/%%'`
21305 -modename="$progname"
21306 -
21307 -# Constants.
21308 -PROGRAM=ltmain.sh
21309 -PACKAGE=libtool
21310 -VERSION=1.5
21311 -TIMESTAMP=" (1.1220 2003/04/05 19:32:58)"
21312 -
21313  default_mode=
21314  help="Try \`$progname --help' for more information."
21315  magic="%%%MAGIC variable%%%"
21316 @@ -70,8 +83,8 @@
21317  Xsed="${SED}"' -e 1s/^X//'
21318  sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
21319  # test EBCDIC or ASCII
21320 -case `echo A|od -x` in
21321 - *[Cc]1*) # EBCDIC based system
21322 +case `echo A|tr A '\301'` in
21323 + A) # EBCDIC based system
21324    SP2NL="tr '\100' '\n'"
21325    NL2SP="tr '\r\n' '\100\100'"
21326    ;;
21327 @@ -94,12 +107,13 @@
21328  fi
21329  
21330  # Make sure IFS has a sensible default
21331 -: ${IFS="      "}
21332 +: ${IFS="      
21333 +"}
21334  
21335  if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
21336    $echo "$modename: not configured to build any kind of library" 1>&2
21337    $echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
21338 -  exit 1
21339 +  exit $EXIT_FAILURE
21340  fi
21341  
21342  # Global variables.
21343 @@ -118,10 +132,13 @@
21344  # Shell function definitions:
21345  # This seems to be the best place for them
21346  
21347 +# func_win32_libid arg
21348 +# return the library type of file 'arg'
21349 +#
21350  # Need a lot of goo to handle *both* DLLs and import libs
21351  # Has to be a shell function in order to 'eat' the argument
21352  # that is supplied when $file_magic_command is called.
21353 -win32_libid () {
21354 +func_win32_libid () {
21355    win32_libid_type="unknown"
21356    win32_fileres=`file -L $1 2>/dev/null`
21357    case $win32_fileres in
21358 @@ -130,7 +147,7 @@
21359      ;;
21360    *ar\ archive*) # could be an import, or static
21361      if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
21362 -      grep -E 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
21363 +      $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
21364        win32_nmres=`eval $NM -f posix -A $1 | \
21365         sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'`
21366        if test "X$win32_nmres" = "Ximport" ; then
21367 @@ -140,7 +157,7 @@
21368        fi
21369      fi
21370      ;;
21371 -  *DLL*) 
21372 +  *DLL*)
21373      win32_libid_type="x86 DLL"
21374      ;;
21375    *executable*) # but shell scripts are "executable" too...
21376 @@ -154,9 +171,76 @@
21377    $echo $win32_libid_type
21378  }
21379  
21380 +
21381 +# func_infer_tag arg
21382 +# Infer tagged configuration to use if any are available and
21383 +# if one wasn't chosen via the "--tag" command line option.
21384 +# Only attempt this if the compiler in the base compile
21385 +# command doesn't match the default compiler.
21386 +# arg is usually of the form 'gcc ...'
21387 +func_infer_tag () {
21388 +    if test -n "$available_tags" && test -z "$tagname"; then
21389 +      CC_quoted=
21390 +      for arg in $CC; do
21391 +       case $arg in
21392 +         *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
21393 +         arg="\"$arg\""
21394 +         ;;
21395 +       esac
21396 +       CC_quoted="$CC_quoted $arg"
21397 +      done
21398 +      case $@ in
21399 +      # Blanks in the command may have been stripped by the calling shell,
21400 +      # but not from the CC environment variable when configure was run.
21401 +      " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;;
21402 +      # Blanks at the start of $base_compile will cause this to fail
21403 +      # if we don't check for them as well.
21404 +      *)
21405 +       for z in $available_tags; do
21406 +         if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
21407 +           # Evaluate the configuration.
21408 +           eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
21409 +           CC_quoted=
21410 +           for arg in $CC; do
21411 +           # Double-quote args containing other shell metacharacters.
21412 +           case $arg in
21413 +             *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \     ]*|*]*|"")
21414 +             arg="\"$arg\""
21415 +             ;;
21416 +           esac
21417 +           CC_quoted="$CC_quoted $arg"
21418 +         done
21419 +           case "$@ " in
21420 +             " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
21421 +             # The compiler in the base compile command matches
21422 +             # the one in the tagged configuration.
21423 +             # Assume this is the tagged configuration we want.
21424 +             tagname=$z
21425 +             break
21426 +             ;;
21427 +           esac
21428 +         fi
21429 +       done
21430 +       # If $tagname still isn't set, then no tagged configuration
21431 +       # was found and let the user know that the "--tag" command
21432 +       # line option must be used.
21433 +       if test -z "$tagname"; then
21434 +         $echo "$modename: unable to infer tagged configuration"
21435 +         $echo "$modename: specify a tag with \`--tag'" 1>&2
21436 +         exit $EXIT_FAILURE
21437 +#        else
21438 +#          $echo "$modename: using $tagname tagged configuration"
21439 +       fi
21440 +       ;;
21441 +      esac
21442 +    fi
21443 +}
21444  # End of Shell function definitions
21445  #####################################
21446  
21447 +# Darwin sucks
21448 +eval std_shrext=\"$shrext_cmds\"
21449 +
21450  # Parse our command line options once, thoroughly.
21451  while test "$#" -gt 0
21452  do
21453 @@ -176,12 +260,13 @@
21454        ;;
21455      tag)
21456        tagname="$arg"
21457 +      preserve_args="${preserve_args}=$arg"
21458  
21459        # Check whether tagname contains only valid characters
21460        case $tagname in
21461        *[!-_A-Za-z0-9,/]*)
21462         $echo "$progname: invalid tag name: $tagname" 1>&2
21463 -       exit 1
21464 +       exit $EXIT_FAILURE
21465         ;;
21466        esac
21467  
21468 @@ -191,10 +276,10 @@
21469         # not specially marked.
21470         ;;
21471        *)
21472 -       if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$0" > /dev/null; then
21473 +       if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
21474           taglist="$taglist $tagname"
21475           # Evaluate the configuration.
21476 -         eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $0`"
21477 +         eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`"
21478         else
21479           $echo "$progname: ignoring unknown tag $tagname" 1>&2
21480         fi
21481 @@ -223,21 +308,22 @@
21482      $echo "Copyright (C) 2003  Free Software Foundation, Inc."
21483      $echo "This is free software; see the source for copying conditions.  There is NO"
21484      $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
21485 -    exit 0
21486 +    exit $EXIT_SUCCESS
21487      ;;
21488  
21489    --config)
21490 -    ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0
21491 +    ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath
21492      # Now print the configurations for the tags.
21493      for tagname in $taglist; do
21494 -      ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$0"
21495 +      ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
21496      done
21497 -    exit 0
21498 +    exit $EXIT_SUCCESS
21499      ;;
21500  
21501    --debug)
21502      $echo "$progname: enabling shell trace mode"
21503      set -x
21504 +    preserve_args="$preserve_args $arg"
21505      ;;
21506  
21507    --dry-run | -n)
21508 @@ -256,7 +342,7 @@
21509      else
21510        $echo "disable static libraries"
21511      fi
21512 -    exit 0
21513 +    exit $EXIT_SUCCESS
21514      ;;
21515  
21516    --finish) mode="finish" ;;
21517 @@ -268,6 +354,7 @@
21518  
21519    --quiet | --silent)
21520      show=:
21521 +    preserve_args="$preserve_args $arg"
21522      ;;
21523  
21524    --tag) prevopt="--tag" prev=tag ;;
21525 @@ -275,6 +362,7 @@
21526      set tag "$optarg" ${1+"$@"}
21527      shift
21528      prev=tag
21529 +    preserve_args="$preserve_args --tag"
21530      ;;
21531  
21532    -dlopen)
21533 @@ -285,7 +373,7 @@
21534    -*)
21535      $echo "$modename: unrecognized option \`$arg'" 1>&2
21536      $echo "$help" 1>&2
21537 -    exit 1
21538 +    exit $EXIT_FAILURE
21539      ;;
21540  
21541    *)
21542 @@ -298,7 +386,7 @@
21543  if test -n "$prevopt"; then
21544    $echo "$modename: option \`$prevopt' requires an argument" 1>&2
21545    $echo "$help" 1>&2
21546 -  exit 1
21547 +  exit $EXIT_FAILURE
21548  fi
21549  
21550  # If this variable is set in any of the actions, the command in it
21551 @@ -354,7 +442,7 @@
21552    if test -n "$execute_dlfiles" && test "$mode" != execute; then
21553      $echo "$modename: unrecognized option \`-dlopen'" 1>&2
21554      $echo "$help" 1>&2
21555 -    exit 1
21556 +    exit $EXIT_FAILURE
21557    fi
21558  
21559    # Change the help message to a mode-specific one.
21560 @@ -369,9 +457,11 @@
21561      # Get the compilation command and the source file.
21562      base_compile=
21563      srcfile="$nonopt"  #  always keep a non-empty value in "srcfile"
21564 +    suppress_opt=yes
21565      suppress_output=
21566      arg_mode=normal
21567      libobj=
21568 +    later=
21569  
21570      for arg
21571      do
21572 @@ -394,24 +484,19 @@
21573         -o)
21574           if test -n "$libobj" ; then
21575             $echo "$modename: you cannot specify \`-o' more than once" 1>&2
21576 -           exit 1
21577 +           exit $EXIT_FAILURE
21578           fi
21579           arg_mode=target
21580           continue
21581           ;;
21582  
21583 -       -static)
21584 -         build_old_libs=yes
21585 +       -static | -prefer-pic | -prefer-non-pic)
21586 +         later="$later $arg"
21587           continue
21588           ;;
21589  
21590 -       -prefer-pic)
21591 -         pic_mode=yes
21592 -         continue
21593 -         ;;
21594 -
21595 -       -prefer-non-pic)
21596 -         pic_mode=no
21597 +       -no-suppress)
21598 +         suppress_opt=no
21599           continue
21600           ;;
21601  
21602 @@ -424,7 +509,7 @@
21603           args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
21604           lastarg=
21605           save_ifs="$IFS"; IFS=','
21606 -         for arg in $args; do
21607 +         for arg in $args; do
21608             IFS="$save_ifs"
21609  
21610             # Double-quote args containing other shell metacharacters.
21611 @@ -474,11 +559,11 @@
21612      case $arg_mode in
21613      arg)
21614        $echo "$modename: you must specify an argument for -Xcompile"
21615 -      exit 1
21616 +      exit $EXIT_FAILURE
21617        ;;
21618      target)
21619        $echo "$modename: you must specify a target with \`-o'" 1>&2
21620 -      exit 1
21621 +      exit $EXIT_FAILURE
21622        ;;
21623      *)
21624        # Get the name of the library object.
21625 @@ -511,50 +596,30 @@
21626      *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
21627      *)
21628        $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
21629 -      exit 1
21630 +      exit $EXIT_FAILURE
21631        ;;
21632      esac
21633  
21634 -    # Infer tagged configuration to use if any are available and
21635 -    # if one wasn't chosen via the "--tag" command line option.
21636 -    # Only attempt this if the compiler in the base compile
21637 -    # command doesn't match the default compiler.
21638 -    if test -n "$available_tags" && test -z "$tagname"; then
21639 -      case $base_compile in
21640 -      # Blanks in the command may have been stripped by the calling shell,
21641 -      # but not from the CC environment variable when configure was run.
21642 -      " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "*) ;;
21643 -      # Blanks at the start of $base_compile will cause this to fail
21644 -      # if we don't check for them as well.
21645 -      *)
21646 -       for z in $available_tags; do
21647 -         if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then
21648 -           # Evaluate the configuration.
21649 -           eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
21650 -           case "$base_compile " in
21651 -           "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*)
21652 -             # The compiler in the base compile command matches
21653 -             # the one in the tagged configuration.
21654 -             # Assume this is the tagged configuration we want.
21655 -             tagname=$z
21656 -             break
21657 -             ;;
21658 -           esac
21659 -         fi
21660 -       done
21661 -       # If $tagname still isn't set, then no tagged configuration
21662 -       # was found and let the user know that the "--tag" command
21663 -       # line option must be used.
21664 -       if test -z "$tagname"; then
21665 -         $echo "$modename: unable to infer tagged configuration"
21666 -         $echo "$modename: specify a tag with \`--tag'" 1>&2
21667 -         exit 1
21668 -#        else
21669 -#          $echo "$modename: using $tagname tagged configuration"
21670 -       fi
21671 +    func_infer_tag $base_compile
21672 +
21673 +    for arg in $later; do
21674 +      case $arg in
21675 +      -static)
21676 +       build_old_libs=yes
21677 +       continue
21678 +       ;;
21679 +
21680 +      -prefer-pic)
21681 +       pic_mode=yes
21682 +       continue
21683 +       ;;
21684 +
21685 +      -prefer-non-pic)
21686 +       pic_mode=no
21687 +       continue
21688         ;;
21689        esac
21690 -    fi
21691 +    done
21692  
21693      objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
21694      xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
21695 @@ -568,7 +633,7 @@
21696      if test -z "$base_compile"; then
21697        $echo "$modename: you must specify a compilation command" 1>&2
21698        $echo "$help" 1>&2
21699 -      exit 1
21700 +      exit $EXIT_FAILURE
21701      fi
21702  
21703      # Delete any leftover library objects.
21704 @@ -579,7 +644,7 @@
21705      fi
21706  
21707      $run $rm $removelist
21708 -    trap "$run $rm $removelist; exit 1" 1 2 15
21709 +    trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
21710  
21711      # On Cygwin there's no "real" PIC flag so we must build both object types
21712      case $host_os in
21713 @@ -598,7 +663,7 @@
21714        output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
21715        lockfile="$output_obj.lock"
21716        removelist="$removelist $output_obj $lockfile"
21717 -      trap "$run $rm $removelist; exit 1" 1 2 15
21718 +      trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
21719      else
21720        output_obj=
21721        need_locks=no
21722 @@ -608,7 +673,7 @@
21723      # Lock this critical section if it is needed
21724      # We use this script file to make the link, it avoids creating a new file
21725      if test "$need_locks" = yes; then
21726 -      until $run ln "$0" "$lockfile" 2>/dev/null; do
21727 +      until $run ln "$progpath" "$lockfile" 2>/dev/null; do
21728         $show "Waiting for $lockfile to be removed"
21729         sleep 2
21730        done
21731 @@ -626,7 +691,7 @@
21732  compiler."
21733  
21734         $run $rm $removelist
21735 -       exit 1
21736 +       exit $EXIT_FAILURE
21737        fi
21738        $echo $srcfile > "$lockfile"
21739      fi
21740 @@ -681,7 +746,7 @@
21741        if $run eval "$command"; then :
21742        else
21743         test -n "$output_obj" && $run $rm $removelist
21744 -       exit 1
21745 +       exit $EXIT_FAILURE
21746        fi
21747  
21748        if test "$need_locks" = warn &&
21749 @@ -701,7 +766,7 @@
21750  compiler."
21751  
21752         $run $rm $removelist
21753 -       exit 1
21754 +       exit $EXIT_FAILURE
21755        fi
21756  
21757        # Just move the object if needed, then go on to compile the next one
21758 @@ -722,7 +787,9 @@
21759  EOF
21760  
21761        # Allow error messages only from the first compilation.
21762 -      suppress_output=' >/dev/null 2>&1'
21763 +      if test "$suppress_opt" = yes; then
21764 +        suppress_output=' >/dev/null 2>&1'
21765 +      fi
21766      else
21767        # No PIC object so indicate it doesn't exist in the libtool
21768        # object file.
21769 @@ -751,7 +818,7 @@
21770        if $run eval "$command"; then :
21771        else
21772         $run $rm $removelist
21773 -       exit 1
21774 +       exit $EXIT_FAILURE
21775        fi
21776  
21777        if test "$need_locks" = warn &&
21778 @@ -771,7 +838,7 @@
21779  compiler."
21780  
21781         $run $rm $removelist
21782 -       exit 1
21783 +       exit $EXIT_FAILURE
21784        fi
21785  
21786        # Just move the object if needed
21787 @@ -809,7 +876,7 @@
21788        $run $rm "$lockfile"
21789      fi
21790  
21791 -    exit 0
21792 +    exit $EXIT_SUCCESS
21793      ;;
21794  
21795    # libtool link mode
21796 @@ -835,7 +902,7 @@
21797        ;;
21798      esac
21799      libtool_args="$nonopt"
21800 -    base_compile="$nonopt"
21801 +    base_compile="$nonopt $@"
21802      compile_command="$nonopt"
21803      finalize_command="$nonopt"
21804  
21805 @@ -867,6 +934,7 @@
21806      no_install=no
21807      objs=
21808      non_pic_objects=
21809 +    precious_files_regex=
21810      prefer_static_libs=no
21811      preload=no
21812      prev=
21813 @@ -880,6 +948,8 @@
21814      vinfo=
21815      vinfo_number=no
21816  
21817 +    func_infer_tag $base_compile
21818 +
21819      # We need to know -static, to get the right output filenames.
21820      for arg
21821      do
21822 @@ -911,7 +981,6 @@
21823      # Go through the arguments, transforming them on the way.
21824      while test "$#" -gt 0; do
21825        arg="$1"
21826 -      base_compile="$base_compile $arg"
21827        shift
21828        case $arg in
21829        *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \    ]*|*]*|"")
21830 @@ -975,7 +1044,7 @@
21831           export_symbols="$arg"
21832           if test ! -f "$arg"; then
21833             $echo "$modename: symbol file \`$arg' does not exist"
21834 -           exit 1
21835 +           exit $EXIT_FAILURE
21836           fi
21837           prev=
21838           continue
21839 @@ -990,6 +1059,11 @@
21840           prev=
21841           continue
21842           ;;
21843 +       precious_regex)
21844 +         precious_files_regex="$arg"
21845 +         prev=
21846 +         continue
21847 +         ;;
21848         release)
21849           release="-$arg"
21850           prev=
21851 @@ -1022,7 +1096,7 @@
21852                    test "$pic_object" = none && \
21853                    test "$non_pic_object" = none; then
21854                   $echo "$modename: cannot find name of object for \`$arg'" 1>&2
21855 -                 exit 1
21856 +                 exit $EXIT_FAILURE
21857                 fi
21858  
21859                 # Extract subdirectory from the argument.
21860 @@ -1075,7 +1149,7 @@
21861                 # Only an error if not doing a dry-run.
21862                 if test -z "$run"; then
21863                   $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
21864 -                 exit 1
21865 +                 exit $EXIT_FAILURE
21866                 else
21867                   # Dry-run case.
21868  
21869 @@ -1096,7 +1170,7 @@
21870             done
21871           else
21872             $echo "$modename: link input file \`$save_arg' does not exist"
21873 -           exit 1
21874 +           exit $EXIT_FAILURE
21875           fi
21876           arg=$save_arg
21877           prev=
21878 @@ -1108,7 +1182,7 @@
21879           [\\/]* | [A-Za-z]:[\\/]*) ;;
21880           *)
21881             $echo "$modename: only absolute run-paths are allowed" 1>&2
21882 -           exit 1
21883 +           exit $EXIT_FAILURE
21884             ;;
21885           esac
21886           if test "$prev" = rpath; then
21887 @@ -1148,6 +1222,11 @@
21888           finalize_command="$finalize_command $qarg"
21889           continue
21890           ;;
21891 +       shrext)
21892 +         shrext_cmds="$arg"
21893 +         prev=
21894 +         continue
21895 +         ;;
21896         *)
21897           eval "$prev=\"\$arg\""
21898           prev=
21899 @@ -1196,7 +1275,7 @@
21900        -export-symbols | -export-symbols-regex)
21901         if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
21902           $echo "$modename: more than one -exported-symbols argument is not allowed"
21903 -         exit 1
21904 +         exit $EXIT_FAILURE
21905         fi
21906         if test "X$arg" = "X-export-symbols"; then
21907           prev=expsyms
21908 @@ -1232,7 +1311,7 @@
21909           absdir=`cd "$dir" && pwd`
21910           if test -z "$absdir"; then
21911             $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
21912 -           exit 1
21913 +           exit $EXIT_FAILURE
21914           fi
21915           dir="$absdir"
21916           ;;
21917 @@ -1287,6 +1366,11 @@
21918         continue
21919         ;;
21920  
21921 +     -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
21922 +       deplibs="$deplibs $arg"
21923 +       continue
21924 +       ;;
21925 +
21926        -module)
21927         module=yes
21928         continue
21929 @@ -1351,6 +1435,11 @@
21930  
21931        -o) prev=output ;;
21932  
21933 +      -precious-files-regex)
21934 +       prev=precious_regex
21935 +       continue
21936 +       ;;
21937 +
21938        -release)
21939         prev=release
21940         continue
21941 @@ -1373,7 +1462,7 @@
21942         [\\/]* | [A-Za-z]:[\\/]*) ;;
21943         *)
21944           $echo "$modename: only absolute run-paths are allowed" 1>&2
21945 -         exit 1
21946 +         exit $EXIT_FAILURE
21947           ;;
21948         esac
21949         case "$xrpath " in
21950 @@ -1496,7 +1585,7 @@
21951              test "$pic_object" = none && \
21952              test "$non_pic_object" = none; then
21953             $echo "$modename: cannot find name of object for \`$arg'" 1>&2
21954 -           exit 1
21955 +           exit $EXIT_FAILURE
21956           fi
21957  
21958           # Extract subdirectory from the argument.
21959 @@ -1549,7 +1638,7 @@
21960           # Only an error if not doing a dry-run.
21961           if test -z "$run"; then
21962             $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
21963 -           exit 1
21964 +           exit $EXIT_FAILURE
21965           else
21966             # Dry-run case.
21967  
21968 @@ -1616,48 +1705,7 @@
21969      if test -n "$prev"; then
21970        $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
21971        $echo "$help" 1>&2
21972 -      exit 1
21973 -    fi
21974 -
21975 -    # Infer tagged configuration to use if any are available and
21976 -    # if one wasn't chosen via the "--tag" command line option.
21977 -    # Only attempt this if the compiler in the base link
21978 -    # command doesn't match the default compiler.
21979 -    if test -n "$available_tags" && test -z "$tagname"; then
21980 -      case $base_compile in
21981 -      # Blanks in the command may have been stripped by the calling shell,
21982 -      # but not from the CC environment variable when configure was run.
21983 -      "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*) ;;
21984 -      # Blanks at the start of $base_compile will cause this to fail
21985 -      # if we don't check for them as well.
21986 -      *)
21987 -       for z in $available_tags; do
21988 -         if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then
21989 -           # Evaluate the configuration.
21990 -           eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
21991 -           case $base_compile in
21992 -           "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*)
21993 -             # The compiler in $compile_command matches
21994 -             # the one in the tagged configuration.
21995 -             # Assume this is the tagged configuration we want.
21996 -             tagname=$z
21997 -             break
21998 -             ;;
21999 -           esac
22000 -         fi
22001 -       done
22002 -       # If $tagname still isn't set, then no tagged configuration
22003 -       # was found and let the user know that the "--tag" command
22004 -       # line option must be used.
22005 -       if test -z "$tagname"; then
22006 -         $echo "$modename: unable to infer tagged configuration"
22007 -         $echo "$modename: specify a tag with \`--tag'" 1>&2
22008 -         exit 1
22009 -#       else
22010 -#         $echo "$modename: using $tagname tagged configuration"
22011 -       fi
22012 -       ;;
22013 -      esac
22014 +      exit $EXIT_FAILURE
22015      fi
22016  
22017      if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
22018 @@ -1701,7 +1749,7 @@
22019      "")
22020        $echo "$modename: you must specify an output file" 1>&2
22021        $echo "$help" 1>&2
22022 -      exit 1
22023 +      exit $EXIT_FAILURE
22024        ;;
22025      *.$libext) linkmode=oldlib ;;
22026      *.lo | *.$objext) linkmode=obj ;;
22027 @@ -1711,7 +1759,7 @@
22028  
22029      case $host in
22030      *cygwin* | *mingw* | *pw32*)
22031 -      # don't eliminate duplcations in $postdeps and $predeps
22032 +      # don't eliminate duplications in $postdeps and $predeps
22033        duplicate_compiler_generated_deps=yes
22034        ;;
22035      *)
22036 @@ -1764,7 +1812,7 @@
22037           *.la) ;;
22038           *)
22039             $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
22040 -           exit 1
22041 +           exit $EXIT_FAILURE
22042             ;;
22043           esac
22044         done
22045 @@ -1790,7 +1838,10 @@
22046         case $pass in
22047         dlopen) libs="$dlfiles" ;;
22048         dlpreopen) libs="$dlprefiles" ;;
22049 -       link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
22050 +       link)
22051 +         libs="$deplibs %DEPLIBS%"
22052 +         test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
22053 +         ;;
22054         esac
22055        fi
22056        if test "$pass" = dlopen; then
22057 @@ -1802,23 +1853,34 @@
22058         lib=
22059         found=no
22060         case $deplib in
22061 +       -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
22062 +         if test "$linkmode,$pass" = "prog,link"; then
22063 +           compile_deplibs="$deplib $compile_deplibs"
22064 +           finalize_deplibs="$deplib $finalize_deplibs"
22065 +         else
22066 +           deplibs="$deplib $deplibs"
22067 +         fi
22068 +         continue
22069 +         ;;
22070         -l*)
22071           if test "$linkmode" != lib && test "$linkmode" != prog; then
22072             $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
22073             continue
22074           fi
22075 -         if test "$pass" = conv; then
22076 -           deplibs="$deplib $deplibs"
22077 -           continue
22078 -         fi
22079           name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
22080           for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
22081 -           # Search the libtool library
22082 -           lib="$searchdir/lib${name}.la"
22083 -           if test -f "$lib"; then
22084 -             found=yes
22085 -             break
22086 -           fi
22087 +           for search_ext in .la $std_shrext .so .a; do
22088 +             # Search the libtool library
22089 +             lib="$searchdir/lib${name}${search_ext}"
22090 +             if test -f "$lib"; then
22091 +               if test "$search_ext" = ".la"; then
22092 +                 found=yes
22093 +               else
22094 +                 found=no
22095 +               fi
22096 +               break 2
22097 +             fi
22098 +           done
22099           done
22100           if test "$found" != yes; then
22101             # deplib doesn't seem to be a libtool library
22102 @@ -1883,11 +1945,11 @@
22103             fi
22104             if test "$pass" = scan; then
22105               deplibs="$deplib $deplibs"
22106 -             newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
22107             else
22108               compile_deplibs="$deplib $compile_deplibs"
22109               finalize_deplibs="$deplib $finalize_deplibs"
22110             fi
22111 +           newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
22112             ;;
22113           *)
22114             $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
22115 @@ -1966,14 +2028,14 @@
22116         if test "$found" = yes || test -f "$lib"; then :
22117         else
22118           $echo "$modename: cannot find the library \`$lib'" 1>&2
22119 -         exit 1
22120 +         exit $EXIT_FAILURE
22121         fi
22122  
22123         # Check to see that this really is a libtool archive.
22124         if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
22125         else
22126           $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
22127 -         exit 1
22128 +         exit $EXIT_FAILURE
22129         fi
22130  
22131         ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
22132 @@ -2009,7 +2071,7 @@
22133           if test -z "$libdir"; then
22134             if test -z "$old_library"; then
22135               $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
22136 -             exit 1
22137 +             exit $EXIT_FAILURE
22138             fi
22139             # It is a libtool convenience library, so add in its objects.
22140             convenience="$convenience $ladir/$objdir/$old_library"
22141 @@ -2026,12 +2088,12 @@
22142             done
22143           elif test "$linkmode" != prog && test "$linkmode" != lib; then
22144             $echo "$modename: \`$lib' is not a convenience library" 1>&2
22145 -           exit 1
22146 +           exit $EXIT_FAILURE
22147           fi
22148           continue
22149         fi # $pass = conv
22150  
22151 -    
22152 +
22153         # Get the name of the library we link against.
22154         linklib=
22155         for l in $old_library $library_names; do
22156 @@ -2039,16 +2101,18 @@
22157         done
22158         if test -z "$linklib"; then
22159           $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
22160 -         exit 1
22161 +         exit $EXIT_FAILURE
22162         fi
22163  
22164         # This library was specified with -dlopen.
22165         if test "$pass" = dlopen; then
22166           if test -z "$libdir"; then
22167             $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
22168 -           exit 1
22169 +           exit $EXIT_FAILURE
22170           fi
22171 -         if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
22172 +         if test -z "$dlname" ||
22173 +            test "$dlopen_support" != yes ||
22174 +            test "$build_libtool_libs" = no; then
22175             # If there is no dlname, no dlopen support or we're linking
22176             # statically, we need to preload.  We also need to preload any
22177             # dependent libraries so libltdl's deplib preloader doesn't
22178 @@ -2097,7 +2161,7 @@
22179         if test "$pass" = dlpreopen; then
22180           if test -z "$libdir"; then
22181             $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
22182 -           exit 1
22183 +           exit $EXIT_FAILURE
22184           fi
22185           # Prefer using a static library (so that no silly _DYNAMIC symbols
22186           # are required to link).
22187 @@ -2124,7 +2188,7 @@
22188           continue
22189         fi
22190  
22191 -    
22192 +
22193         if test "$linkmode" = prog && test "$pass" != link; then
22194           newlib_search_path="$newlib_search_path $ladir"
22195           deplibs="$lib $deplibs"
22196 @@ -2211,17 +2275,18 @@
22197             need_relink=yes
22198           fi
22199           # This is a shared library
22200 -       
22201 -      # Warn about portability, can't link against -module's on some systems (darwin)
22202 -      if test "$shouldnotlink" = yes && test "$pass" = link ; then
22203 +
22204 +         # Warn about portability, can't link against -module's on
22205 +         # some systems (darwin)
22206 +         if test "$shouldnotlink" = yes && test "$pass" = link ; then
22207             $echo
22208             if test "$linkmode" = prog; then
22209               $echo "*** Warning: Linking the executable $output against the loadable module"
22210             else
22211               $echo "*** Warning: Linking the shared library $output against the loadable module"
22212             fi
22213 -           $echo "*** $linklib is not portable!"    
22214 -      fi         
22215 +           $echo "*** $linklib is not portable!"
22216 +         fi
22217           if test "$linkmode" = lib &&
22218              test "$hardcode_into_libs" = yes; then
22219             # Hardcode the library path.
22220 @@ -2279,9 +2344,10 @@
22221             else
22222               $show "extracting exported symbol list from \`$soname'"
22223               save_ifs="$IFS"; IFS='~'
22224 -             eval cmds=\"$extract_expsyms_cmds\"
22225 +             cmds=$extract_expsyms_cmds
22226               for cmd in $cmds; do
22227                 IFS="$save_ifs"
22228 +               eval cmd=\"$cmd\"
22229                 $show "$cmd"
22230                 $run eval "$cmd" || exit $?
22231               done
22232 @@ -2292,9 +2358,10 @@
22233             if test -f "$output_objdir/$newlib"; then :; else
22234               $show "generating import library for \`$soname'"
22235               save_ifs="$IFS"; IFS='~'
22236 -             eval cmds=\"$old_archive_from_expsyms_cmds\"
22237 +             cmds=$old_archive_from_expsyms_cmds
22238               for cmd in $cmds; do
22239                 IFS="$save_ifs"
22240 +               eval cmd=\"$cmd\"
22241                 $show "$cmd"
22242                 $run eval "$cmd" || exit $?
22243               done
22244 @@ -2317,9 +2384,9 @@
22245                 case $host in
22246                   *-*-sco3.2v5* ) add_dir="-L$dir" ;;
22247                   *-*-darwin* )
22248 -                   # if the lib is a module then we can not link against it, someone
22249 -                   # is ignoring the new warnings I added
22250 -                   if /usr/bin/file -L $add 2> /dev/null | grep "bundle" >/dev/null ; then
22251 +                   # if the lib is a module then we can not link against
22252 +                   # it, someone is ignoring the new warnings I added
22253 +                   if /usr/bin/file -L $add 2> /dev/null | $EGREP "bundle" >/dev/null ; then
22254                       $echo "** Warning, lib $linklib is a module, not a shared library"
22255                       if test -z "$old_library" ; then
22256                         $echo
22257 @@ -2327,7 +2394,7 @@
22258                         $echo "** The link will probably fail, sorry"
22259                       else
22260                         add="$dir/$old_library"
22261 -                     fi 
22262 +                     fi
22263                     fi
22264                 esac
22265               elif test "$hardcode_minus_L" = no; then
22266 @@ -2352,7 +2419,7 @@
22267                 if test -n "$inst_prefix_dir"; then
22268                   case "$libdir" in
22269                     [\\/]*)
22270 -                     add_dir="-L$inst_prefix_dir$libdir $add_dir"
22271 +                     add_dir="$add_dir -L$inst_prefix_dir$libdir"
22272                       ;;
22273                   esac
22274                 fi
22275 @@ -2369,7 +2436,7 @@
22276  
22277             if test "$lib_linked" != yes; then
22278               $echo "$modename: configuration error: unsupported hardcode properties"
22279 -             exit 1
22280 +             exit $EXIT_FAILURE
22281             fi
22282  
22283             if test -n "$add_shlibpath"; then
22284 @@ -2412,7 +2479,8 @@
22285               esac
22286               add="-l$name"
22287             elif test "$hardcode_automatic" = yes; then
22288 -             if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib" ; then
22289 +             if test -n "$inst_prefix_dir" &&
22290 +                test -f "$inst_prefix_dir$libdir/$linklib" ; then
22291                 add="$inst_prefix_dir$libdir/$linklib"
22292               else
22293                 add="$libdir/$linklib"
22294 @@ -2424,7 +2492,7 @@
22295               if test -n "$inst_prefix_dir"; then
22296                 case "$libdir" in
22297                   [\\/]*)
22298 -                   add_dir="-L$inst_prefix_dir$libdir $add_dir"
22299 +                   add_dir="$add_dir -L$inst_prefix_dir$libdir"
22300                     ;;
22301                 esac
22302               fi
22303 @@ -2492,7 +2560,8 @@
22304  
22305         if test "$linkmode" = lib; then
22306           if test -n "$dependency_libs" &&
22307 -            { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes ||
22308 +            { test "$hardcode_into_libs" != yes ||
22309 +              test "$build_old_libs" = yes ||
22310                test "$link_static" = yes; }; then
22311             # Extract -R from dependency_libs
22312             temp_deplibs=
22313 @@ -2549,7 +2618,7 @@
22314                   eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
22315                   if test -z "$libdir"; then
22316                     $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
22317 -                   exit 1
22318 +                   exit $EXIT_FAILURE
22319                   fi
22320                   if test "$absdir" != "$libdir"; then
22321                     $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
22322 @@ -2559,7 +2628,8 @@
22323                 depdepl=
22324                 case $host in
22325                 *-*-darwin*)
22326 -                 # we do not want to link against static libs, but need to link against shared
22327 +                 # we do not want to link against static libs,
22328 +                 # but need to link against shared
22329                   eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
22330                   if test -n "$deplibrary_names" ; then
22331                     for tmp in $deplibrary_names ; do
22332 @@ -2567,39 +2637,42 @@
22333                     done
22334                     if test -f "$path/$depdepl" ; then
22335                       depdepl="$path/$depdepl"
22336 -                  fi
22337 -                   newlib_search_path="$newlib_search_path $path"
22338 -                   path=""
22339 +                   fi
22340 +                   # do not add paths which are already there
22341 +                   case " $newlib_search_path " in
22342 +                   *" $path "*) ;;
22343 +                   *) newlib_search_path="$newlib_search_path $path";;
22344 +                   esac
22345                   fi
22346 +                 path=""
22347                   ;;
22348                 *)
22349 -               path="-L$path"
22350 -               ;;
22351 -               esac 
22352 -               
22353 +                 path="-L$path"
22354 +                 ;;
22355 +               esac
22356                 ;;
22357 -                 -l*)
22358 +             -l*)
22359                 case $host in
22360                 *-*-darwin*)
22361 -                # Again, we only want to link against shared libraries
22362 -                eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
22363 -                for tmp in $newlib_search_path ; do
22364 -                    if test -f "$tmp/lib$tmp_libs.dylib" ; then
22365 -                      eval depdepl="$tmp/lib$tmp_libs.dylib"
22366 -                      break
22367 -                    fi  
22368 -         done
22369 -         path=""
22370 +                 # Again, we only want to link against shared libraries
22371 +                 eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
22372 +                 for tmp in $newlib_search_path ; do
22373 +                   if test -f "$tmp/lib$tmp_libs.dylib" ; then
22374 +                     eval depdepl="$tmp/lib$tmp_libs.dylib"
22375 +                     break
22376 +                   fi
22377 +                 done
22378 +                 path=""
22379                   ;;
22380                 *) continue ;;
22381 -               esac              
22382 +               esac
22383                 ;;
22384               *) continue ;;
22385               esac
22386               case " $deplibs " in
22387               *" $depdepl "*) ;;
22388 -             *) deplibs="$deplibs $depdepl" ;;
22389 -             esac            
22390 +             *) deplibs="$depdepl $deplibs" ;;
22391 +             esac
22392               case " $deplibs " in
22393               *" $path "*) ;;
22394               *) deplibs="$deplibs $path" ;;
22395 @@ -2689,7 +2762,8 @@
22396           eval $var=\"$tmp_libs\"
22397         done # for var
22398        fi
22399 -      # Last step: remove runtime libs from dependency_libs (they stay in deplibs)
22400 +      # Last step: remove runtime libs from dependency_libs
22401 +      # (they stay in deplibs)
22402        tmp_libs=
22403        for i in $dependency_libs ; do
22404         case " $predeps $postdeps $compiler_lib_search_path " in
22405 @@ -2749,19 +2823,19 @@
22406        case $outputname in
22407        lib*)
22408         name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
22409 -       eval shared_ext=\"$shrext\"
22410 +       eval shared_ext=\"$shrext_cmds\"
22411         eval libname=\"$libname_spec\"
22412         ;;
22413        *)
22414         if test "$module" = no; then
22415           $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
22416           $echo "$help" 1>&2
22417 -         exit 1
22418 +         exit $EXIT_FAILURE
22419         fi
22420         if test "$need_lib_prefix" != no; then
22421           # Add the "lib" prefix for modules if required
22422           name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
22423 -         eval shared_ext=\"$shrext\"
22424 +         eval shared_ext=\"$shrext_cmds\"
22425           eval libname=\"$libname_spec\"
22426         else
22427           libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
22428 @@ -2772,7 +2846,7 @@
22429        if test -n "$objs"; then
22430         if test "$deplibs_check_method" != pass_all; then
22431           $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
22432 -         exit 1
22433 +         exit $EXIT_FAILURE
22434         else
22435           $echo
22436           $echo "*** Warning: Linking the shared library $output against the non-libtool"
22437 @@ -2820,13 +2894,13 @@
22438         if test -n "$8"; then
22439           $echo "$modename: too many parameters to \`-version-info'" 1>&2
22440           $echo "$help" 1>&2
22441 -         exit 1
22442 +         exit $EXIT_FAILURE
22443         fi
22444  
22445         # convert absolute version numbers to libtool ages
22446         # this retains compatibility with .la files and attempts
22447         # to make the code below a bit more comprehensible
22448 -       
22449 +
22450         case $vinfo_number in
22451         yes)
22452           number_major="$2"
22453 @@ -2855,6 +2929,11 @@
22454             age="$number_minor"
22455             revision="$number_minor"
22456             ;;
22457 +         *)
22458 +           $echo "$modename: unknown library version type \`$version_type'" 1>&2
22459 +           $echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
22460 +           exit $EXIT_FAILURE
22461 +           ;;
22462           esac
22463           ;;
22464         no)
22465 @@ -2866,36 +2945,36 @@
22466  
22467         # Check that each of the things are valid numbers.
22468         case $current in
22469 -       0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
22470 +       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]) ;;
22471         *)
22472           $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
22473           $echo "$modename: \`$vinfo' is not valid version information" 1>&2
22474 -         exit 1
22475 +         exit $EXIT_FAILURE
22476           ;;
22477         esac
22478  
22479         case $revision in
22480 -       0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
22481 +       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]) ;;
22482         *)
22483           $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
22484           $echo "$modename: \`$vinfo' is not valid version information" 1>&2
22485 -         exit 1
22486 +         exit $EXIT_FAILURE
22487           ;;
22488         esac
22489  
22490         case $age in
22491 -       0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
22492 +       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]) ;;
22493         *)
22494           $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
22495           $echo "$modename: \`$vinfo' is not valid version information" 1>&2
22496 -         exit 1
22497 +         exit $EXIT_FAILURE
22498           ;;
22499         esac
22500  
22501         if test "$age" -gt "$current"; then
22502           $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
22503           $echo "$modename: \`$vinfo' is not valid version information" 1>&2
22504 -         exit 1
22505 +         exit $EXIT_FAILURE
22506         fi
22507  
22508         # Calculate the version variables.
22509 @@ -2984,7 +3063,7 @@
22510         *)
22511           $echo "$modename: unknown library version type \`$version_type'" 1>&2
22512           $echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
22513 -         exit 1
22514 +         exit $EXIT_FAILURE
22515           ;;
22516         esac
22517  
22518 @@ -3038,6 +3117,12 @@
22519             *.$objext)
22520                ;;
22521             $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
22522 +              if test "X$precious_files_regex" != "X"; then
22523 +                if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
22524 +                then
22525 +                  continue
22526 +                fi
22527 +              fi
22528                removelist="$removelist $p"
22529                ;;
22530             *) ;;
22531 @@ -3517,7 +3602,7 @@
22532         fi
22533  
22534         # Get the real and link names of the library.
22535 -       eval shared_ext=\"$shrext\"
22536 +       eval shared_ext=\"$shrext_cmds\"
22537         eval library_names=\"$library_names_spec\"
22538         set dummy $library_names
22539         realname="$2"
22540 @@ -3547,10 +3632,11 @@
22541             $show "generating symbol list for \`$libname.la'"
22542             export_symbols="$output_objdir/$libname.exp"
22543             $run $rm $export_symbols
22544 -           eval cmds=\"$export_symbols_cmds\"
22545 +           cmds=$export_symbols_cmds
22546             save_ifs="$IFS"; IFS='~'
22547             for cmd in $cmds; do
22548               IFS="$save_ifs"
22549 +             eval cmd=\"$cmd\"
22550               if len=`expr "X$cmd" : ".*"` &&
22551                test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
22552                 $show "$cmd"
22553 @@ -3580,12 +3666,12 @@
22554         for test_deplib in $deplibs; do
22555                 case " $convenience " in
22556                 *" $test_deplib "*) ;;
22557 -               *) 
22558 +               *)
22559                         tmp_deplibs="$tmp_deplibs $test_deplib"
22560                         ;;
22561                 esac
22562         done
22563 -       deplibs="$tmp_deplibs" 
22564 +       deplibs="$tmp_deplibs"
22565  
22566         if test -n "$convenience"; then
22567           if test -n "$whole_archive_flag_spec"; then
22568 @@ -3667,19 +3753,23 @@
22569         # Do each of the archive commands.
22570         if test "$module" = yes && test -n "$module_cmds" ; then
22571           if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
22572 -           eval cmds=\"$module_expsym_cmds\"
22573 +           eval test_cmds=\"$module_expsym_cmds\"
22574 +           cmds=$module_expsym_cmds
22575           else
22576 -           eval cmds=\"$module_cmds\"
22577 +           eval test_cmds=\"$module_cmds\"
22578 +           cmds=$module_cmds
22579           fi
22580         else
22581         if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
22582 -         eval cmds=\"$archive_expsym_cmds\"
22583 +         eval test_cmds=\"$archive_expsym_cmds\"
22584 +         cmds=$archive_expsym_cmds
22585         else
22586 -         eval cmds=\"$archive_cmds\"
22587 +         eval test_cmds=\"$archive_cmds\"
22588 +         cmds=$archive_cmds
22589           fi
22590         fi
22591  
22592 -       if test "X$skipped_export" != "X:" && len=`expr "X$cmds" : ".*"` &&
22593 +       if test "X$skipped_export" != "X:" && len=`expr "X$test_cmds" : ".*"` &&
22594            test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
22595           :
22596         else
22597 @@ -3780,19 +3870,28 @@
22598           # value of $libobjs for piecewise linking.
22599  
22600           # Do each of the archive commands.
22601 +         if test "$module" = yes && test -n "$module_cmds" ; then
22602 +           if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
22603 +             cmds=$module_expsym_cmds
22604 +           else
22605 +             cmds=$module_cmds
22606 +           fi
22607 +         else
22608           if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
22609 -           eval cmds=\"$archive_expsym_cmds\"
22610 +           cmds=$archive_expsym_cmds
22611           else
22612 -           eval cmds=\"$archive_cmds\"
22613 +           cmds=$archive_cmds
22614 +           fi
22615           fi
22616  
22617           # Append the command to remove the reloadable object files
22618           # to the just-reset $cmds.
22619 -         eval cmds=\"\$cmds~$rm $delfiles\"
22620 +         eval cmds=\"\$cmds~\$rm $delfiles\"
22621         fi
22622         save_ifs="$IFS"; IFS='~'
22623         for cmd in $cmds; do
22624           IFS="$save_ifs"
22625 +         eval cmd=\"$cmd\"
22626           $show "$cmd"
22627           $run eval "$cmd" || exit $?
22628         done
22629 @@ -3801,7 +3900,7 @@
22630         # Restore the uninstalled library and exit
22631         if test "$mode" = relink; then
22632           $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
22633 -         exit 0
22634 +         exit $EXIT_SUCCESS
22635         fi
22636  
22637         # Create links to the real library.
22638 @@ -3849,7 +3948,7 @@
22639        *.lo)
22640         if test -n "$objs$old_deplibs"; then
22641           $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
22642 -         exit 1
22643 +         exit $EXIT_FAILURE
22644         fi
22645         libobj="$output"
22646         obj=`$echo "X$output" | $Xsed -e "$lo2o"`
22647 @@ -3943,10 +4042,11 @@
22648        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
22649  
22650        output="$obj"
22651 -      eval cmds=\"$reload_cmds\"
22652 +      cmds=$reload_cmds
22653        save_ifs="$IFS"; IFS='~'
22654        for cmd in $cmds; do
22655         IFS="$save_ifs"
22656 +       eval cmd=\"$cmd\"
22657         $show "$cmd"
22658         $run eval "$cmd" || exit $?
22659        done
22660 @@ -3959,7 +4059,7 @@
22661           $run ${rm}r $gentop
22662         fi
22663  
22664 -       exit 0
22665 +       exit $EXIT_SUCCESS
22666        fi
22667  
22668        if test "$build_libtool_libs" != yes; then
22669 @@ -3972,17 +4072,18 @@
22670         # accidentally link it into a program.
22671         # $show "echo timestamp > $libobj"
22672         # $run eval "echo timestamp > $libobj" || exit $?
22673 -       exit 0
22674 +       exit $EXIT_SUCCESS
22675        fi
22676  
22677        if test -n "$pic_flag" || test "$pic_mode" != default; then
22678         # Only do commands if we really have different PIC objects.
22679         reload_objs="$libobjs $reload_conv_objs"
22680         output="$libobj"
22681 -       eval cmds=\"$reload_cmds\"
22682 +       cmds=$reload_cmds
22683         save_ifs="$IFS"; IFS='~'
22684         for cmd in $cmds; do
22685           IFS="$save_ifs"
22686 +         eval cmd=\"$cmd\"
22687           $show "$cmd"
22688           $run eval "$cmd" || exit $?
22689         done
22690 @@ -3994,7 +4095,7 @@
22691         $run ${rm}r $gentop
22692        fi
22693  
22694 -      exit 0
22695 +      exit $EXIT_SUCCESS
22696        ;;
22697  
22698      prog)
22699 @@ -4312,7 +4413,7 @@
22700           ;;
22701         *)
22702           $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
22703 -         exit 1
22704 +         exit $EXIT_FAILURE
22705           ;;
22706         esac
22707        else
22708 @@ -4400,7 +4501,7 @@
22709         # Link the executable and exit
22710         $show "$link_command"
22711         $run eval "$link_command" || exit $?
22712 -       exit 0
22713 +       exit $EXIT_SUCCESS
22714        fi
22715  
22716        if test "$hardcode_action" = relink; then
22717 @@ -4455,10 +4556,10 @@
22718        fi
22719  
22720        # Quote $echo for shipping.
22721 -      if test "X$echo" = "X$SHELL $0 --fallback-echo"; then
22722 -       case $0 in
22723 -       [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $0 --fallback-echo";;
22724 -       *) qecho="$SHELL `pwd`/$0 --fallback-echo";;
22725 +      if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then
22726 +       case $progpath in
22727 +       [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
22728 +       *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
22729         esac
22730         qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
22731        else
22732 @@ -4484,7 +4585,7 @@
22733             cwrappersource=`$echo ${objdir}/lt-${output}.c`
22734             cwrapper=`$echo ${output}.exe`
22735             $rm $cwrappersource $cwrapper
22736 -           trap "$rm $cwrappersource $cwrapper; exit 1" 1 2 15
22737 +           trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
22738  
22739             cat > $cwrappersource <<EOF
22740  
22741 @@ -4493,7 +4594,7 @@
22742  
22743     The $output program cannot be directly executed until all the libtool
22744     libraries that it depends on are installed.
22745 -   
22746 +
22747     This wrapper executable should never be moved out of the build directory.
22748     If it is, it will not operate correctly.
22749  
22750 @@ -4525,7 +4626,7 @@
22751  #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
22752    defined (__OS2__)
22753  #define HAVE_DOS_BASED_FILE_SYSTEM
22754 -#ifndef DIR_SEPARATOR_2 
22755 +#ifndef DIR_SEPARATOR_2
22756  #define DIR_SEPARATOR_2 '\\'
22757  #endif
22758  #endif
22759 @@ -4556,7 +4657,7 @@
22760  {
22761    char **newargz;
22762    int i;
22763 -  
22764 +
22765    program_name = (char *) xstrdup ((char *) basename (argv[0]));
22766    newargz = XMALLOC(char *, argc+2);
22767  EOF
22768 @@ -4569,7 +4670,7 @@
22769    newargz[1] = fnqualify(argv[0]);
22770    /* we know the script has the same name, without the .exe */
22771    /* so make sure newargz[1] doesn't end in .exe */
22772 -  strendzap(newargz[1],".exe"); 
22773 +  strendzap(newargz[1],".exe");
22774    for (i = 1; i < argc; i++)
22775      newargz[i+1] = xstrdup(argv[i]);
22776    newargz[argc+1] = NULL;
22777 @@ -4592,7 +4693,7 @@
22778    return p;
22779  }
22780  
22781 -char * 
22782 +char *
22783  xstrdup (const char *string)
22784  {
22785    return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL
22786 @@ -4606,7 +4707,7 @@
22787  
22788  #if defined (HAVE_DOS_BASED_FILE_SYSTEM)
22789    /* Skip over the disk name in MSDOS pathnames. */
22790 -  if (isalpha (name[0]) && name[1] == ':') 
22791 +  if (isalpha (name[0]) && name[1] == ':')
22792      name += 2;
22793  #endif
22794  
22795 @@ -4616,7 +4717,7 @@
22796    return (char *) base;
22797  }
22798  
22799 -char * 
22800 +char *
22801  fnqualify(const char *path)
22802  {
22803    size_t size;
22804 @@ -4644,7 +4745,7 @@
22805  }
22806  
22807  char *
22808 -strendzap(char *str, const char *pat) 
22809 +strendzap(char *str, const char *pat)
22810  {
22811    size_t len, patlen;
22812  
22813 @@ -4664,7 +4765,7 @@
22814  }
22815  
22816  static void
22817 -lt_error_core (int exit_status, const char * mode, 
22818 +lt_error_core (int exit_status, const char * mode,
22819            const char * message, va_list ap)
22820  {
22821    fprintf (stderr, "%s: %s: ", program_name, mode);
22822 @@ -4693,7 +4794,7 @@
22823           ;;
22824         esac
22825         $rm $output
22826 -       trap "$rm $output; exit 1" 1 2 15
22827 +       trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
22828  
22829         $echo > $output "\
22830  #! $SHELL
22831 @@ -4793,7 +4894,7 @@
22832        else
22833         $echo \"\$relink_command_output\" >&2
22834         $rm \"\$progdir/\$file\"
22835 -       exit 1
22836 +       exit $EXIT_FAILURE
22837        fi
22838      fi
22839  
22840 @@ -4855,20 +4956,20 @@
22841         esac
22842         $echo >> $output "\
22843        \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
22844 -      exit 1
22845 +      exit $EXIT_FAILURE
22846      fi
22847    else
22848      # The program doesn't exist.
22849      \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2
22850      \$echo \"This script is just a wrapper for \$program.\" 1>&2
22851      $echo \"See the $PACKAGE documentation for more information.\" 1>&2
22852 -    exit 1
22853 +    exit $EXIT_FAILURE
22854    fi
22855  fi\
22856  "
22857         chmod +x $output
22858        fi
22859 -      exit 0
22860 +      exit $EXIT_SUCCESS
22861        ;;
22862      esac
22863  
22864 @@ -4954,13 +5055,13 @@
22865  
22866        # Do each command in the archive commands.
22867        if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
22868 -       eval cmds=\"$old_archive_from_new_cmds\"
22869 +       cmds=$old_archive_from_new_cmds
22870        else
22871         eval cmds=\"$old_archive_cmds\"
22872  
22873         if len=`expr "X$cmds" : ".*"` &&
22874              test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
22875 -         :
22876 +         cmds=$old_archive_cmds
22877         else
22878           # the command line is too long to link in one step, link in parts
22879           $echo "using piecewise archive linking..."
22880 @@ -4987,7 +5088,7 @@
22881           for obj in $save_oldobjs
22882           do
22883             last_oldobj=$obj
22884 -         done  
22885 +         done
22886           for obj in $save_oldobjs
22887           do
22888             oldobjs="$objlist $obj"
22889 @@ -5001,7 +5102,7 @@
22890               oldobjs=$objlist
22891               if test "$obj" = "$last_oldobj" ; then
22892                 RANLIB=$save_RANLIB
22893 -             fi  
22894 +             fi
22895               test -z "$concat_cmds" || concat_cmds=$concat_cmds~
22896               eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
22897               objlist=
22898 @@ -5012,12 +5113,13 @@
22899           if test "X$oldobjs" = "X" ; then
22900             eval cmds=\"\$concat_cmds\"
22901           else
22902 -           eval cmds=\"\$concat_cmds~$old_archive_cmds\"
22903 +           eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
22904           fi
22905         fi
22906        fi
22907        save_ifs="$IFS"; IFS='~'
22908        for cmd in $cmds; do
22909 +        eval cmd=\"$cmd\"
22910         IFS="$save_ifs"
22911         $show "$cmd"
22912         $run eval "$cmd" || exit $?
22913 @@ -5049,8 +5151,12 @@
22914         fi
22915        done
22916        # Quote the link command for shipping.
22917 -      relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@)"
22918 +      relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
22919        relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
22920 +      if test "$hardcode_automatic" = yes ; then
22921 +       relink_command=
22922 +      fi
22923 +
22924  
22925        # Only create the output if not a dry run.
22926        if test -z "$run"; then
22927 @@ -5069,7 +5175,7 @@
22928                 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
22929                 if test -z "$libdir"; then
22930                   $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
22931 -                 exit 1
22932 +                 exit $EXIT_FAILURE
22933                 fi
22934                 newdependency_libs="$newdependency_libs $libdir/$name"
22935                 ;;
22936 @@ -5083,7 +5189,7 @@
22937               eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
22938               if test -z "$libdir"; then
22939                 $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
22940 -               exit 1
22941 +               exit $EXIT_FAILURE
22942               fi
22943               newdlfiles="$newdlfiles $libdir/$name"
22944             done
22945 @@ -5094,11 +5200,30 @@
22946               eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
22947               if test -z "$libdir"; then
22948                 $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
22949 -               exit 1
22950 +               exit $EXIT_FAILURE
22951               fi
22952               newdlprefiles="$newdlprefiles $libdir/$name"
22953             done
22954             dlprefiles="$newdlprefiles"
22955 +         else
22956 +           newdlfiles=
22957 +           for lib in $dlfiles; do
22958 +             case $lib in
22959 +               [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
22960 +               *) abs=`pwd`"/$lib" ;;
22961 +             esac
22962 +             newdlfiles="$newdlfiles $abs"
22963 +           done
22964 +           dlfiles="$newdlfiles"
22965 +           newdlprefiles=
22966 +           for lib in $dlprefiles; do
22967 +             case $lib in
22968 +               [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
22969 +               *) abs=`pwd`"/$lib" ;;
22970 +             esac
22971 +             newdlprefiles="$newdlprefiles $abs"
22972 +           done
22973 +           dlprefiles="$newdlprefiles"
22974           fi
22975           $rm $output
22976           # place dlname in correct position for cygwin
22977 @@ -5155,7 +5280,7 @@
22978        $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
22979        ;;
22980      esac
22981 -    exit 0
22982 +    exit $EXIT_SUCCESS
22983      ;;
22984  
22985    # libtool install mode
22986 @@ -5244,13 +5369,13 @@
22987      if test -z "$install_prog"; then
22988        $echo "$modename: you must specify an install program" 1>&2
22989        $echo "$help" 1>&2
22990 -      exit 1
22991 +      exit $EXIT_FAILURE
22992      fi
22993  
22994      if test -n "$prev"; then
22995        $echo "$modename: the \`$prev' option requires an argument" 1>&2
22996        $echo "$help" 1>&2
22997 -      exit 1
22998 +      exit $EXIT_FAILURE
22999      fi
23000  
23001      if test -z "$files"; then
23002 @@ -5260,7 +5385,7 @@
23003         $echo "$modename: you must specify a destination" 1>&2
23004        fi
23005        $echo "$help" 1>&2
23006 -      exit 1
23007 +      exit $EXIT_FAILURE
23008      fi
23009  
23010      # Strip any trailing slash from the destination.
23011 @@ -5281,7 +5406,7 @@
23012        if test "$#" -gt 2; then
23013         $echo "$modename: \`$dest' is not a directory" 1>&2
23014         $echo "$help" 1>&2
23015 -       exit 1
23016 +       exit $EXIT_FAILURE
23017        fi
23018      fi
23019      case $destdir in
23020 @@ -5293,7 +5418,7 @@
23021         *)
23022           $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
23023           $echo "$help" 1>&2
23024 -         exit 1
23025 +         exit $EXIT_FAILURE
23026           ;;
23027         esac
23028        done
23029 @@ -5322,7 +5447,7 @@
23030         else
23031           $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
23032           $echo "$help" 1>&2
23033 -         exit 1
23034 +         exit $EXIT_FAILURE
23035         fi
23036  
23037         library_names=
23038 @@ -5364,7 +5489,7 @@
23039           # but it's something to keep an eye on.
23040           if test "$inst_prefix_dir" = "$destdir"; then
23041             $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
23042 -           exit 1
23043 +           exit $EXIT_FAILURE
23044           fi
23045  
23046           if test -n "$inst_prefix_dir"; then
23047 @@ -5379,7 +5504,7 @@
23048           if $run eval "$relink_command"; then :
23049           else
23050             $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
23051 -           exit 1
23052 +           exit $EXIT_FAILURE
23053           fi
23054         fi
23055  
23056 @@ -5414,10 +5539,11 @@
23057  
23058           # Do each command in the postinstall commands.
23059           lib="$destdir/$realname"
23060 -         eval cmds=\"$postinstall_cmds\"
23061 +         cmds=$postinstall_cmds
23062           save_ifs="$IFS"; IFS='~'
23063           for cmd in $cmds; do
23064             IFS="$save_ifs"
23065 +           eval cmd=\"$cmd\"
23066             $show "$cmd"
23067             $run eval "$cmd" || exit $?
23068           done
23069 @@ -5457,7 +5583,7 @@
23070         *)
23071           $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
23072           $echo "$help" 1>&2
23073 -         exit 1
23074 +         exit $EXIT_FAILURE
23075           ;;
23076         esac
23077  
23078 @@ -5475,7 +5601,7 @@
23079           $show "$install_prog $staticobj $staticdest"
23080           $run eval "$install_prog \$staticobj \$staticdest" || exit $?
23081         fi
23082 -       exit 0
23083 +       exit $EXIT_SUCCESS
23084         ;;
23085  
23086        *)
23087 @@ -5529,7 +5655,7 @@
23088           # Check the variables that should have been set.
23089           if test -z "$notinst_deplibs"; then
23090             $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
23091 -           exit 1
23092 +           exit $EXIT_FAILURE
23093           fi
23094  
23095           finalize=yes
23096 @@ -5570,8 +5696,12 @@
23097               tmpdir="/tmp"
23098               test -n "$TMPDIR" && tmpdir="$TMPDIR"
23099               tmpdir="$tmpdir/libtool-$$"
23100 -             if $mkdir -p "$tmpdir" && chmod 700 "$tmpdir"; then :
23101 +             save_umask=`umask`
23102 +             umask 0077
23103 +             if $mkdir "$tmpdir"; then
23104 +               umask $save_umask
23105               else
23106 +               umask $save_umask
23107                 $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
23108                 continue
23109               fi
23110 @@ -5630,16 +5760,17 @@
23111        $show "$install_prog $file $oldlib"
23112        $run eval "$install_prog \$file \$oldlib" || exit $?
23113  
23114 -      if test -n "$stripme" && test -n "$striplib"; then
23115 +      if test -n "$stripme" && test -n "$old_striplib"; then
23116         $show "$old_striplib $oldlib"
23117         $run eval "$old_striplib $oldlib" || exit $?
23118        fi
23119  
23120        # Do each command in the postinstall commands.
23121 -      eval cmds=\"$old_postinstall_cmds\"
23122 +      cmds=$old_postinstall_cmds
23123        save_ifs="$IFS"; IFS='~'
23124        for cmd in $cmds; do
23125         IFS="$save_ifs"
23126 +       eval cmd=\"$cmd\"
23127         $show "$cmd"
23128         $run eval "$cmd" || exit $?
23129        done
23130 @@ -5653,9 +5784,9 @@
23131      if test -n "$current_libdirs"; then
23132        # Maybe just do a dry run.
23133        test -n "$run" && current_libdirs=" -n$current_libdirs"
23134 -      exec_cmd='$SHELL $0 --finish$current_libdirs'
23135 +      exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
23136      else
23137 -      exit 0
23138 +      exit $EXIT_SUCCESS
23139      fi
23140      ;;
23141  
23142 @@ -5674,10 +5805,11 @@
23143        for libdir in $libdirs; do
23144         if test -n "$finish_cmds"; then
23145           # Do each command in the finish commands.
23146 -         eval cmds=\"$finish_cmds\"
23147 +         cmds=$finish_cmds
23148           save_ifs="$IFS"; IFS='~'
23149           for cmd in $cmds; do
23150             IFS="$save_ifs"
23151 +           eval cmd=\"$cmd\"
23152             $show "$cmd"
23153             $run eval "$cmd" || admincmds="$admincmds
23154         $cmd"
23155 @@ -5694,7 +5826,7 @@
23156      fi
23157  
23158      # Exit here if they wanted silent mode.
23159 -    test "$show" = : && exit 0
23160 +    test "$show" = : && exit $EXIT_SUCCESS
23161  
23162      $echo "----------------------------------------------------------------------"
23163      $echo "Libraries have been installed in:"
23164 @@ -5730,7 +5862,7 @@
23165      $echo "See any operating system documentation about shared libraries for"
23166      $echo "more information, such as the ld(1) and ld.so(8) manual pages."
23167      $echo "----------------------------------------------------------------------"
23168 -    exit 0
23169 +    exit $EXIT_SUCCESS
23170      ;;
23171  
23172    # libtool execute mode
23173 @@ -5742,7 +5874,7 @@
23174      if test -z "$cmd"; then
23175        $echo "$modename: you must specify a COMMAND" 1>&2
23176        $echo "$help"
23177 -      exit 1
23178 +      exit $EXIT_FAILURE
23179      fi
23180  
23181      # Handle -dlopen flags immediately.
23182 @@ -5750,7 +5882,7 @@
23183        if test ! -f "$file"; then
23184         $echo "$modename: \`$file' is not a file" 1>&2
23185         $echo "$help" 1>&2
23186 -       exit 1
23187 +       exit $EXIT_FAILURE
23188        fi
23189  
23190        dir=
23191 @@ -5761,7 +5893,7 @@
23192         else
23193           $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
23194           $echo "$help" 1>&2
23195 -         exit 1
23196 +         exit $EXIT_FAILURE
23197         fi
23198  
23199         # Read the libtool library.
23200 @@ -5788,7 +5920,7 @@
23201           dir="$dir/$objdir"
23202         else
23203           $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
23204 -         exit 1
23205 +         exit $EXIT_FAILURE
23206         fi
23207         ;;
23208  
23209 @@ -5868,7 +6000,7 @@
23210         $echo "export $shlibpath_var"
23211        fi
23212        $echo "$cmd$args"
23213 -      exit 0
23214 +      exit $EXIT_SUCCESS
23215      fi
23216      ;;
23217  
23218 @@ -5896,7 +6028,7 @@
23219      if test -z "$rm"; then
23220        $echo "$modename: you must specify an RM program" 1>&2
23221        $echo "$help" 1>&2
23222 -      exit 1
23223 +      exit $EXIT_FAILURE
23224      fi
23225  
23226      rmdirs=
23227 @@ -5951,10 +6083,11 @@
23228           if test "$mode" = uninstall; then
23229             if test -n "$library_names"; then
23230               # Do each command in the postuninstall commands.
23231 -             eval cmds=\"$postuninstall_cmds\"
23232 +             cmds=$postuninstall_cmds
23233               save_ifs="$IFS"; IFS='~'
23234               for cmd in $cmds; do
23235                 IFS="$save_ifs"
23236 +               eval cmd=\"$cmd\"
23237                 $show "$cmd"
23238                 $run eval "$cmd"
23239                 if test "$?" -ne 0 && test "$rmforce" != yes; then
23240 @@ -5966,10 +6099,11 @@
23241  
23242             if test -n "$old_library"; then
23243               # Do each command in the old_postuninstall commands.
23244 -             eval cmds=\"$old_postuninstall_cmds\"
23245 +             cmds=$old_postuninstall_cmds
23246               save_ifs="$IFS"; IFS='~'
23247               for cmd in $cmds; do
23248                 IFS="$save_ifs"
23249 +               eval cmd=\"$cmd\"
23250                 $show "$cmd"
23251                 $run eval "$cmd"
23252                 if test "$?" -ne 0 && test "$rmforce" != yes; then
23253 @@ -6008,7 +6142,7 @@
23254         if test "$mode" = clean ; then
23255           noexename=$name
23256           case $file in
23257 -         *.exe) 
23258 +         *.exe)
23259             file=`$echo $file|${SED} 's,.exe$,,'`
23260             noexename=`$echo $name|${SED} 's,.exe$,,'`
23261             # $file with .exe has already been added to rmfiles,
23262 @@ -6053,20 +6187,20 @@
23263    "")
23264      $echo "$modename: you must specify a MODE" 1>&2
23265      $echo "$generic_help" 1>&2
23266 -    exit 1
23267 +    exit $EXIT_FAILURE
23268      ;;
23269    esac
23270  
23271    if test -z "$exec_cmd"; then
23272      $echo "$modename: invalid operation mode \`$mode'" 1>&2
23273      $echo "$generic_help" 1>&2
23274 -    exit 1
23275 +    exit $EXIT_FAILURE
23276    fi
23277  fi # test -z "$show_help"
23278  
23279  if test -n "$exec_cmd"; then
23280    eval exec $exec_cmd
23281 -  exit 1
23282 +  exit $EXIT_FAILURE
23283  fi
23284  
23285  # We need to display help for each of the modes.
23286 @@ -6102,7 +6236,7 @@
23287  a more detailed description of MODE.
23288  
23289  Report bugs to <bug-libtool@gnu.org>."
23290 -  exit 0
23291 +  exit $EXIT_SUCCESS
23292    ;;
23293  
23294  clean)
23295 @@ -6214,6 +6348,8 @@
23296    -no-undefined     declare that a library does not refer to external symbols
23297    -o OUTPUT-FILE    create OUTPUT-FILE from the specified objects
23298    -objectlist FILE  Use a list of object files found in FILE to specify objects
23299 +  -precious-files-regex REGEX
23300 +                    don't remove output files matching REGEX
23301    -release RELEASE  specify package release information
23302    -rpath LIBDIR     the created library will eventually be installed in LIBDIR
23303    -R[ ]LIBDIR       add LIBDIR to the runtime path of programs and libraries
23304 @@ -6255,14 +6391,14 @@
23305  *)
23306    $echo "$modename: invalid operation mode \`$mode'" 1>&2
23307    $echo "$help" 1>&2
23308 -  exit 1
23309 +  exit $EXIT_FAILURE
23310    ;;
23311  esac
23312  
23313  $echo
23314  $echo "Try \`$modename --help' for more information about other modes."
23315  
23316 -exit 0
23317 +exit $EXIT_SUCCESS
23318  
23319  # The TAGs below are defined such that we never get into a situation
23320  # in which we disable both kinds of libraries.  Given conflicting
23321 diff -ruN libsigcx-0.6.4-patched/scripts/missing libsigcx-0.6.4-regen/scripts/missing
23322 --- libsigcx-0.6.4-patched/scripts/missing      2003-05-19 11:10:58.000000000 -0700
23323 +++ libsigcx-0.6.4-regen/scripts/missing        2005-02-05 22:18:29.000000000 -0800
23324 @@ -1,7 +1,7 @@
23325  #! /bin/sh
23326  # Common stub for a few missing GNU programs while installing.
23327 -# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
23328 -# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
23329 +# Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc.
23330 +# Franc,ois Pinard <pinard@iro.umontreal.ca>, 1996.
23331  
23332  # This program is free software; you can redistribute it and/or modify
23333  # it under the terms of the GNU General Public License as published by
23334 @@ -18,38 +18,20 @@
23335  # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
23336  # 02111-1307, USA.
23337  
23338 -# As a special exception to the GNU General Public License, if you
23339 -# distribute this file as part of a program that contains a
23340 -# configuration script generated by Autoconf, you may include it under
23341 -# the same distribution terms that you use for the rest of that program.
23342 -
23343  if test $# -eq 0; then
23344    echo 1>&2 "Try \`$0 --help' for more information"
23345    exit 1
23346  fi
23347  
23348 -run=:
23349 -
23350  # In the cases where this matters, `missing' is being run in the
23351  # srcdir already.
23352 -if test -f configure.ac; then
23353 +if test -f configure.in; then
23354    configure_ac=configure.ac
23355  else
23356    configure_ac=configure.in
23357  fi
23358  
23359  case "$1" in
23360 ---run)
23361 -  # Try to run requested program, and just exit if it succeeds.
23362 -  run=
23363 -  shift
23364 -  "$@" && exit 0
23365 -  ;;
23366 -esac
23367 -
23368 -# If it does not exist, or fails to run (possibly an outdated version),
23369 -# try to emulate it.
23370 -case "$1" in
23371  
23372    -h|--h|--he|--hel|--help)
23373      echo "\
23374 @@ -61,7 +43,6 @@
23375  Options:
23376    -h, --help      display this help and exit
23377    -v, --version   output version information and exit
23378 -  --run           try to run the given command, and emulate it if it fails
23379  
23380  Supported PROGRAM values:
23381    aclocal      touch file \`aclocal.m4'
23382 @@ -70,15 +51,13 @@
23383    automake     touch all \`Makefile.in' files
23384    bison        create \`y.tab.[ch]', if possible, from existing .[ch]
23385    flex         create \`lex.yy.c', if possible, from existing .c
23386 -  help2man     touch the output file
23387    lex          create \`lex.yy.c', if possible, from existing .c
23388    makeinfo     touch the output file
23389 -  tar          try tar, gnutar, gtar, then tar without non-portable flags
23390    yacc         create \`y.tab.[ch]', if possible, from existing .[ch]"
23391      ;;
23392  
23393    -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
23394 -    echo "missing 0.4 - GNU automake"
23395 +    echo "missing - GNU libit 0.0"
23396      ;;
23397  
23398    -*)
23399 @@ -88,45 +67,30 @@
23400      ;;
23401  
23402    aclocal*)
23403 -    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
23404 -       # We have it, but it failed.
23405 -       exit 1
23406 -    fi
23407 -
23408      echo 1>&2 "\
23409  WARNING: \`$1' is missing on your system.  You should only need it if
23410 -         you modified \`acinclude.m4' or \`${configure_ac}'.  You might want
23411 +         you modified \`acinclude.m4' or \`$configure_ac'.  You might want
23412           to install the \`Automake' and \`Perl' packages.  Grab them from
23413           any GNU archive site."
23414      touch aclocal.m4
23415      ;;
23416  
23417    autoconf)
23418 -    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
23419 -       # We have it, but it failed.
23420 -       exit 1
23421 -    fi
23422 -
23423      echo 1>&2 "\
23424  WARNING: \`$1' is missing on your system.  You should only need it if
23425 -         you modified \`${configure_ac}'.  You might want to install the
23426 +         you modified \`$configure_ac'.  You might want to install the
23427           \`Autoconf' and \`GNU m4' packages.  Grab them from any GNU
23428           archive site."
23429      touch configure
23430      ;;
23431  
23432    autoheader)
23433 -    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
23434 -       # We have it, but it failed.
23435 -       exit 1
23436 -    fi
23437 -
23438      echo 1>&2 "\
23439  WARNING: \`$1' is missing on your system.  You should only need it if
23440 -         you modified \`acconfig.h' or \`${configure_ac}'.  You might want
23441 +         you modified \`acconfig.h' or \`$configure_ac'.  You might want
23442           to install the \`Autoconf' and \`GNU m4' packages.  Grab them
23443           from any GNU archive site."
23444 -    files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
23445 +    files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' $configure_ac`
23446      test -z "$files" && files="config.h"
23447      touch_files=
23448      for f in $files; do
23449 @@ -140,14 +104,9 @@
23450      ;;
23451  
23452    automake*)
23453 -    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
23454 -       # We have it, but it failed.
23455 -       exit 1
23456 -    fi
23457 -
23458      echo 1>&2 "\
23459  WARNING: \`$1' is missing on your system.  You should only need it if
23460 -         you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
23461 +         you modified \`Makefile.am', \`acinclude.m4' or \`$configure_ac'.
23462           You might want to install the \`Automake' and \`Perl' packages.
23463           Grab them from any GNU archive site."
23464      find . -type f -name Makefile.am -print |
23465 @@ -155,34 +114,6 @@
23466            while read f; do touch "$f"; done
23467      ;;
23468  
23469 -  autom4te)
23470 -    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
23471 -       # We have it, but it failed.
23472 -       exit 1
23473 -    fi
23474 -
23475 -    echo 1>&2 "\
23476 -WARNING: \`$1' is needed, and you do not seem to have it handy on your
23477 -         system.  You might have modified some files without having the
23478 -         proper tools for further handling them.
23479 -         You can get \`$1Help2man' as part of \`Autoconf' from any GNU
23480 -         archive site."
23481 -
23482 -    file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
23483 -    test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
23484 -    if test -f "$file"; then
23485 -       touch $file
23486 -    else
23487 -       test -z "$file" || exec >$file
23488 -       echo "#! /bin/sh"
23489 -       echo "# Created by GNU Automake missing as a replacement of"
23490 -       echo "#  $ $@"
23491 -       echo "exit 0"
23492 -       chmod +x $file
23493 -       exit 1
23494 -    fi
23495 -    ;;
23496 -
23497    bison|yacc)
23498      echo 1>&2 "\
23499  WARNING: \`$1' is missing on your system.  You should only need it if
23500 @@ -236,37 +167,7 @@
23501      fi
23502      ;;
23503  
23504 -  help2man)
23505 -    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
23506 -       # We have it, but it failed.
23507 -       exit 1
23508 -    fi
23509 -
23510 -    echo 1>&2 "\
23511 -WARNING: \`$1' is missing on your system.  You should only need it if
23512 -        you modified a dependency of a manual page.  You may need the
23513 -        \`Help2man' package in order for those modifications to take
23514 -        effect.  You can get \`Help2man' from any GNU archive site."
23515 -
23516 -    file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
23517 -    if test -z "$file"; then
23518 -       file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
23519 -    fi
23520 -    if [ -f "$file" ]; then
23521 -       touch $file
23522 -    else
23523 -       test -z "$file" || exec >$file
23524 -       echo ".ab help2man is required to generate this page"
23525 -       exit 1
23526 -    fi
23527 -    ;;
23528 -
23529    makeinfo)
23530 -    if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
23531 -       # We have makeinfo, but it failed.
23532 -       exit 1
23533 -    fi
23534 -
23535      echo 1>&2 "\
23536  WARNING: \`$1' is missing on your system.  You should only need it if
23537           you modified a \`.texi' or \`.texinfo' file, or any other file
23538 @@ -282,45 +183,6 @@
23539      touch $file
23540      ;;
23541  
23542 -  tar)
23543 -    shift
23544 -    if test -n "$run"; then
23545 -      echo 1>&2 "ERROR: \`tar' requires --run"
23546 -      exit 1
23547 -    fi
23548 -
23549 -    # We have already tried tar in the generic part.
23550 -    # Look for gnutar/gtar before invocation to avoid ugly error
23551 -    # messages.
23552 -    if (gnutar --version > /dev/null 2>&1); then
23553 -       gnutar "$@" && exit 0
23554 -    fi
23555 -    if (gtar --version > /dev/null 2>&1); then
23556 -       gtar "$@" && exit 0
23557 -    fi
23558 -    firstarg="$1"
23559 -    if shift; then
23560 -       case "$firstarg" in
23561 -       *o*)
23562 -           firstarg=`echo "$firstarg" | sed s/o//`
23563 -           tar "$firstarg" "$@" && exit 0
23564 -           ;;
23565 -       esac
23566 -       case "$firstarg" in
23567 -       *h*)
23568 -           firstarg=`echo "$firstarg" | sed s/h//`
23569 -           tar "$firstarg" "$@" && exit 0
23570 -           ;;
23571 -       esac
23572 -    fi
23573 -
23574 -    echo 1>&2 "\
23575 -WARNING: I can't seem to be able to run \`tar' with the given arguments.
23576 -         You may want to install GNU tar or Free paxutils, or check the
23577 -         command line arguments."
23578 -    exit 1
23579 -    ;;
23580 -
23581    *)
23582      echo 1>&2 "\
23583  WARNING: \`$1' is needed, and you do not seem to have it handy on your
23584 diff -ruN libsigcx-0.6.4-patched/scripts/mkinstalldirs libsigcx-0.6.4-regen/scripts/mkinstalldirs
23585 --- libsigcx-0.6.4-patched/scripts/mkinstalldirs        2003-05-19 11:10:58.000000000 -0700
23586 +++ libsigcx-0.6.4-regen/scripts/mkinstalldirs  2005-02-05 22:18:29.000000000 -0800
23587 @@ -4,108 +4,37 @@
23588  # Created: 1993-05-16
23589  # Public domain
23590  
23591 -errstatus=0
23592 -dirmode=""
23593 -
23594 -usage="\
23595 -Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
23596 +# $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $
23597  
23598 -# process command line arguments
23599 -while test $# -gt 0 ; do
23600 -  case $1 in
23601 -    -h | --help | --h*)         # -h for help
23602 -      echo "$usage" 1>&2
23603 -      exit 0
23604 -      ;;
23605 -    -m)                         # -m PERM arg
23606 -      shift
23607 -      test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
23608 -      dirmode=$1
23609 -      shift
23610 -      ;;
23611 -    --)                         # stop option processing
23612 -      shift
23613 -      break
23614 -      ;;
23615 -    -*)                         # unknown option
23616 -      echo "$usage" 1>&2
23617 -      exit 1
23618 -      ;;
23619 -    *)                          # first non-opt arg
23620 -      break
23621 -      ;;
23622 -  esac
23623 -done
23624 -
23625 -for file
23626 -do
23627 -  if test -d "$file"; then
23628 -    shift
23629 -  else
23630 -    break
23631 -  fi
23632 -done
23633 -
23634 -case $# in
23635 -  0) exit 0 ;;
23636 -esac
23637 -
23638 -case $dirmode in
23639 -  '')
23640 -    if mkdir -p -- . 2>/dev/null; then
23641 -      echo "mkdir -p -- $*"
23642 -      exec mkdir -p -- "$@"
23643 -    fi
23644 -    ;;
23645 -  *)
23646 -    if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
23647 -      echo "mkdir -m $dirmode -p -- $*"
23648 -      exec mkdir -m "$dirmode" -p -- "$@"
23649 -    fi
23650 -    ;;
23651 -esac
23652 +errstatus=0
23653  
23654  for file
23655  do
23656 -  set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
23657 -  shift
23658 +   set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
23659 +   shift
23660  
23661 -  pathcomp=
23662 -  for d
23663 -  do
23664 -    pathcomp="$pathcomp$d"
23665 -    case $pathcomp in
23666 -      -*) pathcomp=./$pathcomp ;;
23667 -    esac
23668 -
23669 -    if test ! -d "$pathcomp"; then
23670 -      echo "mkdir $pathcomp"
23671 -
23672 -      mkdir "$pathcomp" || lasterr=$?
23673 -
23674 -      if test ! -d "$pathcomp"; then
23675 -       errstatus=$lasterr
23676 -      else
23677 -       if test ! -z "$dirmode"; then
23678 -         echo "chmod $dirmode $pathcomp"
23679 -         lasterr=""
23680 -         chmod "$dirmode" "$pathcomp" || lasterr=$?
23681 -
23682 -         if test ! -z "$lasterr"; then
23683 -           errstatus=$lasterr
23684 -         fi
23685 -       fi
23686 -      fi
23687 -    fi
23688 +   pathcomp=
23689 +   for d
23690 +   do
23691 +     pathcomp="$pathcomp$d"
23692 +     case "$pathcomp" in
23693 +       -* ) pathcomp=./$pathcomp ;;
23694 +     esac
23695 +
23696 +     if test ! -d "$pathcomp"; then
23697 +        echo "mkdir $pathcomp"
23698 +
23699 +        mkdir "$pathcomp" || lasterr=$?
23700 +
23701 +        if test ! -d "$pathcomp"; then
23702 +         errstatus=$lasterr
23703 +        fi
23704 +     fi
23705  
23706 -    pathcomp="$pathcomp/"
23707 -  done
23708 +     pathcomp="$pathcomp/"
23709 +   done
23710  done
23711  
23712  exit $errstatus
23713  
23714 -# Local Variables:
23715 -# mode: shell-script
23716 -# sh-indentation: 2
23717 -# End:
23718  # mkinstalldirs ends here
23719 diff -ruN libsigcx-0.6.4-patched/sigcx/Makefile.in libsigcx-0.6.4-regen/sigcx/Makefile.in
23720 --- libsigcx-0.6.4-patched/sigcx/Makefile.in    2003-06-03 10:02:46.000000000 -0700
23721 +++ libsigcx-0.6.4-regen/sigcx/Makefile.in      2005-05-06 21:21:31.000000000 -0700
23722 @@ -1,8 +1,6 @@
23723 -# Makefile.in generated by automake 1.7.5 from Makefile.am.
23724 -# @configure_input@
23725 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
23726  
23727 -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
23728 -# Free Software Foundation, Inc.
23729 +# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
23730  # This Makefile.in is free software; the Free Software Foundation
23731  # gives unlimited permission to copy and/or distribute it,
23732  # with or without modifications, as long as this notice is preserved.
23733 @@ -12,143 +10,102 @@
23734  # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
23735  # PARTICULAR PURPOSE.
23736  
23737 -@SET_MAKE@
23738 +
23739 +SHELL = @SHELL@
23740  
23741  srcdir = @srcdir@
23742  top_srcdir = @top_srcdir@
23743  VPATH = @srcdir@
23744 +prefix = @prefix@
23745 +exec_prefix = @exec_prefix@
23746 +
23747 +bindir = @bindir@
23748 +sbindir = @sbindir@
23749 +libexecdir = @libexecdir@
23750 +datadir = @datadir@
23751 +sysconfdir = @sysconfdir@
23752 +sharedstatedir = @sharedstatedir@
23753 +localstatedir = @localstatedir@
23754 +libdir = @libdir@
23755 +infodir = @infodir@
23756 +mandir = @mandir@
23757 +includedir = @includedir@
23758 +oldincludedir = /usr/include
23759 +
23760 +DESTDIR =
23761 +
23762  pkgdatadir = $(datadir)/@PACKAGE@
23763  pkglibdir = $(libdir)/@PACKAGE@
23764  pkgincludedir = $(includedir)/@PACKAGE@
23765 +
23766  top_builddir = ..
23767  
23768 -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23769 +ACLOCAL = @ACLOCAL@
23770 +AUTOCONF = @AUTOCONF@
23771 +AUTOMAKE = @AUTOMAKE@
23772 +AUTOHEADER = @AUTOHEADER@
23773 +
23774  INSTALL = @INSTALL@
23775 -install_sh_DATA = $(install_sh) -c -m 644
23776 -install_sh_PROGRAM = $(install_sh) -c
23777 -install_sh_SCRIPT = $(install_sh) -c
23778 -INSTALL_HEADER = $(INSTALL_DATA)
23779 -transform = $(program_transform_name)
23780 +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
23781 +INSTALL_DATA = @INSTALL_DATA@
23782 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
23783 +transform = @program_transform_name@
23784 +
23785  NORMAL_INSTALL = :
23786  PRE_INSTALL = :
23787  POST_INSTALL = :
23788  NORMAL_UNINSTALL = :
23789  PRE_UNINSTALL = :
23790  POST_UNINSTALL = :
23791 +host_alias = @host_alias@
23792  host_triplet = @host@
23793 -ACLOCAL = @ACLOCAL@
23794 -AMDEP_FALSE = @AMDEP_FALSE@
23795 -AMDEP_TRUE = @AMDEP_TRUE@
23796 -AMTAR = @AMTAR@
23797  AR = @AR@
23798 -AUTOCONF = @AUTOCONF@
23799 -AUTOHEADER = @AUTOHEADER@
23800 -AUTOMAKE = @AUTOMAKE@
23801 -AWK = @AWK@
23802 +AS = @AS@
23803  CC = @CC@
23804 -CCDEPMODE = @CCDEPMODE@
23805 -CFLAGS = @CFLAGS@
23806 -CPP = @CPP@
23807 -CPPFLAGS = @CPPFLAGS@
23808  CXX = @CXX@
23809  CXXCPP = @CXXCPP@
23810 -CXXDEPMODE = @CXXDEPMODE@
23811  CXXFLAGS = @CXXFLAGS@
23812 -CYGPATH_W = @CYGPATH_W@
23813 -DEFS = @DEFS@
23814 -DEPDIR = @DEPDIR@
23815 +DLLTOOL = @DLLTOOL@
23816  DOXYGEN = @DOXYGEN@
23817  ECHO = @ECHO@
23818 -ECHO_C = @ECHO_C@
23819 -ECHO_N = @ECHO_N@
23820 -ECHO_T = @ECHO_T@
23821  EGREP = @EGREP@
23822  EXEEXT = @EXEEXT@
23823  F77 = @F77@
23824 -FFLAGS = @FFLAGS@
23825 -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@
23826 -GTHREAD_LIBS = @GTHREAD_LIBS@
23827 +GCJ = @GCJ@
23828 +GCJFLAGS = @GCJFLAGS@
23829  GTKLIB = @GTKLIB@
23830  GTK_CFLAGS = @GTK_CFLAGS@
23831  GTK_LIBS = @GTK_LIBS@
23832 -INSTALL_DATA = @INSTALL_DATA@
23833 -INSTALL_PROGRAM = @INSTALL_PROGRAM@
23834 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
23835 -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
23836 +HAVE_LIB = @HAVE_LIB@
23837  ISODATE = @ISODATE@
23838  LDFLAGS = @LDFLAGS@
23839 -LIBOBJS = @LIBOBJS@
23840 -LIBS = @LIBS@
23841 +LIB = @LIB@
23842  LIBTOOL = @LIBTOOL@
23843  LN_S = @LN_S@
23844 -LTLIBOBJS = @LTLIBOBJS@
23845 +LTLIB = @LTLIB@
23846  M4 = @M4@
23847  MAKEINFO = @MAKEINFO@
23848  MAYBE_DOC = @MAYBE_DOC@
23849 +OBJDUMP = @OBJDUMP@
23850  OBJEXT = @OBJEXT@
23851  PACKAGE = @PACKAGE@
23852 -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
23853 -PACKAGE_NAME = @PACKAGE_NAME@
23854 -PACKAGE_STRING = @PACKAGE_STRING@
23855 -PACKAGE_TARNAME = @PACKAGE_TARNAME@
23856 -PACKAGE_VERSION = @PACKAGE_VERSION@
23857 -PATH_SEPARATOR = @PATH_SEPARATOR@
23858  PERL = @PERL@
23859  PKG_CONFIG = @PKG_CONFIG@
23860  PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
23861  PTHREAD_LIBS = @PTHREAD_LIBS@
23862  RANLIB = @RANLIB@
23863 -SET_MAKE = @SET_MAKE@
23864 -SHELL = @SHELL@
23865 +RC = @RC@
23866  SIGCX_BRANCH = @SIGCX_BRANCH@
23867  SIGCX_DEVBRANCH = @SIGCX_DEVBRANCH@
23868  SIGC_CFLAGS = @SIGC_CFLAGS@
23869  SIGC_LIBS = @SIGC_LIBS@
23870 +SIGC_MACROS = @SIGC_MACROS@
23871  STRIP = @STRIP@
23872  THREADS_USED = @THREADS_USED@
23873  THREAD_CFLAGS = @THREAD_CFLAGS@
23874  THREAD_LIBS = @THREAD_LIBS@
23875  VERSION = @VERSION@
23876 -ac_ct_AR = @ac_ct_AR@
23877 -ac_ct_CC = @ac_ct_CC@
23878 -ac_ct_CXX = @ac_ct_CXX@
23879 -ac_ct_F77 = @ac_ct_F77@
23880 -ac_ct_RANLIB = @ac_ct_RANLIB@
23881 -ac_ct_STRIP = @ac_ct_STRIP@
23882 -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
23883 -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
23884 -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
23885 -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
23886 -am__include = @am__include@
23887 -am__leading_dot = @am__leading_dot@
23888 -am__quote = @am__quote@
23889 -bindir = @bindir@
23890 -build = @build@
23891 -build_alias = @build_alias@
23892 -build_cpu = @build_cpu@
23893 -build_os = @build_os@
23894 -build_vendor = @build_vendor@
23895 -datadir = @datadir@
23896 -exec_prefix = @exec_prefix@
23897 -host = @host@
23898 -host_alias = @host_alias@
23899 -host_cpu = @host_cpu@
23900 -host_os = @host_os@
23901 -host_vendor = @host_vendor@
23902 -includedir = @includedir@
23903 -infodir = @infodir@
23904 -install_sh = @install_sh@
23905 -libdir = @libdir@
23906 -libexecdir = @libexecdir@
23907 -localstatedir = @localstatedir@
23908 -mandir = @mandir@
23909 -oldincludedir = @oldincludedir@
23910 -prefix = @prefix@
23911 -program_transform_name = @program_transform_name@
23912 -sbindir = @sbindir@
23913 -sharedstatedir = @sharedstatedir@
23914 -sysconfdir = @sysconfdir@
23915 -target_alias = @target_alias@
23916 +
23917  SUBDIRS = macros # corba
23918  
23919  INCLUDES = -I$(top_srcdir) $(SIGC_CFLAGS) $(THREAD_CFLAGS) $(GTK_CFLAGS)
23920 @@ -156,198 +113,148 @@
23921  M4_DIR = $(top_srcdir)/sigcx/macros
23922  M4_INCLUDES = -I$(M4_DIR)
23923  
23924 -BUILT_SOURCES = convert.h \
23925 -               tunnel.h \
23926 -               bind3.h \
23927 -               ref_slot.h \
23928 -               #corba_base.h corba_convert.h corba_signal.h
23929 +BUILT_SOURCES = convert.h              tunnel.h                bind3.h                 ref_slot.h              #corba_base.h corba_convert.h corba_signal.h
23930  
23931  
23932  lib_LTLIBRARIES = libsigcx-0.6.la @GTKLIB@
23933  EXTRA_LTLIBRARIES = libsigcx-gtk-0.6.la
23934  
23935 -libsigcx_0_6_la_SOURCES = util.cc timeval.cc \
23936 -                         thread.cc thread-@THREADS_USED@.cc \
23937 -                         dispatch.cc thread_tunnel.cc convert.cc
23938 +libsigcx_0_6_la_SOURCES = util.cc timeval.cc                     thread.cc thread-@THREADS_USED@.cc                      dispatch.cc thread_tunnel.cc convert.cc
23939  
23940  
23941  libsigcx_0_6_la_LIBADD = $(THREAD_LIBS) $(SIGC_LIBS)
23942 -libsigcx_0_6_la_LDFLAGS = -version-info "2:0:0"
23943 +libsigcx_0_6_la_LDFLAGS = -version-info "2:0:0" -no-undefined
23944  
23945  libsigcdir = $(prefix)/include/sigcx
23946  
23947  libsigcincludedir = $(includedir)/sigcx-@SIGCX_DEVBRANCH@/sigcx
23948 -libsigcinclude_HEADERS = $(BUILT_SOURCES) \
23949 -                        timeval.h util.h dispatch.h gtk_dispatch.h \
23950 -                        thread.h thread_tunnel.h
23951 +libsigcinclude_HEADERS = $(BUILT_SOURCES)                       timeval.h util.h dispatch.h gtk_dispatch.h                      thread.h thread_tunnel.h
23952  
23953  
23954  noinst_HEADERS = thread-pthreads.h thread-glib.h thread-none.h
23955  
23956  libsigcx_gtk_0_6_la_SOURCES = gtk_dispatch.cc
23957 -libsigcx_gtk_0_6_la_LIBADD = libsigcx-@SIGCX_DEVBRANCH@.la \
23958 -                            $(THREAD_LIBS) $(SIGC_LIBS) $(GTK_LIBS)
23959 +libsigcx_gtk_0_6_la_LIBADD = libsigcx-@SIGCX_DEVBRANCH@.la                          $(THREAD_LIBS) $(SIGC_LIBS) $(GTK_LIBS)
23960  
23961 -libsigcx_gtk_0_6_la_LDFLAGS = -version-info "1:0:0" -rpath $(libdir)
23962 +libsigcx_gtk_0_6_la_LDFLAGS = -version-info "1:0:0" -rpath $(libdir) -no-undefined
23963  
23964 -EXTRA_DIST = sigcx-@SIGCX_BRANCH@.pc.in sigcx-@SIGCX_BRANCH@-gtk+.pc.in \
23965 -            $(BUILT_SOURCES) \
23966 -            thread-pthreads.cc thread-glib.cc thread-none.cc
23967 +EXTRA_DIST = sigcx-@SIGCX_BRANCH@.pc.in sigcx-@SIGCX_BRANCH@-gtk+.pc.in             $(BUILT_SOURCES)        thread-pthreads.cc thread-glib.cc thread-none.cc
23968  
23969  
23970  pcdir = $(libdir)/pkgconfig
23971  
23972  pc_DATA = sigcx-@SIGCX_BRANCH@.pc sigcx-@SIGCX_BRANCH@-gtk+.pc
23973 +mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
23974 +CONFIG_HEADER = ../config.h
23975 +CONFIG_CLEAN_FILES =  sigcx-0.6.pc sigcx-0.6-gtk+.pc
23976 +LTLIBRARIES =  $(lib_LTLIBRARIES)
23977  
23978 -# We use libtool 1.5, which does proper linking against libstdc++ for libs,
23979 -# if called with --tag=CXX, but AM doesn't understand that yet
23980 -CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) \
23981 -         $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
23982  
23983 -subdir = sigcx
23984 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
23985 -mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
23986 -CONFIG_HEADER = $(top_builddir)/config.h
23987 -CONFIG_CLEAN_FILES = sigcx-0.6.pc sigcx-0.6-gtk+.pc
23988 -LTLIBRARIES = $(lib_LTLIBRARIES)
23989 -
23990 -libsigcx_0_6_la_DEPENDENCIES =
23991 -am_libsigcx_0_6_la_OBJECTS = util.lo timeval.lo thread.lo \
23992 -       thread-@THREADS_USED@.lo dispatch.lo thread_tunnel.lo \
23993 -       convert.lo
23994 -libsigcx_0_6_la_OBJECTS = $(am_libsigcx_0_6_la_OBJECTS)
23995 -libsigcx_gtk_0_6_la_DEPENDENCIES = libsigcx-@SIGCX_DEVBRANCH@.la
23996 -am_libsigcx_gtk_0_6_la_OBJECTS = gtk_dispatch.lo
23997 -libsigcx_gtk_0_6_la_OBJECTS = $(am_libsigcx_gtk_0_6_la_OBJECTS)
23998 -
23999 -DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
24000 -depcomp = $(SHELL) $(top_srcdir)/scripts/depcomp
24001 -am__depfiles_maybe = depfiles
24002 -@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/convert.Plo ./$(DEPDIR)/dispatch.Plo \
24003 -@AMDEP_TRUE@   ./$(DEPDIR)/gtk_dispatch.Plo \
24004 -@AMDEP_TRUE@   ./$(DEPDIR)/thread-@THREADS_USED@.Plo \
24005 -@AMDEP_TRUE@   ./$(DEPDIR)/thread.Plo \
24006 -@AMDEP_TRUE@   ./$(DEPDIR)/thread_tunnel.Plo \
24007 -@AMDEP_TRUE@   ./$(DEPDIR)/timeval.Plo ./$(DEPDIR)/util.Plo
24008 -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
24009 -       $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
24010 -LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
24011 -       $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
24012 -       $(AM_CXXFLAGS) $(CXXFLAGS)
24013 +DEFS = @DEFS@ -I. -I$(srcdir) -I..
24014 +CPPFLAGS = @CPPFLAGS@
24015 +LIBS = @LIBS@
24016 +libsigcx_gtk_0_6_la_DEPENDENCIES =  libsigcx-@SIGCX_DEVBRANCH@.la
24017 +libsigcx_gtk_0_6_la_OBJECTS =  gtk_dispatch.lo
24018 +libsigcx_0_6_la_DEPENDENCIES = 
24019 +libsigcx_0_6_la_OBJECTS =  util.lo timeval.lo thread.lo \
24020 +thread-@THREADS_USED@.lo dispatch.lo thread_tunnel.lo convert.lo
24021 +CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
24022 +LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
24023  CXXLD = $(CXX)
24024 -DIST_SOURCES = $(libsigcx_0_6_la_SOURCES) $(libsigcx_gtk_0_6_la_SOURCES)
24025 -DATA = $(pc_DATA)
24026 +CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
24027 +CFLAGS = @CFLAGS@
24028 +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
24029 +LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
24030 +CCLD = $(CC)
24031 +LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
24032 +DATA =  $(pc_DATA)
24033 +
24034 +HEADERS =  $(libsigcinclude_HEADERS) $(noinst_HEADERS)
24035  
24036 -HEADERS = $(libsigcinclude_HEADERS) $(noinst_HEADERS)
24037 +DIST_COMMON =  ChangeLog Makefile.am Makefile.in sigcx-0.6-gtk+.pc.in \
24038 +sigcx-0.6.pc.in
24039  
24040  
24041 -RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
24042 -       ps-recursive install-info-recursive uninstall-info-recursive \
24043 -       all-recursive install-data-recursive install-exec-recursive \
24044 -       installdirs-recursive install-recursive uninstall-recursive \
24045 -       check-recursive installcheck-recursive
24046 -DIST_COMMON = $(libsigcinclude_HEADERS) $(noinst_HEADERS) ChangeLog \
24047 -       Makefile.am Makefile.in sigcx-0.6-gtk+.pc.in sigcx-0.6.pc.in
24048 -DIST_SUBDIRS = $(SUBDIRS)
24049 -SOURCES = $(libsigcx_0_6_la_SOURCES) $(libsigcx_gtk_0_6_la_SOURCES)
24050 +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
24051  
24052 -all: $(BUILT_SOURCES)
24053 -       $(MAKE) $(AM_MAKEFLAGS) all-recursive
24054 +TAR = tar
24055 +GZIP_ENV = --best
24056 +SOURCES = $(libsigcx_gtk_0_6_la_SOURCES) $(libsigcx_0_6_la_SOURCES)
24057 +OBJECTS = $(libsigcx_gtk_0_6_la_OBJECTS) $(libsigcx_0_6_la_OBJECTS)
24058  
24059 +all: all-redirect
24060  .SUFFIXES:
24061 -.SUFFIXES: .cc .lo .o .obj
24062 -$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
24063 -       cd $(top_srcdir) && \
24064 -         $(AUTOMAKE) --gnu  sigcx/Makefile
24065 -Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
24066 -       cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
24067 +.SUFFIXES: .S .c .cc .lo .o .obj .s
24068 +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) 
24069 +       cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps sigcx/Makefile
24070 +
24071 +Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
24072 +       cd $(top_builddir) \
24073 +         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
24074 +
24075  sigcx-0.6.pc: $(top_builddir)/config.status sigcx-0.6.pc.in
24076 -       cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
24077 +       cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
24078  sigcx-0.6-gtk+.pc: $(top_builddir)/config.status sigcx-0.6-gtk+.pc.in
24079 -       cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
24080 -libLTLIBRARIES_INSTALL = $(INSTALL)
24081 +       cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
24082 +
24083 +mostlyclean-libLTLIBRARIES:
24084 +
24085 +clean-libLTLIBRARIES:
24086 +       -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
24087 +
24088 +distclean-libLTLIBRARIES:
24089 +
24090 +maintainer-clean-libLTLIBRARIES:
24091 +
24092  install-libLTLIBRARIES: $(lib_LTLIBRARIES)
24093         @$(NORMAL_INSTALL)
24094         $(mkinstalldirs) $(DESTDIR)$(libdir)
24095         @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
24096           if test -f $$p; then \
24097 -           f="`echo $$p | sed -e 's|^.*/||'`"; \
24098 -           echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
24099 -           $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
24100 +           echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
24101 +           $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
24102           else :; fi; \
24103         done
24104  
24105  uninstall-libLTLIBRARIES:
24106         @$(NORMAL_UNINSTALL)
24107 -       @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
24108 -           p="`echo $$p | sed -e 's|^.*/||'`"; \
24109 -         echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
24110 -         $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
24111 +       list='$(lib_LTLIBRARIES)'; for p in $$list; do \
24112 +         $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
24113         done
24114  
24115 -clean-libLTLIBRARIES:
24116 -       -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
24117 -       @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
24118 -         dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
24119 -         test "$$dir" = "$$p" && dir=.; \
24120 -         echo "rm -f \"$${dir}/so_locations\""; \
24121 -         rm -f "$${dir}/so_locations"; \
24122 -       done
24123 -libsigcx-0.6.la: $(libsigcx_0_6_la_OBJECTS) $(libsigcx_0_6_la_DEPENDENCIES) 
24124 -       $(CXXLINK) -rpath $(libdir) $(libsigcx_0_6_la_LDFLAGS) $(libsigcx_0_6_la_OBJECTS) $(libsigcx_0_6_la_LIBADD) $(LIBS)
24125 -libsigcx-gtk-0.6.la: $(libsigcx_gtk_0_6_la_OBJECTS) $(libsigcx_gtk_0_6_la_DEPENDENCIES) 
24126 -       $(CXXLINK)  $(libsigcx_gtk_0_6_la_LDFLAGS) $(libsigcx_gtk_0_6_la_OBJECTS) $(libsigcx_gtk_0_6_la_LIBADD) $(LIBS)
24127 +.c.o:
24128 +       $(COMPILE) -c $<
24129 +
24130 +# FIXME: We should only use cygpath when building on Windows,
24131 +# and only if it is available.
24132 +.c.obj:
24133 +       $(COMPILE) -c `cygpath -w $<`
24134 +
24135 +.s.o:
24136 +       $(COMPILE) -c $<
24137 +
24138 +.S.o:
24139 +       $(COMPILE) -c $<
24140  
24141  mostlyclean-compile:
24142 -       -rm -f *.$(OBJEXT) core *.core
24143 +       -rm -f *.o core *.core
24144 +       -rm -f *.$(OBJEXT)
24145 +
24146 +clean-compile:
24147  
24148  distclean-compile:
24149         -rm -f *.tab.c
24150  
24151 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/convert.Plo@am__quote@
24152 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dispatch.Plo@am__quote@
24153 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gtk_dispatch.Plo@am__quote@
24154 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thread-@THREADS_USED@.Plo@am__quote@
24155 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thread.Plo@am__quote@
24156 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thread_tunnel.Plo@am__quote@
24157 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timeval.Plo@am__quote@
24158 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/util.Plo@am__quote@
24159 +maintainer-clean-compile:
24160  
24161 -distclean-depend:
24162 -       -rm -rf ./$(DEPDIR)
24163 +.c.lo:
24164 +       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
24165  
24166 -.cc.o:
24167 -@am__fastdepCXX_TRUE@  if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
24168 -@am__fastdepCXX_TRUE@    -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
24169 -@am__fastdepCXX_TRUE@  then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
24170 -@am__fastdepCXX_TRUE@  else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
24171 -@am__fastdepCXX_TRUE@  fi
24172 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
24173 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
24174 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
24175 -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
24176 +.s.lo:
24177 +       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
24178  
24179 -.cc.obj:
24180 -@am__fastdepCXX_TRUE@  if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
24181 -@am__fastdepCXX_TRUE@    -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
24182 -@am__fastdepCXX_TRUE@  then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
24183 -@am__fastdepCXX_TRUE@  else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
24184 -@am__fastdepCXX_TRUE@  fi
24185 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
24186 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
24187 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
24188 -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
24189 -
24190 -.cc.lo:
24191 -@am__fastdepCXX_TRUE@  if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
24192 -@am__fastdepCXX_TRUE@    -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
24193 -@am__fastdepCXX_TRUE@  then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
24194 -@am__fastdepCXX_TRUE@  else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
24195 -@am__fastdepCXX_TRUE@  fi
24196 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
24197 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
24198 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
24199 -@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
24200 +.S.lo:
24201 +       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
24202  
24203  mostlyclean-libtool:
24204         -rm -f *.lo
24205 @@ -356,43 +263,53 @@
24206         -rm -rf .libs _libs
24207  
24208  distclean-libtool:
24209 -       -rm -f libtool
24210 -uninstall-info-am:
24211 -pcDATA_INSTALL = $(INSTALL_DATA)
24212 +
24213 +maintainer-clean-libtool:
24214 +
24215 +libsigcx-gtk-0.6.la: $(libsigcx_gtk_0_6_la_OBJECTS) $(libsigcx_gtk_0_6_la_DEPENDENCIES)
24216 +       $(CXXLINK)  $(libsigcx_gtk_0_6_la_LDFLAGS) $(libsigcx_gtk_0_6_la_OBJECTS) $(libsigcx_gtk_0_6_la_LIBADD) $(LIBS)
24217 +
24218 +libsigcx-0.6.la: $(libsigcx_0_6_la_OBJECTS) $(libsigcx_0_6_la_DEPENDENCIES)
24219 +       $(CXXLINK) -rpath $(libdir) $(libsigcx_0_6_la_LDFLAGS) $(libsigcx_0_6_la_OBJECTS) $(libsigcx_0_6_la_LIBADD) $(LIBS)
24220 +.cc.o:
24221 +       $(CXXCOMPILE) -c $<
24222 +.cc.obj:
24223 +       $(CXXCOMPILE) -c `cygpath -w $<`
24224 +.cc.lo:
24225 +       $(LTCXXCOMPILE) -c $<
24226 +
24227  install-pcDATA: $(pc_DATA)
24228         @$(NORMAL_INSTALL)
24229         $(mkinstalldirs) $(DESTDIR)$(pcdir)
24230         @list='$(pc_DATA)'; for p in $$list; do \
24231 -         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
24232 -         f="`echo $$p | sed -e 's|^.*/||'`"; \
24233 -         echo " $(pcDATA_INSTALL) $$d$$p $(DESTDIR)$(pcdir)/$$f"; \
24234 -         $(pcDATA_INSTALL) $$d$$p $(DESTDIR)$(pcdir)/$$f; \
24235 +         if test -f $(srcdir)/$$p; then \
24236 +           echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pcdir)/$$p"; \
24237 +           $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pcdir)/$$p; \
24238 +         else if test -f $$p; then \
24239 +           echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pcdir)/$$p"; \
24240 +           $(INSTALL_DATA) $$p $(DESTDIR)$(pcdir)/$$p; \
24241 +         fi; fi; \
24242         done
24243  
24244  uninstall-pcDATA:
24245         @$(NORMAL_UNINSTALL)
24246 -       @list='$(pc_DATA)'; for p in $$list; do \
24247 -         f="`echo $$p | sed -e 's|^.*/||'`"; \
24248 -         echo " rm -f $(DESTDIR)$(pcdir)/$$f"; \
24249 -         rm -f $(DESTDIR)$(pcdir)/$$f; \
24250 +       list='$(pc_DATA)'; for p in $$list; do \
24251 +         rm -f $(DESTDIR)$(pcdir)/$$p; \
24252         done
24253 -libsigcincludeHEADERS_INSTALL = $(INSTALL_HEADER)
24254 +
24255  install-libsigcincludeHEADERS: $(libsigcinclude_HEADERS)
24256         @$(NORMAL_INSTALL)
24257         $(mkinstalldirs) $(DESTDIR)$(libsigcincludedir)
24258         @list='$(libsigcinclude_HEADERS)'; for p in $$list; do \
24259 -         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
24260 -         f="`echo $$p | sed -e 's|^.*/||'`"; \
24261 -         echo " $(libsigcincludeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(libsigcincludedir)/$$f"; \
24262 -         $(libsigcincludeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(libsigcincludedir)/$$f; \
24263 +         if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
24264 +         echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(libsigcincludedir)/$$p"; \
24265 +         $(INSTALL_DATA) $$d$$p $(DESTDIR)$(libsigcincludedir)/$$p; \
24266         done
24267  
24268  uninstall-libsigcincludeHEADERS:
24269         @$(NORMAL_UNINSTALL)
24270 -       @list='$(libsigcinclude_HEADERS)'; for p in $$list; do \
24271 -         f="`echo $$p | sed -e 's|^.*/||'`"; \
24272 -         echo " rm -f $(DESTDIR)$(libsigcincludedir)/$$f"; \
24273 -         rm -f $(DESTDIR)$(libsigcincludedir)/$$f; \
24274 +       list='$(libsigcinclude_HEADERS)'; for p in $$list; do \
24275 +         rm -f $(DESTDIR)$(libsigcincludedir)/$$p; \
24276         done
24277  
24278  # This directory's subdirectories are mostly independent; you can cd
24279 @@ -401,8 +318,13 @@
24280  # (1) if the variable is set in `config.status', edit `config.status'
24281  #     (which will cause the Makefiles to be regenerated when you run `make');
24282  # (2) otherwise, pass the desired values on the `make' command line.
24283 -$(RECURSIVE_TARGETS):
24284 -       @set fnord $$MAKEFLAGS; amf=$$2; \
24285 +
24286 +@SET_MAKE@
24287 +
24288 +all-recursive install-data-recursive install-exec-recursive \
24289 +installdirs-recursive install-recursive uninstall-recursive  \
24290 +check-recursive installcheck-recursive info-recursive dvi-recursive:
24291 +       @set fnord $(MAKEFLAGS); amf=$$2; \
24292         dot_seen=no; \
24293         target=`echo $@ | sed s/-recursive//`; \
24294         list='$(SUBDIRS)'; for subdir in $$list; do \
24295 @@ -422,18 +344,13 @@
24296  
24297  mostlyclean-recursive clean-recursive distclean-recursive \
24298  maintainer-clean-recursive:
24299 -       @set fnord $$MAKEFLAGS; amf=$$2; \
24300 +       @set fnord $(MAKEFLAGS); amf=$$2; \
24301         dot_seen=no; \
24302 -       case "$@" in \
24303 -         distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
24304 -         *) list='$(SUBDIRS)' ;; \
24305 -       esac; \
24306 -       rev=''; for subdir in $$list; do \
24307 -         if test "$$subdir" = "."; then :; else \
24308 -           rev="$$subdir $$rev"; \
24309 -         fi; \
24310 +       rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
24311 +         rev="$$subdir $$rev"; \
24312 +         test "$$subdir" != "." || dot_seen=yes; \
24313         done; \
24314 -       rev="$$rev ."; \
24315 +       test "$$dot_seen" = "no" && rev=". $$rev"; \
24316         target=`echo $@ | sed s/-recursive//`; \
24317         for subdir in $$rev; do \
24318           echo "Making $$target in $$subdir"; \
24319 @@ -449,232 +366,161 @@
24320         list='$(SUBDIRS)'; for subdir in $$list; do \
24321           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
24322         done
24323 -ctags-recursive:
24324 -       list='$(SUBDIRS)'; for subdir in $$list; do \
24325 -         test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
24326 -       done
24327 -
24328 -ETAGS = etags
24329 -ETAGSFLAGS =
24330 -
24331 -CTAGS = ctags
24332 -CTAGSFLAGS =
24333  
24334  tags: TAGS
24335  
24336 -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
24337 -       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
24338 -       unique=`for i in $$list; do \
24339 -           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
24340 -         done | \
24341 -         $(AWK) '    { files[$$0] = 1; } \
24342 +ID: $(HEADERS) $(SOURCES) $(LISP)
24343 +       list='$(SOURCES) $(HEADERS)'; \
24344 +       unique=`for i in $$list; do echo $$i; done | \
24345 +         awk '    { files[$$0] = 1; } \
24346                END { for (i in files) print i; }'`; \
24347 -       mkid -fID $$unique
24348 +       here=`pwd` && cd $(srcdir) \
24349 +         && mkid -f$$here/ID $$unique $(LISP)
24350  
24351 -TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
24352 -               $(TAGS_FILES) $(LISP)
24353 +TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
24354         tags=; \
24355         here=`pwd`; \
24356 -       if (etags --etags-include --version) >/dev/null 2>&1; then \
24357 -         include_option=--etags-include; \
24358 -       else \
24359 -         include_option=--include; \
24360 -       fi; \
24361         list='$(SUBDIRS)'; for subdir in $$list; do \
24362 -         if test "$$subdir" = .; then :; else \
24363 -           test -f $$subdir/TAGS && \
24364 -             tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
24365 -         fi; \
24366 +   if test "$$subdir" = .; then :; else \
24367 +           test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
24368 +   fi; \
24369         done; \
24370 -       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
24371 -       unique=`for i in $$list; do \
24372 -           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
24373 -         done | \
24374 -         $(AWK) '    { files[$$0] = 1; } \
24375 -              END { for (i in files) print i; }'`; \
24376 -       test -z "$(ETAGS_ARGS)$$tags$$unique" \
24377 -         || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
24378 -            $$tags $$unique
24379 -
24380 -ctags: CTAGS
24381 -CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
24382 -               $(TAGS_FILES) $(LISP)
24383 -       tags=; \
24384 -       here=`pwd`; \
24385 -       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
24386 -       unique=`for i in $$list; do \
24387 -           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
24388 -         done | \
24389 -         $(AWK) '    { files[$$0] = 1; } \
24390 +       list='$(SOURCES) $(HEADERS)'; \
24391 +       unique=`for i in $$list; do echo $$i; done | \
24392 +         awk '    { files[$$0] = 1; } \
24393                END { for (i in files) print i; }'`; \
24394 -       test -z "$(CTAGS_ARGS)$$tags$$unique" \
24395 -         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
24396 -            $$tags $$unique
24397 -
24398 -GTAGS:
24399 -       here=`$(am__cd) $(top_builddir) && pwd` \
24400 -         && cd $(top_srcdir) \
24401 -         && gtags -i $(GTAGS_ARGS) $$here
24402 +       test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
24403 +         || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags  $$unique $(LISP))
24404 +
24405 +mostlyclean-tags:
24406 +
24407 +clean-tags:
24408  
24409  distclean-tags:
24410 -       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
24411 -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
24412 +       -rm -f TAGS ID
24413  
24414 -top_distdir = ..
24415 -distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
24416 +maintainer-clean-tags:
24417 +
24418 +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
24419 +
24420 +subdir = sigcx
24421  
24422  distdir: $(DISTFILES)
24423 -       @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
24424 -       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
24425 -       list='$(DISTFILES)'; for file in $$list; do \
24426 -         case $$file in \
24427 -           $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
24428 -           $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
24429 -         esac; \
24430 -         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
24431 -         dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
24432 -         if test "$$dir" != "$$file" && test "$$dir" != "."; then \
24433 -           dir="/$$dir"; \
24434 -           $(mkinstalldirs) "$(distdir)$$dir"; \
24435 -         else \
24436 -           dir=''; \
24437 -         fi; \
24438 +       @for file in $(DISTFILES); do \
24439 +         d=$(srcdir); \
24440           if test -d $$d/$$file; then \
24441 -           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
24442 -             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
24443 -           fi; \
24444 -           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
24445 +           cp -pr $$d/$$file $(distdir)/$$file; \
24446           else \
24447             test -f $(distdir)/$$file \
24448 -           || cp -p $$d/$$file $(distdir)/$$file \
24449 -           || exit 1; \
24450 +           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
24451 +           || cp -p $$d/$$file $(distdir)/$$file || :; \
24452           fi; \
24453         done
24454 -       list='$(SUBDIRS)'; for subdir in $$list; do \
24455 +       for subdir in $(SUBDIRS); do \
24456           if test "$$subdir" = .; then :; else \
24457             test -d $(distdir)/$$subdir \
24458             || mkdir $(distdir)/$$subdir \
24459             || exit 1; \
24460 -           (cd $$subdir && \
24461 -             $(MAKE) $(AM_MAKEFLAGS) \
24462 -               top_distdir="$(top_distdir)" \
24463 -               distdir=../$(distdir)/$$subdir \
24464 -               distdir) \
24465 +           chmod 777 $(distdir)/$$subdir; \
24466 +           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
24467               || exit 1; \
24468           fi; \
24469         done
24470 -check-am: all-am
24471 -check: $(BUILT_SOURCES)
24472 -       $(MAKE) $(AM_MAKEFLAGS) check-recursive
24473 -all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
24474 -installdirs: installdirs-recursive
24475 -installdirs-am:
24476 -       $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(pcdir) $(DESTDIR)$(libsigcincludedir)
24477  
24478 -install: $(BUILT_SOURCES)
24479 -       $(MAKE) $(AM_MAKEFLAGS) install-recursive
24480 +info-am:
24481 +info: info-recursive
24482 +dvi-am:
24483 +dvi: dvi-recursive
24484 +check-am: all-am
24485 +check: check-recursive
24486 +installcheck-am:
24487 +installcheck: installcheck-recursive
24488 +install-exec-am: install-libLTLIBRARIES
24489  install-exec: install-exec-recursive
24490 +
24491 +install-data-am: install-pcDATA install-libsigcincludeHEADERS
24492  install-data: install-data-recursive
24493 -uninstall: uninstall-recursive
24494  
24495  install-am: all-am
24496         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
24497 -
24498 -installcheck: installcheck-recursive
24499 +install: install-recursive
24500 +uninstall-am: uninstall-libLTLIBRARIES uninstall-pcDATA \
24501 +               uninstall-libsigcincludeHEADERS
24502 +uninstall: uninstall-recursive
24503 +all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
24504 +all-redirect: all-recursive
24505  install-strip:
24506 -       $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
24507 -         INSTALL_STRIP_FLAG=-s \
24508 -         `test -z '$(STRIP)' || \
24509 -           echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
24510 +       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
24511 +installdirs: installdirs-recursive
24512 +installdirs-am:
24513 +       $(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(pcdir) \
24514 +               $(DESTDIR)$(libsigcincludedir)
24515 +
24516 +
24517  mostlyclean-generic:
24518  
24519  clean-generic:
24520  
24521  distclean-generic:
24522         -rm -f Makefile $(CONFIG_CLEAN_FILES)
24523 +       -rm -f config.cache config.log stamp-h stamp-h[0-9]*
24524  
24525  maintainer-clean-generic:
24526 -       @echo "This command is intended for maintainers to use"
24527 -       @echo "it deletes files that may require special tools to rebuild."
24528         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
24529 -clean: clean-recursive
24530 -
24531 -clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
24532 -       mostlyclean-am
24533 -
24534 -distclean: distclean-recursive
24535 -
24536 -distclean-am: clean-am distclean-compile distclean-depend \
24537 -       distclean-generic distclean-libtool distclean-tags
24538 -
24539 -dvi: dvi-recursive
24540 -
24541 -dvi-am:
24542 +mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
24543 +               mostlyclean-libtool mostlyclean-tags \
24544 +               mostlyclean-generic
24545  
24546 -info: info-recursive
24547 -
24548 -info-am:
24549 +mostlyclean: mostlyclean-recursive
24550  
24551 -install-data-am: install-libsigcincludeHEADERS install-pcDATA
24552 +clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool clean-tags \
24553 +               clean-generic mostlyclean-am
24554  
24555 -install-exec-am: install-libLTLIBRARIES
24556 +clean: clean-recursive
24557  
24558 -install-info: install-info-recursive
24559 +distclean-am:  distclean-libLTLIBRARIES distclean-compile \
24560 +               distclean-libtool distclean-tags distclean-generic \
24561 +               clean-am
24562 +       -rm -f libtool
24563  
24564 -install-man:
24565 +distclean: distclean-recursive
24566  
24567 -installcheck-am:
24568 +maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
24569 +               maintainer-clean-compile maintainer-clean-libtool \
24570 +               maintainer-clean-tags maintainer-clean-generic \
24571 +               distclean-am
24572 +       @echo "This command is intended for maintainers to use;"
24573 +       @echo "it deletes files that may require special tools to rebuild."
24574  
24575  maintainer-clean: maintainer-clean-recursive
24576  
24577 -maintainer-clean-am: distclean-am maintainer-clean-generic
24578 -
24579 -mostlyclean: mostlyclean-recursive
24580 -
24581 -mostlyclean-am: mostlyclean-compile mostlyclean-generic \
24582 -       mostlyclean-libtool
24583 -
24584 -pdf: pdf-recursive
24585 -
24586 -pdf-am:
24587 -
24588 -ps: ps-recursive
24589 -
24590 -ps-am:
24591 -
24592 -uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \
24593 -       uninstall-libsigcincludeHEADERS uninstall-pcDATA
24594 -
24595 -uninstall-info: uninstall-info-recursive
24596 -
24597 -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
24598 -       clean-generic clean-libLTLIBRARIES clean-libtool \
24599 -       clean-recursive ctags ctags-recursive distclean \
24600 -       distclean-compile distclean-depend distclean-generic \
24601 -       distclean-libtool distclean-recursive distclean-tags distdir \
24602 -       dvi dvi-am dvi-recursive info info-am info-recursive install \
24603 -       install-am install-data install-data-am install-data-recursive \
24604 -       install-exec install-exec-am install-exec-recursive \
24605 -       install-info install-info-am install-info-recursive \
24606 -       install-libLTLIBRARIES install-libsigcincludeHEADERS \
24607 -       install-man install-pcDATA install-recursive install-strip \
24608 -       installcheck installcheck-am installdirs installdirs-am \
24609 -       installdirs-recursive maintainer-clean maintainer-clean-generic \
24610 -       maintainer-clean-recursive mostlyclean mostlyclean-compile \
24611 -       mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
24612 -       pdf pdf-am pdf-recursive ps ps-am ps-recursive tags \
24613 -       tags-recursive uninstall uninstall-am uninstall-info-am \
24614 -       uninstall-info-recursive uninstall-libLTLIBRARIES \
24615 -       uninstall-libsigcincludeHEADERS uninstall-pcDATA \
24616 -       uninstall-recursive
24617 +.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
24618 +clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
24619 +uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
24620 +distclean-compile clean-compile maintainer-clean-compile \
24621 +mostlyclean-libtool distclean-libtool clean-libtool \
24622 +maintainer-clean-libtool uninstall-pcDATA install-pcDATA \
24623 +uninstall-libsigcincludeHEADERS install-libsigcincludeHEADERS \
24624 +install-data-recursive uninstall-data-recursive install-exec-recursive \
24625 +uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
24626 +all-recursive check-recursive installcheck-recursive info-recursive \
24627 +dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
24628 +maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
24629 +distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
24630 +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
24631 +install-exec install-data-am install-data install-am install \
24632 +uninstall-am uninstall all-redirect all-am all installdirs-am \
24633 +installdirs mostlyclean-generic distclean-generic clean-generic \
24634 +maintainer-clean-generic clean mostlyclean distclean maintainer-clean
24635  
24636  
24637  %.h: $(M4_DIR)/%.h.m4 $(M4_DIR)/template.macros.m4
24638         $(M4) $(M4_INCLUDES) $(DEFINES) $<  > $@
24639  
24640  bind3.h: $(M4_DIR)/bind3.h.m4 $(M4_DIR)/template.macros.m4
24641 -       $(M4) $(M4_INCLUDES) -I`pkg-config --variable=prefix sigc++-1.2`/include/sigc++-1.2/sigc++/macros \
24642 +       $(M4) $(M4_INCLUDES) -I$(SIGC_MACROS) \
24643           $(DEFINES) $<  > $@
24644 +
24645  # Tell versions [3.59,3.63) of GNU make to not export all variables.
24646  # Otherwise a system limit (for SysV at least) may be exceeded.
24647  .NOEXPORT:
24648 diff -ruN libsigcx-0.6.4-patched/sigcx/macros/Makefile.in libsigcx-0.6.4-regen/sigcx/macros/Makefile.in
24649 --- libsigcx-0.6.4-patched/sigcx/macros/Makefile.in     2003-06-03 10:02:49.000000000 -0700
24650 +++ libsigcx-0.6.4-regen/sigcx/macros/Makefile.in       2005-05-06 21:21:31.000000000 -0700
24651 @@ -1,8 +1,6 @@
24652 -# Makefile.in generated by automake 1.7.5 from Makefile.am.
24653 -# @configure_input@
24654 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
24655  
24656 -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
24657 -# Free Software Foundation, Inc.
24658 +# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
24659  # This Makefile.in is free software; the Free Software Foundation
24660  # gives unlimited permission to copy and/or distribute it,
24661  # with or without modifications, as long as this notice is preserved.
24662 @@ -12,369 +10,254 @@
24663  # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
24664  # PARTICULAR PURPOSE.
24665  
24666 -@SET_MAKE@
24667 +
24668 +SHELL = @SHELL@
24669  
24670  srcdir = @srcdir@
24671  top_srcdir = @top_srcdir@
24672  VPATH = @srcdir@
24673 +prefix = @prefix@
24674 +exec_prefix = @exec_prefix@
24675 +
24676 +bindir = @bindir@
24677 +sbindir = @sbindir@
24678 +libexecdir = @libexecdir@
24679 +datadir = @datadir@
24680 +sysconfdir = @sysconfdir@
24681 +sharedstatedir = @sharedstatedir@
24682 +localstatedir = @localstatedir@
24683 +libdir = @libdir@
24684 +infodir = @infodir@
24685 +mandir = @mandir@
24686 +includedir = @includedir@
24687 +oldincludedir = /usr/include
24688 +
24689 +DESTDIR =
24690 +
24691  pkgdatadir = $(datadir)/@PACKAGE@
24692  pkglibdir = $(libdir)/@PACKAGE@
24693  pkgincludedir = $(includedir)/@PACKAGE@
24694 +
24695  top_builddir = ../..
24696  
24697 -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24698 +ACLOCAL = @ACLOCAL@
24699 +AUTOCONF = @AUTOCONF@
24700 +AUTOMAKE = @AUTOMAKE@
24701 +AUTOHEADER = @AUTOHEADER@
24702 +
24703  INSTALL = @INSTALL@
24704 -install_sh_DATA = $(install_sh) -c -m 644
24705 -install_sh_PROGRAM = $(install_sh) -c
24706 -install_sh_SCRIPT = $(install_sh) -c
24707 -INSTALL_HEADER = $(INSTALL_DATA)
24708 -transform = $(program_transform_name)
24709 +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
24710 +INSTALL_DATA = @INSTALL_DATA@
24711 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
24712 +transform = @program_transform_name@
24713 +
24714  NORMAL_INSTALL = :
24715  PRE_INSTALL = :
24716  POST_INSTALL = :
24717  NORMAL_UNINSTALL = :
24718  PRE_UNINSTALL = :
24719  POST_UNINSTALL = :
24720 +host_alias = @host_alias@
24721  host_triplet = @host@
24722 -ACLOCAL = @ACLOCAL@
24723 -AMDEP_FALSE = @AMDEP_FALSE@
24724 -AMDEP_TRUE = @AMDEP_TRUE@
24725 -AMTAR = @AMTAR@
24726  AR = @AR@
24727 -AUTOCONF = @AUTOCONF@
24728 -AUTOHEADER = @AUTOHEADER@
24729 -AUTOMAKE = @AUTOMAKE@
24730 -AWK = @AWK@
24731 +AS = @AS@
24732  CC = @CC@
24733 -CCDEPMODE = @CCDEPMODE@
24734 -CFLAGS = @CFLAGS@
24735 -CPP = @CPP@
24736 -CPPFLAGS = @CPPFLAGS@
24737  CXX = @CXX@
24738  CXXCPP = @CXXCPP@
24739 -CXXDEPMODE = @CXXDEPMODE@
24740  CXXFLAGS = @CXXFLAGS@
24741 -CYGPATH_W = @CYGPATH_W@
24742 -DEFS = @DEFS@
24743 -DEPDIR = @DEPDIR@
24744 +DLLTOOL = @DLLTOOL@
24745  DOXYGEN = @DOXYGEN@
24746  ECHO = @ECHO@
24747 -ECHO_C = @ECHO_C@
24748 -ECHO_N = @ECHO_N@
24749 -ECHO_T = @ECHO_T@
24750  EGREP = @EGREP@
24751  EXEEXT = @EXEEXT@
24752  F77 = @F77@
24753 -FFLAGS = @FFLAGS@
24754 -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@
24755 -GTHREAD_LIBS = @GTHREAD_LIBS@
24756 +GCJ = @GCJ@
24757 +GCJFLAGS = @GCJFLAGS@
24758  GTKLIB = @GTKLIB@
24759  GTK_CFLAGS = @GTK_CFLAGS@
24760  GTK_LIBS = @GTK_LIBS@
24761 -INSTALL_DATA = @INSTALL_DATA@
24762 -INSTALL_PROGRAM = @INSTALL_PROGRAM@
24763 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
24764 -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
24765 +HAVE_LIB = @HAVE_LIB@
24766  ISODATE = @ISODATE@
24767  LDFLAGS = @LDFLAGS@
24768 -LIBOBJS = @LIBOBJS@
24769 -LIBS = @LIBS@
24770 +LIB = @LIB@
24771  LIBTOOL = @LIBTOOL@
24772  LN_S = @LN_S@
24773 -LTLIBOBJS = @LTLIBOBJS@
24774 +LTLIB = @LTLIB@
24775  M4 = @M4@
24776  MAKEINFO = @MAKEINFO@
24777  MAYBE_DOC = @MAYBE_DOC@
24778 +OBJDUMP = @OBJDUMP@
24779  OBJEXT = @OBJEXT@
24780  PACKAGE = @PACKAGE@
24781 -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
24782 -PACKAGE_NAME = @PACKAGE_NAME@
24783 -PACKAGE_STRING = @PACKAGE_STRING@
24784 -PACKAGE_TARNAME = @PACKAGE_TARNAME@
24785 -PACKAGE_VERSION = @PACKAGE_VERSION@
24786 -PATH_SEPARATOR = @PATH_SEPARATOR@
24787  PERL = @PERL@
24788  PKG_CONFIG = @PKG_CONFIG@
24789  PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
24790  PTHREAD_LIBS = @PTHREAD_LIBS@
24791  RANLIB = @RANLIB@
24792 -SET_MAKE = @SET_MAKE@
24793 -SHELL = @SHELL@
24794 +RC = @RC@
24795  SIGCX_BRANCH = @SIGCX_BRANCH@
24796  SIGCX_DEVBRANCH = @SIGCX_DEVBRANCH@
24797  SIGC_CFLAGS = @SIGC_CFLAGS@
24798  SIGC_LIBS = @SIGC_LIBS@
24799 +SIGC_MACROS = @SIGC_MACROS@
24800  STRIP = @STRIP@
24801  THREADS_USED = @THREADS_USED@
24802  THREAD_CFLAGS = @THREAD_CFLAGS@
24803  THREAD_LIBS = @THREAD_LIBS@
24804  VERSION = @VERSION@
24805 -ac_ct_AR = @ac_ct_AR@
24806 -ac_ct_CC = @ac_ct_CC@
24807 -ac_ct_CXX = @ac_ct_CXX@
24808 -ac_ct_F77 = @ac_ct_F77@
24809 -ac_ct_RANLIB = @ac_ct_RANLIB@
24810 -ac_ct_STRIP = @ac_ct_STRIP@
24811 -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
24812 -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
24813 -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
24814 -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
24815 -am__include = @am__include@
24816 -am__leading_dot = @am__leading_dot@
24817 -am__quote = @am__quote@
24818 -bindir = @bindir@
24819 -build = @build@
24820 -build_alias = @build_alias@
24821 -build_cpu = @build_cpu@
24822 -build_os = @build_os@
24823 -build_vendor = @build_vendor@
24824 -datadir = @datadir@
24825 -exec_prefix = @exec_prefix@
24826 -host = @host@
24827 -host_alias = @host_alias@
24828 -host_cpu = @host_cpu@
24829 -host_os = @host_os@
24830 -host_vendor = @host_vendor@
24831 -includedir = @includedir@
24832 -infodir = @infodir@
24833 -install_sh = @install_sh@
24834 -libdir = @libdir@
24835 -libexecdir = @libexecdir@
24836 -localstatedir = @localstatedir@
24837 -mandir = @mandir@
24838 -oldincludedir = @oldincludedir@
24839 -prefix = @prefix@
24840 -program_transform_name = @program_transform_name@
24841 -sbindir = @sbindir@
24842 -sharedstatedir = @sharedstatedir@
24843 -sysconfdir = @sysconfdir@
24844 -target_alias = @target_alias@
24845 -templates = template.macros.m4 tunnel.h.m4 convert.h.m4 bind3.h.m4 \
24846 -           ref_slot.h.m4 \
24847 -           corba_base.h.m4 corba_signal.h.m4 corba_convert.h.m4 \
24848 -           corba_tunnel.h.m4 corba_slot.h.m4
24849 +
24850 +templates = template.macros.m4 tunnel.h.m4 convert.h.m4 bind3.h.m4         ref_slot.h.m4           corba_base.h.m4 corba_signal.h.m4 corba_convert.h.m4            corba_tunnel.h.m4 corba_slot.h.m4
24851  
24852  
24853  m4includedir = $(includedir)/sigcx-@SIGCX_DEVBRANCH@/sigcx/macros
24854  m4include_HEADERS = $(templates)
24855  
24856  EXTRA_DIST = README $(templates)
24857 -subdir = sigcx/macros
24858 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
24859  mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
24860 -CONFIG_HEADER = $(top_builddir)/config.h
24861 -CONFIG_CLEAN_FILES =
24862 -DIST_SOURCES =
24863 -HEADERS = $(m4include_HEADERS)
24864 +CONFIG_HEADER = ../../config.h
24865 +CONFIG_CLEAN_FILES = 
24866 +HEADERS =  $(m4include_HEADERS)
24867 +
24868 +DIST_COMMON =  README Makefile.am Makefile.in
24869 +
24870  
24871 -DIST_COMMON = README $(m4include_HEADERS) Makefile.am Makefile.in
24872 -all: all-am
24873 +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
24874  
24875 +TAR = tar
24876 +GZIP_ENV = --best
24877 +all: all-redirect
24878  .SUFFIXES:
24879 -$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
24880 -       cd $(top_srcdir) && \
24881 -         $(AUTOMAKE) --gnu  sigcx/macros/Makefile
24882 -Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
24883 -       cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
24884 +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) 
24885 +       cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps sigcx/macros/Makefile
24886  
24887 -mostlyclean-libtool:
24888 -       -rm -f *.lo
24889 +Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
24890 +       cd $(top_builddir) \
24891 +         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
24892  
24893 -clean-libtool:
24894 -       -rm -rf .libs _libs
24895  
24896 -distclean-libtool:
24897 -       -rm -f libtool
24898 -uninstall-info-am:
24899 -m4includeHEADERS_INSTALL = $(INSTALL_HEADER)
24900  install-m4includeHEADERS: $(m4include_HEADERS)
24901         @$(NORMAL_INSTALL)
24902         $(mkinstalldirs) $(DESTDIR)$(m4includedir)
24903         @list='$(m4include_HEADERS)'; for p in $$list; do \
24904 -         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
24905 -         f="`echo $$p | sed -e 's|^.*/||'`"; \
24906 -         echo " $(m4includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(m4includedir)/$$f"; \
24907 -         $(m4includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(m4includedir)/$$f; \
24908 +         if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
24909 +         echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(m4includedir)/$$p"; \
24910 +         $(INSTALL_DATA) $$d$$p $(DESTDIR)$(m4includedir)/$$p; \
24911         done
24912  
24913  uninstall-m4includeHEADERS:
24914         @$(NORMAL_UNINSTALL)
24915 -       @list='$(m4include_HEADERS)'; for p in $$list; do \
24916 -         f="`echo $$p | sed -e 's|^.*/||'`"; \
24917 -         echo " rm -f $(DESTDIR)$(m4includedir)/$$f"; \
24918 -         rm -f $(DESTDIR)$(m4includedir)/$$f; \
24919 +       list='$(m4include_HEADERS)'; for p in $$list; do \
24920 +         rm -f $(DESTDIR)$(m4includedir)/$$p; \
24921         done
24922  
24923 -ETAGS = etags
24924 -ETAGSFLAGS =
24925 -
24926 -CTAGS = ctags
24927 -CTAGSFLAGS =
24928 -
24929  tags: TAGS
24930  
24931 -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
24932 -       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
24933 -       unique=`for i in $$list; do \
24934 -           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
24935 -         done | \
24936 -         $(AWK) '    { files[$$0] = 1; } \
24937 +ID: $(HEADERS) $(SOURCES) $(LISP)
24938 +       list='$(SOURCES) $(HEADERS)'; \
24939 +       unique=`for i in $$list; do echo $$i; done | \
24940 +         awk '    { files[$$0] = 1; } \
24941                END { for (i in files) print i; }'`; \
24942 -       mkid -fID $$unique
24943 +       here=`pwd` && cd $(srcdir) \
24944 +         && mkid -f$$here/ID $$unique $(LISP)
24945  
24946 -TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
24947 -               $(TAGS_FILES) $(LISP)
24948 -       tags=; \
24949 -       here=`pwd`; \
24950 -       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
24951 -       unique=`for i in $$list; do \
24952 -           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
24953 -         done | \
24954 -         $(AWK) '    { files[$$0] = 1; } \
24955 -              END { for (i in files) print i; }'`; \
24956 -       test -z "$(ETAGS_ARGS)$$tags$$unique" \
24957 -         || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
24958 -            $$tags $$unique
24959 -
24960 -ctags: CTAGS
24961 -CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
24962 -               $(TAGS_FILES) $(LISP)
24963 +TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
24964         tags=; \
24965         here=`pwd`; \
24966 -       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
24967 -       unique=`for i in $$list; do \
24968 -           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
24969 -         done | \
24970 -         $(AWK) '    { files[$$0] = 1; } \
24971 +       list='$(SOURCES) $(HEADERS)'; \
24972 +       unique=`for i in $$list; do echo $$i; done | \
24973 +         awk '    { files[$$0] = 1; } \
24974                END { for (i in files) print i; }'`; \
24975 -       test -z "$(CTAGS_ARGS)$$tags$$unique" \
24976 -         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
24977 -            $$tags $$unique
24978 -
24979 -GTAGS:
24980 -       here=`$(am__cd) $(top_builddir) && pwd` \
24981 -         && cd $(top_srcdir) \
24982 -         && gtags -i $(GTAGS_ARGS) $$here
24983 +       test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
24984 +         || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags  $$unique $(LISP))
24985 +
24986 +mostlyclean-tags:
24987 +
24988 +clean-tags:
24989  
24990  distclean-tags:
24991 -       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
24992 -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
24993 +       -rm -f TAGS ID
24994 +
24995 +maintainer-clean-tags:
24996 +
24997 +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
24998  
24999 -top_distdir = ../..
25000 -distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
25001 +subdir = sigcx/macros
25002  
25003  distdir: $(DISTFILES)
25004 -       @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
25005 -       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
25006 -       list='$(DISTFILES)'; for file in $$list; do \
25007 -         case $$file in \
25008 -           $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
25009 -           $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
25010 -         esac; \
25011 -         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
25012 -         dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
25013 -         if test "$$dir" != "$$file" && test "$$dir" != "."; then \
25014 -           dir="/$$dir"; \
25015 -           $(mkinstalldirs) "$(distdir)$$dir"; \
25016 -         else \
25017 -           dir=''; \
25018 -         fi; \
25019 +       @for file in $(DISTFILES); do \
25020 +         d=$(srcdir); \
25021           if test -d $$d/$$file; then \
25022 -           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
25023 -             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
25024 -           fi; \
25025 -           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
25026 +           cp -pr $$d/$$file $(distdir)/$$file; \
25027           else \
25028             test -f $(distdir)/$$file \
25029 -           || cp -p $$d/$$file $(distdir)/$$file \
25030 -           || exit 1; \
25031 +           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
25032 +           || cp -p $$d/$$file $(distdir)/$$file || :; \
25033           fi; \
25034         done
25035 +info-am:
25036 +info: info-am
25037 +dvi-am:
25038 +dvi: dvi-am
25039  check-am: all-am
25040  check: check-am
25041 -all-am: Makefile $(HEADERS)
25042 -
25043 -installdirs:
25044 -       $(mkinstalldirs) $(DESTDIR)$(m4includedir)
25045 -install: install-am
25046 +installcheck-am:
25047 +installcheck: installcheck-am
25048 +install-exec-am:
25049  install-exec: install-exec-am
25050 +
25051 +install-data-am: install-m4includeHEADERS
25052  install-data: install-data-am
25053 -uninstall: uninstall-am
25054  
25055  install-am: all-am
25056         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
25057 -
25058 -installcheck: installcheck-am
25059 +install: install-am
25060 +uninstall-am: uninstall-m4includeHEADERS
25061 +uninstall: uninstall-am
25062 +all-am: Makefile $(HEADERS)
25063 +all-redirect: all-am
25064  install-strip:
25065 -       $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
25066 -         INSTALL_STRIP_FLAG=-s \
25067 -         `test -z '$(STRIP)' || \
25068 -           echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
25069 +       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
25070 +installdirs:
25071 +       $(mkinstalldirs)  $(DESTDIR)$(m4includedir)
25072 +
25073 +
25074  mostlyclean-generic:
25075  
25076  clean-generic:
25077  
25078  distclean-generic:
25079         -rm -f Makefile $(CONFIG_CLEAN_FILES)
25080 +       -rm -f config.cache config.log stamp-h stamp-h[0-9]*
25081  
25082  maintainer-clean-generic:
25083 -       @echo "This command is intended for maintainers to use"
25084 -       @echo "it deletes files that may require special tools to rebuild."
25085 -clean: clean-am
25086 -
25087 -clean-am: clean-generic clean-libtool mostlyclean-am
25088 -
25089 -distclean: distclean-am
25090 -
25091 -distclean-am: clean-am distclean-generic distclean-libtool \
25092 -       distclean-tags
25093 -
25094 -dvi: dvi-am
25095 +mostlyclean-am:  mostlyclean-tags mostlyclean-generic
25096  
25097 -dvi-am:
25098 -
25099 -info: info-am
25100 -
25101 -info-am:
25102 +mostlyclean: mostlyclean-am
25103  
25104 -install-data-am: install-m4includeHEADERS
25105 +clean-am:  clean-tags clean-generic mostlyclean-am
25106  
25107 -install-exec-am:
25108 +clean: clean-am
25109  
25110 -install-info: install-info-am
25111 +distclean-am:  distclean-tags distclean-generic clean-am
25112 +       -rm -f libtool
25113  
25114 -install-man:
25115 +distclean: distclean-am
25116  
25117 -installcheck-am:
25118 +maintainer-clean-am:  maintainer-clean-tags maintainer-clean-generic \
25119 +               distclean-am
25120 +       @echo "This command is intended for maintainers to use;"
25121 +       @echo "it deletes files that may require special tools to rebuild."
25122  
25123  maintainer-clean: maintainer-clean-am
25124  
25125 -maintainer-clean-am: distclean-am maintainer-clean-generic
25126 -
25127 -mostlyclean: mostlyclean-am
25128 -
25129 -mostlyclean-am: mostlyclean-generic mostlyclean-libtool
25130 -
25131 -pdf: pdf-am
25132 -
25133 -pdf-am:
25134 -
25135 -ps: ps-am
25136 -
25137 -ps-am:
25138 -
25139 -uninstall-am: uninstall-info-am uninstall-m4includeHEADERS
25140 +.PHONY: uninstall-m4includeHEADERS install-m4includeHEADERS tags \
25141 +mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
25142 +distdir info-am info dvi-am dvi check check-am installcheck-am \
25143 +installcheck install-exec-am install-exec install-data-am install-data \
25144 +install-am install uninstall-am uninstall all-redirect all-am all \
25145 +installdirs mostlyclean-generic distclean-generic clean-generic \
25146 +maintainer-clean-generic clean mostlyclean distclean maintainer-clean
25147  
25148 -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
25149 -       clean-libtool ctags distclean distclean-generic \
25150 -       distclean-libtool distclean-tags distdir dvi dvi-am info \
25151 -       info-am install install-am install-data install-data-am \
25152 -       install-exec install-exec-am install-info install-info-am \
25153 -       install-m4includeHEADERS install-man install-strip installcheck \
25154 -       installcheck-am installdirs maintainer-clean \
25155 -       maintainer-clean-generic mostlyclean mostlyclean-generic \
25156 -       mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
25157 -       uninstall-am uninstall-info-am uninstall-m4includeHEADERS
25158  
25159  # Tell versions [3.59,3.63) of GNU make to not export all variables.
25160  # Otherwise a system limit (for SysV at least) may be exceeded.
25161 diff -ruN libsigcx-0.6.4-patched/tests/Makefile.in libsigcx-0.6.4-regen/tests/Makefile.in
25162 --- libsigcx-0.6.4-patched/tests/Makefile.in    2003-06-03 10:02:51.000000000 -0700
25163 +++ libsigcx-0.6.4-regen/tests/Makefile.in      2005-05-06 21:21:31.000000000 -0700
25164 @@ -1,8 +1,6 @@
25165 -# Makefile.in generated by automake 1.7.5 from Makefile.am.
25166 -# @configure_input@
25167 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
25168  
25169 -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
25170 -# Free Software Foundation, Inc.
25171 +# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
25172  # This Makefile.in is free software; the Free Software Foundation
25173  # gives unlimited permission to copy and/or distribute it,
25174  # with or without modifications, as long as this notice is preserved.
25175 @@ -12,304 +10,222 @@
25176  # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
25177  # PARTICULAR PURPOSE.
25178  
25179 -@SET_MAKE@
25180 +
25181 +SHELL = @SHELL@
25182  
25183  srcdir = @srcdir@
25184  top_srcdir = @top_srcdir@
25185  VPATH = @srcdir@
25186 +prefix = @prefix@
25187 +exec_prefix = @exec_prefix@
25188 +
25189 +bindir = @bindir@
25190 +sbindir = @sbindir@
25191 +libexecdir = @libexecdir@
25192 +datadir = @datadir@
25193 +sysconfdir = @sysconfdir@
25194 +sharedstatedir = @sharedstatedir@
25195 +localstatedir = @localstatedir@
25196 +libdir = @libdir@
25197 +infodir = @infodir@
25198 +mandir = @mandir@
25199 +includedir = @includedir@
25200 +oldincludedir = /usr/include
25201 +
25202 +DESTDIR =
25203 +
25204  pkgdatadir = $(datadir)/@PACKAGE@
25205  pkglibdir = $(libdir)/@PACKAGE@
25206  pkgincludedir = $(includedir)/@PACKAGE@
25207 +
25208  top_builddir = ..
25209  
25210 -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25211 +ACLOCAL = @ACLOCAL@
25212 +AUTOCONF = @AUTOCONF@
25213 +AUTOMAKE = @AUTOMAKE@
25214 +AUTOHEADER = @AUTOHEADER@
25215 +
25216  INSTALL = @INSTALL@
25217 -install_sh_DATA = $(install_sh) -c -m 644
25218 -install_sh_PROGRAM = $(install_sh) -c
25219 -install_sh_SCRIPT = $(install_sh) -c
25220 -INSTALL_HEADER = $(INSTALL_DATA)
25221 -transform = $(program_transform_name)
25222 +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
25223 +INSTALL_DATA = @INSTALL_DATA@
25224 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
25225 +transform = @program_transform_name@
25226 +
25227  NORMAL_INSTALL = :
25228  PRE_INSTALL = :
25229  POST_INSTALL = :
25230  NORMAL_UNINSTALL = :
25231  PRE_UNINSTALL = :
25232  POST_UNINSTALL = :
25233 +host_alias = @host_alias@
25234  host_triplet = @host@
25235 -ACLOCAL = @ACLOCAL@
25236 -AMDEP_FALSE = @AMDEP_FALSE@
25237 -AMDEP_TRUE = @AMDEP_TRUE@
25238 -AMTAR = @AMTAR@
25239  AR = @AR@
25240 -AUTOCONF = @AUTOCONF@
25241 -AUTOHEADER = @AUTOHEADER@
25242 -AUTOMAKE = @AUTOMAKE@
25243 -AWK = @AWK@
25244 +AS = @AS@
25245  CC = @CC@
25246 -CCDEPMODE = @CCDEPMODE@
25247 -CFLAGS = @CFLAGS@
25248 -CPP = @CPP@
25249 -CPPFLAGS = @CPPFLAGS@
25250  CXX = @CXX@
25251  CXXCPP = @CXXCPP@
25252 -CXXDEPMODE = @CXXDEPMODE@
25253  CXXFLAGS = @CXXFLAGS@
25254 -CYGPATH_W = @CYGPATH_W@
25255 -DEFS = @DEFS@
25256 -DEPDIR = @DEPDIR@
25257 +DLLTOOL = @DLLTOOL@
25258  DOXYGEN = @DOXYGEN@
25259  ECHO = @ECHO@
25260 -ECHO_C = @ECHO_C@
25261 -ECHO_N = @ECHO_N@
25262 -ECHO_T = @ECHO_T@
25263  EGREP = @EGREP@
25264  EXEEXT = @EXEEXT@
25265  F77 = @F77@
25266 -FFLAGS = @FFLAGS@
25267 -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@
25268 -GTHREAD_LIBS = @GTHREAD_LIBS@
25269 +GCJ = @GCJ@
25270 +GCJFLAGS = @GCJFLAGS@
25271  GTKLIB = @GTKLIB@
25272  GTK_CFLAGS = @GTK_CFLAGS@
25273  GTK_LIBS = @GTK_LIBS@
25274 -INSTALL_DATA = @INSTALL_DATA@
25275 -INSTALL_PROGRAM = @INSTALL_PROGRAM@
25276 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
25277 -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
25278 +HAVE_LIB = @HAVE_LIB@
25279  ISODATE = @ISODATE@
25280  LDFLAGS = @LDFLAGS@
25281 -LIBOBJS = @LIBOBJS@
25282 -LIBS = @LIBS@
25283 +LIB = @LIB@
25284  LIBTOOL = @LIBTOOL@
25285  LN_S = @LN_S@
25286 -LTLIBOBJS = @LTLIBOBJS@
25287 +LTLIB = @LTLIB@
25288  M4 = @M4@
25289  MAKEINFO = @MAKEINFO@
25290  MAYBE_DOC = @MAYBE_DOC@
25291 +OBJDUMP = @OBJDUMP@
25292  OBJEXT = @OBJEXT@
25293  PACKAGE = @PACKAGE@
25294 -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
25295 -PACKAGE_NAME = @PACKAGE_NAME@
25296 -PACKAGE_STRING = @PACKAGE_STRING@
25297 -PACKAGE_TARNAME = @PACKAGE_TARNAME@
25298 -PACKAGE_VERSION = @PACKAGE_VERSION@
25299 -PATH_SEPARATOR = @PATH_SEPARATOR@
25300  PERL = @PERL@
25301  PKG_CONFIG = @PKG_CONFIG@
25302  PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
25303  PTHREAD_LIBS = @PTHREAD_LIBS@
25304  RANLIB = @RANLIB@
25305 -SET_MAKE = @SET_MAKE@
25306 -SHELL = @SHELL@
25307 +RC = @RC@
25308  SIGCX_BRANCH = @SIGCX_BRANCH@
25309  SIGCX_DEVBRANCH = @SIGCX_DEVBRANCH@
25310  SIGC_CFLAGS = @SIGC_CFLAGS@
25311  SIGC_LIBS = @SIGC_LIBS@
25312 +SIGC_MACROS = @SIGC_MACROS@
25313  STRIP = @STRIP@
25314  THREADS_USED = @THREADS_USED@
25315  THREAD_CFLAGS = @THREAD_CFLAGS@
25316  THREAD_LIBS = @THREAD_LIBS@
25317  VERSION = @VERSION@
25318 -ac_ct_AR = @ac_ct_AR@
25319 -ac_ct_CC = @ac_ct_CC@
25320 -ac_ct_CXX = @ac_ct_CXX@
25321 -ac_ct_F77 = @ac_ct_F77@
25322 -ac_ct_RANLIB = @ac_ct_RANLIB@
25323 -ac_ct_STRIP = @ac_ct_STRIP@
25324 -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
25325 -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
25326 -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
25327 -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
25328 -am__include = @am__include@
25329 -am__leading_dot = @am__leading_dot@
25330 -am__quote = @am__quote@
25331 -bindir = @bindir@
25332 -build = @build@
25333 -build_alias = @build_alias@
25334 -build_cpu = @build_cpu@
25335 -build_os = @build_os@
25336 -build_vendor = @build_vendor@
25337 -datadir = @datadir@
25338 -exec_prefix = @exec_prefix@
25339 -host = @host@
25340 -host_alias = @host_alias@
25341 -host_cpu = @host_cpu@
25342 -host_os = @host_os@
25343 -host_vendor = @host_vendor@
25344 -includedir = @includedir@
25345 -infodir = @infodir@
25346 -install_sh = @install_sh@
25347 -libdir = @libdir@
25348 -libexecdir = @libexecdir@
25349 -localstatedir = @localstatedir@
25350 -mandir = @mandir@
25351 -oldincludedir = @oldincludedir@
25352 -prefix = @prefix@
25353 -program_transform_name = @program_transform_name@
25354 -sbindir = @sbindir@
25355 -sharedstatedir = @sharedstatedir@
25356 -sysconfdir = @sysconfdir@
25357 -target_alias = @target_alias@
25358 +
25359  AM_CPPFLAGS = -I$(top_srcdir) $(SIGC_CFLAGS) $(THREAD_CFLAGS)
25360  
25361 -LDADD = $(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la \
25362 -       $(THREAD_LIBS) $(SIGC_LIBS)
25363 +LDADD = $(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la    $(THREAD_LIBS) $(SIGC_LIBS)
25364  
25365  
25366  TESTS = x_thread_test ref_slot_test timeval_test
25367  
25368 -noinst_PROGRAMS = x_thread_test signal_handler_test convert_test \
25369 -                 ref_slot_test timeval_test
25370 -
25371 +noinst_PROGRAMS = x_thread_test signal_handler_test convert_test                 ref_slot_test timeval_test
25372  
25373  
25374  # noinst_HEADERS =
25375 +
25376  convert_test_SOURCES = convert_test.cc
25377  x_thread_test_SOURCES = x_thread_test.cc
25378  ref_slot_test_SOURCES = ref_slot_test.cc
25379  signal_handler_test_SOURCES = signal_handler_test.cc
25380  timeval_test_SOURCES = timeval_test.cc
25381 -subdir = tests
25382 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
25383  mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
25384 -CONFIG_HEADER = $(top_builddir)/config.h
25385 -CONFIG_CLEAN_FILES =
25386 -noinst_PROGRAMS = x_thread_test$(EXEEXT) signal_handler_test$(EXEEXT) \
25387 -       convert_test$(EXEEXT) ref_slot_test$(EXEEXT) \
25388 -       timeval_test$(EXEEXT)
25389 -PROGRAMS = $(noinst_PROGRAMS)
25390 +CONFIG_HEADER = ../config.h
25391 +CONFIG_CLEAN_FILES = 
25392 +noinst_PROGRAMS =  x_thread_test$(EXEEXT) signal_handler_test$(EXEEXT) \
25393 +convert_test$(EXEEXT) ref_slot_test$(EXEEXT) timeval_test$(EXEEXT)
25394 +PROGRAMS =  $(noinst_PROGRAMS)
25395  
25396 -am_convert_test_OBJECTS = convert_test.$(OBJEXT)
25397 -convert_test_OBJECTS = $(am_convert_test_OBJECTS)
25398 +
25399 +DEFS = @DEFS@ -I. -I$(srcdir) -I..
25400 +CPPFLAGS = @CPPFLAGS@
25401 +LIBS = @LIBS@
25402 +x_thread_test_OBJECTS =  x_thread_test.$(OBJEXT)
25403 +x_thread_test_LDADD = $(LDADD)
25404 +x_thread_test_DEPENDENCIES =  \
25405 +$(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
25406 +x_thread_test_LDFLAGS = 
25407 +signal_handler_test_OBJECTS =  signal_handler_test.$(OBJEXT)
25408 +signal_handler_test_LDADD = $(LDADD)
25409 +signal_handler_test_DEPENDENCIES =  \
25410 +$(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
25411 +signal_handler_test_LDFLAGS = 
25412 +convert_test_OBJECTS =  convert_test.$(OBJEXT)
25413  convert_test_LDADD = $(LDADD)
25414 -convert_test_DEPENDENCIES = \
25415 -       $(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
25416 -convert_test_LDFLAGS =
25417 -am_ref_slot_test_OBJECTS = ref_slot_test.$(OBJEXT)
25418 -ref_slot_test_OBJECTS = $(am_ref_slot_test_OBJECTS)
25419 +convert_test_DEPENDENCIES =  \
25420 +$(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
25421 +convert_test_LDFLAGS = 
25422 +ref_slot_test_OBJECTS =  ref_slot_test.$(OBJEXT)
25423  ref_slot_test_LDADD = $(LDADD)
25424 -ref_slot_test_DEPENDENCIES = \
25425 -       $(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
25426 -ref_slot_test_LDFLAGS =
25427 -am_signal_handler_test_OBJECTS = signal_handler_test.$(OBJEXT)
25428 -signal_handler_test_OBJECTS = $(am_signal_handler_test_OBJECTS)
25429 -signal_handler_test_LDADD = $(LDADD)
25430 -signal_handler_test_DEPENDENCIES = \
25431 -       $(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
25432 -signal_handler_test_LDFLAGS =
25433 -am_timeval_test_OBJECTS = timeval_test.$(OBJEXT)
25434 -timeval_test_OBJECTS = $(am_timeval_test_OBJECTS)
25435 +ref_slot_test_DEPENDENCIES =  \
25436 +$(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
25437 +ref_slot_test_LDFLAGS = 
25438 +timeval_test_OBJECTS =  timeval_test.$(OBJEXT)
25439  timeval_test_LDADD = $(LDADD)
25440 -timeval_test_DEPENDENCIES = \
25441 -       $(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
25442 -timeval_test_LDFLAGS =
25443 -am_x_thread_test_OBJECTS = x_thread_test.$(OBJEXT)
25444 -x_thread_test_OBJECTS = $(am_x_thread_test_OBJECTS)
25445 -x_thread_test_LDADD = $(LDADD)
25446 -x_thread_test_DEPENDENCIES = \
25447 -       $(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
25448 -x_thread_test_LDFLAGS =
25449 -
25450 -DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
25451 -depcomp = $(SHELL) $(top_srcdir)/scripts/depcomp
25452 -am__depfiles_maybe = depfiles
25453 -@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/convert_test.Po \
25454 -@AMDEP_TRUE@   ./$(DEPDIR)/ref_slot_test.Po \
25455 -@AMDEP_TRUE@   ./$(DEPDIR)/signal_handler_test.Po \
25456 -@AMDEP_TRUE@   ./$(DEPDIR)/timeval_test.Po \
25457 -@AMDEP_TRUE@   ./$(DEPDIR)/x_thread_test.Po
25458 -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
25459 -       $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
25460 -LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
25461 -       $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
25462 -       $(AM_CXXFLAGS) $(CXXFLAGS)
25463 +timeval_test_DEPENDENCIES =  \
25464 +$(top_builddir)/sigcx/libsigcx-@SIGCX_DEVBRANCH@.la
25465 +timeval_test_LDFLAGS = 
25466 +CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
25467 +LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
25468  CXXLD = $(CXX)
25469 -CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
25470 -       $(AM_LDFLAGS) $(LDFLAGS) -o $@
25471 -DIST_SOURCES = $(convert_test_SOURCES) $(ref_slot_test_SOURCES) \
25472 -       $(signal_handler_test_SOURCES) $(timeval_test_SOURCES) \
25473 -       $(x_thread_test_SOURCES)
25474 -DIST_COMMON = README Makefile.am Makefile.in
25475 -SOURCES = $(convert_test_SOURCES) $(ref_slot_test_SOURCES) $(signal_handler_test_SOURCES) $(timeval_test_SOURCES) $(x_thread_test_SOURCES)
25476 +CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
25477 +DIST_COMMON =  README Makefile.am Makefile.in
25478 +
25479 +
25480 +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
25481  
25482 -all: all-am
25483 +TAR = tar
25484 +GZIP_ENV = --best
25485 +SOURCES = $(x_thread_test_SOURCES) $(signal_handler_test_SOURCES) $(convert_test_SOURCES) $(ref_slot_test_SOURCES) $(timeval_test_SOURCES)
25486 +OBJECTS = $(x_thread_test_OBJECTS) $(signal_handler_test_OBJECTS) $(convert_test_OBJECTS) $(ref_slot_test_OBJECTS) $(timeval_test_OBJECTS)
25487  
25488 +all: all-redirect
25489  .SUFFIXES:
25490 -.SUFFIXES: .cc .lo .o .obj
25491 -$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
25492 -       cd $(top_srcdir) && \
25493 -         $(AUTOMAKE) --gnu  tests/Makefile
25494 -Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
25495 -       cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
25496 +.SUFFIXES: .S .c .cc .lo .o .obj .s
25497 +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) 
25498 +       cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps tests/Makefile
25499 +
25500 +Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
25501 +       cd $(top_builddir) \
25502 +         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
25503 +
25504 +
25505 +mostlyclean-noinstPROGRAMS:
25506  
25507  clean-noinstPROGRAMS:
25508 -       @list='$(noinst_PROGRAMS)'; for p in $$list; do \
25509 -         f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
25510 -         echo " rm -f $$p $$f"; \
25511 -         rm -f $$p $$f ; \
25512 -       done
25513 -convert_test$(EXEEXT): $(convert_test_OBJECTS) $(convert_test_DEPENDENCIES) 
25514 -       @rm -f convert_test$(EXEEXT)
25515 -       $(CXXLINK) $(convert_test_LDFLAGS) $(convert_test_OBJECTS) $(convert_test_LDADD) $(LIBS)
25516 -ref_slot_test$(EXEEXT): $(ref_slot_test_OBJECTS) $(ref_slot_test_DEPENDENCIES) 
25517 -       @rm -f ref_slot_test$(EXEEXT)
25518 -       $(CXXLINK) $(ref_slot_test_LDFLAGS) $(ref_slot_test_OBJECTS) $(ref_slot_test_LDADD) $(LIBS)
25519 -signal_handler_test$(EXEEXT): $(signal_handler_test_OBJECTS) $(signal_handler_test_DEPENDENCIES) 
25520 -       @rm -f signal_handler_test$(EXEEXT)
25521 -       $(CXXLINK) $(signal_handler_test_LDFLAGS) $(signal_handler_test_OBJECTS) $(signal_handler_test_LDADD) $(LIBS)
25522 -timeval_test$(EXEEXT): $(timeval_test_OBJECTS) $(timeval_test_DEPENDENCIES) 
25523 -       @rm -f timeval_test$(EXEEXT)
25524 -       $(CXXLINK) $(timeval_test_LDFLAGS) $(timeval_test_OBJECTS) $(timeval_test_LDADD) $(LIBS)
25525 -x_thread_test$(EXEEXT): $(x_thread_test_OBJECTS) $(x_thread_test_DEPENDENCIES) 
25526 -       @rm -f x_thread_test$(EXEEXT)
25527 -       $(CXXLINK) $(x_thread_test_LDFLAGS) $(x_thread_test_OBJECTS) $(x_thread_test_LDADD) $(LIBS)
25528 +       -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
25529 +
25530 +distclean-noinstPROGRAMS:
25531 +
25532 +maintainer-clean-noinstPROGRAMS:
25533 +
25534 +.c.o:
25535 +       $(COMPILE) -c $<
25536 +
25537 +# FIXME: We should only use cygpath when building on Windows,
25538 +# and only if it is available.
25539 +.c.obj:
25540 +       $(COMPILE) -c `cygpath -w $<`
25541 +
25542 +.s.o:
25543 +       $(COMPILE) -c $<
25544 +
25545 +.S.o:
25546 +       $(COMPILE) -c $<
25547  
25548  mostlyclean-compile:
25549 -       -rm -f *.$(OBJEXT) core *.core
25550 +       -rm -f *.o core *.core
25551 +       -rm -f *.$(OBJEXT)
25552 +
25553 +clean-compile:
25554  
25555  distclean-compile:
25556         -rm -f *.tab.c
25557  
25558 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/convert_test.Po@am__quote@
25559 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ref_slot_test.Po@am__quote@
25560 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/signal_handler_test.Po@am__quote@
25561 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timeval_test.Po@am__quote@
25562 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_thread_test.Po@am__quote@
25563 +maintainer-clean-compile:
25564  
25565 -distclean-depend:
25566 -       -rm -rf ./$(DEPDIR)
25567 +.c.lo:
25568 +       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
25569  
25570 -.cc.o:
25571 -@am__fastdepCXX_TRUE@  if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
25572 -@am__fastdepCXX_TRUE@    -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
25573 -@am__fastdepCXX_TRUE@  then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
25574 -@am__fastdepCXX_TRUE@  else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
25575 -@am__fastdepCXX_TRUE@  fi
25576 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
25577 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
25578 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
25579 -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
25580 +.s.lo:
25581 +       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
25582  
25583 -.cc.obj:
25584 -@am__fastdepCXX_TRUE@  if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
25585 -@am__fastdepCXX_TRUE@    -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
25586 -@am__fastdepCXX_TRUE@  then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
25587 -@am__fastdepCXX_TRUE@  else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
25588 -@am__fastdepCXX_TRUE@  fi
25589 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
25590 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
25591 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
25592 -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
25593 -
25594 -.cc.lo:
25595 -@am__fastdepCXX_TRUE@  if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
25596 -@am__fastdepCXX_TRUE@    -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
25597 -@am__fastdepCXX_TRUE@  then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
25598 -@am__fastdepCXX_TRUE@  else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
25599 -@am__fastdepCXX_TRUE@  fi
25600 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
25601 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
25602 -@AMDEP_TRUE@@am__fastdepCXX_FALSE@     $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
25603 -@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
25604 +.S.lo:
25605 +       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
25606  
25607  mostlyclean-libtool:
25608         -rm -f *.lo
25609 @@ -318,255 +234,180 @@
25610         -rm -rf .libs _libs
25611  
25612  distclean-libtool:
25613 -       -rm -f libtool
25614 -uninstall-info-am:
25615  
25616 -ETAGS = etags
25617 -ETAGSFLAGS =
25618 +maintainer-clean-libtool:
25619 +
25620 +x_thread_test$(EXEEXT): $(x_thread_test_OBJECTS) $(x_thread_test_DEPENDENCIES)
25621 +       @rm -f x_thread_test$(EXEEXT)
25622 +       $(CXXLINK) $(x_thread_test_LDFLAGS) $(x_thread_test_OBJECTS) $(x_thread_test_LDADD) $(LIBS)
25623 +
25624 +signal_handler_test$(EXEEXT): $(signal_handler_test_OBJECTS) $(signal_handler_test_DEPENDENCIES)
25625 +       @rm -f signal_handler_test$(EXEEXT)
25626 +       $(CXXLINK) $(signal_handler_test_LDFLAGS) $(signal_handler_test_OBJECTS) $(signal_handler_test_LDADD) $(LIBS)
25627 +
25628 +convert_test$(EXEEXT): $(convert_test_OBJECTS) $(convert_test_DEPENDENCIES)
25629 +       @rm -f convert_test$(EXEEXT)
25630 +       $(CXXLINK) $(convert_test_LDFLAGS) $(convert_test_OBJECTS) $(convert_test_LDADD) $(LIBS)
25631 +
25632 +ref_slot_test$(EXEEXT): $(ref_slot_test_OBJECTS) $(ref_slot_test_DEPENDENCIES)
25633 +       @rm -f ref_slot_test$(EXEEXT)
25634 +       $(CXXLINK) $(ref_slot_test_LDFLAGS) $(ref_slot_test_OBJECTS) $(ref_slot_test_LDADD) $(LIBS)
25635  
25636 -CTAGS = ctags
25637 -CTAGSFLAGS =
25638 +timeval_test$(EXEEXT): $(timeval_test_OBJECTS) $(timeval_test_DEPENDENCIES)
25639 +       @rm -f timeval_test$(EXEEXT)
25640 +       $(CXXLINK) $(timeval_test_LDFLAGS) $(timeval_test_OBJECTS) $(timeval_test_LDADD) $(LIBS)
25641 +.cc.o:
25642 +       $(CXXCOMPILE) -c $<
25643 +.cc.obj:
25644 +       $(CXXCOMPILE) -c `cygpath -w $<`
25645 +.cc.lo:
25646 +       $(LTCXXCOMPILE) -c $<
25647  
25648  tags: TAGS
25649  
25650 -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
25651 -       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
25652 -       unique=`for i in $$list; do \
25653 -           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
25654 -         done | \
25655 -         $(AWK) '    { files[$$0] = 1; } \
25656 +ID: $(HEADERS) $(SOURCES) $(LISP)
25657 +       list='$(SOURCES) $(HEADERS)'; \
25658 +       unique=`for i in $$list; do echo $$i; done | \
25659 +         awk '    { files[$$0] = 1; } \
25660                END { for (i in files) print i; }'`; \
25661 -       mkid -fID $$unique
25662 +       here=`pwd` && cd $(srcdir) \
25663 +         && mkid -f$$here/ID $$unique $(LISP)
25664  
25665 -TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
25666 -               $(TAGS_FILES) $(LISP)
25667 -       tags=; \
25668 -       here=`pwd`; \
25669 -       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
25670 -       unique=`for i in $$list; do \
25671 -           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
25672 -         done | \
25673 -         $(AWK) '    { files[$$0] = 1; } \
25674 -              END { for (i in files) print i; }'`; \
25675 -       test -z "$(ETAGS_ARGS)$$tags$$unique" \
25676 -         || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
25677 -            $$tags $$unique
25678 -
25679 -ctags: CTAGS
25680 -CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
25681 -               $(TAGS_FILES) $(LISP)
25682 +TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
25683         tags=; \
25684         here=`pwd`; \
25685 -       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
25686 -       unique=`for i in $$list; do \
25687 -           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
25688 -         done | \
25689 -         $(AWK) '    { files[$$0] = 1; } \
25690 +       list='$(SOURCES) $(HEADERS)'; \
25691 +       unique=`for i in $$list; do echo $$i; done | \
25692 +         awk '    { files[$$0] = 1; } \
25693                END { for (i in files) print i; }'`; \
25694 -       test -z "$(CTAGS_ARGS)$$tags$$unique" \
25695 -         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
25696 -            $$tags $$unique
25697 -
25698 -GTAGS:
25699 -       here=`$(am__cd) $(top_builddir) && pwd` \
25700 -         && cd $(top_srcdir) \
25701 -         && gtags -i $(GTAGS_ARGS) $$here
25702 +       test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
25703 +         || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags  $$unique $(LISP))
25704 +
25705 +mostlyclean-tags:
25706 +
25707 +clean-tags:
25708  
25709  distclean-tags:
25710 -       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
25711 +       -rm -f TAGS ID
25712  
25713 -check-TESTS: $(TESTS)
25714 -       @failed=0; all=0; xfail=0; xpass=0; skip=0; \
25715 -       srcdir=$(srcdir); export srcdir; \
25716 -       list='$(TESTS)'; \
25717 -       if test -n "$$list"; then \
25718 -         for tst in $$list; do \
25719 -           if test -f ./$$tst; then dir=./; \
25720 -           elif test -f $$tst; then dir=; \
25721 -           else dir="$(srcdir)/"; fi; \
25722 -           if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
25723 -             all=`expr $$all + 1`; \
25724 -             case " $(XFAIL_TESTS) " in \
25725 -             *" $$tst "*) \
25726 -               xpass=`expr $$xpass + 1`; \
25727 -               failed=`expr $$failed + 1`; \
25728 -               echo "XPASS: $$tst"; \
25729 -             ;; \
25730 -             *) \
25731 -               echo "PASS: $$tst"; \
25732 -             ;; \
25733 -             esac; \
25734 -           elif test $$? -ne 77; then \
25735 -             all=`expr $$all + 1`; \
25736 -             case " $(XFAIL_TESTS) " in \
25737 -             *" $$tst "*) \
25738 -               xfail=`expr $$xfail + 1`; \
25739 -               echo "XFAIL: $$tst"; \
25740 -             ;; \
25741 -             *) \
25742 -               failed=`expr $$failed + 1`; \
25743 -               echo "FAIL: $$tst"; \
25744 -             ;; \
25745 -             esac; \
25746 -           else \
25747 -             skip=`expr $$skip + 1`; \
25748 -             echo "SKIP: $$tst"; \
25749 -           fi; \
25750 -         done; \
25751 -         if test "$$failed" -eq 0; then \
25752 -           if test "$$xfail" -eq 0; then \
25753 -             banner="All $$all tests passed"; \
25754 -           else \
25755 -             banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
25756 -           fi; \
25757 -         else \
25758 -           if test "$$xpass" -eq 0; then \
25759 -             banner="$$failed of $$all tests failed"; \
25760 -           else \
25761 -             banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
25762 -           fi; \
25763 -         fi; \
25764 -         dashes="$$banner"; \
25765 -         skipped=""; \
25766 -         if test "$$skip" -ne 0; then \
25767 -           skipped="($$skip tests were not run)"; \
25768 -           test `echo "$$skipped" | wc -c` -gt `echo "$$banner" | wc -c` && \
25769 -             dashes="$$skipped"; \
25770 -         fi; \
25771 -         report=""; \
25772 -         if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
25773 -           report="Please report to $(PACKAGE_BUGREPORT)"; \
25774 -           test `echo "$$report" | wc -c` -gt `echo "$$banner" | wc -c` && \
25775 -             dashes="$$report"; \
25776 -         fi; \
25777 -         dashes=`echo "$$dashes" | sed s/./=/g`; \
25778 -         echo "$$dashes"; \
25779 -         echo "$$banner"; \
25780 -         test -n "$$skipped" && echo "$$skipped"; \
25781 -         test -n "$$report" && echo "$$report"; \
25782 -         echo "$$dashes"; \
25783 -         test "$$failed" -eq 0; \
25784 -       else :; fi
25785 -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
25786 +maintainer-clean-tags:
25787  
25788 -top_distdir = ..
25789 -distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
25790 +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
25791 +
25792 +subdir = tests
25793  
25794  distdir: $(DISTFILES)
25795 -       @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
25796 -       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
25797 -       list='$(DISTFILES)'; for file in $$list; do \
25798 -         case $$file in \
25799 -           $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
25800 -           $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
25801 -         esac; \
25802 -         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
25803 -         dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
25804 -         if test "$$dir" != "$$file" && test "$$dir" != "."; then \
25805 -           dir="/$$dir"; \
25806 -           $(mkinstalldirs) "$(distdir)$$dir"; \
25807 -         else \
25808 -           dir=''; \
25809 -         fi; \
25810 +       @for file in $(DISTFILES); do \
25811 +         d=$(srcdir); \
25812           if test -d $$d/$$file; then \
25813 -           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
25814 -             cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
25815 -           fi; \
25816 -           cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
25817 +           cp -pr $$d/$$file $(distdir)/$$file; \
25818           else \
25819             test -f $(distdir)/$$file \
25820 -           || cp -p $$d/$$file $(distdir)/$$file \
25821 -           || exit 1; \
25822 +           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
25823 +           || cp -p $$d/$$file $(distdir)/$$file || :; \
25824           fi; \
25825         done
25826 +
25827 +check-TESTS: $(TESTS)
25828 +       @failed=0; all=0; \
25829 +       srcdir=$(srcdir); export srcdir; \
25830 +       for tst in $(TESTS); do \
25831 +         if test -f $$tst; then dir=.; \
25832 +         else dir="$(srcdir)"; fi; \
25833 +         if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
25834 +           all=`expr $$all + 1`; \
25835 +           echo "PASS: $$tst"; \
25836 +         elif test $$? -ne 77; then \
25837 +           all=`expr $$all + 1`; \
25838 +           failed=`expr $$failed + 1`; \
25839 +           echo "FAIL: $$tst"; \
25840 +         fi; \
25841 +       done; \
25842 +       if test "$$failed" -eq 0; then \
25843 +         banner="All $$all tests passed"; \
25844 +       else \
25845 +         banner="$$failed of $$all tests failed"; \
25846 +       fi; \
25847 +       dashes=`echo "$$banner" | sed s/./=/g`; \
25848 +       echo "$$dashes"; \
25849 +       echo "$$banner"; \
25850 +       echo "$$dashes"; \
25851 +       test "$$failed" -eq 0
25852 +info-am:
25853 +info: info-am
25854 +dvi-am:
25855 +dvi: dvi-am
25856  check-am: all-am
25857         $(MAKE) $(AM_MAKEFLAGS) check-TESTS
25858  check: check-am
25859 -all-am: Makefile $(PROGRAMS)
25860 -
25861 -installdirs:
25862 -install: install-am
25863 +installcheck-am:
25864 +installcheck: installcheck-am
25865 +install-exec-am:
25866  install-exec: install-exec-am
25867 +
25868 +install-data-am:
25869  install-data: install-data-am
25870 -uninstall: uninstall-am
25871  
25872  install-am: all-am
25873         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
25874 -
25875 -installcheck: installcheck-am
25876 +install: install-am
25877 +uninstall-am:
25878 +uninstall: uninstall-am
25879 +all-am: Makefile $(PROGRAMS)
25880 +all-redirect: all-am
25881  install-strip:
25882 -       $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
25883 -         INSTALL_STRIP_FLAG=-s \
25884 -         `test -z '$(STRIP)' || \
25885 -           echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
25886 +       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
25887 +installdirs:
25888 +
25889 +
25890  mostlyclean-generic:
25891  
25892  clean-generic:
25893  
25894  distclean-generic:
25895         -rm -f Makefile $(CONFIG_CLEAN_FILES)
25896 +       -rm -f config.cache config.log stamp-h stamp-h[0-9]*
25897  
25898  maintainer-clean-generic:
25899 -       @echo "This command is intended for maintainers to use"
25900 -       @echo "it deletes files that may require special tools to rebuild."
25901 -clean: clean-am
25902 -
25903 -clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
25904 -       mostlyclean-am
25905 -
25906 -distclean: distclean-am
25907 -
25908 -distclean-am: clean-am distclean-compile distclean-depend \
25909 -       distclean-generic distclean-libtool distclean-tags
25910 +mostlyclean-am:  mostlyclean-noinstPROGRAMS mostlyclean-compile \
25911 +               mostlyclean-libtool mostlyclean-tags \
25912 +               mostlyclean-generic
25913  
25914 -dvi: dvi-am
25915 -
25916 -dvi-am:
25917 -
25918 -info: info-am
25919 -
25920 -info-am:
25921 +mostlyclean: mostlyclean-am
25922  
25923 -install-data-am:
25924 +clean-am:  clean-noinstPROGRAMS clean-compile clean-libtool clean-tags \
25925 +               clean-generic mostlyclean-am
25926  
25927 -install-exec-am:
25928 +clean: clean-am
25929  
25930 -install-info: install-info-am
25931 +distclean-am:  distclean-noinstPROGRAMS distclean-compile \
25932 +               distclean-libtool distclean-tags distclean-generic \
25933 +               clean-am
25934 +       -rm -f libtool
25935  
25936 -install-man:
25937 +distclean: distclean-am
25938  
25939 -installcheck-am:
25940 +maintainer-clean-am:  maintainer-clean-noinstPROGRAMS \
25941 +               maintainer-clean-compile maintainer-clean-libtool \
25942 +               maintainer-clean-tags maintainer-clean-generic \
25943 +               distclean-am
25944 +       @echo "This command is intended for maintainers to use;"
25945 +       @echo "it deletes files that may require special tools to rebuild."
25946  
25947  maintainer-clean: maintainer-clean-am
25948  
25949 -maintainer-clean-am: distclean-am maintainer-clean-generic
25950 -
25951 -mostlyclean: mostlyclean-am
25952 -
25953 -mostlyclean-am: mostlyclean-compile mostlyclean-generic \
25954 -       mostlyclean-libtool
25955 -
25956 -pdf: pdf-am
25957 -
25958 -pdf-am:
25959 -
25960 -ps: ps-am
25961 +.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
25962 +clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
25963 +mostlyclean-compile distclean-compile clean-compile \
25964 +maintainer-clean-compile mostlyclean-libtool distclean-libtool \
25965 +clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
25966 +distclean-tags clean-tags maintainer-clean-tags distdir check-TESTS \
25967 +info-am info dvi-am dvi check check-am installcheck-am installcheck \
25968 +install-exec-am install-exec install-data-am install-data install-am \
25969 +install uninstall-am uninstall all-redirect all-am all installdirs \
25970 +mostlyclean-generic distclean-generic clean-generic \
25971 +maintainer-clean-generic clean mostlyclean distclean maintainer-clean
25972  
25973 -ps-am:
25974 -
25975 -uninstall-am: uninstall-info-am
25976 -
25977 -.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
25978 -       clean-generic clean-libtool clean-noinstPROGRAMS ctags \
25979 -       distclean distclean-compile distclean-depend distclean-generic \
25980 -       distclean-libtool distclean-tags distdir dvi dvi-am info \
25981 -       info-am install install-am install-data install-data-am \
25982 -       install-exec install-exec-am install-info install-info-am \
25983 -       install-man install-strip installcheck installcheck-am \
25984 -       installdirs maintainer-clean maintainer-clean-generic \
25985 -       mostlyclean mostlyclean-compile mostlyclean-generic \
25986 -       mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
25987 -       uninstall-am uninstall-info-am
25988  
25989  # Tell versions [3.59,3.63) of GNU make to not export all variables.
25990  # Otherwise a system limit (for SysV at least) may be exceeded.