Merge lp:~kamalmostafa/ubuntu/lucid/libticables/merge-526694 into lp:ubuntu/lucid/libticables

Proposed by Kamal Mostafa
Status: Merged
Merge reported by: Kamal Mostafa
Merged at revision: not available
Proposed branch: lp:~kamalmostafa/ubuntu/lucid/libticables/merge-526694
Merge into: lp:ubuntu/lucid/libticables
Diff against target: 17878 lines (+3024/-9444)
58 files modified
ChangeLog (+10/-1)
Makefile.in (+21/-38)
README (+1/-1)
aclocal.m4 (+806/-1599)
build/fedora/libticables2.spec (+0/-207)
build/mingw/Makefile (+37/-58)
build/mingw/Makefile.in (+7/-28)
build/mingw/ticables2.rc (+5/-5)
build/msvc/test_ticables2.dsp (+4/-4)
build/msvc/ticables2.dsp (+18/-18)
config.guess (+43/-17)
config.sub (+64/-14)
configure (+1775/-6899)
configure.ac (+6/-6)
debian/changelog (+0/-5)
debian/compat (+0/-1)
debian/control (+0/-29)
debian/copyright (+0/-72)
debian/docs (+0/-4)
debian/libticables-dev.dirs (+0/-2)
debian/libticables-dev.doc-base (+9/-0)
debian/libticables-dev.docs (+0/-1)
debian/libticables-dev.install (+0/-4)
debian/libticables2-1.dirs (+0/-1)
debian/libticables2-1.docs (+0/-1)
debian/libticables2-1.install (+0/-2)
debian/libticables2-1.postinst (+0/-36)
debian/libticables2-1.postrm (+0/-12)
debian/libticables2-1.udev (+0/-17)
debian/libticables2-2.README.Debian (+32/-0)
debian/libticables2-2.install (+2/-0)
debian/libticables2-2.postinst (+22/-0)
debian/libticables2-2.preinst (+15/-0)
debian/rules (+0/-107)
debian/udev/45-libticables.rules (+6/-0)
docs/Makefile.in (+7/-28)
po/fr.po (+1/-1)
po/libticables2.pot (+1/-1)
src/Makefile.in (+18/-40)
src/data_log.c (+8/-1)
src/data_log.h (+3/-1)
src/hex2dbus.c (+1/-1)
src/hex2nsp.c (+1/-1)
src/linux/detect.c (+2/-1)
src/linux/link_gry.c (+2/-2)
src/linux/link_usb.c (+2/-2)
src/log_dbus.c (+2/-8)
src/log_dusb.c (+2/-8)
src/log_hex.c (+2/-7)
src/log_nsp.c (+2/-8)
src/ticables.c (+2/-2)
src/ticables.h (+3/-3)
src/type2str.c (+22/-21)
src/win32/dha/Makefile.in (+16/-38)
src/win32/link_tie.c (+5/-3)
src/win32/link_vti.c (+9/-4)
src/win64/rwp/Makefile.in (+16/-38)
tests/Makefile.in (+14/-36)
To merge this branch: bzr merge lp:~kamalmostafa/ubuntu/lucid/libticables/merge-526694
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+20007@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :

This libticables merge is part of the "drop the 2 from libti*2" project. We've done the same thing to libtifiles2 and libticalcs2 in Lucid.

The upshot is that once this gets merged into libticables, we can remove the libticables2 package from Lucid.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ChangeLog'
--- ChangeLog 2009-05-17 13:34:18 +0000
+++ ChangeLog 2010-02-23 21:48:16 +0000
@@ -1,7 +1,16 @@
1SubVersion: $Id: ChangeLog 4035 2007-12-01 14:43:51Z roms $1SubVersion: $Id: ChangeLog 4252 2009-05-08 11:28:09Z roms $
22
3Log:3Log:
44
5- 03/05/2009, version 1.3.0: roms
6 - removed obsolete virtual link cable
7 - fixed possible buffer overflow in DBUS packet decompiler
8
9- 01/01/2009, version 1.2.1: roms
10 - modified ticables_string_to_model to be case unsensitive like
11 other functions
12 - log files are stored now in the user's folder rather than a static location (Vista)
13
5- 16/10/2007, version 1.2.0: roms14- 16/10/2007, version 1.2.0: roms
6 - reverted back a wrong commit done in rev. 3042 (31/10/2006 !!!): 15 - reverted back a wrong commit done in rev. 3042 (31/10/2006 !!!):
7 USB reset code had been removed from slv_reset.16 USB reset code had been removed from slv_reset.
817
=== modified file 'Makefile.in'
--- Makefile.in 2009-05-17 13:34:18 +0000
+++ Makefile.in 2010-02-23 21:48:16 +0000
@@ -1,8 +1,8 @@
1# Makefile.in generated by automake 1.10 from Makefile.am.1# Makefile.in generated by automake 1.10.1 from Makefile.am.
2# @configure_input@2# @configure_input@
33
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.5# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6# This Makefile.in is free software; the Free Software Foundation6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.8# with or without modifications, as long as this notice is preserved.
@@ -83,7 +83,6 @@
83distuninstallcheck_listfiles = find . -type f -print83distuninstallcheck_listfiles = find . -type f -print
84distcleancheck_listfiles = find . -type f -print84distcleancheck_listfiles = find . -type f -print
85ACLOCAL = @ACLOCAL@85ACLOCAL = @ACLOCAL@
86ALLOCA = @ALLOCA@
87AMTAR = @AMTAR@86AMTAR = @AMTAR@
88AR = @AR@87AR = @AR@
89AS = @AS@88AS = @AS@
@@ -91,12 +90,9 @@
91AUTOHEADER = @AUTOHEADER@90AUTOHEADER = @AUTOHEADER@
92AUTOMAKE = @AUTOMAKE@91AUTOMAKE = @AUTOMAKE@
93AWK = @AWK@92AWK = @AWK@
94BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
95CATOBJEXT = @CATOBJEXT@
96CC = @CC@93CC = @CC@
97CCDEPMODE = @CCDEPMODE@94CCDEPMODE = @CCDEPMODE@
98CFLAGS = @CFLAGS@95CFLAGS = @CFLAGS@
99CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
100CPP = @CPP@96CPP = @CPP@
101CPPFLAGS = @CPPFLAGS@97CPPFLAGS = @CPPFLAGS@
102CXX = @CXX@98CXX = @CXX@
@@ -104,10 +100,10 @@
104CXXDEPMODE = @CXXDEPMODE@100CXXDEPMODE = @CXXDEPMODE@
105CXXFLAGS = @CXXFLAGS@101CXXFLAGS = @CXXFLAGS@
106CYGPATH_W = @CYGPATH_W@102CYGPATH_W = @CYGPATH_W@
107DATADIRNAME = @DATADIRNAME@
108DEFS = @DEFS@103DEFS = @DEFS@
109DEPDIR = @DEPDIR@104DEPDIR = @DEPDIR@
110DLLTOOL = @DLLTOOL@105DLLTOOL = @DLLTOOL@
106DSYMUTIL = @DSYMUTIL@
111ECHO = @ECHO@107ECHO = @ECHO@
112ECHO_C = @ECHO_C@108ECHO_C = @ECHO_C@
113ECHO_N = @ECHO_N@109ECHO_N = @ECHO_N@
@@ -116,48 +112,31 @@
116EXEEXT = @EXEEXT@112EXEEXT = @EXEEXT@
117F77 = @F77@113F77 = @F77@
118FFLAGS = @FFLAGS@114FFLAGS = @FFLAGS@
119GENCAT = @GENCAT@115GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
120GLIBC2 = @GLIBC2@
121GLIBC21 = @GLIBC21@
122GLIB_CFLAGS = @GLIB_CFLAGS@116GLIB_CFLAGS = @GLIB_CFLAGS@
123GLIB_LIBS = @GLIB_LIBS@117GLIB_LIBS = @GLIB_LIBS@
124GMSGFMT = @GMSGFMT@118GMSGFMT = @GMSGFMT@
125GMSGFMT_015 = @GMSGFMT_015@119GMSGFMT_015 = @GMSGFMT_015@
126GREP = @GREP@120GREP = @GREP@
127HAVE_ASPRINTF = @HAVE_ASPRINTF@
128HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
129HAVE_SNPRINTF = @HAVE_SNPRINTF@
130HAVE_VISIBILITY = @HAVE_VISIBILITY@
131HAVE_WPRINTF = @HAVE_WPRINTF@
132INSTALL = @INSTALL@121INSTALL = @INSTALL@
133INSTALL_DATA = @INSTALL_DATA@122INSTALL_DATA = @INSTALL_DATA@
134INSTALL_PROGRAM = @INSTALL_PROGRAM@123INSTALL_PROGRAM = @INSTALL_PROGRAM@
135INSTALL_SCRIPT = @INSTALL_SCRIPT@124INSTALL_SCRIPT = @INSTALL_SCRIPT@
136INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@125INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
137INSTOBJEXT = @INSTOBJEXT@
138INTLBISON = @INTLBISON@
139INTLLIBS = @INTLLIBS@126INTLLIBS = @INTLLIBS@
140INTLOBJS = @INTLOBJS@
141INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
142INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@127INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
143LDFLAGS = @LDFLAGS@128LDFLAGS = @LDFLAGS@
144LIBICONV = @LIBICONV@129LIBICONV = @LIBICONV@
145LIBINTL = @LIBINTL@130LIBINTL = @LIBINTL@
146LIBMULTITHREAD = @LIBMULTITHREAD@
147LIBOBJS = @LIBOBJS@131LIBOBJS = @LIBOBJS@
148LIBPTH = @LIBPTH@
149LIBS = @LIBS@132LIBS = @LIBS@
150LIBTHREAD = @LIBTHREAD@
151LIBTOOL = @LIBTOOL@133LIBTOOL = @LIBTOOL@
152LIBUSB_CFLAGS = @LIBUSB_CFLAGS@134LIBUSB_CFLAGS = @LIBUSB_CFLAGS@
153LIBUSB_LIBS = @LIBUSB_LIBS@135LIBUSB_LIBS = @LIBUSB_LIBS@
154LN_S = @LN_S@136LN_S = @LN_S@
155LTLIBICONV = @LTLIBICONV@137LTLIBICONV = @LTLIBICONV@
156LTLIBINTL = @LTLIBINTL@138LTLIBINTL = @LTLIBINTL@
157LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
158LTLIBOBJS = @LTLIBOBJS@139LTLIBOBJS = @LTLIBOBJS@
159LTLIBPTH = @LTLIBPTH@
160LTLIBTHREAD = @LTLIBTHREAD@
161LT_LIBVERSION = @LT_LIBVERSION@140LT_LIBVERSION = @LT_LIBVERSION@
162MAINT = @MAINT@141MAINT = @MAINT@
163MAKEINFO = @MAKEINFO@142MAKEINFO = @MAKEINFO@
@@ -165,6 +144,7 @@
165MSGFMT = @MSGFMT@144MSGFMT = @MSGFMT@
166MSGFMT_015 = @MSGFMT_015@145MSGFMT_015 = @MSGFMT_015@
167MSGMERGE = @MSGMERGE@146MSGMERGE = @MSGMERGE@
147NMEDIT = @NMEDIT@
168OBJDUMP = @OBJDUMP@148OBJDUMP = @OBJDUMP@
169OBJEXT = @OBJEXT@149OBJEXT = @OBJEXT@
170PACKAGE = @PACKAGE@150PACKAGE = @PACKAGE@
@@ -176,19 +156,18 @@
176PATH_SEPARATOR = @PATH_SEPARATOR@156PATH_SEPARATOR = @PATH_SEPARATOR@
177PKG_CONFIG = @PKG_CONFIG@157PKG_CONFIG = @PKG_CONFIG@
178POSUB = @POSUB@158POSUB = @POSUB@
179PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@
180RANLIB = @RANLIB@159RANLIB = @RANLIB@
181RC = @RC@160RC = @RC@
161SED = @SED@
182SET_MAKE = @SET_MAKE@162SET_MAKE = @SET_MAKE@
183SHELL = @SHELL@163SHELL = @SHELL@
184STRIP = @STRIP@164STRIP = @STRIP@
185TFDOCGEN = @TFDOCGEN@165TFDOCGEN = @TFDOCGEN@
186USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
187USE_NLS = @USE_NLS@166USE_NLS = @USE_NLS@
188VERSION = @VERSION@167VERSION = @VERSION@
189WOE32DLL = @WOE32DLL@
190XGETTEXT = @XGETTEXT@168XGETTEXT = @XGETTEXT@
191XGETTEXT_015 = @XGETTEXT_015@169XGETTEXT_015 = @XGETTEXT_015@
170XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
192abs_builddir = @abs_builddir@171abs_builddir = @abs_builddir@
193abs_srcdir = @abs_srcdir@172abs_srcdir = @abs_srcdir@
194abs_top_builddir = @abs_top_builddir@173abs_top_builddir = @abs_top_builddir@
@@ -406,8 +385,8 @@
406 unique=`for i in $$list; do \385 unique=`for i in $$list; do \
407 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \386 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
408 done | \387 done | \
409 $(AWK) ' { files[$$0] = 1; } \388 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
410 END { for (i in files) print i; }'`; \389 END { if (nonempty) { for (i in files) print i; }; }'`; \
411 mkid -fID $$unique390 mkid -fID $$unique
412tags: TAGS391tags: TAGS
413392
@@ -432,8 +411,8 @@
432 unique=`for i in $$list; do \411 unique=`for i in $$list; do \
433 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \412 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
434 done | \413 done | \
435 $(AWK) ' { files[$$0] = 1; } \414 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
436 END { for (i in files) print i; }'`; \415 END { if (nonempty) { for (i in files) print i; }; }'`; \
437 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \416 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
438 test -n "$$unique" || unique=$$empty_fix; \417 test -n "$$unique" || unique=$$empty_fix; \
439 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \418 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
@@ -443,13 +422,12 @@
443CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \422CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
444 $(TAGS_FILES) $(LISP)423 $(TAGS_FILES) $(LISP)
445 tags=; \424 tags=; \
446 here=`pwd`; \
447 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \425 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
448 unique=`for i in $$list; do \426 unique=`for i in $$list; do \
449 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \427 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
450 done | \428 done | \
451 $(AWK) ' { files[$$0] = 1; } \429 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
452 END { for (i in files) print i; }'`; \430 END { if (nonempty) { for (i in files) print i; }; }'`; \
453 test -z "$(CTAGS_ARGS)$$tags$$unique" \431 test -z "$(CTAGS_ARGS)$$tags$$unique" \
454 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \432 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
455 $$tags $$unique433 $$tags $$unique
@@ -519,6 +497,10 @@
519 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2497 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
520 $(am__remove_distdir)498 $(am__remove_distdir)
521499
500dist-lzma: distdir
501 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
502 $(am__remove_distdir)
503
522dist-tarZ: distdir504dist-tarZ: distdir
523 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z505 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
524 $(am__remove_distdir)506 $(am__remove_distdir)
@@ -546,6 +528,8 @@
546 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\528 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
547 *.tar.bz2*) \529 *.tar.bz2*) \
548 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\530 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
531 *.tar.lzma*) \
532 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
549 *.tar.Z*) \533 *.tar.Z*) \
550 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\534 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
551 *.shar.gz*) \535 *.shar.gz*) \
@@ -561,7 +545,6 @@
561 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \545 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
562 && cd $(distdir)/_build \546 && cd $(distdir)/_build \
563 && ../configure --srcdir=.. --prefix="$$dc_install_base" \547 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
564 --with-included-gettext \
565 $(DISTCHECK_CONFIGURE_FLAGS) \548 $(DISTCHECK_CONFIGURE_FLAGS) \
566 && $(MAKE) $(AM_MAKEFLAGS) \549 && $(MAKE) $(AM_MAKEFLAGS) \
567 && $(MAKE) $(AM_MAKEFLAGS) dvi \550 && $(MAKE) $(AM_MAKEFLAGS) dvi \
@@ -701,8 +684,8 @@
701.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \684.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
702 all all-am am--refresh check check-am clean clean-generic \685 all all-am am--refresh check check-am clean clean-generic \
703 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \686 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
704 dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \687 dist-gzip dist-lzma dist-shar dist-tarZ dist-zip distcheck \
705 distclean-generic distclean-hdr distclean-libtool \688 distclean distclean-generic distclean-hdr distclean-libtool \
706 distclean-tags distcleancheck distdir distuninstallcheck dvi \689 distclean-tags distcleancheck distdir distuninstallcheck dvi \
707 dvi-am html html-am info info-am install install-am \690 dvi-am html html-am info info-am install install-am \
708 install-data install-data-am install-dvi install-dvi-am \691 install-data install-data-am install-dvi install-dvi-am \
709692
=== modified file 'README'
--- README 2009-05-17 13:34:18 +0000
+++ README 2010-02-23 21:48:16 +0000
@@ -67,7 +67,7 @@
67Copyright67Copyright
68--------------------------------------------------------------------------68--------------------------------------------------------------------------
6969
70ticables library is Copyright (C) 1999-2007 by the TiLP team: 70ticables library is Copyright (C) 1999-2009 by the TiLP team:
71<tilp-users@lists.sf.net>71<tilp-users@lists.sf.net>
7272
73Copying is allowed under the terms of GNU General Public73Copying is allowed under the terms of GNU General Public
7474
=== modified file 'aclocal.m4'
--- aclocal.m4 2009-05-17 13:34:18 +0000
+++ aclocal.m4 2010-02-23 21:48:16 +0000
@@ -1,7 +1,7 @@
1# generated automatically by aclocal 1.10 -*- Autoconf -*-1# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
22
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4# 2005, 2006 Free Software Foundation, Inc.4# 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
5# This file is free software; the Free Software Foundation5# This file is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.7# with or without modifications, as long as this notice is preserved.
@@ -11,35 +11,16 @@
11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12# PARTICULAR PURPOSE.12# PARTICULAR PURPOSE.
1313
14m4_if(m4_PACKAGE_VERSION, [2.61],,14m4_ifndef([AC_AUTOCONF_VERSION],
15[m4_fatal([this file was generated for autoconf 2.61.15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16You have another version of autoconf. If you want to use that,16m4_if(AC_AUTOCONF_VERSION, [2.61],,
17you should regenerate the build system entirely.], [63])])17[m4_warning([this file was generated for autoconf 2.61.
1818You have another version of autoconf. It may work, but is not guaranteed to.
19# codeset.m4 serial 2 (gettext-0.16)19If you have problems, you may need to regenerate the build system entirely.
20dnl Copyright (C) 2000-2002, 2006 Free Software Foundation, Inc.20To do so, use the procedure documented by the package, typically `autoreconf'.])])
21dnl This file is free software; the Free Software Foundation21
22dnl gives unlimited permission to copy and/or distribute it,22# gettext.m4 serial 60 (gettext-0.17)
23dnl with or without modifications, as long as this notice is preserved.23dnl Copyright (C) 1995-2007 Free Software Foundation, Inc.
24
25dnl From Bruno Haible.
26
27AC_DEFUN([AM_LANGINFO_CODESET],
28[
29 AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
30 [AC_TRY_LINK([#include <langinfo.h>],
31 [char* cs = nl_langinfo(CODESET); return !cs;],
32 am_cv_langinfo_codeset=yes,
33 am_cv_langinfo_codeset=no)
34 ])
35 if test $am_cv_langinfo_codeset = yes; then
36 AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
37 [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
38 fi
39])
40
41# gettext.m4 serial 59 (gettext-0.16.1)
42dnl Copyright (C) 1995-2006 Free Software Foundation, Inc.
43dnl This file is free software; the Free Software Foundation24dnl This file is free software; the Free Software Foundation
44dnl gives unlimited permission to copy and/or distribute it,25dnl gives unlimited permission to copy and/or distribute it,
45dnl with or without modifications, as long as this notice is preserved.26dnl with or without modifications, as long as this notice is preserved.
@@ -402,44 +383,6 @@
402])383])
403384
404385
405dnl Checks for special options needed on MacOS X.
406dnl Defines INTL_MACOSX_LIBS.
407AC_DEFUN([gt_INTL_MACOSX],
408[
409 dnl Check for API introduced in MacOS X 10.2.
410 AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
411 gt_cv_func_CFPreferencesCopyAppValue,
412 [gt_save_LIBS="$LIBS"
413 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
414 AC_TRY_LINK([#include <CoreFoundation/CFPreferences.h>],
415 [CFPreferencesCopyAppValue(NULL, NULL)],
416 [gt_cv_func_CFPreferencesCopyAppValue=yes],
417 [gt_cv_func_CFPreferencesCopyAppValue=no])
418 LIBS="$gt_save_LIBS"])
419 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
420 AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1,
421 [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
422 fi
423 dnl Check for API introduced in MacOS X 10.3.
424 AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent,
425 [gt_save_LIBS="$LIBS"
426 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
427 AC_TRY_LINK([#include <CoreFoundation/CFLocale.h>], [CFLocaleCopyCurrent();],
428 [gt_cv_func_CFLocaleCopyCurrent=yes],
429 [gt_cv_func_CFLocaleCopyCurrent=no])
430 LIBS="$gt_save_LIBS"])
431 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
432 AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1,
433 [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
434 fi
435 INTL_MACOSX_LIBS=
436 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
437 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
438 fi
439 AC_SUBST([INTL_MACOSX_LIBS])
440])
441
442
443dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized.386dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized.
444m4_define([gt_NEEDS_INIT],387m4_define([gt_NEEDS_INIT],
445[388[
@@ -458,70 +401,8 @@
458dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])401dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
459AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])402AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
460403
461# glibc2.m4 serial 1404# iconv.m4 serial AM6 (gettext-0.17)
462dnl Copyright (C) 2000-2002, 2004 Free Software Foundation, Inc.405dnl Copyright (C) 2000-2002, 2007 Free Software Foundation, Inc.
463dnl This file is free software; the Free Software Foundation
464dnl gives unlimited permission to copy and/or distribute it,
465dnl with or without modifications, as long as this notice is preserved.
466
467# Test for the GNU C Library, version 2.0 or newer.
468# From Bruno Haible.
469
470AC_DEFUN([gt_GLIBC2],
471 [
472 AC_CACHE_CHECK(whether we are using the GNU C Library 2 or newer,
473 ac_cv_gnu_library_2,
474 [AC_EGREP_CPP([Lucky GNU user],
475 [
476#include <features.h>
477#ifdef __GNU_LIBRARY__
478 #if (__GLIBC__ >= 2)
479 Lucky GNU user
480 #endif
481#endif
482 ],
483 ac_cv_gnu_library_2=yes,
484 ac_cv_gnu_library_2=no)
485 ]
486 )
487 AC_SUBST(GLIBC2)
488 GLIBC2="$ac_cv_gnu_library_2"
489 ]
490)
491
492# glibc21.m4 serial 3
493dnl Copyright (C) 2000-2002, 2004 Free Software Foundation, Inc.
494dnl This file is free software; the Free Software Foundation
495dnl gives unlimited permission to copy and/or distribute it,
496dnl with or without modifications, as long as this notice is preserved.
497
498# Test for the GNU C Library, version 2.1 or newer.
499# From Bruno Haible.
500
501AC_DEFUN([gl_GLIBC21],
502 [
503 AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
504 ac_cv_gnu_library_2_1,
505 [AC_EGREP_CPP([Lucky GNU user],
506 [
507#include <features.h>
508#ifdef __GNU_LIBRARY__
509 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
510 Lucky GNU user
511 #endif
512#endif
513 ],
514 ac_cv_gnu_library_2_1=yes,
515 ac_cv_gnu_library_2_1=no)
516 ]
517 )
518 AC_SUBST(GLIBC21)
519 GLIBC21="$ac_cv_gnu_library_2_1"
520 ]
521)
522
523# iconv.m4 serial AM4 (gettext-0.11.3)
524dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
525dnl This file is free software; the Free Software Foundation406dnl This file is free software; the Free Software Foundation
526dnl gives unlimited permission to copy and/or distribute it,407dnl gives unlimited permission to copy and/or distribute it,
527dnl with or without modifications, as long as this notice is preserved.408dnl with or without modifications, as long as this notice is preserved.
@@ -543,6 +424,7 @@
543[424[
544 dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and425 dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
545 dnl those with the standalone portable GNU libiconv installed).426 dnl those with the standalone portable GNU libiconv installed).
427 AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
546428
547 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV429 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
548 dnl accordingly.430 dnl accordingly.
@@ -555,7 +437,7 @@
555 am_save_CPPFLAGS="$CPPFLAGS"437 am_save_CPPFLAGS="$CPPFLAGS"
556 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])438 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
557439
558 AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [440 AC_CACHE_CHECK([for iconv], am_cv_func_iconv, [
559 am_cv_func_iconv="no, consider installing GNU libiconv"441 am_cv_func_iconv="no, consider installing GNU libiconv"
560 am_cv_lib_iconv=no442 am_cv_lib_iconv=no
561 AC_TRY_LINK([#include <stdlib.h>443 AC_TRY_LINK([#include <stdlib.h>
@@ -578,7 +460,85 @@
578 fi460 fi
579 ])461 ])
580 if test "$am_cv_func_iconv" = yes; then462 if test "$am_cv_func_iconv" = yes; then
581 AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])463 AC_CACHE_CHECK([for working iconv], am_cv_func_iconv_works, [
464 dnl This tests against bugs in AIX 5.1 and HP-UX 11.11.
465 am_save_LIBS="$LIBS"
466 if test $am_cv_lib_iconv = yes; then
467 LIBS="$LIBS $LIBICONV"
468 fi
469 AC_TRY_RUN([
470#include <iconv.h>
471#include <string.h>
472int main ()
473{
474 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
475 returns. */
476 {
477 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
478 if (cd_utf8_to_88591 != (iconv_t)(-1))
479 {
480 static const char input[] = "\342\202\254"; /* EURO SIGN */
481 char buf[10];
482 const char *inptr = input;
483 size_t inbytesleft = strlen (input);
484 char *outptr = buf;
485 size_t outbytesleft = sizeof (buf);
486 size_t res = iconv (cd_utf8_to_88591,
487 (char **) &inptr, &inbytesleft,
488 &outptr, &outbytesleft);
489 if (res == 0)
490 return 1;
491 }
492 }
493#if 0 /* This bug could be worked around by the caller. */
494 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
495 {
496 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
497 if (cd_88591_to_utf8 != (iconv_t)(-1))
498 {
499 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
500 char buf[50];
501 const char *inptr = input;
502 size_t inbytesleft = strlen (input);
503 char *outptr = buf;
504 size_t outbytesleft = sizeof (buf);
505 size_t res = iconv (cd_88591_to_utf8,
506 (char **) &inptr, &inbytesleft,
507 &outptr, &outbytesleft);
508 if ((int)res > 0)
509 return 1;
510 }
511 }
512#endif
513 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
514 provided. */
515 if (/* Try standardized names. */
516 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
517 /* Try IRIX, OSF/1 names. */
518 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
519 /* Try AIX names. */
520 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
521 /* Try HP-UX names. */
522 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
523 return 1;
524 return 0;
525}], [am_cv_func_iconv_works=yes], [am_cv_func_iconv_works=no],
526 [case "$host_os" in
527 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
528 *) am_cv_func_iconv_works="guessing yes" ;;
529 esac])
530 LIBS="$am_save_LIBS"
531 ])
532 case "$am_cv_func_iconv_works" in
533 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
534 *) am_func_iconv=yes ;;
535 esac
536 else
537 am_func_iconv=no am_cv_lib_iconv=no
538 fi
539 if test "$am_func_iconv" = yes; then
540 AC_DEFINE(HAVE_ICONV, 1,
541 [Define if you have the iconv() function and it works.])
582 fi542 fi
583 if test "$am_cv_lib_iconv" = yes; then543 if test "$am_cv_lib_iconv" = yes; then
584 AC_MSG_CHECKING([how to link with libiconv])544 AC_MSG_CHECKING([how to link with libiconv])
@@ -622,464 +582,56 @@
622 fi582 fi
623])583])
624584
625# intdiv0.m4 serial 1 (gettext-0.11.3)585# intlmacosx.m4 serial 1 (gettext-0.17)
626dnl Copyright (C) 2002 Free Software Foundation, Inc.586dnl Copyright (C) 2004-2007 Free Software Foundation, Inc.
627dnl This file is free software; the Free Software Foundation587dnl This file is free software; the Free Software Foundation
628dnl gives unlimited permission to copy and/or distribute it,588dnl gives unlimited permission to copy and/or distribute it,
629dnl with or without modifications, as long as this notice is preserved.589dnl with or without modifications, as long as this notice is preserved.
630590dnl
631dnl From Bruno Haible.591dnl This file can can be used in projects which are not available under
632592dnl the GNU General Public License or the GNU Library General Public
633AC_DEFUN([gt_INTDIV0],593dnl License but which still want to provide support for the GNU gettext
634[594dnl functionality.
635 AC_REQUIRE([AC_PROG_CC])dnl595dnl Please note that the actual code of the GNU gettext library is covered
636 AC_REQUIRE([AC_CANONICAL_HOST])dnl596dnl by the GNU Library General Public License, and the rest of the GNU
637597dnl gettext package package is covered by the GNU General Public License.
638 AC_CACHE_CHECK([whether integer division by zero raises SIGFPE],598dnl They are *not* in the public domain.
639 gt_cv_int_divbyzero_sigfpe,599
640 [600dnl Checks for special options needed on MacOS X.
641 AC_TRY_RUN([601dnl Defines INTL_MACOSX_LIBS.
642#include <stdlib.h>602AC_DEFUN([gt_INTL_MACOSX],
643#include <signal.h>603[
644604 dnl Check for API introduced in MacOS X 10.2.
645static void605 AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
646#ifdef __cplusplus606 gt_cv_func_CFPreferencesCopyAppValue,
647sigfpe_handler (int sig)607 [gt_save_LIBS="$LIBS"
648#else608 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
649sigfpe_handler (sig) int sig;609 AC_TRY_LINK([#include <CoreFoundation/CFPreferences.h>],
650#endif610 [CFPreferencesCopyAppValue(NULL, NULL)],
651{611 [gt_cv_func_CFPreferencesCopyAppValue=yes],
652 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */612 [gt_cv_func_CFPreferencesCopyAppValue=no])
653 exit (sig != SIGFPE);613 LIBS="$gt_save_LIBS"])
654}614 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
655615 AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1,
656int x = 1;616 [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
657int y = 0;617 fi
658int z;618 dnl Check for API introduced in MacOS X 10.3.
659int nan;619 AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent,
660620 [gt_save_LIBS="$LIBS"
661int main ()621 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
662{622 AC_TRY_LINK([#include <CoreFoundation/CFLocale.h>], [CFLocaleCopyCurrent();],
663 signal (SIGFPE, sigfpe_handler);623 [gt_cv_func_CFLocaleCopyCurrent=yes],
664/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */624 [gt_cv_func_CFLocaleCopyCurrent=no])
665#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)625 LIBS="$gt_save_LIBS"])
666 signal (SIGTRAP, sigfpe_handler);626 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
667#endif627 AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1,
668/* Linux/SPARC yields signal SIGILL. */628 [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
669#if defined (__sparc__) && defined (__linux__)629 fi
670 signal (SIGILL, sigfpe_handler);630 INTL_MACOSX_LIBS=
671#endif631 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
672632 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
673 z = x / y;633 fi
674 nan = y / y;634 AC_SUBST([INTL_MACOSX_LIBS])
675 exit (1);
676}
677], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no,
678 [
679 # Guess based on the CPU.
680 case "$host_cpu" in
681 alpha* | i[34567]86 | m68k | s390*)
682 gt_cv_int_divbyzero_sigfpe="guessing yes";;
683 *)
684 gt_cv_int_divbyzero_sigfpe="guessing no";;
685 esac
686 ])
687 ])
688 case "$gt_cv_int_divbyzero_sigfpe" in
689 *yes) value=1;;
690 *) value=0;;
691 esac
692 AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value,
693 [Define if integer division by zero raises signal SIGFPE.])
694])
695
696# intl.m4 serial 3 (gettext-0.16)
697dnl Copyright (C) 1995-2006 Free Software Foundation, Inc.
698dnl This file is free software; the Free Software Foundation
699dnl gives unlimited permission to copy and/or distribute it,
700dnl with or without modifications, as long as this notice is preserved.
701dnl
702dnl This file can can be used in projects which are not available under
703dnl the GNU General Public License or the GNU Library General Public
704dnl License but which still want to provide support for the GNU gettext
705dnl functionality.
706dnl Please note that the actual code of the GNU gettext library is covered
707dnl by the GNU Library General Public License, and the rest of the GNU
708dnl gettext package package is covered by the GNU General Public License.
709dnl They are *not* in the public domain.
710
711dnl Authors:
712dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
713dnl Bruno Haible <haible@clisp.cons.org>, 2000-2006.
714
715AC_PREREQ(2.52)
716
717dnl Checks for all prerequisites of the intl subdirectory,
718dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS,
719dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL.
720AC_DEFUN([AM_INTL_SUBDIR],
721[
722 AC_REQUIRE([AC_PROG_INSTALL])dnl
723 AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
724 AC_REQUIRE([AC_PROG_CC])dnl
725 AC_REQUIRE([AC_CANONICAL_HOST])dnl
726 AC_REQUIRE([gt_GLIBC2])dnl
727 AC_REQUIRE([AC_PROG_RANLIB])dnl
728 AC_REQUIRE([gl_VISIBILITY])dnl
729 AC_REQUIRE([gt_INTL_SUBDIR_CORE])dnl
730 AC_REQUIRE([AC_TYPE_LONG_LONG_INT])dnl
731 AC_REQUIRE([gt_TYPE_LONGDOUBLE])dnl
732 AC_REQUIRE([gt_TYPE_WCHAR_T])dnl
733 AC_REQUIRE([gt_TYPE_WINT_T])dnl
734 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
735 AC_REQUIRE([gt_TYPE_INTMAX_T])
736 AC_REQUIRE([gt_PRINTF_POSIX])
737 AC_REQUIRE([gl_GLIBC21])dnl
738 AC_REQUIRE([gl_XSIZE])dnl
739 AC_REQUIRE([gt_INTL_MACOSX])dnl
740
741 AC_CHECK_TYPE([ptrdiff_t], ,
742 [AC_DEFINE([ptrdiff_t], [long],
743 [Define as the type of the result of subtracting two pointers, if the system doesn't define it.])
744 ])
745 AC_CHECK_HEADERS([stddef.h stdlib.h string.h])
746 AC_CHECK_FUNCS([asprintf fwprintf putenv setenv setlocale snprintf wcslen])
747
748 dnl Use the _snprintf function only if it is declared (because on NetBSD it
749 dnl is defined as a weak alias of snprintf; we prefer to use the latter).
750 gt_CHECK_DECL(_snprintf, [#include <stdio.h>])
751 gt_CHECK_DECL(_snwprintf, [#include <stdio.h>])
752
753 dnl Use the *_unlocked functions only if they are declared.
754 dnl (because some of them were defined without being declared in Solaris
755 dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built
756 dnl on Solaris 2.5.1 to run on Solaris 2.6).
757 dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13.
758 gt_CHECK_DECL(getc_unlocked, [#include <stdio.h>])
759
760 case $gt_cv_func_printf_posix in
761 *yes) HAVE_POSIX_PRINTF=1 ;;
762 *) HAVE_POSIX_PRINTF=0 ;;
763 esac
764 AC_SUBST([HAVE_POSIX_PRINTF])
765 if test "$ac_cv_func_asprintf" = yes; then
766 HAVE_ASPRINTF=1
767 else
768 HAVE_ASPRINTF=0
769 fi
770 AC_SUBST([HAVE_ASPRINTF])
771 if test "$ac_cv_func_snprintf" = yes; then
772 HAVE_SNPRINTF=1
773 else
774 HAVE_SNPRINTF=0
775 fi
776 AC_SUBST([HAVE_SNPRINTF])
777 if test "$ac_cv_func_wprintf" = yes; then
778 HAVE_WPRINTF=1
779 else
780 HAVE_WPRINTF=0
781 fi
782 AC_SUBST([HAVE_WPRINTF])
783
784 AM_LANGINFO_CODESET
785 gt_LC_MESSAGES
786
787 dnl Compilation on mingw and Cygwin needs special Makefile rules, because
788 dnl 1. when we install a shared library, we must arrange to export
789 dnl auxiliary pointer variables for every exported variable,
790 dnl 2. when we install a shared library and a static library simultaneously,
791 dnl the include file specifies __declspec(dllimport) and therefore we
792 dnl must arrange to define the auxiliary pointer variables for the
793 dnl exported variables _also_ in the static library.
794 if test "$enable_shared" = yes; then
795 case "$host_os" in
796 cygwin*) is_woe32dll=yes ;;
797 *) is_woe32dll=no ;;
798 esac
799 else
800 is_woe32dll=no
801 fi
802 WOE32DLL=$is_woe32dll
803 AC_SUBST([WOE32DLL])
804
805 dnl Rename some macros and functions used for locking.
806 AH_BOTTOM([
807#define __libc_lock_t gl_lock_t
808#define __libc_lock_define gl_lock_define
809#define __libc_lock_define_initialized gl_lock_define_initialized
810#define __libc_lock_init gl_lock_init
811#define __libc_lock_lock gl_lock_lock
812#define __libc_lock_unlock gl_lock_unlock
813#define __libc_lock_recursive_t gl_recursive_lock_t
814#define __libc_lock_define_recursive gl_recursive_lock_define
815#define __libc_lock_define_initialized_recursive gl_recursive_lock_define_initialized
816#define __libc_lock_init_recursive gl_recursive_lock_init
817#define __libc_lock_lock_recursive gl_recursive_lock_lock
818#define __libc_lock_unlock_recursive gl_recursive_lock_unlock
819#define glthread_in_use libintl_thread_in_use
820#define glthread_lock_init libintl_lock_init
821#define glthread_lock_lock libintl_lock_lock
822#define glthread_lock_unlock libintl_lock_unlock
823#define glthread_lock_destroy libintl_lock_destroy
824#define glthread_rwlock_init libintl_rwlock_init
825#define glthread_rwlock_rdlock libintl_rwlock_rdlock
826#define glthread_rwlock_wrlock libintl_rwlock_wrlock
827#define glthread_rwlock_unlock libintl_rwlock_unlock
828#define glthread_rwlock_destroy libintl_rwlock_destroy
829#define glthread_recursive_lock_init libintl_recursive_lock_init
830#define glthread_recursive_lock_lock libintl_recursive_lock_lock
831#define glthread_recursive_lock_unlock libintl_recursive_lock_unlock
832#define glthread_recursive_lock_destroy libintl_recursive_lock_destroy
833#define glthread_once libintl_once
834#define glthread_once_call libintl_once_call
835#define glthread_once_singlethreaded libintl_once_singlethreaded
836])
837])
838
839
840dnl Checks for the core files of the intl subdirectory:
841dnl dcigettext.c
842dnl eval-plural.h
843dnl explodename.c
844dnl finddomain.c
845dnl gettextP.h
846dnl gmo.h
847dnl hash-string.h hash-string.c
848dnl l10nflist.c
849dnl libgnuintl.h.in (except the *printf stuff)
850dnl loadinfo.h
851dnl loadmsgcat.c
852dnl localealias.c
853dnl log.c
854dnl plural-exp.h plural-exp.c
855dnl plural.y
856dnl Used by libglocale.
857AC_DEFUN([gt_INTL_SUBDIR_CORE],
858[
859 AC_REQUIRE([AC_C_INLINE])dnl
860 AC_REQUIRE([AC_TYPE_SIZE_T])dnl
861 AC_REQUIRE([gl_AC_HEADER_STDINT_H])
862 AC_REQUIRE([AC_FUNC_ALLOCA])dnl
863 AC_REQUIRE([AC_FUNC_MMAP])dnl
864 AC_REQUIRE([gt_INTDIV0])dnl
865 AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])dnl
866 AC_REQUIRE([gt_INTTYPES_PRI])dnl
867 AC_REQUIRE([gl_LOCK])dnl
868
869 AC_TRY_LINK(
870 [int foo (int a) { a = __builtin_expect (a, 10); return a == 10 ? 0 : 1; }],
871 [],
872 [AC_DEFINE([HAVE_BUILTIN_EXPECT], 1,
873 [Define to 1 if the compiler understands __builtin_expect.])])
874
875 AC_CHECK_HEADERS([argz.h inttypes.h limits.h unistd.h sys/param.h])
876 AC_CHECK_FUNCS([getcwd getegid geteuid getgid getuid mempcpy munmap \
877 stpcpy strcasecmp strdup strtoul tsearch argz_count argz_stringify \
878 argz_next __fsetlocking])
879
880 dnl Use the *_unlocked functions only if they are declared.
881 dnl (because some of them were defined without being declared in Solaris
882 dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built
883 dnl on Solaris 2.5.1 to run on Solaris 2.6).
884 dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13.
885 gt_CHECK_DECL(feof_unlocked, [#include <stdio.h>])
886 gt_CHECK_DECL(fgets_unlocked, [#include <stdio.h>])
887
888 AM_ICONV
889
890 dnl glibc >= 2.4 has a NL_LOCALE_NAME macro when _GNU_SOURCE is defined,
891 dnl and a _NL_LOCALE_NAME macro always.
892 AC_CACHE_CHECK([for NL_LOCALE_NAME macro], gt_cv_nl_locale_name,
893 [AC_TRY_LINK([#include <langinfo.h>
894#include <locale.h>],
895 [char* cs = nl_langinfo(_NL_LOCALE_NAME(LC_MESSAGES));],
896 gt_cv_nl_locale_name=yes,
897 gt_cv_nl_locale_name=no)
898 ])
899 if test $gt_cv_nl_locale_name = yes; then
900 AC_DEFINE(HAVE_NL_LOCALE_NAME, 1,
901 [Define if you have <langinfo.h> and it defines the NL_LOCALE_NAME macro if _GNU_SOURCE is defined.])
902 fi
903
904 dnl intl/plural.c is generated from intl/plural.y. It requires bison,
905 dnl because plural.y uses bison specific features. It requires at least
906 dnl bison-1.26 because earlier versions generate a plural.c that doesn't
907 dnl compile.
908 dnl bison is only needed for the maintainer (who touches plural.y). But in
909 dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
910 dnl the rule in general Makefile. Now, some people carelessly touch the
911 dnl files or have a broken "make" program, hence the plural.c rule will
912 dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
913 dnl present or too old.
914 AC_CHECK_PROGS([INTLBISON], [bison])
915 if test -z "$INTLBISON"; then
916 ac_verc_fail=yes
917 else
918 dnl Found it, now check the version.
919 AC_MSG_CHECKING([version of bison])
920changequote(<<,>>)dnl
921 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
922 case $ac_prog_version in
923 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
924 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
925changequote([,])dnl
926 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
927 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
928 esac
929 AC_MSG_RESULT([$ac_prog_version])
930 fi
931 if test $ac_verc_fail = yes; then
932 INTLBISON=:
933 fi
934])
935
936
937dnl gt_CHECK_DECL(FUNC, INCLUDES)
938dnl Check whether a function is declared.
939AC_DEFUN([gt_CHECK_DECL],
940[
941 AC_CACHE_CHECK([whether $1 is declared], ac_cv_have_decl_$1,
942 [AC_TRY_COMPILE([$2], [
943#ifndef $1
944 char *p = (char *) $1;
945#endif
946], ac_cv_have_decl_$1=yes, ac_cv_have_decl_$1=no)])
947 if test $ac_cv_have_decl_$1 = yes; then
948 gt_value=1
949 else
950 gt_value=0
951 fi
952 AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value],
953 [Define to 1 if you have the declaration of `$1', and to 0 if you don't.])
954])
955
956# intmax.m4 serial 3 (gettext-0.16)
957dnl Copyright (C) 2002-2005 Free Software Foundation, Inc.
958dnl This file is free software; the Free Software Foundation
959dnl gives unlimited permission to copy and/or distribute it,
960dnl with or without modifications, as long as this notice is preserved.
961
962dnl From Bruno Haible.
963dnl Test whether the system has the 'intmax_t' type, but don't attempt to
964dnl find a replacement if it is lacking.
965
966AC_DEFUN([gt_TYPE_INTMAX_T],
967[
968 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
969 AC_REQUIRE([gl_AC_HEADER_STDINT_H])
970 AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t,
971 [AC_TRY_COMPILE([
972#include <stddef.h>
973#include <stdlib.h>
974#if HAVE_STDINT_H_WITH_UINTMAX
975#include <stdint.h>
976#endif
977#if HAVE_INTTYPES_H_WITH_UINTMAX
978#include <inttypes.h>
979#endif
980], [intmax_t x = -1;
981 return !x;],
982 gt_cv_c_intmax_t=yes,
983 gt_cv_c_intmax_t=no)])
984 if test $gt_cv_c_intmax_t = yes; then
985 AC_DEFINE(HAVE_INTMAX_T, 1,
986 [Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.])
987 fi
988])
989
990# inttypes-pri.m4 serial 4 (gettext-0.16)
991dnl Copyright (C) 1997-2002, 2006 Free Software Foundation, Inc.
992dnl This file is free software; the Free Software Foundation
993dnl gives unlimited permission to copy and/or distribute it,
994dnl with or without modifications, as long as this notice is preserved.
995
996dnl From Bruno Haible.
997
998AC_PREREQ(2.52)
999
1000# Define PRI_MACROS_BROKEN if <inttypes.h> exists and defines the PRI*
1001# macros to non-string values. This is the case on AIX 4.3.3.
1002
1003AC_DEFUN([gt_INTTYPES_PRI],
1004[
1005 AC_CHECK_HEADERS([inttypes.h])
1006 if test $ac_cv_header_inttypes_h = yes; then
1007 AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken],
1008 gt_cv_inttypes_pri_broken,
1009 [
1010 AC_TRY_COMPILE([#include <inttypes.h>
1011#ifdef PRId32
1012char *p = PRId32;
1013#endif
1014], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes)
1015 ])
1016 fi
1017 if test "$gt_cv_inttypes_pri_broken" = yes; then
1018 AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1,
1019 [Define if <inttypes.h> exists and defines unusable PRI* macros.])
1020 PRI_MACROS_BROKEN=1
1021 else
1022 PRI_MACROS_BROKEN=0
1023 fi
1024 AC_SUBST([PRI_MACROS_BROKEN])
1025])
1026
1027# inttypes_h.m4 serial 7
1028dnl Copyright (C) 1997-2004, 2006 Free Software Foundation, Inc.
1029dnl This file is free software; the Free Software Foundation
1030dnl gives unlimited permission to copy and/or distribute it,
1031dnl with or without modifications, as long as this notice is preserved.
1032
1033dnl From Paul Eggert.
1034
1035# Define HAVE_INTTYPES_H_WITH_UINTMAX if <inttypes.h> exists,
1036# doesn't clash with <sys/types.h>, and declares uintmax_t.
1037
1038AC_DEFUN([gl_AC_HEADER_INTTYPES_H],
1039[
1040 AC_CACHE_CHECK([for inttypes.h], gl_cv_header_inttypes_h,
1041 [AC_TRY_COMPILE(
1042 [#include <sys/types.h>
1043#include <inttypes.h>],
1044 [uintmax_t i = (uintmax_t) -1; return !i;],
1045 gl_cv_header_inttypes_h=yes,
1046 gl_cv_header_inttypes_h=no)])
1047 if test $gl_cv_header_inttypes_h = yes; then
1048 AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1,
1049 [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
1050 and declares uintmax_t. ])
1051 fi
1052])
1053
1054# lcmessage.m4 serial 4 (gettext-0.14.2)
1055dnl Copyright (C) 1995-2002, 2004-2005 Free Software Foundation, Inc.
1056dnl This file is free software; the Free Software Foundation
1057dnl gives unlimited permission to copy and/or distribute it,
1058dnl with or without modifications, as long as this notice is preserved.
1059dnl
1060dnl This file can can be used in projects which are not available under
1061dnl the GNU General Public License or the GNU Library General Public
1062dnl License but which still want to provide support for the GNU gettext
1063dnl functionality.
1064dnl Please note that the actual code of the GNU gettext library is covered
1065dnl by the GNU Library General Public License, and the rest of the GNU
1066dnl gettext package package is covered by the GNU General Public License.
1067dnl They are *not* in the public domain.
1068
1069dnl Authors:
1070dnl Ulrich Drepper <drepper@cygnus.com>, 1995.
1071
1072# Check whether LC_MESSAGES is available in <locale.h>.
1073
1074AC_DEFUN([gt_LC_MESSAGES],
1075[
1076 AC_CACHE_CHECK([for LC_MESSAGES], gt_cv_val_LC_MESSAGES,
1077 [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
1078 gt_cv_val_LC_MESSAGES=yes, gt_cv_val_LC_MESSAGES=no)])
1079 if test $gt_cv_val_LC_MESSAGES = yes; then
1080 AC_DEFINE(HAVE_LC_MESSAGES, 1,
1081 [Define if your <locale.h> file defines LC_MESSAGES.])
1082 fi
1083])635])
1084636
1085# lib-ld.m4 serial 3 (gettext-0.13)637# lib-ld.m4 serial 3 (gettext-0.13)
@@ -1193,20 +745,22 @@
1193AC_LIB_PROG_LD_GNU745AC_LIB_PROG_LD_GNU
1194])746])
1195747
1196# lib-link.m4 serial 9 (gettext-0.16)748# lib-link.m4 serial 13 (gettext-0.17)
1197dnl Copyright (C) 2001-2006 Free Software Foundation, Inc.749dnl Copyright (C) 2001-2007 Free Software Foundation, Inc.
1198dnl This file is free software; the Free Software Foundation750dnl This file is free software; the Free Software Foundation
1199dnl gives unlimited permission to copy and/or distribute it,751dnl gives unlimited permission to copy and/or distribute it,
1200dnl with or without modifications, as long as this notice is preserved.752dnl with or without modifications, as long as this notice is preserved.
1201753
1202dnl From Bruno Haible.754dnl From Bruno Haible.
1203755
1204AC_PREREQ(2.50)756AC_PREREQ(2.54)
1205757
1206dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and758dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
1207dnl the libraries corresponding to explicit and implicit dependencies.759dnl the libraries corresponding to explicit and implicit dependencies.
1208dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and760dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
1209dnl augments the CPPFLAGS variable.761dnl augments the CPPFLAGS variable.
762dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
763dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
1210AC_DEFUN([AC_LIB_LINKFLAGS],764AC_DEFUN([AC_LIB_LINKFLAGS],
1211[765[
1212 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])766 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
@@ -1219,13 +773,16 @@
1219 ac_cv_lib[]Name[]_libs="$LIB[]NAME"773 ac_cv_lib[]Name[]_libs="$LIB[]NAME"
1220 ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"774 ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
1221 ac_cv_lib[]Name[]_cppflags="$INC[]NAME"775 ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
776 ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX"
1222 ])777 ])
1223 LIB[]NAME="$ac_cv_lib[]Name[]_libs"778 LIB[]NAME="$ac_cv_lib[]Name[]_libs"
1224 LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"779 LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
1225 INC[]NAME="$ac_cv_lib[]Name[]_cppflags"780 INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
781 LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix"
1226 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)782 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
1227 AC_SUBST([LIB]NAME)783 AC_SUBST([LIB]NAME)
1228 AC_SUBST([LTLIB]NAME)784 AC_SUBST([LTLIB]NAME)
785 AC_SUBST([LIB]NAME[_PREFIX])
1229 dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the786 dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
1230 dnl results of this search when this library appears as a dependency.787 dnl results of this search when this library appears as a dependency.
1231 HAVE_LIB[]NAME=yes788 HAVE_LIB[]NAME=yes
@@ -1241,6 +798,8 @@
1241dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and798dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and
1242dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs799dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
1243dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.800dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
801dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
802dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
1244AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],803AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
1245[804[
1246 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])805 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
@@ -1277,17 +836,23 @@
1277 CPPFLAGS="$ac_save_CPPFLAGS"836 CPPFLAGS="$ac_save_CPPFLAGS"
1278 LIB[]NAME=837 LIB[]NAME=
1279 LTLIB[]NAME=838 LTLIB[]NAME=
839 LIB[]NAME[]_PREFIX=
1280 fi840 fi
1281 AC_SUBST([HAVE_LIB]NAME)841 AC_SUBST([HAVE_LIB]NAME)
1282 AC_SUBST([LIB]NAME)842 AC_SUBST([LIB]NAME)
1283 AC_SUBST([LTLIB]NAME)843 AC_SUBST([LTLIB]NAME)
844 AC_SUBST([LIB]NAME[_PREFIX])
1284 undefine([Name])845 undefine([Name])
1285 undefine([NAME])846 undefine([NAME])
1286])847])
1287848
1288dnl Determine the platform dependent parameters needed to use rpath:849dnl Determine the platform dependent parameters needed to use rpath:
1289dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator,850dnl acl_libext,
1290dnl hardcode_direct, hardcode_minus_L.851dnl acl_shlibext,
852dnl acl_hardcode_libdir_flag_spec,
853dnl acl_hardcode_libdir_separator,
854dnl acl_hardcode_direct,
855dnl acl_hardcode_minus_L.
1291AC_DEFUN([AC_LIB_RPATH],856AC_DEFUN([AC_LIB_RPATH],
1292[857[
1293 dnl Tell automake >= 1.10 to complain if config.rpath is missing.858 dnl Tell automake >= 1.10 to complain if config.rpath is missing.
@@ -1304,12 +869,14 @@
1304 acl_cv_rpath=done869 acl_cv_rpath=done
1305 ])870 ])
1306 wl="$acl_cv_wl"871 wl="$acl_cv_wl"
1307 libext="$acl_cv_libext"872 acl_libext="$acl_cv_libext"
1308 shlibext="$acl_cv_shlibext"873 acl_shlibext="$acl_cv_shlibext"
1309 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"874 acl_libname_spec="$acl_cv_libname_spec"
1310 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"875 acl_library_names_spec="$acl_cv_library_names_spec"
1311 hardcode_direct="$acl_cv_hardcode_direct"876 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
1312 hardcode_minus_L="$acl_cv_hardcode_minus_L"877 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
878 acl_hardcode_direct="$acl_cv_hardcode_direct"
879 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
1313 dnl Determine whether the user wants rpath handling at all.880 dnl Determine whether the user wants rpath handling at all.
1314 AC_ARG_ENABLE(rpath,881 AC_ARG_ENABLE(rpath,
1315 [ --disable-rpath do not hardcode runtime library paths],882 [ --disable-rpath do not hardcode runtime library paths],
@@ -1319,20 +886,24 @@
1319dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and886dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
1320dnl the libraries corresponding to explicit and implicit dependencies.887dnl the libraries corresponding to explicit and implicit dependencies.
1321dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.888dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
889dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found
890dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
1322AC_DEFUN([AC_LIB_LINKFLAGS_BODY],891AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
1323[892[
1324 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])893 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
1325 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],894 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
1326 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])895 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
896 dnl Autoconf >= 2.61 supports dots in --with options.
897 define([N_A_M_E],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit([$1],[.],[_])],[$1])])
1327 dnl By default, look in $includedir and $libdir.898 dnl By default, look in $includedir and $libdir.
1328 use_additional=yes899 use_additional=yes
1329 AC_LIB_WITH_FINAL_PREFIX([900 AC_LIB_WITH_FINAL_PREFIX([
1330 eval additional_includedir=\"$includedir\"901 eval additional_includedir=\"$includedir\"
1331 eval additional_libdir=\"$libdir\"902 eval additional_libdir=\"$libdir\"
1332 ])903 ])
1333 AC_LIB_ARG_WITH([lib$1-prefix],904 AC_LIB_ARG_WITH([lib]N_A_M_E[-prefix],
1334[ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib905[ --with-lib]N_A_M_E[-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
1335 --without-lib$1-prefix don't search for lib$1 in includedir and libdir],906 --without-lib]N_A_M_E[-prefix don't search for lib$1 in includedir and libdir],
1336[907[
1337 if test "X$withval" = "Xno"; then908 if test "X$withval" = "Xno"; then
1338 use_additional=no909 use_additional=no
@@ -1353,6 +924,7 @@
1353 LIB[]NAME=924 LIB[]NAME=
1354 LTLIB[]NAME=925 LTLIB[]NAME=
1355 INC[]NAME=926 INC[]NAME=
927 LIB[]NAME[]_PREFIX=
1356 rpathdirs=928 rpathdirs=
1357 ltrpathdirs=929 ltrpathdirs=
1358 names_already_handled=930 names_already_handled=
@@ -1392,29 +964,55 @@
1392 found_la=964 found_la=
1393 found_so=965 found_so=
1394 found_a=966 found_a=
967 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
968 if test -n "$acl_shlibext"; then
969 shrext=".$acl_shlibext" # typically: shrext=.so
970 else
971 shrext=
972 fi
1395 if test $use_additional = yes; then973 if test $use_additional = yes; then
1396 if test -n "$shlibext" \974 dir="$additional_libdir"
1397 && { test -f "$additional_libdir/lib$name.$shlibext" \975 dnl The same code as in the loop below:
1398 || { test "$shlibext" = dll \976 dnl First look for a shared library.
1399 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then977 if test -n "$acl_shlibext"; then
1400 found_dir="$additional_libdir"978 if test -f "$dir/$libname$shrext"; then
1401 if test -f "$additional_libdir/lib$name.$shlibext"; then979 found_dir="$dir"
1402 found_so="$additional_libdir/lib$name.$shlibext"980 found_so="$dir/$libname$shrext"
1403 else981 else
1404 found_so="$additional_libdir/lib$name.dll.a"982 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
1405 fi983 ver=`(cd "$dir" && \
1406 if test -f "$additional_libdir/lib$name.la"; then984 for f in "$libname$shrext".*; do echo "$f"; done \
1407 found_la="$additional_libdir/lib$name.la"985 | sed -e "s,^$libname$shrext\\\\.,," \
1408 fi986 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
1409 else987 | sed 1q ) 2>/dev/null`
1410 if test -f "$additional_libdir/lib$name.$libext"; then988 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
1411 found_dir="$additional_libdir"989 found_dir="$dir"
1412 found_a="$additional_libdir/lib$name.$libext"990 found_so="$dir/$libname$shrext.$ver"
1413 if test -f "$additional_libdir/lib$name.la"; then991 fi
1414 found_la="$additional_libdir/lib$name.la"992 else
993 eval library_names=\"$acl_library_names_spec\"
994 for f in $library_names; do
995 if test -f "$dir/$f"; then
996 found_dir="$dir"
997 found_so="$dir/$f"
998 break
999 fi
1000 done
1415 fi1001 fi
1416 fi1002 fi
1417 fi1003 fi
1004 dnl Then look for a static library.
1005 if test "X$found_dir" = "X"; then
1006 if test -f "$dir/$libname.$acl_libext"; then
1007 found_dir="$dir"
1008 found_a="$dir/$libname.$acl_libext"
1009 fi
1010 fi
1011 if test "X$found_dir" != "X"; then
1012 if test -f "$dir/$libname.la"; then
1013 found_la="$dir/$libname.la"
1014 fi
1015 fi
1418 fi1016 fi
1419 if test "X$found_dir" = "X"; then1017 if test "X$found_dir" = "X"; then
1420 for x in $LDFLAGS $LTLIB[]NAME; do1018 for x in $LDFLAGS $LTLIB[]NAME; do
@@ -1422,28 +1020,46 @@
1422 case "$x" in1020 case "$x" in
1423 -L*)1021 -L*)
1424 dir=`echo "X$x" | sed -e 's/^X-L//'`1022 dir=`echo "X$x" | sed -e 's/^X-L//'`
1425 if test -n "$shlibext" \1023 dnl First look for a shared library.
1426 && { test -f "$dir/lib$name.$shlibext" \1024 if test -n "$acl_shlibext"; then
1427 || { test "$shlibext" = dll \1025 if test -f "$dir/$libname$shrext"; then
1428 && test -f "$dir/lib$name.dll.a"; }; }; then1026 found_dir="$dir"
1429 found_dir="$dir"1027 found_so="$dir/$libname$shrext"
1430 if test -f "$dir/lib$name.$shlibext"; then
1431 found_so="$dir/lib$name.$shlibext"
1432 else1028 else
1433 found_so="$dir/lib$name.dll.a"1029 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
1434 fi1030 ver=`(cd "$dir" && \
1435 if test -f "$dir/lib$name.la"; then1031 for f in "$libname$shrext".*; do echo "$f"; done \
1436 found_la="$dir/lib$name.la"1032 | sed -e "s,^$libname$shrext\\\\.,," \
1437 fi1033 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
1438 else1034 | sed 1q ) 2>/dev/null`
1439 if test -f "$dir/lib$name.$libext"; then1035 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
1440 found_dir="$dir"1036 found_dir="$dir"
1441 found_a="$dir/lib$name.$libext"1037 found_so="$dir/$libname$shrext.$ver"
1442 if test -f "$dir/lib$name.la"; then1038 fi
1443 found_la="$dir/lib$name.la"1039 else
1040 eval library_names=\"$acl_library_names_spec\"
1041 for f in $library_names; do
1042 if test -f "$dir/$f"; then
1043 found_dir="$dir"
1044 found_so="$dir/$f"
1045 break
1046 fi
1047 done
1444 fi1048 fi
1445 fi1049 fi
1446 fi1050 fi
1051 dnl Then look for a static library.
1052 if test "X$found_dir" = "X"; then
1053 if test -f "$dir/$libname.$acl_libext"; then
1054 found_dir="$dir"
1055 found_a="$dir/$libname.$acl_libext"
1056 fi
1057 fi
1058 if test "X$found_dir" != "X"; then
1059 if test -f "$dir/$libname.la"; then
1060 found_la="$dir/$libname.la"
1061 fi
1062 fi
1447 ;;1063 ;;
1448 esac1064 esac
1449 if test "X$found_dir" != "X"; then1065 if test "X$found_dir" != "X"; then
@@ -1477,12 +1093,12 @@
1477 ltrpathdirs="$ltrpathdirs $found_dir"1093 ltrpathdirs="$ltrpathdirs $found_dir"
1478 fi1094 fi
1479 dnl The hardcoding into $LIBNAME is system dependent.1095 dnl The hardcoding into $LIBNAME is system dependent.
1480 if test "$hardcode_direct" = yes; then1096 if test "$acl_hardcode_direct" = yes; then
1481 dnl Using DIR/libNAME.so during linking hardcodes DIR into the1097 dnl Using DIR/libNAME.so during linking hardcodes DIR into the
1482 dnl resulting binary.1098 dnl resulting binary.
1483 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"1099 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1484 else1100 else
1485 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then1101 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
1486 dnl Use an explicit option to hardcode DIR into the resulting1102 dnl Use an explicit option to hardcode DIR into the resulting
1487 dnl binary.1103 dnl binary.
1488 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"1104 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
@@ -1513,13 +1129,13 @@
1513 if test -z "$haveit"; then1129 if test -z "$haveit"; then
1514 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"1130 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
1515 fi1131 fi
1516 if test "$hardcode_minus_L" != no; then1132 if test "$acl_hardcode_minus_L" != no; then
1517 dnl FIXME: Not sure whether we should use1133 dnl FIXME: Not sure whether we should use
1518 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"1134 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
1519 dnl here.1135 dnl here.
1520 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"1136 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1521 else1137 else
1522 dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH1138 dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH
1523 dnl here, because this doesn't fit in flags passed to the1139 dnl here, because this doesn't fit in flags passed to the
1524 dnl compiler. So give up. No hardcoding. This affects only1140 dnl compiler. So give up. No hardcoding. This affects only
1525 dnl very old systems.1141 dnl very old systems.
@@ -1546,6 +1162,7 @@
1546 case "$found_dir" in1162 case "$found_dir" in
1547 */$acl_libdirstem | */$acl_libdirstem/)1163 */$acl_libdirstem | */$acl_libdirstem/)
1548 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`1164 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
1165 LIB[]NAME[]_PREFIX="$basedir"
1549 additional_includedir="$basedir/include"1166 additional_includedir="$basedir/include"
1550 ;;1167 ;;
1551 esac1168 esac
@@ -1707,18 +1324,18 @@
1707 done1324 done
1708 done1325 done
1709 if test "X$rpathdirs" != "X"; then1326 if test "X$rpathdirs" != "X"; then
1710 if test -n "$hardcode_libdir_separator"; then1327 if test -n "$acl_hardcode_libdir_separator"; then
1711 dnl Weird platform: only the last -rpath option counts, the user must1328 dnl Weird platform: only the last -rpath option counts, the user must
1712 dnl pass all path elements in one option. We can arrange that for a1329 dnl pass all path elements in one option. We can arrange that for a
1713 dnl single library, but not when more than one $LIBNAMEs are used.1330 dnl single library, but not when more than one $LIBNAMEs are used.
1714 alldirs=1331 alldirs=
1715 for found_dir in $rpathdirs; do1332 for found_dir in $rpathdirs; do
1716 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"1333 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
1717 done1334 done
1718 dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.1335 dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl.
1719 acl_save_libdir="$libdir"1336 acl_save_libdir="$libdir"
1720 libdir="$alldirs"1337 libdir="$alldirs"
1721 eval flag=\"$hardcode_libdir_flag_spec\"1338 eval flag=\"$acl_hardcode_libdir_flag_spec\"
1722 libdir="$acl_save_libdir"1339 libdir="$acl_save_libdir"
1723 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"1340 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
1724 else1341 else
@@ -1726,7 +1343,7 @@
1726 for found_dir in $rpathdirs; do1343 for found_dir in $rpathdirs; do
1727 acl_save_libdir="$libdir"1344 acl_save_libdir="$libdir"
1728 libdir="$found_dir"1345 libdir="$found_dir"
1729 eval flag=\"$hardcode_libdir_flag_spec\"1346 eval flag=\"$acl_hardcode_libdir_flag_spec\"
1730 libdir="$acl_save_libdir"1347 libdir="$acl_save_libdir"
1731 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"1348 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
1732 done1349 done
@@ -1775,7 +1392,7 @@
1775 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])1392 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
1776 $1=1393 $1=
1777 if test "$enable_rpath" != no; then1394 if test "$enable_rpath" != no; then
1778 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then1395 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
1779 dnl Use an explicit option to hardcode directories into the resulting1396 dnl Use an explicit option to hardcode directories into the resulting
1780 dnl binary.1397 dnl binary.
1781 rpathdirs=1398 rpathdirs=
@@ -1809,16 +1426,16 @@
1809 done1426 done
1810 else1427 else
1811 dnl The linker is used for linking directly.1428 dnl The linker is used for linking directly.
1812 if test -n "$hardcode_libdir_separator"; then1429 if test -n "$acl_hardcode_libdir_separator"; then
1813 dnl Weird platform: only the last -rpath option counts, the user1430 dnl Weird platform: only the last -rpath option counts, the user
1814 dnl must pass all path elements in one option.1431 dnl must pass all path elements in one option.
1815 alldirs=1432 alldirs=
1816 for dir in $rpathdirs; do1433 for dir in $rpathdirs; do
1817 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$dir"1434 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir"
1818 done1435 done
1819 acl_save_libdir="$libdir"1436 acl_save_libdir="$libdir"
1820 libdir="$alldirs"1437 libdir="$alldirs"
1821 eval flag=\"$hardcode_libdir_flag_spec\"1438 eval flag=\"$acl_hardcode_libdir_flag_spec\"
1822 libdir="$acl_save_libdir"1439 libdir="$acl_save_libdir"
1823 $1="$flag"1440 $1="$flag"
1824 else1441 else
@@ -1826,7 +1443,7 @@
1826 for dir in $rpathdirs; do1443 for dir in $rpathdirs; do
1827 acl_save_libdir="$libdir"1444 acl_save_libdir="$libdir"
1828 libdir="$dir"1445 libdir="$dir"
1829 eval flag=\"$hardcode_libdir_flag_spec\"1446 eval flag=\"$acl_hardcode_libdir_flag_spec\"
1830 libdir="$acl_save_libdir"1447 libdir="$acl_save_libdir"
1831 $1="${$1}${$1:+ }$flag"1448 $1="${$1}${$1:+ }$flag"
1832 done1449 done
@@ -2026,7 +1643,7 @@
20261643
2027# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-1644# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
20281645
2029# serial 48 Debian 1.5.22-4 AC_PROG_LIBTOOL1646# serial 52 Debian 1.5.26-4 AC_PROG_LIBTOOL
20301647
20311648
2032# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)1649# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
@@ -2114,7 +1731,6 @@
2114AC_REQUIRE([AC_OBJEXT])dnl1731AC_REQUIRE([AC_OBJEXT])dnl
2115AC_REQUIRE([AC_EXEEXT])dnl1732AC_REQUIRE([AC_EXEEXT])dnl
2116dnl1733dnl
2117
2118AC_LIBTOOL_SYS_MAX_CMD_LEN1734AC_LIBTOOL_SYS_MAX_CMD_LEN
2119AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE1735AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
2120AC_LIBTOOL_OBJDIR1736AC_LIBTOOL_OBJDIR
@@ -2189,7 +1805,7 @@
2189test -z "$ac_objext" && ac_objext=o1805test -z "$ac_objext" && ac_objext=o
21901806
2191# Determine commands to create old-style static archives.1807# Determine commands to create old-style static archives.
2192old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'1808old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
2193old_postinstall_cmds='chmod 644 $oldlib'1809old_postinstall_cmds='chmod 644 $oldlib'
2194old_postuninstall_cmds=1810old_postuninstall_cmds=
21951811
@@ -2216,6 +1832,8 @@
2216 ;;1832 ;;
2217esac1833esac
22181834
1835_LT_REQUIRED_DARWIN_CHECKS
1836
2219AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)1837AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
2220AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],1838AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
2221enable_win32_dll=yes, enable_win32_dll=no)1839enable_win32_dll=yes, enable_win32_dll=no)
@@ -2276,8 +1894,9 @@
2276# Check for compiler boilerplate output or warnings with1894# Check for compiler boilerplate output or warnings with
2277# the simple compiler test code.1895# the simple compiler test code.
2278AC_DEFUN([_LT_COMPILER_BOILERPLATE],1896AC_DEFUN([_LT_COMPILER_BOILERPLATE],
2279[ac_outfile=conftest.$ac_objext1897[AC_REQUIRE([LT_AC_PROG_SED])dnl
2280printf "$lt_simple_compile_test_code" >conftest.$ac_ext1898ac_outfile=conftest.$ac_objext
1899echo "$lt_simple_compile_test_code" >conftest.$ac_ext
2281eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err1900eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
2282_lt_compiler_boilerplate=`cat conftest.err`1901_lt_compiler_boilerplate=`cat conftest.err`
2283$rm conftest*1902$rm conftest*
@@ -2289,13 +1908,85 @@
2289# Check for linker boilerplate output or warnings with1908# Check for linker boilerplate output or warnings with
2290# the simple link test code.1909# the simple link test code.
2291AC_DEFUN([_LT_LINKER_BOILERPLATE],1910AC_DEFUN([_LT_LINKER_BOILERPLATE],
2292[ac_outfile=conftest.$ac_objext1911[AC_REQUIRE([LT_AC_PROG_SED])dnl
2293printf "$lt_simple_link_test_code" >conftest.$ac_ext1912ac_outfile=conftest.$ac_objext
1913echo "$lt_simple_link_test_code" >conftest.$ac_ext
2294eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err1914eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
2295_lt_linker_boilerplate=`cat conftest.err`1915_lt_linker_boilerplate=`cat conftest.err`
2296$rm conftest*1916$rm -r conftest*
2297])# _LT_LINKER_BOILERPLATE1917])# _LT_LINKER_BOILERPLATE
22981918
1919# _LT_REQUIRED_DARWIN_CHECKS
1920# --------------------------
1921# Check for some things on darwin
1922AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
1923 case $host_os in
1924 rhapsody* | darwin*)
1925 AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
1926 AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
1927
1928 AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
1929 [lt_cv_apple_cc_single_mod=no
1930 if test -z "${LT_MULTI_MODULE}"; then
1931 # By default we will add the -single_module flag. You can override
1932 # by either setting the environment variable LT_MULTI_MODULE
1933 # non-empty at configure time, or by adding -multi_module to the
1934 # link flags.
1935 echo "int foo(void){return 1;}" > conftest.c
1936 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1937 -dynamiclib ${wl}-single_module conftest.c
1938 if test -f libconftest.dylib; then
1939 lt_cv_apple_cc_single_mod=yes
1940 rm -rf libconftest.dylib*
1941 fi
1942 rm conftest.c
1943 fi])
1944 AC_CACHE_CHECK([for -exported_symbols_list linker flag],
1945 [lt_cv_ld_exported_symbols_list],
1946 [lt_cv_ld_exported_symbols_list=no
1947 save_LDFLAGS=$LDFLAGS
1948 echo "_main" > conftest.sym
1949 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1950 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
1951 [lt_cv_ld_exported_symbols_list=yes],
1952 [lt_cv_ld_exported_symbols_list=no])
1953 LDFLAGS="$save_LDFLAGS"
1954 ])
1955 case $host_os in
1956 rhapsody* | darwin1.[[0123]])
1957 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
1958 darwin1.*)
1959 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
1960 darwin*)
1961 # if running on 10.5 or later, the deployment target defaults
1962 # to the OS version, if on x86, and 10.4, the deployment
1963 # target defaults to 10.4. Don't you love it?
1964 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1965 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1966 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
1967 10.[[012]]*)
1968 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
1969 10.*)
1970 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
1971 esac
1972 ;;
1973 esac
1974 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
1975 _lt_dar_single_mod='$single_module'
1976 fi
1977 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
1978 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
1979 else
1980 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
1981 fi
1982 if test "$DSYMUTIL" != ":"; then
1983 _lt_dsymutil="~$DSYMUTIL \$lib || :"
1984 else
1985 _lt_dsymutil=
1986 fi
1987 ;;
1988 esac
1989])
22991990
2300# _LT_AC_SYS_LIBPATH_AIX1991# _LT_AC_SYS_LIBPATH_AIX
2301# ----------------------1992# ----------------------
@@ -2306,12 +1997,20 @@
2306# If we don't find anything, use the default library path according1997# If we don't find anything, use the default library path according
2307# to the aix ld manual.1998# to the aix ld manual.
2308AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],1999AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
2309[AC_LINK_IFELSE(AC_LANG_PROGRAM,[2000[AC_REQUIRE([LT_AC_PROG_SED])dnl
2310aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }2001AC_LINK_IFELSE(AC_LANG_PROGRAM,[
2311}'`2002lt_aix_libpath_sed='
2003 /Import File Strings/,/^$/ {
2004 /^0/ {
2005 s/^0 *\(.*\)$/\1/
2006 p
2007 }
2008 }'
2009aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
2312# Check for a 64-bit object if we didn't find anything.2010# Check for a 64-bit object if we didn't find anything.
2313if 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; }2011if test -z "$aix_libpath"; then
2314}'`; fi],[])2012 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
2013fi],[])
2315if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi2014if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
2316])# _LT_AC_SYS_LIBPATH_AIX2015])# _LT_AC_SYS_LIBPATH_AIX
23172016
@@ -2542,13 +2241,17 @@
2542 rm -rf conftest*2241 rm -rf conftest*
2543 ;;2242 ;;
25442243
2545x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)2244x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
2245s390*-*linux*|sparc*-*linux*)
2546 # Find out which ABI we are using.2246 # Find out which ABI we are using.
2547 echo 'int i;' > conftest.$ac_ext2247 echo 'int i;' > conftest.$ac_ext
2548 if AC_TRY_EVAL(ac_compile); then2248 if AC_TRY_EVAL(ac_compile); then
2549 case `/usr/bin/file conftest.o` in2249 case `/usr/bin/file conftest.o` in
2550 *32-bit*)2250 *32-bit*)
2551 case $host in2251 case $host in
2252 x86_64-*kfreebsd*-gnu)
2253 LD="${LD-ld} -m elf_i386_fbsd"
2254 ;;
2552 x86_64-*linux*)2255 x86_64-*linux*)
2553 LD="${LD-ld} -m elf_i386"2256 LD="${LD-ld} -m elf_i386"
2554 ;;2257 ;;
@@ -2565,6 +2268,9 @@
2565 ;;2268 ;;
2566 *64-bit*)2269 *64-bit*)
2567 case $host in2270 case $host in
2271 x86_64-*kfreebsd*-gnu)
2272 LD="${LD-ld} -m elf_x86_64_fbsd"
2273 ;;
2568 x86_64-*linux*)2274 x86_64-*linux*)
2569 LD="${LD-ld} -m elf_x86_64"2275 LD="${LD-ld} -m elf_x86_64"
2570 ;;2276 ;;
@@ -2605,7 +2311,11 @@
2605 *64-bit*)2311 *64-bit*)
2606 case $lt_cv_prog_gnu_ld in2312 case $lt_cv_prog_gnu_ld in
2607 yes*) LD="${LD-ld} -m elf64_sparc" ;;2313 yes*) LD="${LD-ld} -m elf64_sparc" ;;
2608 *) LD="${LD-ld} -64" ;;2314 *)
2315 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
2316 LD="${LD-ld} -64"
2317 fi
2318 ;;
2609 esac2319 esac
2610 ;;2320 ;;
2611 esac2321 esac
@@ -2636,7 +2346,7 @@
2636AC_CACHE_CHECK([$1], [$2],2346AC_CACHE_CHECK([$1], [$2],
2637 [$2=no2347 [$2=no
2638 ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])2348 ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
2639 printf "$lt_simple_compile_test_code" > conftest.$ac_ext2349 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
2640 lt_compiler_flag="$3"2350 lt_compiler_flag="$3"
2641 # Insert the option either (1) after the last *FLAGS variable, or2351 # Insert the option either (1) after the last *FLAGS variable, or
2642 # (2) before a word containing "conftest.", or (3) at the end.2352 # (2) before a word containing "conftest.", or (3) at the end.
@@ -2677,11 +2387,12 @@
2677# ------------------------------------------------------------2387# ------------------------------------------------------------
2678# Check whether the given compiler option works2388# Check whether the given compiler option works
2679AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],2389AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
2680[AC_CACHE_CHECK([$1], [$2],2390[AC_REQUIRE([LT_AC_PROG_SED])dnl
2391AC_CACHE_CHECK([$1], [$2],
2681 [$2=no2392 [$2=no
2682 save_LDFLAGS="$LDFLAGS"2393 save_LDFLAGS="$LDFLAGS"
2683 LDFLAGS="$LDFLAGS $3"2394 LDFLAGS="$LDFLAGS $3"
2684 printf "$lt_simple_link_test_code" > conftest.$ac_ext2395 echo "$lt_simple_link_test_code" > conftest.$ac_ext
2685 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then2396 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
2686 # The linker can only warn and ignore the option if not recognized2397 # The linker can only warn and ignore the option if not recognized
2687 # So say no if there are warnings2398 # So say no if there are warnings
@@ -2697,7 +2408,7 @@
2697 $2=yes2408 $2=yes
2698 fi2409 fi
2699 fi2410 fi
2700 $rm conftest*2411 $rm -r conftest*
2701 LDFLAGS="$save_LDFLAGS"2412 LDFLAGS="$save_LDFLAGS"
2702])2413])
27032414
@@ -2795,24 +2506,27 @@
2795 fi2506 fi
2796 ;;2507 ;;
2797 *)2508 *)
2798 # If test is not a shell built-in, we'll probably end up computing a2509 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
2799 # maximum length that is only half of the actual maximum length, but2510 if test -n "$lt_cv_sys_max_cmd_len"; then
2800 # we can't tell.2511 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
2801 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}2512 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
2802 while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \2513 else
2514 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
2515 while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
2803 = "XX$teststring") >/dev/null 2>&1 &&2516 = "XX$teststring") >/dev/null 2>&1 &&
2804 new_result=`expr "X$teststring" : ".*" 2>&1` &&2517 new_result=`expr "X$teststring" : ".*" 2>&1` &&
2805 lt_cv_sys_max_cmd_len=$new_result &&2518 lt_cv_sys_max_cmd_len=$new_result &&
2806 test $i != 17 # 1/2 MB should be enough2519 test $i != 17 # 1/2 MB should be enough
2807 do2520 do
2808 i=`expr $i + 1`2521 i=`expr $i + 1`
2809 teststring=$teststring$teststring2522 teststring=$teststring$teststring
2810 done2523 done
2811 teststring=2524 teststring=
2812 # Add a significant safety factor because C++ compilers can tack on massive2525 # Add a significant safety factor because C++ compilers can tack on massive
2813 # amounts of additional arguments before passing them to the linker.2526 # amounts of additional arguments before passing them to the linker.
2814 # It appears as though 1/2 is a usable value.2527 # It appears as though 1/2 is a usable value.
2815 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`2528 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
2529 fi
2816 ;;2530 ;;
2817 esac2531 esac
2818])2532])
@@ -2965,7 +2679,7 @@
2965 AC_CHECK_FUNC([shl_load],2679 AC_CHECK_FUNC([shl_load],
2966 [lt_cv_dlopen="shl_load"],2680 [lt_cv_dlopen="shl_load"],
2967 [AC_CHECK_LIB([dld], [shl_load],2681 [AC_CHECK_LIB([dld], [shl_load],
2968 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],2682 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
2969 [AC_CHECK_FUNC([dlopen],2683 [AC_CHECK_FUNC([dlopen],
2970 [lt_cv_dlopen="dlopen"],2684 [lt_cv_dlopen="dlopen"],
2971 [AC_CHECK_LIB([dl], [dlopen],2685 [AC_CHECK_LIB([dl], [dlopen],
@@ -2973,7 +2687,7 @@
2973 [AC_CHECK_LIB([svld], [dlopen],2687 [AC_CHECK_LIB([svld], [dlopen],
2974 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],2688 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
2975 [AC_CHECK_LIB([dld], [dld_link],2689 [AC_CHECK_LIB([dld], [dld_link],
2976 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])2690 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
2977 ])2691 ])
2978 ])2692 ])
2979 ])2693 ])
@@ -3039,7 +2753,8 @@
3039# ---------------------------------2753# ---------------------------------
3040# Check to see if options -c and -o are simultaneously supported by compiler2754# Check to see if options -c and -o are simultaneously supported by compiler
3041AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],2755AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
3042[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl2756[AC_REQUIRE([LT_AC_PROG_SED])dnl
2757AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
3043AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],2758AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
3044 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],2759 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
3045 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no2760 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
@@ -3047,7 +2762,7 @@
3047 mkdir conftest2762 mkdir conftest
3048 cd conftest2763 cd conftest
3049 mkdir out2764 mkdir out
3050 printf "$lt_simple_compile_test_code" > conftest.$ac_ext2765 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
30512766
3052 lt_compiler_flag="-o out/conftest2.$ac_objext"2767 lt_compiler_flag="-o out/conftest2.$ac_objext"
3053 # Insert the option either (1) after the last *FLAGS variable, or2768 # Insert the option either (1) after the last *FLAGS variable, or
@@ -3187,6 +2902,7 @@
3187 darwin*)2902 darwin*)
3188 if test -n "$STRIP" ; then2903 if test -n "$STRIP" ; then
3189 striplib="$STRIP -x"2904 striplib="$STRIP -x"
2905 old_striplib="$STRIP -S"
3190 AC_MSG_RESULT([yes])2906 AC_MSG_RESULT([yes])
3191 else2907 else
3192 AC_MSG_RESULT([no])2908 AC_MSG_RESULT([no])
@@ -3204,7 +2920,8 @@
3204# -----------------------------2920# -----------------------------
3205# PORTME Fill in your ld.so characteristics2921# PORTME Fill in your ld.so characteristics
3206AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],2922AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
3207[AC_MSG_CHECKING([dynamic linker characteristics])2923[AC_REQUIRE([LT_AC_PROG_SED])dnl
2924AC_MSG_CHECKING([dynamic linker characteristics])
3208library_names_spec=2925library_names_spec=
3209libname_spec='lib$name'2926libname_spec='lib$name'
3210soname_spec=2927soname_spec=
@@ -3218,20 +2935,58 @@
3218version_type=none2935version_type=none
3219dynamic_linker="$host_os ld.so"2936dynamic_linker="$host_os ld.so"
3220sys_lib_dlsearch_path_spec="/lib /usr/lib"2937sys_lib_dlsearch_path_spec="/lib /usr/lib"
2938m4_if($1,[],[
3221if test "$GCC" = yes; then2939if test "$GCC" = yes; then
3222 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`2940 case $host_os in
3223 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then2941 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
2942 *) lt_awk_arg="/^libraries:/" ;;
2943 esac
2944 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2945 if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
3224 # if the path contains ";" then we assume it to be the separator2946 # if the path contains ";" then we assume it to be the separator
3225 # otherwise default to the standard path separator (i.e. ":") - it is2947 # otherwise default to the standard path separator (i.e. ":") - it is
3226 # assumed that no part of a normal pathname contains ";" but that should2948 # assumed that no part of a normal pathname contains ";" but that should
3227 # okay in the real world where ";" in dirpaths is itself problematic.2949 # okay in the real world where ";" in dirpaths is itself problematic.
3228 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`2950 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
3229 else2951 else
3230 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`2952 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
3231 fi2953 fi
2954 # Ok, now we have the path, separated by spaces, we can step through it
2955 # and add multilib dir if necessary.
2956 lt_tmp_lt_search_path_spec=
2957 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
2958 for lt_sys_path in $lt_search_path_spec; do
2959 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
2960 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
2961 else
2962 test -d "$lt_sys_path" && \
2963 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
2964 fi
2965 done
2966 lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
2967BEGIN {RS=" "; FS="/|\n";} {
2968 lt_foo="";
2969 lt_count=0;
2970 for (lt_i = NF; lt_i > 0; lt_i--) {
2971 if ($lt_i != "" && $lt_i != ".") {
2972 if ($lt_i == "..") {
2973 lt_count++;
2974 } else {
2975 if (lt_count == 0) {
2976 lt_foo="/" $lt_i lt_foo;
2977 } else {
2978 lt_count--;
2979 }
2980 }
2981 }
2982 }
2983 if (lt_foo != "") { lt_freq[[lt_foo]]++; }
2984 if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
2985}'`
2986 sys_lib_search_path_spec=`echo $lt_search_path_spec`
3232else2987else
3233 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"2988 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
3234fi2989fi])
3235need_lib_prefix=unknown2990need_lib_prefix=unknown
3236hardcode_into_libs=no2991hardcode_into_libs=no
32372992
@@ -3249,7 +3004,7 @@
3249 soname_spec='${libname}${release}${shared_ext}$major'3004 soname_spec='${libname}${release}${shared_ext}$major'
3250 ;;3005 ;;
32513006
3252aix4* | aix5*)3007aix[[4-9]]*)
3253 version_type=linux3008 version_type=linux
3254 need_lib_prefix=no3009 need_lib_prefix=no
3255 need_version=no3010 need_version=no
@@ -3388,12 +3143,8 @@
3388 shlibpath_overrides_runpath=yes3143 shlibpath_overrides_runpath=yes
3389 shlibpath_var=DYLD_LIBRARY_PATH3144 shlibpath_var=DYLD_LIBRARY_PATH
3390 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'3145 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
3391 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.3146 m4_if([$1], [],[
3392 if test "$GCC" = yes; then3147 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
3393 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"`
3394 else
3395 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
3396 fi
3397 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'3148 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
3398 ;;3149 ;;
33993150
@@ -3447,7 +3198,7 @@
3447 shlibpath_overrides_runpath=no3198 shlibpath_overrides_runpath=no
3448 hardcode_into_libs=yes3199 hardcode_into_libs=yes
3449 ;;3200 ;;
3450 freebsd*) # from 4.6 on3201 *) # from 4.6 on, and DragonFly
3451 shlibpath_overrides_runpath=yes3202 shlibpath_overrides_runpath=yes
3452 hardcode_into_libs=yes3203 hardcode_into_libs=yes
3453 ;;3204 ;;
@@ -3510,7 +3261,7 @@
3510 postinstall_cmds='chmod 555 $lib'3261 postinstall_cmds='chmod 555 $lib'
3511 ;;3262 ;;
35123263
3513interix3*)3264interix[[3-9]]*)
3514 version_type=linux3265 version_type=linux
3515 need_lib_prefix=no3266 need_lib_prefix=no
3516 need_version=no3267 need_version=no
@@ -3581,7 +3332,7 @@
35813332
3582 # Append ld.so.conf contents to the search path3333 # Append ld.so.conf contents to the search path
3583 if test -f /etc/ld.so.conf; then3334 if test -f /etc/ld.so.conf; then
3584 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`3335 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
3585 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"3336 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
3586 fi3337 fi
35873338
@@ -3687,6 +3438,10 @@
3687 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"3438 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
3688 ;;3439 ;;
36893440
3441rdos*)
3442 dynamic_linker=no
3443 ;;
3444
3690solaris*)3445solaris*)
3691 version_type=linux3446 version_type=linux
3692 need_lib_prefix=no3447 need_lib_prefix=no
@@ -3782,6 +3537,13 @@
3782AC_MSG_RESULT([$dynamic_linker])3537AC_MSG_RESULT([$dynamic_linker])
3783test "$dynamic_linker" = no && can_build_shared=no3538test "$dynamic_linker" = no && can_build_shared=no
37843539
3540AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec],
3541[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"])
3542sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
3543AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec],
3544[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"])
3545sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
3546
3785variables_saved_for_relink="PATH $shlibpath_var $runpath_var"3547variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
3786if test "$GCC" = yes; then3548if test "$GCC" = yes; then
3787 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"3549 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
@@ -3792,7 +3554,8 @@
3792# _LT_AC_TAGCONFIG3554# _LT_AC_TAGCONFIG
3793# ----------------3555# ----------------
3794AC_DEFUN([_LT_AC_TAGCONFIG],3556AC_DEFUN([_LT_AC_TAGCONFIG],
3795[AC_ARG_WITH([tags],3557[AC_REQUIRE([LT_AC_PROG_SED])dnl
3558AC_ARG_WITH([tags],
3796 [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],3559 [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
3797 [include additional configurations @<:@automatic@:>@])],3560 [include additional configurations @<:@automatic@:>@])],
3798 [tagnames="$withval"])3561 [tagnames="$withval"])
@@ -4053,7 +3816,7 @@
40533816
4054# AC_PATH_TOOL_PREFIX3817# AC_PATH_TOOL_PREFIX
4055# -------------------3818# -------------------
4056# find a file program which can recognise shared library3819# find a file program which can recognize shared library
4057AC_DEFUN([AC_PATH_TOOL_PREFIX],3820AC_DEFUN([AC_PATH_TOOL_PREFIX],
4058[AC_REQUIRE([AC_PROG_EGREP])dnl3821[AC_REQUIRE([AC_PROG_EGREP])dnl
4059AC_MSG_CHECKING([for $1])3822AC_MSG_CHECKING([for $1])
@@ -4116,7 +3879,7 @@
41163879
4117# AC_PATH_MAGIC3880# AC_PATH_MAGIC
4118# -------------3881# -------------
4119# find a file program which can recognise a shared library3882# find a file program which can recognize a shared library
4120AC_DEFUN([AC_PATH_MAGIC],3883AC_DEFUN([AC_PATH_MAGIC],
4121[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)3884[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
4122if test -z "$lt_cv_path_MAGIC_CMD"; then3885if test -z "$lt_cv_path_MAGIC_CMD"; then
@@ -4263,7 +4026,7 @@
4263# how to check for library dependencies4026# how to check for library dependencies
4264# -- PORTME fill in with the dynamic library characteristics4027# -- PORTME fill in with the dynamic library characteristics
4265AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],4028AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
4266[AC_CACHE_CHECK([how to recognise dependent libraries],4029[AC_CACHE_CHECK([how to recognize dependent libraries],
4267lt_cv_deplibs_check_method,4030lt_cv_deplibs_check_method,
4268[lt_cv_file_magic_cmd='$MAGIC_CMD'4031[lt_cv_file_magic_cmd='$MAGIC_CMD'
4269lt_cv_file_magic_test_file=4032lt_cv_file_magic_test_file=
@@ -4280,7 +4043,7 @@
4280# whether `pass_all' will *always* work, you probably want this one.4043# whether `pass_all' will *always* work, you probably want this one.
42814044
4282case $host_os in4045case $host_os in
4283aix4* | aix5*)4046aix[[4-9]]*)
4284 lt_cv_deplibs_check_method=pass_all4047 lt_cv_deplibs_check_method=pass_all
4285 ;;4048 ;;
42864049
@@ -4302,9 +4065,15 @@
43024065
4303mingw* | pw32*)4066mingw* | pw32*)
4304 # Base MSYS/MinGW do not provide the 'file' command needed by4067 # Base MSYS/MinGW do not provide the 'file' command needed by
4305 # func_win32_libid shell function, so use a weaker test based on 'objdump'.4068 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4306 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'4069 # unless we find 'file', for example because we are cross-compiling.
4307 lt_cv_file_magic_cmd='$OBJDUMP -f'4070 if ( file / ) >/dev/null 2>&1; then
4071 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4072 lt_cv_file_magic_cmd='func_win32_libid'
4073 else
4074 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4075 lt_cv_file_magic_cmd='$OBJDUMP -f'
4076 fi
4308 ;;4077 ;;
43094078
4310darwin* | rhapsody*)4079darwin* | rhapsody*)
@@ -4349,7 +4118,7 @@
4349 esac4118 esac
4350 ;;4119 ;;
43514120
4352interix3*)4121interix[[3-9]]*)
4353 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here4122 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4354 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'4123 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
4355 ;;4124 ;;
@@ -4399,6 +4168,10 @@
4399 lt_cv_deplibs_check_method=pass_all4168 lt_cv_deplibs_check_method=pass_all
4400 ;;4169 ;;
44014170
4171rdos*)
4172 lt_cv_deplibs_check_method=pass_all
4173 ;;
4174
4402solaris*)4175solaris*)
4403 lt_cv_deplibs_check_method=pass_all4176 lt_cv_deplibs_check_method=pass_all
4404 ;;4177 ;;
@@ -4451,7 +4224,7 @@
4451 lt_cv_path_NM="$NM"4224 lt_cv_path_NM="$NM"
4452else4225else
4453 lt_nm_to_check="${ac_tool_prefix}nm"4226 lt_nm_to_check="${ac_tool_prefix}nm"
4454 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4227 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4455 lt_nm_to_check="$lt_nm_to_check nm"4228 lt_nm_to_check="$lt_nm_to_check nm"
4456 fi4229 fi
4457 for lt_tmp_nm in $lt_nm_to_check; do4230 for lt_tmp_nm in $lt_nm_to_check; do
@@ -4667,10 +4440,10 @@
4667_LT_AC_TAGVAR(objext, $1)=$objext4440_LT_AC_TAGVAR(objext, $1)=$objext
46684441
4669# Code to be used in simple compile tests4442# Code to be used in simple compile tests
4670lt_simple_compile_test_code="int some_variable = 0;\n"4443lt_simple_compile_test_code="int some_variable = 0;"
46714444
4672# Code to be used in simple link tests4445# Code to be used in simple link tests
4673lt_simple_link_test_code='int main(){return(0);}\n'4446lt_simple_link_test_code='int main(){return(0);}'
46744447
4675_LT_AC_SYS_COMPILER4448_LT_AC_SYS_COMPILER
46764449
@@ -4706,7 +4479,7 @@
4706 fi4479 fi
4707 ;;4480 ;;
47084481
4709aix4* | aix5*)4482aix[[4-9]]*)
4710 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then4483 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
4711 test "$enable_shared" = yes && enable_static=no4484 test "$enable_shared" = yes && enable_static=no
4712 fi4485 fi
@@ -4763,6 +4536,7 @@
4763_LT_AC_TAGVAR(predeps, $1)=4536_LT_AC_TAGVAR(predeps, $1)=
4764_LT_AC_TAGVAR(postdeps, $1)=4537_LT_AC_TAGVAR(postdeps, $1)=
4765_LT_AC_TAGVAR(compiler_lib_search_path, $1)=4538_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
4539_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
47664540
4767# Source file extension for C++ test sources.4541# Source file extension for C++ test sources.
4768ac_ext=cpp4542ac_ext=cpp
@@ -4772,10 +4546,10 @@
4772_LT_AC_TAGVAR(objext, $1)=$objext4546_LT_AC_TAGVAR(objext, $1)=$objext
47734547
4774# Code to be used in simple compile tests4548# Code to be used in simple compile tests
4775lt_simple_compile_test_code="int some_variable = 0;\n"4549lt_simple_compile_test_code="int some_variable = 0;"
47764550
4777# Code to be used in simple link tests4551# Code to be used in simple link tests
4778lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n'4552lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
47794553
4780# ltmain only uses $CC for tagged configurations so make sure $CC is set.4554# ltmain only uses $CC for tagged configurations so make sure $CC is set.
4781_LT_AC_SYS_COMPILER4555_LT_AC_SYS_COMPILER
@@ -4872,7 +4646,7 @@
4872 # FIXME: insert proper C++ library support4646 # FIXME: insert proper C++ library support
4873 _LT_AC_TAGVAR(ld_shlibs, $1)=no4647 _LT_AC_TAGVAR(ld_shlibs, $1)=no
4874 ;;4648 ;;
4875 aix4* | aix5*)4649 aix[[4-9]]*)
4876 if test "$host_cpu" = ia64; then4650 if test "$host_cpu" = ia64; then
4877 # On IA64, the linker does run time linking by default, so we don't4651 # On IA64, the linker does run time linking by default, so we don't
4878 # have to do anything special.4652 # have to do anything special.
@@ -4885,7 +4659,7 @@
4885 # Test if we are trying to use run time linking or normal4659 # Test if we are trying to use run time linking or normal
4886 # AIX style linking. If -brtl is somewhere in LDFLAGS, we4660 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
4887 # need to do runtime linking.4661 # need to do runtime linking.
4888 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)4662 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
4889 for ld_flag in $LDFLAGS; do4663 for ld_flag in $LDFLAGS; do
4890 case $ld_flag in4664 case $ld_flag in
4891 *-brtl*)4665 *-brtl*)
@@ -4921,7 +4695,7 @@
4921 strings "$collect2name" | grep resolve_lib_name >/dev/null4695 strings "$collect2name" | grep resolve_lib_name >/dev/null
4922 then4696 then
4923 # We have reworked collect24697 # We have reworked collect2
4924 _LT_AC_TAGVAR(hardcode_direct, $1)=yes4698 :
4925 else4699 else
4926 # We have old collect24700 # We have old collect2
4927 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported4701 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
@@ -5031,59 +4805,31 @@
5031 fi4805 fi
5032 ;;4806 ;;
5033 darwin* | rhapsody*)4807 darwin* | rhapsody*)
5034 case $host_os in
5035 rhapsody* | darwin1.[[012]])
5036 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
5037 ;;
5038 *) # Darwin 1.3 on
5039 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
5040 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
5041 else
5042 case ${MACOSX_DEPLOYMENT_TARGET} in
5043 10.[[012]])
5044 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
5045 ;;
5046 10.*)
5047 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
5048 ;;
5049 esac
5050 fi
5051 ;;
5052 esac
5053 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no4808 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5054 _LT_AC_TAGVAR(hardcode_direct, $1)=no4809 _LT_AC_TAGVAR(hardcode_direct, $1)=no
5055 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes4810 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
5056 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported4811 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
5057 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''4812 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
5058 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes4813 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
50594814 _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
5060 if test "$GXX" = yes ; then4815 if test "$GXX" = yes ; then
5061 lt_int_apple_cc_single_mod=no
5062 output_verbose_link_cmd='echo'4816 output_verbose_link_cmd='echo'
5063 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then4817 _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
5064 lt_int_apple_cc_single_mod=yes4818 _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
4819 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
4820 _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
4821 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
4822 _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
4823 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
5065 fi4824 fi
5066 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
5067 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
5068 else
5069 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
5070 fi
5071 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
5072 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
5073 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
5074 _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}'
5075 else
5076 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
5077 fi
5078 _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}'
5079 else4825 else
5080 case $cc_basename in4826 case $cc_basename in
5081 xlc*)4827 xlc*)
5082 output_verbose_link_cmd='echo'4828 output_verbose_link_cmd='echo'
5083 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'4829 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
5084 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'4830 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
5085 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds4831 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
5086 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'4832 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
5087 _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}'4833 _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}'
5088 ;;4834 ;;
5089 *)4835 *)
@@ -5166,9 +4912,7 @@
5166 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:4912 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
51674913
5168 case $host_cpu in4914 case $host_cpu in
5169 hppa*64*|ia64*)4915 hppa*64*|ia64*) ;;
5170 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
5171 ;;
5172 *)4916 *)
5173 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'4917 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5174 ;;4918 ;;
@@ -5236,7 +4980,7 @@
5236 ;;4980 ;;
5237 esac4981 esac
5238 ;;4982 ;;
5239 interix3*)4983 interix[[3-9]]*)
5240 _LT_AC_TAGVAR(hardcode_direct, $1)=no4984 _LT_AC_TAGVAR(hardcode_direct, $1)=no
5241 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no4985 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5242 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'4986 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
@@ -5328,7 +5072,7 @@
5328 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'5072 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
5329 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'5073 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
5330 ;;5074 ;;
5331 pgCC*)5075 pgCC* | pgcpp*)
5332 # Portland Group C++ compiler5076 # Portland Group C++ compiler
5333 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'5077 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
5334 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'5078 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
@@ -5356,6 +5100,29 @@
5356 # dependencies.5100 # dependencies.
5357 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'5101 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'
5358 ;;5102 ;;
5103 *)
5104 case `$CC -V 2>&1 | sed 5q` in
5105 *Sun\ C*)
5106 # Sun C++ 5.9
5107 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
5108 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
5109 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
5110 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5111 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
5112
5113 # Not sure whether something based on
5114 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
5115 # would be better.
5116 output_verbose_link_cmd='echo'
5117
5118 # Archives containing C++ object files must be created using
5119 # "CC -xar", where "CC" is the Sun C++ compiler. This is
5120 # necessary to make sure instantiated templates are included
5121 # in the archive.
5122 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
5123 ;;
5124 esac
5125 ;;
5359 esac5126 esac
5360 ;;5127 ;;
5361 lynxos*)5128 lynxos*)
@@ -5394,16 +5161,20 @@
5394 _LT_AC_TAGVAR(ld_shlibs, $1)=no5161 _LT_AC_TAGVAR(ld_shlibs, $1)=no
5395 ;;5162 ;;
5396 openbsd*)5163 openbsd*)
5397 _LT_AC_TAGVAR(hardcode_direct, $1)=yes5164 if test -f /usr/libexec/ld.so; then
5398 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no5165 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5399 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'5166 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5400 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'5167 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
5401 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then5168 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5402 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'5169 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5403 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'5170 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
5404 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'5171 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5172 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
5173 fi
5174 output_verbose_link_cmd='echo'
5175 else
5176 _LT_AC_TAGVAR(ld_shlibs, $1)=no
5405 fi5177 fi
5406 output_verbose_link_cmd='echo'
5407 ;;5178 ;;
5408 osf3*)5179 osf3*)
5409 case $cc_basename in5180 case $cc_basename in
@@ -5565,15 +5336,10 @@
5565 case $host_os in5336 case $host_os in
5566 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;5337 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
5567 *)5338 *)
5568 # The C++ compiler is used as linker so we must use $wl5339 # The compiler driver will combine and reorder linker options,
5569 # flag to pass the commands to the underlying system5340 # but understands `-z linker_flag'.
5570 # linker. We must also pass each convience library through
5571 # to the system linker between allextract/defaultextract.
5572 # The C++ compiler will combine linker options so we
5573 # cannot just pass the convience library names through
5574 # without $wl.
5575 # Supported since Solaris 2.6 (maybe 2.5.1?)5341 # Supported since Solaris 2.6 (maybe 2.5.1?)
5576 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'5342 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
5577 ;;5343 ;;
5578 esac5344 esac
5579 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes5345 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
@@ -5620,6 +5386,12 @@
5620 fi5386 fi
56215387
5622 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'5388 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
5389 case $host_os in
5390 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
5391 *)
5392 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
5393 ;;
5394 esac
5623 fi5395 fi
5624 ;;5396 ;;
5625 esac5397 esac
@@ -5735,7 +5507,8 @@
5735# compiler output when linking a shared library.5507# compiler output when linking a shared library.
5736# Parse the compiler output and extract the necessary5508# Parse the compiler output and extract the necessary
5737# objects, libraries and library flags.5509# objects, libraries and library flags.
5738AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[5510AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],
5511[AC_REQUIRE([LT_AC_PROG_SED])dnl
5739dnl we can't use the lt_simple_compile_test_code here,5512dnl we can't use the lt_simple_compile_test_code here,
5740dnl because it contains code intended for an executable,5513dnl because it contains code intended for an executable,
5741dnl not a library. It's possible we should let each5514dnl not a library. It's possible we should let each
@@ -5860,10 +5633,15 @@
58605633
5861$rm -f confest.$objext5634$rm -f confest.$objext
58625635
5636_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
5637if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
5638 _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
5639fi
5640
5863# PORTME: override above test on systems where it is broken5641# PORTME: override above test on systems where it is broken
5864ifelse([$1],[CXX],5642ifelse([$1],[CXX],
5865[case $host_os in5643[case $host_os in
5866interix3*)5644interix[[3-9]]*)
5867 # Interix 3.5 installs completely hosed .la files for C++, so rather than5645 # Interix 3.5 installs completely hosed .la files for C++, so rather than
5868 # hack all around it, let's just trust "g++" to DTRT.5646 # hack all around it, let's just trust "g++" to DTRT.
5869 _LT_AC_TAGVAR(predep_objects,$1)=5647 _LT_AC_TAGVAR(predep_objects,$1)=
@@ -5871,19 +5649,51 @@
5871 _LT_AC_TAGVAR(postdeps,$1)=5649 _LT_AC_TAGVAR(postdeps,$1)=
5872 ;;5650 ;;
58735651
5652linux*)
5653 case `$CC -V 2>&1 | sed 5q` in
5654 *Sun\ C*)
5655 # Sun C++ 5.9
5656 #
5657 # The more standards-conforming stlport4 library is
5658 # incompatible with the Cstd library. Avoid specifying
5659 # it if it's in CXXFLAGS. Ignore libCrun as
5660 # -library=stlport4 depends on it.
5661 case " $CXX $CXXFLAGS " in
5662 *" -library=stlport4 "*)
5663 solaris_use_stlport4=yes
5664 ;;
5665 esac
5666 if test "$solaris_use_stlport4" != yes; then
5667 _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
5668 fi
5669 ;;
5670 esac
5671 ;;
5672
5874solaris*)5673solaris*)
5875 case $cc_basename in5674 case $cc_basename in
5876 CC*)5675 CC*)
5676 # The more standards-conforming stlport4 library is
5677 # incompatible with the Cstd library. Avoid specifying
5678 # it if it's in CXXFLAGS. Ignore libCrun as
5679 # -library=stlport4 depends on it.
5680 case " $CXX $CXXFLAGS " in
5681 *" -library=stlport4 "*)
5682 solaris_use_stlport4=yes
5683 ;;
5684 esac
5685
5877 # Adding this requires a known-good setup of shared libraries for5686 # Adding this requires a known-good setup of shared libraries for
5878 # Sun compiler versions before 5.6, else PIC objects from an old5687 # Sun compiler versions before 5.6, else PIC objects from an old
5879 # archive will be linked into the output, leading to subtle bugs.5688 # archive will be linked into the output, leading to subtle bugs.
5880 _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'5689 if test "$solaris_use_stlport4" != yes; then
5690 _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
5691 fi
5881 ;;5692 ;;
5882 esac5693 esac
5883 ;;5694 ;;
5884esac5695esac
5885])5696])
5886
5887case " $_LT_AC_TAGVAR(postdeps, $1) " in5697case " $_LT_AC_TAGVAR(postdeps, $1) " in
5888*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;5698*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
5889esac5699esac
@@ -5926,10 +5736,17 @@
5926_LT_AC_TAGVAR(objext, $1)=$objext5736_LT_AC_TAGVAR(objext, $1)=$objext
59275737
5928# Code to be used in simple compile tests5738# Code to be used in simple compile tests
5929lt_simple_compile_test_code=" subroutine t\n return\n end\n"5739lt_simple_compile_test_code="\
5740 subroutine t
5741 return
5742 end
5743"
59305744
5931# Code to be used in simple link tests5745# Code to be used in simple link tests
5932lt_simple_link_test_code=" program t\n end\n"5746lt_simple_link_test_code="\
5747 program t
5748 end
5749"
59335750
5934# ltmain only uses $CC for tagged configurations so make sure $CC is set.5751# ltmain only uses $CC for tagged configurations so make sure $CC is set.
5935_LT_AC_SYS_COMPILER5752_LT_AC_SYS_COMPILER
@@ -5961,7 +5778,7 @@
5961 postinstall_cmds='$RANLIB $lib'5778 postinstall_cmds='$RANLIB $lib'
5962 fi5779 fi
5963 ;;5780 ;;
5964aix4* | aix5*)5781aix[[4-9]]*)
5965 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then5782 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
5966 test "$enable_shared" = yes && enable_static=no5783 test "$enable_shared" = yes && enable_static=no
5967 fi5784 fi
@@ -6008,10 +5825,10 @@
6008_LT_AC_TAGVAR(objext, $1)=$objext5825_LT_AC_TAGVAR(objext, $1)=$objext
60095826
6010# Code to be used in simple compile tests5827# Code to be used in simple compile tests
6011lt_simple_compile_test_code="class foo {}\n"5828lt_simple_compile_test_code="class foo {}"
60125829
6013# Code to be used in simple link tests5830# Code to be used in simple link tests
6014lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n'5831lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
60155832
6016# ltmain only uses $CC for tagged configurations so make sure $CC is set.5833# ltmain only uses $CC for tagged configurations so make sure $CC is set.
6017_LT_AC_SYS_COMPILER5834_LT_AC_SYS_COMPILER
@@ -6064,7 +5881,7 @@
6064_LT_AC_TAGVAR(objext, $1)=$objext5881_LT_AC_TAGVAR(objext, $1)=$objext
60655882
6066# Code to be used in simple compile tests5883# Code to be used in simple compile tests
6067lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'5884lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
60685885
6069# Code to be used in simple link tests5886# Code to be used in simple link tests
6070lt_simple_link_test_code="$lt_simple_compile_test_code"5887lt_simple_link_test_code="$lt_simple_compile_test_code"
@@ -6138,6 +5955,7 @@
6138 _LT_AC_TAGVAR(predeps, $1) \5955 _LT_AC_TAGVAR(predeps, $1) \
6139 _LT_AC_TAGVAR(postdeps, $1) \5956 _LT_AC_TAGVAR(postdeps, $1) \
6140 _LT_AC_TAGVAR(compiler_lib_search_path, $1) \5957 _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
5958 _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \
6141 _LT_AC_TAGVAR(archive_cmds, $1) \5959 _LT_AC_TAGVAR(archive_cmds, $1) \
6142 _LT_AC_TAGVAR(archive_expsym_cmds, $1) \5960 _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
6143 _LT_AC_TAGVAR(postinstall_cmds, $1) \5961 _LT_AC_TAGVAR(postinstall_cmds, $1) \
@@ -6153,6 +5971,7 @@
6153 _LT_AC_TAGVAR(module_cmds, $1) \5971 _LT_AC_TAGVAR(module_cmds, $1) \
6154 _LT_AC_TAGVAR(module_expsym_cmds, $1) \5972 _LT_AC_TAGVAR(module_expsym_cmds, $1) \
6155 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \5973 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
5974 _LT_AC_TAGVAR(fix_srcfile_path, $1) \
6156 _LT_AC_TAGVAR(exclude_expsyms, $1) \5975 _LT_AC_TAGVAR(exclude_expsyms, $1) \
6157 _LT_AC_TAGVAR(include_expsyms, $1); do5976 _LT_AC_TAGVAR(include_expsyms, $1); do
61585977
@@ -6199,7 +6018,7 @@
6199# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)6018# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
6200# NOTE: Changes made to this file will be lost: look at ltmain.sh.6019# NOTE: Changes made to this file will be lost: look at ltmain.sh.
6201#6020#
6202# Copyright (C) 1996, 1997, 1998, 1999, 2000, 20016021# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
6203# Free Software Foundation, Inc.6022# Free Software Foundation, Inc.
6204#6023#
6205# This file is part of GNU Libtool:6024# This file is part of GNU Libtool:
@@ -6436,6 +6255,10 @@
6436# shared library.6255# shared library.
6437postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)6256postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
64386257
6258# The directories searched by this compiler when creating a shared
6259# library
6260compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)
6261
6439# The library search path used internally by the compiler when linking6262# The library search path used internally by the compiler when linking
6440# a shared library.6263# a shared library.
6441compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)6264compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
@@ -6524,7 +6347,7 @@
6524sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec6347sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
65256348
6526# Fix the shell variable \$srcfile for the compiler.6349# Fix the shell variable \$srcfile for the compiler.
6527fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"6350fix_srcfile_path=$lt_fix_srcfile_path
65286351
6529# Set to yes if exported symbols are required.6352# Set to yes if exported symbols are required.
6530always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)6353always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
@@ -6607,6 +6430,7 @@
6607# ---------------------------------6430# ---------------------------------
6608AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],6431AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
6609[AC_REQUIRE([AC_CANONICAL_HOST])6432[AC_REQUIRE([AC_CANONICAL_HOST])
6433AC_REQUIRE([LT_AC_PROG_SED])
6610AC_REQUIRE([AC_PROG_NM])6434AC_REQUIRE([AC_PROG_NM])
6611AC_REQUIRE([AC_OBJEXT])6435AC_REQUIRE([AC_OBJEXT])
6612# Check for command to grab the raw symbol name followed by C symbol from nm.6436# Check for command to grab the raw symbol name followed by C symbol from nm.
@@ -6784,7 +6608,7 @@
6784 echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD6608 echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
6785 cat conftest.$ac_ext >&56609 cat conftest.$ac_ext >&5
6786 fi6610 fi
6787 rm -f conftest* conftst*6611 rm -rf conftest* conftst*
67886612
6789 # Do not use the global_symbol_pipe unless it works.6613 # Do not use the global_symbol_pipe unless it works.
6790 if test "$pipe_works" = yes; then6614 if test "$pipe_works" = yes; then
@@ -6833,13 +6657,16 @@
6833 # like `-m68040'.6657 # like `-m68040'.
6834 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'6658 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
6835 ;;6659 ;;
6836 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)6660 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6837 # PIC is the default for these OSes.6661 # PIC is the default for these OSes.
6838 ;;6662 ;;
6839 mingw* | os2* | pw32*)6663 mingw* | cygwin* | os2* | pw32*)
6840 # This hack is so that the source file can tell whether it is being6664 # This hack is so that the source file can tell whether it is being
6841 # built for inclusion in a dll (and should export symbols for example).6665 # built for inclusion in a dll (and should export symbols for example).
6842 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'6666 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6667 # (--disable-auto-import) libraries
6668 m4_if([$1], [GCJ], [],
6669 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
6843 ;;6670 ;;
6844 darwin* | rhapsody*)6671 darwin* | rhapsody*)
6845 # PIC is the default on this platform6672 # PIC is the default on this platform
@@ -6850,7 +6677,7 @@
6850 # DJGPP does not support shared libraries at all6677 # DJGPP does not support shared libraries at all
6851 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=6678 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6852 ;;6679 ;;
6853 interix3*)6680 interix[[3-9]]*)
6854 # Interix 3.x gcc -fpic/-fPIC options generate broken code.6681 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6855 # Instead, we relocate shared libraries at runtime.6682 # Instead, we relocate shared libraries at runtime.
6856 ;;6683 ;;
@@ -6876,7 +6703,7 @@
6876 esac6703 esac
6877 else6704 else
6878 case $host_os in6705 case $host_os in
6879 aix4* | aix5*)6706 aix[[4-9]]*)
6880 # All AIX code is PIC.6707 # All AIX code is PIC.
6881 if test "$host_cpu" = ia64; then6708 if test "$host_cpu" = ia64; then
6882 # AIX 5 now supports IA64 processor6709 # AIX 5 now supports IA64 processor
@@ -6972,7 +6799,7 @@
6972 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'6799 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6973 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'6800 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
6974 ;;6801 ;;
6975 pgCC*)6802 pgCC* | pgcpp*)
6976 # Portland Group C++ compiler.6803 # Portland Group C++ compiler.
6977 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'6804 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6978 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'6805 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
@@ -6986,6 +6813,14 @@
6986 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'6813 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6987 ;;6814 ;;
6988 *)6815 *)
6816 case `$CC -V 2>&1 | sed 5q` in
6817 *Sun\ C*)
6818 # Sun C++ 5.9
6819 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6820 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6821 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
6822 ;;
6823 esac
6989 ;;6824 ;;
6990 esac6825 esac
6991 ;;6826 ;;
@@ -7106,14 +6941,17 @@
7106 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'6941 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
7107 ;;6942 ;;
71086943
7109 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)6944 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7110 # PIC is the default for these OSes.6945 # PIC is the default for these OSes.
7111 ;;6946 ;;
71126947
7113 mingw* | pw32* | os2*)6948 mingw* | cygwin* | pw32* | os2*)
7114 # This hack is so that the source file can tell whether it is being6949 # This hack is so that the source file can tell whether it is being
7115 # built for inclusion in a dll (and should export symbols for example).6950 # built for inclusion in a dll (and should export symbols for example).
7116 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'6951 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6952 # (--disable-auto-import) libraries
6953 m4_if([$1], [GCJ], [],
6954 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
7117 ;;6955 ;;
71186956
7119 darwin* | rhapsody*)6957 darwin* | rhapsody*)
@@ -7122,7 +6960,7 @@
7122 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'6960 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
7123 ;;6961 ;;
71246962
7125 interix3*)6963 interix[[3-9]]*)
7126 # Interix 3.x gcc -fpic/-fPIC options generate broken code.6964 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7127 # Instead, we relocate shared libraries at runtime.6965 # Instead, we relocate shared libraries at runtime.
7128 ;;6966 ;;
@@ -7180,10 +7018,11 @@
7180 esac7018 esac
7181 ;;7019 ;;
71827020
7183 mingw* | pw32* | os2*)7021 mingw* | cygwin* | pw32* | os2*)
7184 # This hack is so that the source file can tell whether it is being7022 # This hack is so that the source file can tell whether it is being
7185 # built for inclusion in a dll (and should export symbols for example).7023 # built for inclusion in a dll (and should export symbols for example).
7186 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'7024 m4_if([$1], [GCJ], [],
7025 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
7187 ;;7026 ;;
71887027
7189 hpux9* | hpux10* | hpux11*)7028 hpux9* | hpux10* | hpux11*)
@@ -7232,6 +7071,22 @@
7232 # All Alpha code is PIC.7071 # All Alpha code is PIC.
7233 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'7072 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
7234 ;;7073 ;;
7074 *)
7075 case `$CC -V 2>&1 | sed 5q` in
7076 *Sun\ C*)
7077 # Sun C 5.9
7078 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7079 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7080 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7081 ;;
7082 *Sun\ F*)
7083 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7084 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7085 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7086 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
7087 ;;
7088 esac
7089 ;;
7235 esac7090 esac
7236 ;;7091 ;;
72377092
@@ -7241,6 +7096,10 @@
7241 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'7096 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
7242 ;;7097 ;;
72437098
7099 rdos*)
7100 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
7101 ;;
7102
7244 solaris*)7103 solaris*)
7245 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'7104 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7246 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'7105 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
@@ -7300,7 +7159,7 @@
7300#7159#
7301if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then7160if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
7302 AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],7161 AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
7303 _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),7162 _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
7304 [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],7163 [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
7305 [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in7164 [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
7306 "" | " "*) ;;7165 "" | " "*) ;;
@@ -7324,7 +7183,7 @@
7324#7183#
7325wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"7184wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
7326AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],7185AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
7327 _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),7186 _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
7328 $lt_tmp_static_flag,7187 $lt_tmp_static_flag,
7329 [],7188 [],
7330 [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])7189 [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
@@ -7335,11 +7194,12 @@
7335# ------------------------------------7194# ------------------------------------
7336# See if the linker supports building shared libraries.7195# See if the linker supports building shared libraries.
7337AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],7196AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
7338[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])7197[AC_REQUIRE([LT_AC_PROG_SED])dnl
7198AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
7339ifelse([$1],[CXX],[7199ifelse([$1],[CXX],[
7340 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'7200 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7341 case $host_os in7201 case $host_os in
7342 aix4* | aix5*)7202 aix[[4-9]]*)
7343 # If we're using GNU nm, then we don't want the "-C" option.7203 # If we're using GNU nm, then we don't want the "-C" option.
7344 # -C means demangle to AIX nm, but means don't demangle with GNU nm7204 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7345 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then7205 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
@@ -7352,7 +7212,7 @@
7352 _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"7212 _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
7353 ;;7213 ;;
7354 cygwin* | mingw*)7214 cygwin* | mingw*)
7355 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([[^ ]]*\) [[^ ]]*/\1 DATA/;/^I /d;/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'7215 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
7356 ;;7216 ;;
7357 linux* | k*bsd*-gnu)7217 linux* | k*bsd*-gnu)
7358 _LT_AC_TAGVAR(link_all_deplibs, $1)=no7218 _LT_AC_TAGVAR(link_all_deplibs, $1)=no
@@ -7361,6 +7221,7 @@
7361 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'7221 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7362 ;;7222 ;;
7363 esac7223 esac
7224 _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
7364],[7225],[
7365 runpath_var=7226 runpath_var=
7366 _LT_AC_TAGVAR(allow_undefined_flag, $1)=7227 _LT_AC_TAGVAR(allow_undefined_flag, $1)=
@@ -7391,12 +7252,14 @@
7391 # it will be wrapped by ` (' and `)$', so one must not match beginning or7252 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7392 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',7253 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7393 # as well as any symbol that contains `d'.7254 # as well as any symbol that contains `d'.
7394 _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"7255 _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
7395 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out7256 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7396 # platforms (ab)use it in PIC code, but their linkers get confused if7257 # platforms (ab)use it in PIC code, but their linkers get confused if
7397 # the symbol is explicitly referenced. Since portable code cannot7258 # the symbol is explicitly referenced. Since portable code cannot
7398 # rely on this symbol name, it's probably fine to never include it in7259 # rely on this symbol name, it's probably fine to never include it in
7399 # preloaded symbol tables.7260 # preloaded symbol tables.
7261 # Exclude shared library initialization/finalization symbols.
7262dnl Note also adjust exclude_expsyms for C++ above.
7400 extract_expsyms_cmds=7263 extract_expsyms_cmds=
7401 # Just being paranoid about ensuring that cc_basename is set.7264 # Just being paranoid about ensuring that cc_basename is set.
7402 _LT_CC_BASENAME([$compiler])7265 _LT_CC_BASENAME([$compiler])
@@ -7446,7 +7309,7 @@
74467309
7447 # See if GNU ld supports shared libraries.7310 # See if GNU ld supports shared libraries.
7448 case $host_os in7311 case $host_os in
7449 aix3* | aix4* | aix5*)7312 aix[[3-9]]*)
7450 # On AIX/PPC, the GNU linker is very broken7313 # On AIX/PPC, the GNU linker is very broken
7451 if test "$host_cpu" != ia64; then7314 if test "$host_cpu" != ia64; then
7452 _LT_AC_TAGVAR(ld_shlibs, $1)=no7315 _LT_AC_TAGVAR(ld_shlibs, $1)=no
@@ -7494,7 +7357,7 @@
7494 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported7357 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7495 _LT_AC_TAGVAR(always_export_symbols, $1)=no7358 _LT_AC_TAGVAR(always_export_symbols, $1)=no
7496 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes7359 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
7497 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'7360 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
74987361
7499 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then7362 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7500 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'7363 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
@@ -7512,7 +7375,7 @@
7512 fi7375 fi
7513 ;;7376 ;;
75147377
7515 interix3*)7378 interix[[3-9]]*)
7516 _LT_AC_TAGVAR(hardcode_direct, $1)=no7379 _LT_AC_TAGVAR(hardcode_direct, $1)=no
7517 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no7380 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7518 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'7381 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
@@ -7527,7 +7390,7 @@
7527 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'7390 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7528 ;;7391 ;;
75297392
7530 linux* | k*bsd*-gnu)7393 gnu* | linux* | k*bsd*-gnu)
7531 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then7394 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7532 tmp_addflag=7395 tmp_addflag=
7533 case $cc_basename,$host_cpu in7396 case $cc_basename,$host_cpu in
@@ -7545,13 +7408,22 @@
7545 ifc* | ifort*) # Intel Fortran compiler7408 ifc* | ifort*) # Intel Fortran compiler
7546 tmp_addflag=' -nofor_main' ;;7409 tmp_addflag=' -nofor_main' ;;
7547 esac7410 esac
7548 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'7411 case `$CC -V 2>&1 | sed 5q` in
7412 *Sun\ C*) # Sun C 5.9
7413 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7414 tmp_sharedflag='-G' ;;
7415 *Sun\ F*) # Sun Fortran 8.3
7416 tmp_sharedflag='-G' ;;
7417 *)
7418 tmp_sharedflag='-shared' ;;
7419 esac
7420 _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
75497421
7550 if test $supports_anon_versioning = yes; then7422 if test $supports_anon_versioning = yes; then
7551 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~7423 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
7552 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~7424 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7553 $echo "local: *; };" >> $output_objdir/$libname.ver~7425 $echo "local: *; };" >> $output_objdir/$libname.ver~
7554 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'7426 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7555 fi7427 fi
7556 _LT_AC_TAGVAR(link_all_deplibs, $1)=no7428 _LT_AC_TAGVAR(link_all_deplibs, $1)=no
7557 else7429 else
@@ -7592,7 +7464,7 @@
75927464
7593 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)7465 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7594 case `$LD -v 2>&1` in7466 case `$LD -v 2>&1` in
7595 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) 7467 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
7596 _LT_AC_TAGVAR(ld_shlibs, $1)=no7468 _LT_AC_TAGVAR(ld_shlibs, $1)=no
7597 cat <<_LT_EOF 1>&27469 cat <<_LT_EOF 1>&2
75987470
@@ -7657,7 +7529,7 @@
7657 fi7529 fi
7658 ;;7530 ;;
76597531
7660 aix4* | aix5*)7532 aix[[4-9]]*)
7661 if test "$host_cpu" = ia64; then7533 if test "$host_cpu" = ia64; then
7662 # On IA64, the linker does run time linking by default, so we don't7534 # On IA64, the linker does run time linking by default, so we don't
7663 # have to do anything special.7535 # have to do anything special.
@@ -7677,7 +7549,7 @@
7677 # Test if we are trying to use run time linking or normal7549 # Test if we are trying to use run time linking or normal
7678 # AIX style linking. If -brtl is somewhere in LDFLAGS, we7550 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7679 # need to do runtime linking.7551 # need to do runtime linking.
7680 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)7552 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
7681 for ld_flag in $LDFLAGS; do7553 for ld_flag in $LDFLAGS; do
7682 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then7554 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7683 aix_use_runtimelinking=yes7555 aix_use_runtimelinking=yes
@@ -7711,7 +7583,7 @@
7711 strings "$collect2name" | grep resolve_lib_name >/dev/null7583 strings "$collect2name" | grep resolve_lib_name >/dev/null
7712 then7584 then
7713 # We have reworked collect27585 # We have reworked collect2
7714 _LT_AC_TAGVAR(hardcode_direct, $1)=yes7586 :
7715 else7587 else
7716 # We have old collect27588 # We have old collect2
7717 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported7589 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
@@ -7804,7 +7676,7 @@
7804 # The linker will automatically build a .lib file if we build a DLL.7676 # The linker will automatically build a .lib file if we build a DLL.
7805 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'7677 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
7806 # FIXME: Should let the user specify the lib program.7678 # FIXME: Should let the user specify the lib program.
7807 _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'7679 _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
7808 _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'7680 _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
7809 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes7681 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
7810 ;;7682 ;;
@@ -7837,19 +7709,18 @@
7837 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes7709 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
7838 if test "$GCC" = yes ; then7710 if test "$GCC" = yes ; then
7839 output_verbose_link_cmd='echo'7711 output_verbose_link_cmd='echo'
7840 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'7712 _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7841 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'7713 _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7842 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds7714 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
7843 _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}'7715 _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
7844 _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}'
7845 else7716 else
7846 case $cc_basename in7717 case $cc_basename in
7847 xlc*)7718 xlc*)
7848 output_verbose_link_cmd='echo'7719 output_verbose_link_cmd='echo'
7849 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'7720 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
7850 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'7721 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7851 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds7722 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7852 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'7723 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7853 _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}'7724 _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}'
7854 ;;7725 ;;
7855 *)7726 *)
@@ -8011,24 +7882,28 @@
8011 ;;7882 ;;
80127883
8013 openbsd*)7884 openbsd*)
8014 _LT_AC_TAGVAR(hardcode_direct, $1)=yes7885 if test -f /usr/libexec/ld.so; then
8015 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no7886 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8016 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then7887 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8017 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'7888 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8018 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'7889 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8019 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'7890 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8020 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'7891 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
7892 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
7893 else
7894 case $host_os in
7895 openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
7896 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7897 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7898 ;;
7899 *)
7900 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7901 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
7902 ;;
7903 esac
7904 fi
8021 else7905 else
8022 case $host_os in7906 _LT_AC_TAGVAR(ld_shlibs, $1)=no
8023 openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
8024 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8025 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8026 ;;
8027 *)
8028 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8029 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8030 ;;
8031 esac
8032 fi7907 fi
8033 ;;7908 ;;
80347909
@@ -8087,17 +7962,16 @@
8087 case $host_os in7962 case $host_os in
8088 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;7963 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
8089 *)7964 *)
8090 # The compiler driver will combine linker options so we7965 # The compiler driver will combine and reorder linker options,
8091 # cannot just pass the convience library names through7966 # but understands `-z linker_flag'. GCC discards it without `$wl',
8092 # without $wl, iff we do not link with $LD.7967 # but is careful enough not to reorder.
8093 # Luckily, gcc supports the same syntax we need for Sun Studio.
8094 # Supported since Solaris 2.6 (maybe 2.5.1?)7968 # Supported since Solaris 2.6 (maybe 2.5.1?)
8095 case $wlarc in7969 if test "$GCC" = yes; then
8096 '')7970 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8097 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;7971 else
8098 *)7972 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
8099 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;7973 fi
8100 esac ;;7974 ;;
8101 esac7975 esac
8102 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes7976 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
8103 ;;7977 ;;
@@ -8154,7 +8028,7 @@
8154 fi8028 fi
8155 ;;8029 ;;
81568030
8157 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*)8031 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
8158 _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'8032 _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
8159 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no8033 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
8160 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no8034 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
@@ -8229,7 +8103,7 @@
8229 # to ld, don't add -lc before -lgcc.8103 # to ld, don't add -lc before -lgcc.
8230 AC_MSG_CHECKING([whether -lc should be explicitly linked in])8104 AC_MSG_CHECKING([whether -lc should be explicitly linked in])
8231 $rm conftest*8105 $rm conftest*
8232 printf "$lt_simple_compile_test_code" > conftest.$ac_ext8106 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
82338107
8234 if AC_TRY_EVAL(ac_compile) 2>conftest.err; then8108 if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
8235 soname=conftest8109 soname=conftest
@@ -8332,6 +8206,30 @@
8332[AC_CHECK_TOOL(RC, windres, no)8206[AC_CHECK_TOOL(RC, windres, no)
8333])8207])
83348208
8209
8210# Cheap backport of AS_EXECUTABLE_P and required macros
8211# from Autoconf 2.59; we should not use $as_executable_p directly.
8212
8213# _AS_TEST_PREPARE
8214# ----------------
8215m4_ifndef([_AS_TEST_PREPARE],
8216[m4_defun([_AS_TEST_PREPARE],
8217[if test -x / >/dev/null 2>&1; then
8218 as_executable_p='test -x'
8219else
8220 as_executable_p='test -f'
8221fi
8222])])# _AS_TEST_PREPARE
8223
8224# AS_EXECUTABLE_P
8225# ---------------
8226# Check whether a file is executable.
8227m4_ifndef([AS_EXECUTABLE_P],
8228[m4_defun([AS_EXECUTABLE_P],
8229[AS_REQUIRE([_AS_TEST_PREPARE])dnl
8230$as_executable_p $1[]dnl
8231])])# AS_EXECUTABLE_P
8232
8335# NOTE: This macro has been submitted for inclusion into #8233# NOTE: This macro has been submitted for inclusion into #
8336# GNU Autoconf as AC_PROG_SED. When it is available in #8234# GNU Autoconf as AC_PROG_SED. When it is available in #
8337# a released version of Autoconf we should remove this #8235# a released version of Autoconf we should remove this #
@@ -8352,12 +8250,13 @@
8352 test -z "$as_dir" && as_dir=.8250 test -z "$as_dir" && as_dir=.
8353 for lt_ac_prog in sed gsed; do8251 for lt_ac_prog in sed gsed; do
8354 for ac_exec_ext in '' $ac_executable_extensions; do8252 for ac_exec_ext in '' $ac_executable_extensions; do
8355 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then8253 if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then
8356 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"8254 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
8357 fi8255 fi
8358 done8256 done
8359 done8257 done
8360done8258done
8259IFS=$as_save_IFS
8361lt_ac_max=08260lt_ac_max=0
8362lt_ac_count=08261lt_ac_count=0
8363# Add /usr/xpg4/bin/sed as it is typically found on Solaris8262# Add /usr/xpg4/bin/sed as it is typically found on Solaris
@@ -8390,402 +8289,10 @@
8390done8289done
8391])8290])
8392SED=$lt_cv_path_SED8291SED=$lt_cv_path_SED
8292AC_SUBST([SED])
8393AC_MSG_RESULT([$SED])8293AC_MSG_RESULT([$SED])
8394])8294])
83958295
8396# lock.m4 serial 6 (gettext-0.16)
8397dnl Copyright (C) 2005-2006 Free Software Foundation, Inc.
8398dnl This file is free software; the Free Software Foundation
8399dnl gives unlimited permission to copy and/or distribute it,
8400dnl with or without modifications, as long as this notice is preserved.
8401
8402dnl From Bruno Haible.
8403
8404dnl Tests for a multithreading library to be used.
8405dnl Defines at most one of the macros USE_POSIX_THREADS, USE_SOLARIS_THREADS,
8406dnl USE_PTH_THREADS, USE_WIN32_THREADS
8407dnl Sets the variables LIBTHREAD and LTLIBTHREAD to the linker options for use
8408dnl in a Makefile (LIBTHREAD for use without libtool, LTLIBTHREAD for use with
8409dnl libtool).
8410dnl Sets the variables LIBMULTITHREAD and LTLIBMULTITHREAD similarly, for
8411dnl programs that really need multithread functionality. The difference
8412dnl between LIBTHREAD and LIBMULTITHREAD is that on platforms supporting weak
8413dnl symbols, typically LIBTHREAD="" whereas LIBMULTITHREAD="-lpthread".
8414dnl Adds to CPPFLAGS the flag -D_REENTRANT or -D_THREAD_SAFE if needed for
8415dnl multithread-safe programs.
8416
8417AC_DEFUN([gl_LOCK_EARLY],
8418[
8419 AC_REQUIRE([gl_LOCK_EARLY_BODY])
8420])
8421
8422dnl The guts of gl_LOCK_EARLY. Needs to be expanded only once.
8423
8424AC_DEFUN([gl_LOCK_EARLY_BODY],
8425[
8426 dnl Ordering constraints: This macro modifies CPPFLAGS in a way that
8427 dnl influences the result of the autoconf tests that test for *_unlocked
8428 dnl declarations, on AIX 5 at least. Therefore it must come early.
8429 AC_BEFORE([$0], [gl_FUNC_GLIBC_UNLOCKED_IO])dnl
8430 AC_BEFORE([$0], [gl_ARGP])dnl
8431
8432 AC_REQUIRE([AC_CANONICAL_HOST])
8433 AC_REQUIRE([AC_GNU_SOURCE]) dnl needed for pthread_rwlock_t on glibc systems
8434 dnl Check for multithreading.
8435 AC_ARG_ENABLE(threads,
8436AC_HELP_STRING([--enable-threads={posix|solaris|pth|win32}], [specify multithreading API])
8437AC_HELP_STRING([--disable-threads], [build without multithread safety]),
8438 [gl_use_threads=$enableval],
8439 [case "$host_os" in
8440 dnl Disable multithreading by default on OSF/1, because it interferes
8441 dnl with fork()/exec(): When msgexec is linked with -lpthread, its child
8442 dnl process gets an endless segmentation fault inside execvp().
8443 osf*) gl_use_threads=no ;;
8444 *) gl_use_threads=yes ;;
8445 esac
8446 ])
8447 if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
8448 # For using <pthread.h>:
8449 case "$host_os" in
8450 osf*)
8451 # On OSF/1, the compiler needs the flag -D_REENTRANT so that it
8452 # groks <pthread.h>. cc also understands the flag -pthread, but
8453 # we don't use it because 1. gcc-2.95 doesn't understand -pthread,
8454 # 2. putting a flag into CPPFLAGS that has an effect on the linker
8455 # causes the AC_TRY_LINK test below to succeed unexpectedly,
8456 # leading to wrong values of LIBTHREAD and LTLIBTHREAD.
8457 CPPFLAGS="$CPPFLAGS -D_REENTRANT"
8458 ;;
8459 esac
8460 # Some systems optimize for single-threaded programs by default, and
8461 # need special flags to disable these optimizations. For example, the
8462 # definition of 'errno' in <errno.h>.
8463 case "$host_os" in
8464 aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;;
8465 solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;;
8466 esac
8467 fi
8468])
8469
8470dnl The guts of gl_LOCK. Needs to be expanded only once.
8471
8472AC_DEFUN([gl_LOCK_BODY],
8473[
8474 AC_REQUIRE([gl_LOCK_EARLY_BODY])
8475 gl_threads_api=none
8476 LIBTHREAD=
8477 LTLIBTHREAD=
8478 LIBMULTITHREAD=
8479 LTLIBMULTITHREAD=
8480 if test "$gl_use_threads" != no; then
8481 dnl Check whether the compiler and linker support weak declarations.
8482 AC_MSG_CHECKING([whether imported symbols can be declared weak])
8483 gl_have_weak=no
8484 AC_TRY_LINK([extern void xyzzy ();
8485#pragma weak xyzzy], [xyzzy();], [gl_have_weak=yes])
8486 AC_MSG_RESULT([$gl_have_weak])
8487 if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
8488 # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
8489 # it groks <pthread.h>. It's added above, in gl_LOCK_EARLY_BODY.
8490 AC_CHECK_HEADER(pthread.h, gl_have_pthread_h=yes, gl_have_pthread_h=no)
8491 if test "$gl_have_pthread_h" = yes; then
8492 # Other possible tests:
8493 # -lpthreads (FSU threads, PCthreads)
8494 # -lgthreads
8495 gl_have_pthread=
8496 # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist
8497 # in libc. IRIX 6.5 has the first one in both libc and libpthread, but
8498 # the second one only in libpthread, and lock.c needs it.
8499 AC_TRY_LINK([#include <pthread.h>],
8500 [pthread_mutex_lock((pthread_mutex_t*)0);
8501 pthread_mutexattr_init((pthread_mutexattr_t*)0);],
8502 [gl_have_pthread=yes])
8503 # Test for libpthread by looking for pthread_kill. (Not pthread_self,
8504 # since it is defined as a macro on OSF/1.)
8505 if test -n "$gl_have_pthread"; then
8506 # The program links fine without libpthread. But it may actually
8507 # need to link with libpthread in order to create multiple threads.
8508 AC_CHECK_LIB(pthread, pthread_kill,
8509 [LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
8510 # On Solaris and HP-UX, most pthread functions exist also in libc.
8511 # Therefore pthread_in_use() needs to actually try to create a
8512 # thread: pthread_create from libc will fail, whereas
8513 # pthread_create will actually create a thread.
8514 case "$host_os" in
8515 solaris* | hpux*)
8516 AC_DEFINE([PTHREAD_IN_USE_DETECTION_HARD], 1,
8517 [Define if the pthread_in_use() detection is hard.])
8518 esac
8519 ])
8520 else
8521 # Some library is needed. Try libpthread and libc_r.
8522 AC_CHECK_LIB(pthread, pthread_kill,
8523 [gl_have_pthread=yes
8524 LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
8525 LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread])
8526 if test -z "$gl_have_pthread"; then
8527 # For FreeBSD 4.
8528 AC_CHECK_LIB(c_r, pthread_kill,
8529 [gl_have_pthread=yes
8530 LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r
8531 LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r])
8532 fi
8533 fi
8534 if test -n "$gl_have_pthread"; then
8535 gl_threads_api=posix
8536 AC_DEFINE([USE_POSIX_THREADS], 1,
8537 [Define if the POSIX multithreading library can be used.])
8538 if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
8539 if test $gl_have_weak = yes; then
8540 AC_DEFINE([USE_POSIX_THREADS_WEAK], 1,
8541 [Define if references to the POSIX multithreading library should be made weak.])
8542 LIBTHREAD=
8543 LTLIBTHREAD=
8544 fi
8545 fi
8546 # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the
8547 # pthread_rwlock_* functions.
8548 AC_CHECK_TYPE([pthread_rwlock_t],
8549 [AC_DEFINE([HAVE_PTHREAD_RWLOCK], 1,
8550 [Define if the POSIX multithreading library has read/write locks.])],
8551 [],
8552 [#include <pthread.h>])
8553 # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
8554 AC_TRY_COMPILE([#include <pthread.h>],
8555 [#if __FreeBSD__ == 4
8556error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
8557#else
8558int x = (int)PTHREAD_MUTEX_RECURSIVE;
8559return !x;
8560#endif],
8561 [AC_DEFINE([HAVE_PTHREAD_MUTEX_RECURSIVE], 1,
8562 [Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE.])])
8563 fi
8564 fi
8565 fi
8566 if test -z "$gl_have_pthread"; then
8567 if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then
8568 gl_have_solaristhread=
8569 gl_save_LIBS="$LIBS"
8570 LIBS="$LIBS -lthread"
8571 AC_TRY_LINK([#include <thread.h>
8572#include <synch.h>],
8573 [thr_self();],
8574 [gl_have_solaristhread=yes])
8575 LIBS="$gl_save_LIBS"
8576 if test -n "$gl_have_solaristhread"; then
8577 gl_threads_api=solaris
8578 LIBTHREAD=-lthread
8579 LTLIBTHREAD=-lthread
8580 LIBMULTITHREAD="$LIBTHREAD"
8581 LTLIBMULTITHREAD="$LTLIBTHREAD"
8582 AC_DEFINE([USE_SOLARIS_THREADS], 1,
8583 [Define if the old Solaris multithreading library can be used.])
8584 if test $gl_have_weak = yes; then
8585 AC_DEFINE([USE_SOLARIS_THREADS_WEAK], 1,
8586 [Define if references to the old Solaris multithreading library should be made weak.])
8587 LIBTHREAD=
8588 LTLIBTHREAD=
8589 fi
8590 fi
8591 fi
8592 fi
8593 if test "$gl_use_threads" = pth; then
8594 gl_save_CPPFLAGS="$CPPFLAGS"
8595 AC_LIB_LINKFLAGS(pth)
8596 gl_have_pth=
8597 gl_save_LIBS="$LIBS"
8598 LIBS="$LIBS -lpth"
8599 AC_TRY_LINK([#include <pth.h>], [pth_self();], gl_have_pth=yes)
8600 LIBS="$gl_save_LIBS"
8601 if test -n "$gl_have_pth"; then
8602 gl_threads_api=pth
8603 LIBTHREAD="$LIBPTH"
8604 LTLIBTHREAD="$LTLIBPTH"
8605 LIBMULTITHREAD="$LIBTHREAD"
8606 LTLIBMULTITHREAD="$LTLIBTHREAD"
8607 AC_DEFINE([USE_PTH_THREADS], 1,
8608 [Define if the GNU Pth multithreading library can be used.])
8609 if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
8610 if test $gl_have_weak = yes; then
8611 AC_DEFINE([USE_PTH_THREADS_WEAK], 1,
8612 [Define if references to the GNU Pth multithreading library should be made weak.])
8613 LIBTHREAD=
8614 LTLIBTHREAD=
8615 fi
8616 fi
8617 else
8618 CPPFLAGS="$gl_save_CPPFLAGS"
8619 fi
8620 fi
8621 if test -z "$gl_have_pthread"; then
8622 if test "$gl_use_threads" = yes || test "$gl_use_threads" = win32; then
8623 if { case "$host_os" in
8624 mingw*) true;;
8625 *) false;;
8626 esac
8627 }; then
8628 gl_threads_api=win32
8629 AC_DEFINE([USE_WIN32_THREADS], 1,
8630 [Define if the Win32 multithreading API can be used.])
8631 fi
8632 fi
8633 fi
8634 fi
8635 AC_MSG_CHECKING([for multithread API to use])
8636 AC_MSG_RESULT([$gl_threads_api])
8637 AC_SUBST(LIBTHREAD)
8638 AC_SUBST(LTLIBTHREAD)
8639 AC_SUBST(LIBMULTITHREAD)
8640 AC_SUBST(LTLIBMULTITHREAD)
8641])
8642
8643AC_DEFUN([gl_LOCK],
8644[
8645 AC_REQUIRE([gl_LOCK_EARLY])
8646 AC_REQUIRE([gl_LOCK_BODY])
8647 gl_PREREQ_LOCK
8648])
8649
8650# Prerequisites of lib/lock.c.
8651AC_DEFUN([gl_PREREQ_LOCK], [
8652 AC_REQUIRE([AC_C_INLINE])
8653])
8654
8655dnl Survey of platforms:
8656dnl
8657dnl Platform Available Compiler Supports test-lock
8658dnl flavours option weak result
8659dnl --------------- --------- --------- -------- ---------
8660dnl Linux 2.4/glibc posix -lpthread Y OK
8661dnl
8662dnl GNU Hurd/glibc posix
8663dnl
8664dnl FreeBSD 5.3 posix -lc_r Y
8665dnl posix -lkse ? Y
8666dnl posix -lpthread ? Y
8667dnl posix -lthr Y
8668dnl
8669dnl FreeBSD 5.2 posix -lc_r Y
8670dnl posix -lkse Y
8671dnl posix -lthr Y
8672dnl
8673dnl FreeBSD 4.0,4.10 posix -lc_r Y OK
8674dnl
8675dnl NetBSD 1.6 --
8676dnl
8677dnl OpenBSD 3.4 posix -lpthread Y OK
8678dnl
8679dnl MacOS X 10.[123] posix -lpthread Y OK
8680dnl
8681dnl Solaris 7,8,9 posix -lpthread Y Sol 7,8: 0.0; Sol 9: OK
8682dnl solaris -lthread Y Sol 7,8: 0.0; Sol 9: OK
8683dnl
8684dnl HP-UX 11 posix -lpthread N (cc) OK
8685dnl Y (gcc)
8686dnl
8687dnl IRIX 6.5 posix -lpthread Y 0.5
8688dnl
8689dnl AIX 4.3,5.1 posix -lpthread N AIX 4: 0.5; AIX 5: OK
8690dnl
8691dnl OSF/1 4.0,5.1 posix -pthread (cc) N OK
8692dnl -lpthread (gcc) Y
8693dnl
8694dnl Cygwin posix -lpthread Y OK
8695dnl
8696dnl Any of the above pth -lpth 0.0
8697dnl
8698dnl Mingw win32 N OK
8699dnl
8700dnl BeOS 5 --
8701dnl
8702dnl The test-lock result shows what happens if in test-lock.c EXPLICIT_YIELD is
8703dnl turned off:
8704dnl OK if all three tests terminate OK,
8705dnl 0.5 if the first test terminates OK but the second one loops endlessly,
8706dnl 0.0 if the first test already loops endlessly.
8707
8708# longdouble.m4 serial 2 (gettext-0.15)
8709dnl Copyright (C) 2002-2003, 2006 Free Software Foundation, Inc.
8710dnl This file is free software; the Free Software Foundation
8711dnl gives unlimited permission to copy and/or distribute it,
8712dnl with or without modifications, as long as this notice is preserved.
8713
8714dnl From Bruno Haible.
8715dnl Test whether the compiler supports the 'long double' type.
8716dnl Prerequisite: AC_PROG_CC
8717
8718dnl This file is only needed in autoconf <= 2.59. Newer versions of autoconf
8719dnl have a macro AC_TYPE_LONG_DOUBLE with identical semantics.
8720
8721AC_DEFUN([gt_TYPE_LONGDOUBLE],
8722[
8723 AC_CACHE_CHECK([for long double], gt_cv_c_long_double,
8724 [if test "$GCC" = yes; then
8725 gt_cv_c_long_double=yes
8726 else
8727 AC_TRY_COMPILE([
8728 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
8729 long double foo = 0.0;
8730 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
8731 int array [2*(sizeof(long double) >= sizeof(double)) - 1];
8732 ], ,
8733 gt_cv_c_long_double=yes, gt_cv_c_long_double=no)
8734 fi])
8735 if test $gt_cv_c_long_double = yes; then
8736 AC_DEFINE(HAVE_LONG_DOUBLE, 1, [Define if you have the 'long double' type.])
8737 fi
8738])
8739
8740# longlong.m4 serial 8
8741dnl Copyright (C) 1999-2006 Free Software Foundation, Inc.
8742dnl This file is free software; the Free Software Foundation
8743dnl gives unlimited permission to copy and/or distribute it,
8744dnl with or without modifications, as long as this notice is preserved.
8745
8746dnl From Paul Eggert.
8747
8748# Define HAVE_LONG_LONG_INT if 'long long int' works.
8749# This fixes a bug in Autoconf 2.60, but can be removed once we
8750# assume 2.61 everywhere.
8751
8752# Note: If the type 'long long int' exists but is only 32 bits large
8753# (as on some very old compilers), AC_TYPE_LONG_LONG_INT will not be
8754# defined. In this case you can treat 'long long int' like 'long int'.
8755
8756AC_DEFUN([AC_TYPE_LONG_LONG_INT],
8757[
8758 AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int],
8759 [AC_LINK_IFELSE(
8760 [AC_LANG_PROGRAM(
8761 [[long long int ll = 9223372036854775807ll;
8762 long long int nll = -9223372036854775807LL;
8763 typedef int a[((-9223372036854775807LL < 0
8764 && 0 < 9223372036854775807ll)
8765 ? 1 : -1)];
8766 int i = 63;]],
8767 [[long long int llmax = 9223372036854775807ll;
8768 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
8769 | (llmax / ll) | (llmax % ll));]])],
8770 [ac_cv_type_long_long_int=yes],
8771 [ac_cv_type_long_long_int=no])])
8772 if test $ac_cv_type_long_long_int = yes; then
8773 AC_DEFINE([HAVE_LONG_LONG_INT], 1,
8774 [Define to 1 if the system has the type `long long int'.])
8775 fi
8776])
8777
8778# This macro is obsolescent and should go away soon.
8779AC_DEFUN([gl_AC_TYPE_LONG_LONG],
8780[
8781 AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
8782 ac_cv_type_long_long=$ac_cv_type_long_long_int
8783 if test $ac_cv_type_long_long = yes; then
8784 AC_DEFINE(HAVE_LONG_LONG, 1,
8785 [Define if you have the 'long long' type.])
8786 fi
8787])
8788
8789# nls.m4 serial 3 (gettext-0.15)8296# nls.m4 serial 3 (gettext-0.15)
8790dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc.8297dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc.
8791dnl This file is free software; the Free Software Foundation8298dnl This file is free software; the Free Software Foundation
@@ -8966,7 +8473,7 @@
89668473
8967_PKG_TEXT8474_PKG_TEXT
89688475
8969To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],8476To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
8970 [$4])8477 [$4])
8971else8478else
8972 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS8479 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
@@ -8976,8 +8483,8 @@
8976fi[]dnl8483fi[]dnl
8977])# PKG_CHECK_MODULES8484])# PKG_CHECK_MODULES
89788485
8979# po.m4 serial 13 (gettext-0.15)8486# po.m4 serial 15 (gettext-0.17)
8980dnl Copyright (C) 1995-2006 Free Software Foundation, Inc.8487dnl Copyright (C) 1995-2007 Free Software Foundation, Inc.
8981dnl This file is free software; the Free Software Foundation8488dnl This file is free software; the Free Software Foundation
8982dnl gives unlimited permission to copy and/or distribute it,8489dnl gives unlimited permission to copy and/or distribute it,
8983dnl with or without modifications, as long as this notice is preserved.8490dnl with or without modifications, as long as this notice is preserved.
@@ -9005,6 +8512,10 @@
9005 AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake8512 AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
9006 AC_REQUIRE([AM_NLS])dnl8513 AC_REQUIRE([AM_NLS])dnl
90078514
8515 dnl Release version of the gettext macros. This is used to ensure that
8516 dnl the gettext macros and po/Makefile.in.in are in sync.
8517 AC_SUBST([GETTEXT_MACRO_VERSION], [0.17])
8518
9008 dnl Perform the following tests also if --disable-nls has been given,8519 dnl Perform the following tests also if --disable-nls has been given,
9009 dnl because they are needed for "make dist" to work.8520 dnl because they are needed for "make dist" to work.
90108521
@@ -9062,6 +8573,10 @@
9062 test -n "$localedir" || localedir='${datadir}/locale'8573 test -n "$localedir" || localedir='${datadir}/locale'
9063 AC_SUBST([localedir])8574 AC_SUBST([localedir])
90648575
8576 dnl Support for AM_XGETTEXT_OPTION.
8577 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
8578 AC_SUBST([XGETTEXT_EXTRA_OPTIONS])
8579
9065 AC_CONFIG_COMMANDS([po-directories], [[8580 AC_CONFIG_COMMANDS([po-directories], [[
9066 for ac_file in $CONFIG_FILES; do8581 for ac_file in $CONFIG_FILES; do
9067 # Support "outfile[:infile[:infile...]]"8582 # Support "outfile[:infile[:infile...]]"
@@ -9405,49 +8920,17 @@
9405 mv "$ac_file.tmp" "$ac_file"8920 mv "$ac_file.tmp" "$ac_file"
9406])8921])
94078922
9408# printf-posix.m4 serial 2 (gettext-0.13.1)8923dnl Initializes the accumulator used by AM_XGETTEXT_OPTION.
9409dnl Copyright (C) 2003 Free Software Foundation, Inc.8924AC_DEFUN([AM_XGETTEXT_OPTION_INIT],
9410dnl This file is free software; the Free Software Foundation8925[
9411dnl gives unlimited permission to copy and/or distribute it,8926 XGETTEXT_EXTRA_OPTIONS=
9412dnl with or without modifications, as long as this notice is preserved.8927])
94138928
9414dnl From Bruno Haible.8929dnl Registers an option to be passed to xgettext in the po subdirectory.
9415dnl Test whether the printf() function supports POSIX/XSI format strings with8930AC_DEFUN([AM_XGETTEXT_OPTION],
9416dnl positions.8931[
94178932 AC_REQUIRE([AM_XGETTEXT_OPTION_INIT])
9418AC_DEFUN([gt_PRINTF_POSIX],8933 XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1"
9419[
9420 AC_REQUIRE([AC_PROG_CC])
9421 AC_CACHE_CHECK([whether printf() supports POSIX/XSI format strings],
9422 gt_cv_func_printf_posix,
9423 [
9424 AC_TRY_RUN([
9425#include <stdio.h>
9426#include <string.h>
9427/* The string "%2$d %1$d", with dollar characters protected from the shell's
9428 dollar expansion (possibly an autoconf bug). */
9429static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
9430static char buf[100];
9431int main ()
9432{
9433 sprintf (buf, format, 33, 55);
9434 return (strcmp (buf, "55 33") != 0);
9435}], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no,
9436 [
9437 AC_EGREP_CPP(notposix, [
9438#if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
9439 notposix
9440#endif
9441 ], gt_cv_func_printf_posix="guessing no",
9442 gt_cv_func_printf_posix="guessing yes")
9443 ])
9444 ])
9445 case $gt_cv_func_printf_posix in
9446 *yes)
9447 AC_DEFINE(HAVE_POSIX_PRINTF, 1,
9448 [Define if your printf() function supports format strings with positions.])
9449 ;;
9450 esac
9451])8934])
94528935
9453# progtest.m4 serial 4 (gettext-0.14.2)8936# progtest.m4 serial 4 (gettext-0.14.2)
@@ -9543,286 +9026,7 @@
9543AC_SUBST($1)dnl9026AC_SUBST($1)dnl
9544])9027])
95459028
9546# size_max.m4 serial 59029# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
9547dnl Copyright (C) 2003, 2005-2006 Free Software Foundation, Inc.
9548dnl This file is free software; the Free Software Foundation
9549dnl gives unlimited permission to copy and/or distribute it,
9550dnl with or without modifications, as long as this notice is preserved.
9551
9552dnl From Bruno Haible.
9553
9554AC_DEFUN([gl_SIZE_MAX],
9555[
9556 AC_CHECK_HEADERS(stdint.h)
9557 dnl First test whether the system already has SIZE_MAX.
9558 AC_MSG_CHECKING([for SIZE_MAX])
9559 AC_CACHE_VAL([gl_cv_size_max], [
9560 gl_cv_size_max=
9561 AC_EGREP_CPP([Found it], [
9562#include <limits.h>
9563#if HAVE_STDINT_H
9564#include <stdint.h>
9565#endif
9566#ifdef SIZE_MAX
9567Found it
9568#endif
9569], gl_cv_size_max=yes)
9570 if test -z "$gl_cv_size_max"; then
9571 dnl Define it ourselves. Here we assume that the type 'size_t' is not wider
9572 dnl than the type 'unsigned long'. Try hard to find a definition that can
9573 dnl be used in a preprocessor #if, i.e. doesn't contain a cast.
9574 _AC_COMPUTE_INT([sizeof (size_t) * CHAR_BIT - 1], size_t_bits_minus_1,
9575 [#include <stddef.h>
9576#include <limits.h>], size_t_bits_minus_1=)
9577 _AC_COMPUTE_INT([sizeof (size_t) <= sizeof (unsigned int)], fits_in_uint,
9578 [#include <stddef.h>], fits_in_uint=)
9579 if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
9580 if test $fits_in_uint = 1; then
9581 dnl Even though SIZE_MAX fits in an unsigned int, it must be of type
9582 dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'.
9583 AC_TRY_COMPILE([#include <stddef.h>
9584 extern size_t foo;
9585 extern unsigned long foo;
9586 ], [], fits_in_uint=0)
9587 fi
9588 dnl We cannot use 'expr' to simplify this expression, because 'expr'
9589 dnl works only with 'long' integers in the host environment, while we
9590 dnl might be cross-compiling from a 32-bit platform to a 64-bit platform.
9591 if test $fits_in_uint = 1; then
9592 gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
9593 else
9594 gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
9595 fi
9596 else
9597 dnl Shouldn't happen, but who knows...
9598 gl_cv_size_max='((size_t)~(size_t)0)'
9599 fi
9600 fi
9601 ])
9602 AC_MSG_RESULT([$gl_cv_size_max])
9603 if test "$gl_cv_size_max" != yes; then
9604 AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max],
9605 [Define as the maximum value of type 'size_t', if the system doesn't define it.])
9606 fi
9607])
9608
9609# stdint_h.m4 serial 6
9610dnl Copyright (C) 1997-2004, 2006 Free Software Foundation, Inc.
9611dnl This file is free software; the Free Software Foundation
9612dnl gives unlimited permission to copy and/or distribute it,
9613dnl with or without modifications, as long as this notice is preserved.
9614
9615dnl From Paul Eggert.
9616
9617# Define HAVE_STDINT_H_WITH_UINTMAX if <stdint.h> exists,
9618# doesn't clash with <sys/types.h>, and declares uintmax_t.
9619
9620AC_DEFUN([gl_AC_HEADER_STDINT_H],
9621[
9622 AC_CACHE_CHECK([for stdint.h], gl_cv_header_stdint_h,
9623 [AC_TRY_COMPILE(
9624 [#include <sys/types.h>
9625#include <stdint.h>],
9626 [uintmax_t i = (uintmax_t) -1; return !i;],
9627 gl_cv_header_stdint_h=yes,
9628 gl_cv_header_stdint_h=no)])
9629 if test $gl_cv_header_stdint_h = yes; then
9630 AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1,
9631 [Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
9632 and declares uintmax_t. ])
9633 fi
9634])
9635
9636# uintmax_t.m4 serial 9
9637dnl Copyright (C) 1997-2004 Free Software Foundation, Inc.
9638dnl This file is free software; the Free Software Foundation
9639dnl gives unlimited permission to copy and/or distribute it,
9640dnl with or without modifications, as long as this notice is preserved.
9641
9642dnl From Paul Eggert.
9643
9644AC_PREREQ(2.13)
9645
9646# Define uintmax_t to 'unsigned long' or 'unsigned long long'
9647# if it is not already defined in <stdint.h> or <inttypes.h>.
9648
9649AC_DEFUN([gl_AC_TYPE_UINTMAX_T],
9650[
9651 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
9652 AC_REQUIRE([gl_AC_HEADER_STDINT_H])
9653 if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then
9654 AC_REQUIRE([gl_AC_TYPE_UNSIGNED_LONG_LONG])
9655 test $ac_cv_type_unsigned_long_long = yes \
9656 && ac_type='unsigned long long' \
9657 || ac_type='unsigned long'
9658 AC_DEFINE_UNQUOTED(uintmax_t, $ac_type,
9659 [Define to unsigned long or unsigned long long
9660 if <stdint.h> and <inttypes.h> don't define.])
9661 else
9662 AC_DEFINE(HAVE_UINTMAX_T, 1,
9663 [Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>.])
9664 fi
9665])
9666
9667# ulonglong.m4 serial 6
9668dnl Copyright (C) 1999-2006 Free Software Foundation, Inc.
9669dnl This file is free software; the Free Software Foundation
9670dnl gives unlimited permission to copy and/or distribute it,
9671dnl with or without modifications, as long as this notice is preserved.
9672
9673dnl From Paul Eggert.
9674
9675# Define HAVE_UNSIGNED_LONG_LONG_INT if 'unsigned long long int' works.
9676# This fixes a bug in Autoconf 2.60, but can be removed once we
9677# assume 2.61 everywhere.
9678
9679# Note: If the type 'unsigned long long int' exists but is only 32 bits
9680# large (as on some very old compilers), AC_TYPE_UNSIGNED_LONG_LONG_INT
9681# will not be defined. In this case you can treat 'unsigned long long int'
9682# like 'unsigned long int'.
9683
9684AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT],
9685[
9686 AC_CACHE_CHECK([for unsigned long long int],
9687 [ac_cv_type_unsigned_long_long_int],
9688 [AC_LINK_IFELSE(
9689 [AC_LANG_PROGRAM(
9690 [[unsigned long long int ull = 18446744073709551615ULL;
9691 typedef int a[(18446744073709551615ULL <= (unsigned long long int) -1
9692 ? 1 : -1)];
9693 int i = 63;]],
9694 [[unsigned long long int ullmax = 18446744073709551615ull;
9695 return (ull << 63 | ull >> 63 | ull << i | ull >> i
9696 | ullmax / ull | ullmax % ull);]])],
9697 [ac_cv_type_unsigned_long_long_int=yes],
9698 [ac_cv_type_unsigned_long_long_int=no])])
9699 if test $ac_cv_type_unsigned_long_long_int = yes; then
9700 AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], 1,
9701 [Define to 1 if the system has the type `unsigned long long int'.])
9702 fi
9703])
9704
9705# This macro is obsolescent and should go away soon.
9706AC_DEFUN([gl_AC_TYPE_UNSIGNED_LONG_LONG],
9707[
9708 AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
9709 ac_cv_type_unsigned_long_long=$ac_cv_type_unsigned_long_long_int
9710 if test $ac_cv_type_unsigned_long_long = yes; then
9711 AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1,
9712 [Define if you have the 'unsigned long long' type.])
9713 fi
9714])
9715
9716# visibility.m4 serial 1 (gettext-0.15)
9717dnl Copyright (C) 2005 Free Software Foundation, Inc.
9718dnl This file is free software; the Free Software Foundation
9719dnl gives unlimited permission to copy and/or distribute it,
9720dnl with or without modifications, as long as this notice is preserved.
9721
9722dnl From Bruno Haible.
9723
9724dnl Tests whether the compiler supports the command-line option
9725dnl -fvisibility=hidden and the function and variable attributes
9726dnl __attribute__((__visibility__("hidden"))) and
9727dnl __attribute__((__visibility__("default"))).
9728dnl Does *not* test for __visibility__("protected") - which has tricky
9729dnl semantics (see the 'vismain' test in glibc) and does not exist e.g. on
9730dnl MacOS X.
9731dnl Does *not* test for __visibility__("internal") - which has processor
9732dnl dependent semantics.
9733dnl Does *not* test for #pragma GCC visibility push(hidden) - which is
9734dnl "really only recommended for legacy code".
9735dnl Set the variable CFLAG_VISIBILITY.
9736dnl Defines and sets the variable HAVE_VISIBILITY.
9737
9738AC_DEFUN([gl_VISIBILITY],
9739[
9740 AC_REQUIRE([AC_PROG_CC])
9741 CFLAG_VISIBILITY=
9742 HAVE_VISIBILITY=0
9743 if test -n "$GCC"; then
9744 AC_MSG_CHECKING([for simple visibility declarations])
9745 AC_CACHE_VAL(gl_cv_cc_visibility, [
9746 gl_save_CFLAGS="$CFLAGS"
9747 CFLAGS="$CFLAGS -fvisibility=hidden"
9748 AC_TRY_COMPILE(
9749 [extern __attribute__((__visibility__("hidden"))) int hiddenvar;
9750 extern __attribute__((__visibility__("default"))) int exportedvar;
9751 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
9752 extern __attribute__((__visibility__("default"))) int exportedfunc (void);],
9753 [],
9754 gl_cv_cc_visibility=yes,
9755 gl_cv_cc_visibility=no)
9756 CFLAGS="$gl_save_CFLAGS"])
9757 AC_MSG_RESULT([$gl_cv_cc_visibility])
9758 if test $gl_cv_cc_visibility = yes; then
9759 CFLAG_VISIBILITY="-fvisibility=hidden"
9760 HAVE_VISIBILITY=1
9761 fi
9762 fi
9763 AC_SUBST([CFLAG_VISIBILITY])
9764 AC_SUBST([HAVE_VISIBILITY])
9765 AC_DEFINE_UNQUOTED([HAVE_VISIBILITY], [$HAVE_VISIBILITY],
9766 [Define to 1 or 0, depending whether the compiler supports simple visibility declarations.])
9767])
9768
9769# wchar_t.m4 serial 1 (gettext-0.12)
9770dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
9771dnl This file is free software; the Free Software Foundation
9772dnl gives unlimited permission to copy and/or distribute it,
9773dnl with or without modifications, as long as this notice is preserved.
9774
9775dnl From Bruno Haible.
9776dnl Test whether <stddef.h> has the 'wchar_t' type.
9777dnl Prerequisite: AC_PROG_CC
9778
9779AC_DEFUN([gt_TYPE_WCHAR_T],
9780[
9781 AC_CACHE_CHECK([for wchar_t], gt_cv_c_wchar_t,
9782 [AC_TRY_COMPILE([#include <stddef.h>
9783 wchar_t foo = (wchar_t)'\0';], ,
9784 gt_cv_c_wchar_t=yes, gt_cv_c_wchar_t=no)])
9785 if test $gt_cv_c_wchar_t = yes; then
9786 AC_DEFINE(HAVE_WCHAR_T, 1, [Define if you have the 'wchar_t' type.])
9787 fi
9788])
9789
9790# wint_t.m4 serial 1 (gettext-0.12)
9791dnl Copyright (C) 2003 Free Software Foundation, Inc.
9792dnl This file is free software; the Free Software Foundation
9793dnl gives unlimited permission to copy and/or distribute it,
9794dnl with or without modifications, as long as this notice is preserved.
9795
9796dnl From Bruno Haible.
9797dnl Test whether <wchar.h> has the 'wint_t' type.
9798dnl Prerequisite: AC_PROG_CC
9799
9800AC_DEFUN([gt_TYPE_WINT_T],
9801[
9802 AC_CACHE_CHECK([for wint_t], gt_cv_c_wint_t,
9803 [AC_TRY_COMPILE([#include <wchar.h>
9804 wint_t foo = (wchar_t)'\0';], ,
9805 gt_cv_c_wint_t=yes, gt_cv_c_wint_t=no)])
9806 if test $gt_cv_c_wint_t = yes; then
9807 AC_DEFINE(HAVE_WINT_T, 1, [Define if you have the 'wint_t' type.])
9808 fi
9809])
9810
9811# xsize.m4 serial 3
9812dnl Copyright (C) 2003-2004 Free Software Foundation, Inc.
9813dnl This file is free software; the Free Software Foundation
9814dnl gives unlimited permission to copy and/or distribute it,
9815dnl with or without modifications, as long as this notice is preserved.
9816
9817AC_DEFUN([gl_XSIZE],
9818[
9819 dnl Prerequisites of lib/xsize.h.
9820 AC_REQUIRE([gl_SIZE_MAX])
9821 AC_REQUIRE([AC_C_INLINE])
9822 AC_CHECK_HEADERS(stdint.h)
9823])
9824
9825# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
9826#9030#
9827# This file is free software; the Free Software Foundation9031# This file is free software; the Free Software Foundation
9828# gives unlimited permission to copy and/or distribute it,9032# gives unlimited permission to copy and/or distribute it,
@@ -9837,7 +9041,7 @@
9837[am__api_version='1.10'9041[am__api_version='1.10'
9838dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to9042dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
9839dnl require some minimum version. Point them to the right macro.9043dnl require some minimum version. Point them to the right macro.
9840m4_if([$1], [1.10], [],9044m4_if([$1], [1.10.1], [],
9841 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl9045 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
9842])9046])
98439047
@@ -9853,8 +9057,10 @@
9853# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.9057# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
9854# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.9058# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
9855AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],9059AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
9856[AM_AUTOMAKE_VERSION([1.10])dnl9060[AM_AUTOMAKE_VERSION([1.10.1])dnl
9857_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])9061m4_ifndef([AC_AUTOCONF_VERSION],
9062 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
9063_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
98589064
9859# AM_AUX_DIR_EXPAND -*- Autoconf -*-9065# AM_AUX_DIR_EXPAND -*- Autoconf -*-
98609066
@@ -10126,7 +9332,7 @@
10126 # each Makefile.in and add a new line on top of each file to say so.9332 # each Makefile.in and add a new line on top of each file to say so.
10127 # Grep'ing the whole file is not good either: AIX grep has a line9333 # Grep'ing the whole file is not good either: AIX grep has a line
10128 # limit of 2048, but all sed's we know have understand at least 4000.9334 # limit of 2048, but all sed's we know have understand at least 4000.
10129 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then9335 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10130 dirpart=`AS_DIRNAME("$mf")`9336 dirpart=`AS_DIRNAME("$mf")`
10131 else9337 else
10132 continue9338 continue
@@ -10174,13 +9380,13 @@
10174# Do all the work for Automake. -*- Autoconf -*-9380# Do all the work for Automake. -*- Autoconf -*-
101759381
10176# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,9382# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
10177# 2005, 2006 Free Software Foundation, Inc.9383# 2005, 2006, 2008 Free Software Foundation, Inc.
10178#9384#
10179# This file is free software; the Free Software Foundation9385# This file is free software; the Free Software Foundation
10180# gives unlimited permission to copy and/or distribute it,9386# gives unlimited permission to copy and/or distribute it,
10181# with or without modifications, as long as this notice is preserved.9387# with or without modifications, as long as this notice is preserved.
101829388
10183# serial 129389# serial 13
101849390
10185# This macro actually does too much. Some checks are only needed if9391# This macro actually does too much. Some checks are only needed if
10186# your package does certain things. But this isn't really a big deal.9392# your package does certain things. But this isn't really a big deal.
@@ -10285,16 +9491,17 @@
10285# our stamp files there.9491# our stamp files there.
10286AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],9492AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
10287[# Compute $1's index in $config_headers.9493[# Compute $1's index in $config_headers.
9494_am_arg=$1
10288_am_stamp_count=19495_am_stamp_count=1
10289for _am_header in $config_headers :; do9496for _am_header in $config_headers :; do
10290 case $_am_header in9497 case $_am_header in
10291 $1 | $1:* )9498 $_am_arg | $_am_arg:* )
10292 break ;;9499 break ;;
10293 * )9500 * )
10294 _am_stamp_count=`expr $_am_stamp_count + 1` ;;9501 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10295 esac9502 esac
10296done9503done
10297echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])9504echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
102989505
10299# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.9506# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
10300#9507#
@@ -10595,7 +9802,7 @@
105959802
10596# _AM_SUBST_NOTMAKE(VARIABLE)9803# _AM_SUBST_NOTMAKE(VARIABLE)
10597# ---------------------------9804# ---------------------------
10598# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.9805# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
10599# This macro is traced by Automake.9806# This macro is traced by Automake.
10600AC_DEFUN([_AM_SUBST_NOTMAKE])9807AC_DEFUN([_AM_SUBST_NOTMAKE])
106019808
106029809
=== removed directory 'build/fedora'
=== removed file 'build/fedora/libticables2.spec'
--- build/fedora/libticables2.spec 2009-05-17 13:34:18 +0000
+++ build/fedora/libticables2.spec 1970-01-01 00:00:00 +0000
@@ -1,207 +0,0 @@
1Name: libticables2
2Epoch: 1
3Version: 1.2.0
4Release: 2
5Vendor: LPG (http://lpg.ticalc.org)
6Packager: Kevin Kofler <Kevin@tigcc.ticalc.org>
7Source: %{name}-%{version}.tar.bz2
8Group: System Environment/Libraries
9License: GPLv2+
10BuildRequires: libusb-devel, glib2-devel >= 2.4.0, tfdocgen
11BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
12Summary: Library for handling TI link cables
13%description
14Library for handling TI link cables
15
16%package devel
17Summary: Development files for %{name}
18Group: Development/Libraries
19Requires: %{name} = %{epoch}:%{version}-%{release}
20Requires: pkgconfig
21Requires: glib2-devel >= 2.4.0
22%description devel
23This package contains the files necessary to develop applications using the
24%{name} library.
25
26%package apidocs
27Summary: API documentation for %{name}
28Group: Development/Documentation
29Requires: %{name} = %{epoch}:%{version}-%{release}
30%description apidocs
31This package contains the API documentation for the %{name} library in
32HTML format.
33
34%prep
35%setup
36
37%build
38CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --libdir=%{_libdir} --disable-nls
39make
40
41%install
42if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
43mkdir -p $RPM_BUILD_ROOT
44make install DESTDIR=$RPM_BUILD_ROOT
45rm -f $RPM_BUILD_ROOT%{_libdir}/libticables2.la
46mkdir -p $RPM_BUILD_ROOT/etc/udev/rules.d
47cat >$RPM_BUILD_ROOT/etc/udev/rules.d/60-libticables.rules <<EOF1
48# This file was installed by the libticables2 Fedora package.
49
50# SilverLink
51ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="e001", SYMLINK+="ticable-%%k"
52# TI-84+ DirectLink
53ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="e003", SYMLINK+="ticable-%%k"
54# TI-89 Titanium DirectLink
55ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="e004", SYMLINK+="ticable-%%k"
56# TI-84+ SE DirectLink
57ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="e008", SYMLINK+="ticable-%%k"
58# TI-Nspire DirectLink
59ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="e012", SYMLINK+="ticable-%%k"
60EOF1
61mkdir -p $RPM_BUILD_ROOT/etc/security/console.perms.d
62cat >$RPM_BUILD_ROOT/etc/security/console.perms.d/60-libticables.perms <<EOF2
63# This file was installed by the libticables2 Fedora package.
64
65# device classes -- these are shell-style globs
66<ticable>=/dev/ticable* /dev/usb/ticable*
67<serport>=/dev/ttyS*
68<parport>=/dev/parport*
69
70# permission definitions
71<console> 0600 <ticable> 0600 root
72<console> 0660 <serport> 0660 root.uucp
73<console> 0660 <parport> 0660 root.lp
74EOF2
75
76%post -p /sbin/ldconfig
77
78%postun -p /sbin/ldconfig
79
80%clean
81rm -rf $RPM_BUILD_ROOT
82
83%files
84%defattr(-, root, root)
85%{_libdir}/libticables2.so.*
86%{_sysconfdir}/udev/rules.d/60-libticables.rules
87%{_sysconfdir}/security/console.perms.d/60-libticables.perms
88%dir %{_datadir}/doc/%{name}
89%{_datadir}/doc/%{name}/AUTHORS
90%{_datadir}/doc/%{name}/COPYING
91%{_datadir}/doc/%{name}/ChangeLog
92%{_datadir}/doc/%{name}/README
93
94%files devel
95%defattr(-, root, root)
96%{_includedir}/tilp2
97%{_libdir}/libticables2.so
98%{_libdir}/pkgconfig/ticables2.pc
99
100%files apidocs
101%defattr(-, root, root)
102%{_datadir}/doc/%{name}/html
103
104%changelog
105* Mon Jan 14 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 1:1.2.0-2
106Add the USB ID for the TI-Nspire in 60-libticables.rules.
107
108* Sun Jan 13 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 1:1.2.0-1
109Update to 1.2.0.
110Drop obsolete backported patch.
111Specify GPL version in License tag.
112
113* Sun Oct 14 2007 Kevin Kofler <Kevin@tigcc.ticalc.org> 1:1.1.0-2
114Backport improved device node accessibility check from SVN.
115
116* Sat Oct 13 2007 Kevin Kofler <Kevin@tigcc.ticalc.org> 1:1.1.0-1
117Update to 1.1.0.
118
119* Sat Sep 8 2007 Kevin Kofler <Kevin@tigcc.ticalc.org> 1:1.0.9-1
120Update to 1.0.9.
121Change usb_device back to usb (required with current kernel and udev).
122
123* Fri Jul 27 2007 Kevin Kofler <Kevin@tigcc.ticalc.org> 1:1.0.6-3
124Revert usb_device->usb change (update kernel has CONFIG_USB_DEVICE_CLASS on)
125
126* Tue Jul 24 2007 Kevin Kofler <Kevin@tigcc.ticalc.org> 1:1.0.6-2
127Update udev rules for new kernel and udev.
128
129* Thu May 31 2007 Kevin Kofler <Kevin@tigcc.ticalc.org> 1:1.0.6-1
130Update to 1.0.6.
131
132* Wed May 16 2007 Kevin Kofler <Kevin@tigcc.ticalc.org>
133Drop -n libticables, the tarball uses name-version format now.
134Add BR tfdocgen and apidocs subpackage.
135Package non-API documentation files in main package.
136
137* Thu May 3 2007 Kevin Kofler <Kevin@tigcc.ticalc.org>
138Give access to serial and parallel ports in the pam_console configuration.
139
140* Mon Apr 16 2007 Kevin Kofler <Kevin@tigcc.ticalc.org> 1:1.0.5-1
141Bump Epoch.
142Use real version number instead of date.
143
144* Mon Apr 16 2007 Kevin Kofler <Kevin@tigcc.ticalc.org>
145Remove redundant explicit Requires.
146Don't BuildRequire newer versions than actually needed.
147
148* Sun Oct 15 2006 Kevin Kofler <Kevin@tigcc.ticalc.org>
149Add non-SE TI-84+ to the pam_console configuration.
150
151* Mon Sep 25 2006 Kevin Kofler <Kevin@tigcc.ticalc.org>
152Split out -devel into separate subpackage.
153Own /usr/include/tilp2 in -devel.
154Use more efficient method to call ldconfig in post/postun.
155
156* Sun Jul 23 2006 Kevin Kofler <Kevin@tigcc.ticalc.org>
157Fix incorrect escaping in console.perms.d file.
158
159* Thu Jul 20 2006 Kevin Kofler <Kevin@tigcc.ticalc.org>
160Libdir fixes for lib64 platforms.
161Add Provides for future -devel subpackage.
162
163* Fri Jun 16 2006 Kevin Kofler <Kevin@tigcc.ticalc.org>
164Remove redundant %%defattr at the end of %%files.
165
166* Wed Jun 7 2006 Kevin Kofler <Kevin@tigcc.ticalc.org>
167Update file list (stdints.h now numbered to avoid conflicts).
168Use /etc/security/console.perms.d for the pam_console setup instead of
169hand-written script hack.
170
171* Wed May 24 2006 Kevin Kofler <Kevin@tigcc.ticalc.org>
172Don't package .la file (not needed under Fedora).
173Make sure permissions are set correctly when building as non-root.
174
175* Mon May 22 2006 Kevin Kofler <Kevin@tigcc.ticalc.org>
176Build debuginfo RPM.
177Use the system-wide default RPM_OPT_FLAGS instead of my own.
178Use BuildRoot recommended by the Fedora packaging guidelines.
179
180* Sun May 7 2006 Kevin Kofler <Kevin@tigcc.ticalc.org>
181License now GPL (with exception for TilEm).
182Add missing glib2 BuildRequires/Requires.
183Now requires libticonv.
184Convert hotplug rules to udev rules and add DirectLink DeviceIDs.
185
186* Sat Feb 11 2006 Kevin Kofler <Kevin@tigcc.ticalc.org>
187Update setup -n to use the new directory name (libticables, not libticables2).
188
189* Sun Jan 29 2006 Kevin Kofler <Kevin@tigcc.ticalc.org>
190Strip library because -s gets ignored somehow.
191
192* Wed Jan 4 2006 Kevin Kofler <Kevin@tigcc.ticalc.org>
193Change Vendor to LPG.
194
195* Wed Sep 14 2005 Kevin Kofler <Kevin@tigcc.ticalc.org>
196Update to libticables-2: new package name, updated file list.
197
198* Wed Jun 22 2005 Kevin Kofler <Kevin@tigcc.ticalc.org>
199SilverLink support (based on Julien Blache's Debian packages and Nalin
200Dahyabhai's usbcam script)
201
202* Sun Jun 19 2005 Kevin Kofler <Kevin@tigcc.ticalc.org>
203Change Copyright to License.
204Don't list cabl_def.h twice.
205
206* Mon May 2 2005 Kevin Kofler <Kevin@tigcc.ticalc.org>
207First Fedora RPM.
2080
=== modified file 'build/mingw/Makefile'
--- build/mingw/Makefile 2009-05-17 13:34:18 +0000
+++ build/mingw/Makefile 2010-02-23 21:48:16 +0000
@@ -1,8 +1,8 @@
1# Makefile.in generated by automake 1.10 from Makefile.am.1# Makefile.in generated by automake 1.10.1 from Makefile.am.
2# build/mingw/Makefile. Generated from Makefile.in by configure.2# build/mingw/Makefile. Generated from Makefile.in by configure.
33
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.5# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6# This Makefile.in is free software; the Free Software Foundation6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.8# with or without modifications, as long as this notice is preserved.
@@ -30,8 +30,8 @@
30NORMAL_UNINSTALL = :30NORMAL_UNINSTALL = :
31PRE_UNINSTALL = :31PRE_UNINSTALL = :
32POST_UNINSTALL = :32POST_UNINSTALL = :
33build_triplet = x86_64-unknown-linux-gnu33build_triplet = i686-pc-linux-gnu
34host_triplet = x86_64-unknown-linux-gnu34host_triplet = i686-pc-linux-gnu
35subdir = build/mingw35subdir = build/mingw
36DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in36DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
37ACLOCAL_M4 = $(top_srcdir)/aclocal.m437ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -45,32 +45,28 @@
45DIST_SOURCES =45DIST_SOURCES =
46DATA = $(noinst_DATA)46DATA = $(noinst_DATA)
47DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)47DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
48ACLOCAL = ${SHELL} /tmp/libticables2-1.2.0/missing --run aclocal-1.1048ACLOCAL = ${SHELL} /tmp/ticables2/missing --run aclocal-1.10
49ALLOCA = 49AMTAR = ${SHELL} /tmp/ticables2/missing --run tar
50AMTAR = ${SHELL} /tmp/libticables2-1.2.0/missing --run tar
51AR = ar50AR = ar
52AS = as51AS = as
53AUTOCONF = ${SHELL} /tmp/libticables2-1.2.0/missing --run autoconf52AUTOCONF = ${SHELL} /tmp/ticables2/missing --run autoconf
54AUTOHEADER = ${SHELL} /tmp/libticables2-1.2.0/missing --run autoheader53AUTOHEADER = ${SHELL} /tmp/ticables2/missing --run autoheader
55AUTOMAKE = ${SHELL} /tmp/libticables2-1.2.0/missing --run automake-1.1054AUTOMAKE = ${SHELL} /tmp/ticables2/missing --run automake-1.10
56AWK = mawk55AWK = mawk
57BUILD_INCLUDED_LIBINTL = no
58CATOBJEXT = .gmo
59CC = gcc56CC = gcc
60CCDEPMODE = depmode=gcc357CCDEPMODE = depmode=gcc3
61CFLAGS = -g -O2 -D__LINUX__ -fvisibility=hidden58CFLAGS = -g -O2 -D__I386__ -D__LINUX__ -fvisibility=hidden
62CFLAG_VISIBILITY = -fvisibility=hidden
63CPP = gcc -E59CPP = gcc -E
64CPPFLAGS = 60CPPFLAGS =
65CXX = g++61CXX = g++
66CXXCPP = 62CXXCPP = g++ -E
67CXXDEPMODE = depmode=none63CXXDEPMODE = depmode=gcc3
68CXXFLAGS = 64CXXFLAGS = -g -O2
69CYGPATH_W = echo65CYGPATH_W = echo
70DATADIRNAME = share
71DEFS = -DHAVE_CONFIG_H66DEFS = -DHAVE_CONFIG_H
72DEPDIR = .deps67DEPDIR = .deps
73DLLTOOL = dlltool68DLLTOOL = dlltool
69DSYMUTIL =
74ECHO = echo70ECHO = echo
75ECHO_C = 71ECHO_C =
76ECHO_N = -n72ECHO_N = -n
@@ -79,85 +75,68 @@
79EXEEXT = 75EXEEXT =
80F77 = 76F77 =
81FFLAGS = 77FFLAGS =
82GENCAT = gencat78GETTEXT_MACRO_VERSION = 0.17
83GLIBC2 = yes
84GLIBC21 = yes
85GLIB_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 79GLIB_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
86GLIB_LIBS = -lglib-2.0 80GLIB_LIBS = -lglib-2.0
87GMSGFMT = /usr/bin/msgfmt81GMSGFMT = /usr/bin/msgfmt
88GMSGFMT_015 = /usr/bin/msgfmt82GMSGFMT_015 = /usr/bin/msgfmt
89GREP = /bin/grep83GREP = /bin/grep
90HAVE_ASPRINTF = 1
91HAVE_POSIX_PRINTF = 1
92HAVE_SNPRINTF = 1
93HAVE_VISIBILITY = 1
94HAVE_WPRINTF = 0
95INSTALL = /usr/bin/install -c84INSTALL = /usr/bin/install -c
96INSTALL_DATA = ${INSTALL} -m 64485INSTALL_DATA = ${INSTALL} -m 644
97INSTALL_PROGRAM = ${INSTALL}86INSTALL_PROGRAM = ${INSTALL}
98INSTALL_SCRIPT = ${INSTALL}87INSTALL_SCRIPT = ${INSTALL}
99INSTALL_STRIP_PROGRAM = $(install_sh) -c -s88INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
100INSTOBJEXT = .mo
101INTLBISON = bison
102INTLLIBS = 89INTLLIBS =
103INTLOBJS =
104INTL_LIBTOOL_SUFFIX_PREFIX =
105INTL_MACOSX_LIBS = 90INTL_MACOSX_LIBS =
106LDFLAGS = 91LDFLAGS =
107LIBICONV = 92LIBICONV = -liconv
108LIBINTL = 93LIBINTL =
109LIBMULTITHREAD = -lpthread
110LIBOBJS = 94LIBOBJS =
111LIBPTH =
112LIBS = 95LIBS =
113LIBTHREAD =
114LIBTOOL = $(SHELL) $(top_builddir)/libtool96LIBTOOL = $(SHELL) $(top_builddir)/libtool
115LIBUSB_CFLAGS = 97LIBUSB_CFLAGS =
116LIBUSB_LIBS = -lusb 98LIBUSB_LIBS = -lusb
117LN_S = ln -s99LN_S = ln -s
118LTLIBICONV = 100LTLIBICONV = -liconv
119LTLIBINTL = 101LTLIBINTL =
120LTLIBMULTITHREAD = -lpthread
121LTLIBOBJS = 102LTLIBOBJS =
122LTLIBPTH = 103LT_LIBVERSION = 2:0:0
123LTLIBTHREAD =
124LT_LIBVERSION = 1:16:0
125MAINT = #104MAINT = #
126MAKEINFO = ${SHELL} /tmp/libticables2-1.2.0/missing --run makeinfo105MAKEINFO = ${SHELL} /tmp/ticables2/missing --run makeinfo
127MKDIR_P = /bin/mkdir -p106MKDIR_P = /bin/mkdir -p
128MSGFMT = /usr/bin/msgfmt107MSGFMT = /usr/bin/msgfmt
129MSGFMT_015 = /usr/bin/msgfmt108MSGFMT_015 = /usr/bin/msgfmt
130MSGMERGE = /usr/bin/msgmerge109MSGMERGE = /usr/bin/msgmerge
110NMEDIT =
131OBJDUMP = objdump111OBJDUMP = objdump
132OBJEXT = o112OBJEXT = o
133PACKAGE = libticables2113PACKAGE = libticables2
134PACKAGE_BUGREPORT = tilp-users@lists.sourceforge.net114PACKAGE_BUGREPORT = tilp-users@lists.sourceforge.net
135PACKAGE_NAME = libticables2115PACKAGE_NAME = libticables2
136PACKAGE_STRING = libticables2 1.2.0116PACKAGE_STRING = libticables2 1.3.0
137PACKAGE_TARNAME = libticables2117PACKAGE_TARNAME = libticables2
138PACKAGE_VERSION = 1.2.0118PACKAGE_VERSION = 1.3.0
139PATH_SEPARATOR = :119PATH_SEPARATOR = :
140PKG_CONFIG = /usr/bin/pkg-config120PKG_CONFIG = /usr/bin/pkg-config
141POSUB = po121POSUB = po
142PRI_MACROS_BROKEN = 0
143RANLIB = ranlib122RANLIB = ranlib
144RC = windres123RC = windres
124SED = /bin/sed
145SET_MAKE = 125SET_MAKE =
146SHELL = /bin/sh126SHELL = /bin/sh
147STRIP = strip127STRIP = strip
148TFDOCGEN = yes128TFDOCGEN = yes
149USE_INCLUDED_LIBINTL = no
150USE_NLS = yes129USE_NLS = yes
151VERSION = 1.2.0130VERSION = 1.3.0
152WOE32DLL = no
153XGETTEXT = /usr/bin/xgettext131XGETTEXT = /usr/bin/xgettext
154XGETTEXT_015 = /usr/bin/xgettext132XGETTEXT_015 = /usr/bin/xgettext
155abs_builddir = /tmp/libticables2-1.2.0/build/mingw133XGETTEXT_EXTRA_OPTIONS =
156abs_srcdir = /tmp/libticables2-1.2.0/build/mingw134abs_builddir = /tmp/ticables2/build/mingw
157abs_top_builddir = /tmp/libticables2-1.2.0135abs_srcdir = /tmp/ticables2/build/mingw
158abs_top_srcdir = /tmp/libticables2-1.2.0136abs_top_builddir = /tmp/ticables2
137abs_top_srcdir = /tmp/ticables2
159ac_ct_CC = gcc138ac_ct_CC = gcc
160ac_ct_CXX = 139ac_ct_CXX = g++
161ac_ct_F77 = 140ac_ct_F77 =
162am__include = include141am__include = include
163am__leading_dot = .142am__leading_dot = .
@@ -165,26 +144,26 @@
165am__tar = ${AMTAR} chof - "$$tardir"144am__tar = ${AMTAR} chof - "$$tardir"
166am__untar = ${AMTAR} xf -145am__untar = ${AMTAR} xf -
167bindir = ${exec_prefix}/bin146bindir = ${exec_prefix}/bin
168build = x86_64-unknown-linux-gnu147build = i686-pc-linux-gnu
169build_alias = 148build_alias =
170build_cpu = x86_64149build_cpu = i686
171build_os = linux-gnu150build_os = linux-gnu
172build_vendor = unknown151build_vendor = pc
173builddir = .152builddir = .
174datadir = ${datarootdir}153datadir = ${datarootdir}
175datarootdir = ${prefix}/share154datarootdir = ${prefix}/share
176docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}155docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
177dvidir = ${docdir}156dvidir = ${docdir}
178exec_prefix = ${prefix}157exec_prefix = ${prefix}
179host = x86_64-unknown-linux-gnu158host = i686-pc-linux-gnu
180host_alias = 159host_alias =
181host_cpu = x86_64160host_cpu = i686
182host_os = linux-gnu161host_os = linux-gnu
183host_vendor = unknown162host_vendor = pc
184htmldir = ${docdir}163htmldir = ${docdir}
185includedir = ${prefix}/include164includedir = ${prefix}/include
186infodir = ${datarootdir}/info165infodir = ${datarootdir}/info
187install_sh = $(SHELL) /tmp/libticables2-1.2.0/install-sh166install_sh = $(SHELL) /tmp/ticables2/install-sh
188libdir = ${exec_prefix}/lib167libdir = ${exec_prefix}/lib
189libexecdir = ${exec_prefix}/libexec168libexecdir = ${exec_prefix}/libexec
190localedir = ${datarootdir}/locale169localedir = ${datarootdir}/locale
191170
=== modified file 'build/mingw/Makefile.in'
--- build/mingw/Makefile.in 2009-05-17 13:34:18 +0000
+++ build/mingw/Makefile.in 2010-02-23 21:48:16 +0000
@@ -1,8 +1,8 @@
1# Makefile.in generated by automake 1.10 from Makefile.am.1# Makefile.in generated by automake 1.10.1 from Makefile.am.
2# @configure_input@2# @configure_input@
33
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.5# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6# This Makefile.in is free software; the Free Software Foundation6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.8# with or without modifications, as long as this notice is preserved.
@@ -46,7 +46,6 @@
46DATA = $(noinst_DATA)46DATA = $(noinst_DATA)
47DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)47DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
48ACLOCAL = @ACLOCAL@48ACLOCAL = @ACLOCAL@
49ALLOCA = @ALLOCA@
50AMTAR = @AMTAR@49AMTAR = @AMTAR@
51AR = @AR@50AR = @AR@
52AS = @AS@51AS = @AS@
@@ -54,12 +53,9 @@
54AUTOHEADER = @AUTOHEADER@53AUTOHEADER = @AUTOHEADER@
55AUTOMAKE = @AUTOMAKE@54AUTOMAKE = @AUTOMAKE@
56AWK = @AWK@55AWK = @AWK@
57BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
58CATOBJEXT = @CATOBJEXT@
59CC = @CC@56CC = @CC@
60CCDEPMODE = @CCDEPMODE@57CCDEPMODE = @CCDEPMODE@
61CFLAGS = @CFLAGS@58CFLAGS = @CFLAGS@
62CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
63CPP = @CPP@59CPP = @CPP@
64CPPFLAGS = @CPPFLAGS@60CPPFLAGS = @CPPFLAGS@
65CXX = @CXX@61CXX = @CXX@
@@ -67,10 +63,10 @@
67CXXDEPMODE = @CXXDEPMODE@63CXXDEPMODE = @CXXDEPMODE@
68CXXFLAGS = @CXXFLAGS@64CXXFLAGS = @CXXFLAGS@
69CYGPATH_W = @CYGPATH_W@65CYGPATH_W = @CYGPATH_W@
70DATADIRNAME = @DATADIRNAME@
71DEFS = @DEFS@66DEFS = @DEFS@
72DEPDIR = @DEPDIR@67DEPDIR = @DEPDIR@
73DLLTOOL = @DLLTOOL@68DLLTOOL = @DLLTOOL@
69DSYMUTIL = @DSYMUTIL@
74ECHO = @ECHO@70ECHO = @ECHO@
75ECHO_C = @ECHO_C@71ECHO_C = @ECHO_C@
76ECHO_N = @ECHO_N@72ECHO_N = @ECHO_N@
@@ -79,48 +75,31 @@
79EXEEXT = @EXEEXT@75EXEEXT = @EXEEXT@
80F77 = @F77@76F77 = @F77@
81FFLAGS = @FFLAGS@77FFLAGS = @FFLAGS@
82GENCAT = @GENCAT@78GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
83GLIBC2 = @GLIBC2@
84GLIBC21 = @GLIBC21@
85GLIB_CFLAGS = @GLIB_CFLAGS@79GLIB_CFLAGS = @GLIB_CFLAGS@
86GLIB_LIBS = @GLIB_LIBS@80GLIB_LIBS = @GLIB_LIBS@
87GMSGFMT = @GMSGFMT@81GMSGFMT = @GMSGFMT@
88GMSGFMT_015 = @GMSGFMT_015@82GMSGFMT_015 = @GMSGFMT_015@
89GREP = @GREP@83GREP = @GREP@
90HAVE_ASPRINTF = @HAVE_ASPRINTF@
91HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
92HAVE_SNPRINTF = @HAVE_SNPRINTF@
93HAVE_VISIBILITY = @HAVE_VISIBILITY@
94HAVE_WPRINTF = @HAVE_WPRINTF@
95INSTALL = @INSTALL@84INSTALL = @INSTALL@
96INSTALL_DATA = @INSTALL_DATA@85INSTALL_DATA = @INSTALL_DATA@
97INSTALL_PROGRAM = @INSTALL_PROGRAM@86INSTALL_PROGRAM = @INSTALL_PROGRAM@
98INSTALL_SCRIPT = @INSTALL_SCRIPT@87INSTALL_SCRIPT = @INSTALL_SCRIPT@
99INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@88INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
100INSTOBJEXT = @INSTOBJEXT@
101INTLBISON = @INTLBISON@
102INTLLIBS = @INTLLIBS@89INTLLIBS = @INTLLIBS@
103INTLOBJS = @INTLOBJS@
104INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
105INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@90INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
106LDFLAGS = @LDFLAGS@91LDFLAGS = @LDFLAGS@
107LIBICONV = @LIBICONV@92LIBICONV = @LIBICONV@
108LIBINTL = @LIBINTL@93LIBINTL = @LIBINTL@
109LIBMULTITHREAD = @LIBMULTITHREAD@
110LIBOBJS = @LIBOBJS@94LIBOBJS = @LIBOBJS@
111LIBPTH = @LIBPTH@
112LIBS = @LIBS@95LIBS = @LIBS@
113LIBTHREAD = @LIBTHREAD@
114LIBTOOL = @LIBTOOL@96LIBTOOL = @LIBTOOL@
115LIBUSB_CFLAGS = @LIBUSB_CFLAGS@97LIBUSB_CFLAGS = @LIBUSB_CFLAGS@
116LIBUSB_LIBS = @LIBUSB_LIBS@98LIBUSB_LIBS = @LIBUSB_LIBS@
117LN_S = @LN_S@99LN_S = @LN_S@
118LTLIBICONV = @LTLIBICONV@100LTLIBICONV = @LTLIBICONV@
119LTLIBINTL = @LTLIBINTL@101LTLIBINTL = @LTLIBINTL@
120LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
121LTLIBOBJS = @LTLIBOBJS@102LTLIBOBJS = @LTLIBOBJS@
122LTLIBPTH = @LTLIBPTH@
123LTLIBTHREAD = @LTLIBTHREAD@
124LT_LIBVERSION = @LT_LIBVERSION@103LT_LIBVERSION = @LT_LIBVERSION@
125MAINT = @MAINT@104MAINT = @MAINT@
126MAKEINFO = @MAKEINFO@105MAKEINFO = @MAKEINFO@
@@ -128,6 +107,7 @@
128MSGFMT = @MSGFMT@107MSGFMT = @MSGFMT@
129MSGFMT_015 = @MSGFMT_015@108MSGFMT_015 = @MSGFMT_015@
130MSGMERGE = @MSGMERGE@109MSGMERGE = @MSGMERGE@
110NMEDIT = @NMEDIT@
131OBJDUMP = @OBJDUMP@111OBJDUMP = @OBJDUMP@
132OBJEXT = @OBJEXT@112OBJEXT = @OBJEXT@
133PACKAGE = @PACKAGE@113PACKAGE = @PACKAGE@
@@ -139,19 +119,18 @@
139PATH_SEPARATOR = @PATH_SEPARATOR@119PATH_SEPARATOR = @PATH_SEPARATOR@
140PKG_CONFIG = @PKG_CONFIG@120PKG_CONFIG = @PKG_CONFIG@
141POSUB = @POSUB@121POSUB = @POSUB@
142PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@
143RANLIB = @RANLIB@122RANLIB = @RANLIB@
144RC = @RC@123RC = @RC@
124SED = @SED@
145SET_MAKE = @SET_MAKE@125SET_MAKE = @SET_MAKE@
146SHELL = @SHELL@126SHELL = @SHELL@
147STRIP = @STRIP@127STRIP = @STRIP@
148TFDOCGEN = @TFDOCGEN@128TFDOCGEN = @TFDOCGEN@
149USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
150USE_NLS = @USE_NLS@129USE_NLS = @USE_NLS@
151VERSION = @VERSION@130VERSION = @VERSION@
152WOE32DLL = @WOE32DLL@
153XGETTEXT = @XGETTEXT@131XGETTEXT = @XGETTEXT@
154XGETTEXT_015 = @XGETTEXT_015@132XGETTEXT_015 = @XGETTEXT_015@
133XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
155abs_builddir = @abs_builddir@134abs_builddir = @abs_builddir@
156abs_srcdir = @abs_srcdir@135abs_srcdir = @abs_srcdir@
157abs_top_builddir = @abs_top_builddir@136abs_top_builddir = @abs_top_builddir@
158137
=== modified file 'build/mingw/ticables2.rc'
--- build/mingw/ticables2.rc 2009-05-17 13:34:18 +0000
+++ build/mingw/ticables2.rc 2010-02-23 21:48:16 +0000
@@ -4,8 +4,8 @@
4//4//
55
61 VERSIONINFO61 VERSIONINFO
7 FILEVERSION 1,2,0,07 FILEVERSION 1,3,0,0
8 PRODUCTVERSION 1,2,0,08 PRODUCTVERSION 1,3,0,0
9 FILEFLAGSMASK 0x3fL9 FILEFLAGSMASK 0x3fL
10#ifdef _DEBUG10#ifdef _DEBUG
11 FILEFLAGS 0x21L11 FILEFLAGS 0x21L
@@ -23,14 +23,14 @@
23 VALUE "Comments", "This lib is placed under GPL license. The license can be found on www.gnu.org\0"23 VALUE "Comments", "This lib is placed under GPL license. The license can be found on www.gnu.org\0"
24 VALUE "CompanyName", "The TiLP Team\0"24 VALUE "CompanyName", "The TiLP Team\0"
25 VALUE "FileDescription", "TI cables library\0"25 VALUE "FileDescription", "TI cables library\0"
26 VALUE "FileVersion", "1.2.0\0"26 VALUE "FileVersion", "1.3.0\0"
27 VALUE "InternalName", "libticables2\0"27 VALUE "InternalName", "libticables2\0"
28 VALUE "LegalCopyright", "Copyright © 1999-2007, Romain Liévin\0"28 VALUE "LegalCopyright", "Copyright © 1999-2009, Romain Liévin\0"
29 VALUE "LegalTrademarks", "\0"29 VALUE "LegalTrademarks", "\0"
30 VALUE "OriginalFilename", "libticables2-1.dll\0"30 VALUE "OriginalFilename", "libticables2-1.dll\0"
31 VALUE "PrivateBuild", "\0"31 VALUE "PrivateBuild", "\0"
32 VALUE "ProductName", "TI cables library\0"32 VALUE "ProductName", "TI cables library\0"
33 VALUE "ProductVersion", "1.2.0\0"33 VALUE "ProductVersion", "1.3.0\0"
34 VALUE "SpecialBuild", "Windows 9x/Me, NT4/2000/XP version\0"34 VALUE "SpecialBuild", "Windows 9x/Me, NT4/2000/XP version\0"
35 END35 END
36 END36 END
3737
=== modified file 'build/msvc/test_ticables2.dsp'
--- build/msvc/test_ticables2.dsp 2009-05-17 13:34:18 +0000
+++ build/msvc/test_ticables2.dsp 2010-02-23 21:48:16 +0000
@@ -49,8 +49,8 @@
49# ADD BASE BSC32 /nologo49# ADD BASE BSC32 /nologo
50# ADD BSC32 /nologo50# ADD BSC32 /nologo
51LINK32=link.exe51LINK32=link.exe
52# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I38652# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:I386
53# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /out:"..\..\tests\test_ticables2.exe"53# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:I386 /out:"..\..\tests\test_ticables2.exe"
5454
55!ELSEIF "$(CFG)" == "test_ticables2 - Win32 Debug"55!ELSEIF "$(CFG)" == "test_ticables2 - Win32 Debug"
5656
@@ -73,8 +73,8 @@
73# ADD BASE BSC32 /nologo73# ADD BASE BSC32 /nologo
74# ADD BSC32 /nologo74# ADD BSC32 /nologo
75LINK32=link.exe75LINK32=link.exe
76# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept76# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
77# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept77# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
7878
79!ENDIF 79!ENDIF
8080
8181
=== modified file 'build/msvc/ticables2.dsp'
--- build/msvc/ticables2.dsp 2009-05-17 13:34:18 +0000
+++ build/msvc/ticables2.dsp 2010-02-23 21:48:16 +0000
@@ -39,11 +39,11 @@
39# PROP Use_MFC 039# PROP Use_MFC 0
40# PROP Use_Debug_Libraries 040# PROP Use_Debug_Libraries 0
41# PROP Output_Dir ""41# PROP Output_Dir ""
42# PROP Intermediate_Dir "C:\msvc\Output\ticables2"42# PROP Intermediate_Dir "C:\lpg\msvc\Output\ticables2"
43# PROP Ignore_Export_Lib 043# PROP Ignore_Export_Lib 0
44# PROP Target_Dir ""44# PROP Target_Dir ""
45# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c45# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
46# ADD CPP /nologo /MD /w /W0 /GX /I "C:\Gtk2Dev\include" /I "c:\gtk2dev\include\glib-2.0" /I "C:\GTK2DEV\lib\glib-2.0\include" /D "NDEBUG" /D "_WINDOWS" /D "WIN32" /D "TICABLES_EXPORTS" /D "__WIN32__" /D "__I386__" /D "ENABLE_NLS" /YX /FD /c46# ADD CPP /nologo /MD /w /W0 /GX /I "c:\lpg\gtk\include" /I "c:\lpg\gtk\include\glib-2.0" /I "c:\lpg\gtk\lib\glib-2.0\include" /D "NDEBUG" /D "_WINDOWS" /D "WIN32" /D "TICABLES_EXPORTS" /D "__WIN32__" /D "__I386__" /D "ENABLE_NLS" /YX /FD /c
47# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o /win32 "NUL"47# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o /win32 "NUL"
48# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o /win32 "NUL"48# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o /win32 "NUL"
49# ADD BASE RSC /l 0x40c /d "NDEBUG"49# ADD BASE RSC /l 0x40c /d "NDEBUG"
@@ -52,8 +52,8 @@
52# ADD BASE BSC32 /nologo52# ADD BASE BSC32 /nologo
53# ADD BSC32 /nologo53# ADD BSC32 /nologo
54LINK32=link.exe54LINK32=link.exe
55# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I38655# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /machine:I386
56# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386 /out:"..\..\tests\libticables2-1.dll"56# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /machine:I386 /out:"..\..\tests\libticables2-2.dll"
5757
58!ELSEIF "$(CFG)" == "ticables2 - Win32 Debug"58!ELSEIF "$(CFG)" == "ticables2 - Win32 Debug"
5959
@@ -64,12 +64,12 @@
64# PROP BASE Target_Dir ""64# PROP BASE Target_Dir ""
65# PROP Use_MFC 065# PROP Use_MFC 0
66# PROP Use_Debug_Libraries 166# PROP Use_Debug_Libraries 1
67# PROP Output_Dir "C:\msvc\tilp2"67# PROP Output_Dir "c:\lpg\msvc"
68# PROP Intermediate_Dir "C:\msvc\Output\ticables2"68# PROP Intermediate_Dir "C:\lpg\msvc\Output\ticables2"
69# PROP Ignore_Export_Lib 069# PROP Ignore_Export_Lib 0
70# PROP Target_Dir ""70# PROP Target_Dir ""
71# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c71# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
72# ADD CPP /nologo /MD /W3 /GX /ZI /Od /I "C:\Gtk2Dev\include" /I "c:\gtk2dev\include\glib-2.0" /I "C:\GTK2DEV\lib\glib-2.0\include" /D "_DEBUG" /D "_CONSOLE" /D "ENABLE_LOGGING" /D "ENABLE_NLS" /D "WIN32" /D "TICABLES_EXPORTS" /D "__WIN32__" /D "__I386__" /FD /c72# ADD CPP /nologo /MD /W3 /GX /ZI /Od /I "c:\lpg\gtk\include" /I "c:\lpg\gtk\include\glib-2.0" /I "c:\lpg\gtk\lib\glib-2.0\include" /D "_DEBUG" /D "_CONSOLE" /D "ENABLE_LOGGING" /D "ENABLE_NLS" /D "WIN32" /D "TICABLES_EXPORTS" /D "__WIN32__" /D "__I386__" /FD /c
73# SUBTRACT CPP /Fr /YX73# SUBTRACT CPP /Fr /YX
74# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o /win32 "NUL"74# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o /win32 "NUL"
75# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o /win32 "NUL"75# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o /win32 "NUL"
@@ -79,8 +79,8 @@
79# ADD BASE BSC32 /nologo79# ADD BASE BSC32 /nologo
80# SUBTRACT BSC32 /nologo80# SUBTRACT BSC32 /nologo
81LINK32=link.exe81LINK32=link.exe
82# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept82# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
83# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /debugtype:both /machine:I386 /out:"C:\msvc\tilp2\libticables2-1.dll" /pdbtype:sept83# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /debug /debugtype:both /machine:I386 /out:"c:\lpg\msvc\libticables2-2.dll" /pdbtype:sept
84# SUBTRACT LINK32 /map84# SUBTRACT LINK32 /map
8585
86!ENDIF 86!ENDIF
@@ -243,15 +243,15 @@
243# End Source File243# End Source File
244# Begin Source File244# Begin Source File
245245
246SOURCE="..\..\..\..\..\GTK2DEV\lib\glib-2.0.lib"246SOURCE="C:\LPG\GTK\lib\glib-2.0.lib"
247# End Source File247# End Source File
248# Begin Source File248# Begin Source File
249249
250SOURCE=..\..\..\..\..\GTK2DEV\lib\intl.lib250SOURCE=C:\LPG\GTK\lib\intl.lib
251# End Source File251# End Source File
252# Begin Source File252# Begin Source File
253253
254SOURCE="..\..\..\libusb-win32\lib\msvc\libusb.lib"254SOURCE="C:\lpg\libusb-win32\lib\msvc\libusb.lib"
255# End Source File255# End Source File
256# End Target256# End Target
257# End Project257# End Project
258258
=== modified file 'config.guess'
--- config.guess 2009-05-17 13:34:18 +0000
+++ config.guess 2010-02-23 21:48:16 +0000
@@ -1,10 +1,10 @@
1#! /bin/sh1#! /bin/sh
2# Attempt to guess a canonical system name.2# Attempt to guess a canonical system name.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
5# Inc.5# Free Software Foundation, Inc.
66
7timestamp='2006-07-02'7timestamp='2008-01-23'
88
9# This file is free software; you can redistribute it and/or modify it9# This file is free software; you can redistribute it and/or modify it
10# under the terms of the GNU General Public License as published by10# under the terms of the GNU General Public License as published by
@@ -56,8 +56,8 @@
56GNU config.guess ($timestamp)56GNU config.guess ($timestamp)
5757
58Originally written by Per Bothner.58Originally written by Per Bothner.
59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 200559Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
60Free Software Foundation, Inc.602002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6161
62This is free software; see the source for copying conditions. There is NO62This is free software; see the source for copying conditions. There is NO
63warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."63warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -161,6 +161,7 @@
161 arm*) machine=arm-unknown ;;161 arm*) machine=arm-unknown ;;
162 sh3el) machine=shl-unknown ;;162 sh3el) machine=shl-unknown ;;
163 sh3eb) machine=sh-unknown ;;163 sh3eb) machine=sh-unknown ;;
164 sh5el) machine=sh5le-unknown ;;
164 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;165 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
165 esac166 esac
166 # The Operating System including object format, if it has switched167 # The Operating System including object format, if it has switched
@@ -329,7 +330,7 @@
329 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)330 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
330 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`331 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
331 exit ;;332 exit ;;
332 i86pc:SunOS:5.*:*)333 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
333 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`334 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
334 exit ;;335 exit ;;
335 sun4*:SunOS:6*:*)336 sun4*:SunOS:6*:*)
@@ -531,7 +532,7 @@
531 echo rs6000-ibm-aix3.2532 echo rs6000-ibm-aix3.2
532 fi533 fi
533 exit ;;534 exit ;;
534 *:AIX:*:[45])535 *:AIX:*:[456])
535 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`536 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
536 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then537 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
537 IBM_ARCH=rs6000538 IBM_ARCH=rs6000
@@ -780,7 +781,7 @@
780 i*:CYGWIN*:*)781 i*:CYGWIN*:*)
781 echo ${UNAME_MACHINE}-pc-cygwin782 echo ${UNAME_MACHINE}-pc-cygwin
782 exit ;;783 exit ;;
783 i*:MINGW*:*)784 *:MINGW*:*)
784 echo ${UNAME_MACHINE}-pc-mingw32785 echo ${UNAME_MACHINE}-pc-mingw32
785 exit ;;786 exit ;;
786 i*:windows32*:*)787 i*:windows32*:*)
@@ -790,12 +791,18 @@
790 i*:PW*:*)791 i*:PW*:*)
791 echo ${UNAME_MACHINE}-pc-pw32792 echo ${UNAME_MACHINE}-pc-pw32
792 exit ;;793 exit ;;
793 x86:Interix*:[3456]*)794 *:Interix*:[3456]*)
794 echo i586-pc-interix${UNAME_RELEASE}795 case ${UNAME_MACHINE} in
795 exit ;;796 x86)
796 EM64T:Interix*:[3456]*)797 echo i586-pc-interix${UNAME_RELEASE}
797 echo x86_64-unknown-interix${UNAME_RELEASE}798 exit ;;
798 exit ;;799 EM64T | authenticamd)
800 echo x86_64-unknown-interix${UNAME_RELEASE}
801 exit ;;
802 IA64)
803 echo ia64-unknown-interix${UNAME_RELEASE}
804 exit ;;
805 esac ;;
799 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)806 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
800 echo i${UNAME_MACHINE}-pc-mks807 echo i${UNAME_MACHINE}-pc-mks
801 exit ;;808 exit ;;
@@ -829,7 +836,14 @@
829 echo ${UNAME_MACHINE}-pc-minix836 echo ${UNAME_MACHINE}-pc-minix
830 exit ;;837 exit ;;
831 arm*:Linux:*:*)838 arm*:Linux:*:*)
832 echo ${UNAME_MACHINE}-unknown-linux-gnu839 eval $set_cc_for_build
840 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
841 | grep -q __ARM_EABI__
842 then
843 echo ${UNAME_MACHINE}-unknown-linux-gnu
844 else
845 echo ${UNAME_MACHINE}-unknown-linux-gnueabi
846 fi
833 exit ;;847 exit ;;
834 avr32*:Linux:*:*)848 avr32*:Linux:*:*)
835 echo ${UNAME_MACHINE}-unknown-linux-gnu849 echo ${UNAME_MACHINE}-unknown-linux-gnu
@@ -950,6 +964,9 @@
950 x86_64:Linux:*:*)964 x86_64:Linux:*:*)
951 echo x86_64-unknown-linux-gnu965 echo x86_64-unknown-linux-gnu
952 exit ;;966 exit ;;
967 xtensa*:Linux:*:*)
968 echo ${UNAME_MACHINE}-unknown-linux-gnu
969 exit ;;
953 i*86:Linux:*:*)970 i*86:Linux:*:*)
954 # The BFD linker knows what the default object file format is, so971 # The BFD linker knows what the default object file format is, so
955 # first see if it will tell us. cd to the root directory to prevent972 # first see if it will tell us. cd to the root directory to prevent
@@ -1208,6 +1225,15 @@
1208 SX-6:SUPER-UX:*:*)1225 SX-6:SUPER-UX:*:*)
1209 echo sx6-nec-superux${UNAME_RELEASE}1226 echo sx6-nec-superux${UNAME_RELEASE}
1210 exit ;;1227 exit ;;
1228 SX-7:SUPER-UX:*:*)
1229 echo sx7-nec-superux${UNAME_RELEASE}
1230 exit ;;
1231 SX-8:SUPER-UX:*:*)
1232 echo sx8-nec-superux${UNAME_RELEASE}
1233 exit ;;
1234 SX-8R:SUPER-UX:*:*)
1235 echo sx8r-nec-superux${UNAME_RELEASE}
1236 exit ;;
1211 Power*:Rhapsody:*:*)1237 Power*:Rhapsody:*:*)
1212 echo powerpc-apple-rhapsody${UNAME_RELEASE}1238 echo powerpc-apple-rhapsody${UNAME_RELEASE}
1213 exit ;;1239 exit ;;
@@ -1458,9 +1484,9 @@
1458the operating system you are using. It is advised that you1484the operating system you are using. It is advised that you
1459download the most up to date version of the config scripts from1485download the most up to date version of the config scripts from
14601486
1461 http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess1487 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
1462and1488and
1463 http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub1489 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
14641490
1465If the version you run ($0) is already up to date, please1491If the version you run ($0) is already up to date, please
1466send the following data and any information you think might be1492send the following data and any information you think might be
14671493
=== modified file 'config.sub'
--- config.sub 2009-05-17 13:34:18 +0000
+++ config.sub 2010-02-23 21:48:16 +0000
@@ -1,10 +1,10 @@
1#! /bin/sh1#! /bin/sh
2# Configuration validation subroutine script.2# Configuration validation subroutine script.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
5# Inc.5# Free Software Foundation, Inc.
66
7timestamp='2006-07-02'7timestamp='2008-01-16'
88
9# This file is (in principle) common to ALL GNU software.9# This file is (in principle) common to ALL GNU software.
10# The presence of a machine in this file suggests that SOME GNU software10# The presence of a machine in this file suggests that SOME GNU software
@@ -72,8 +72,8 @@
72version="\72version="\
73GNU config.sub ($timestamp)73GNU config.sub ($timestamp)
7474
75Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 200575Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
76Free Software Foundation, Inc.762002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7777
78This is free software; see the source for copying conditions. There is NO78This is free software; see the source for copying conditions. There is NO
79warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."79warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -245,12 +245,12 @@
245 | bfin \245 | bfin \
246 | c4x | clipper \246 | c4x | clipper \
247 | d10v | d30v | dlx | dsp16xx \247 | d10v | d30v | dlx | dsp16xx \
248 | fr30 | frv \248 | fido | fr30 | frv \
249 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \249 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
250 | i370 | i860 | i960 | ia64 \250 | i370 | i860 | i960 | ia64 \
251 | ip2k | iq2000 \251 | ip2k | iq2000 \
252 | m32c | m32r | m32rle | m68000 | m68k | m88k \252 | m32c | m32r | m32rle | m68000 | m68k | m88k \
253 | maxq | mb | microblaze | mcore \253 | maxq | mb | microblaze | mcore | mep \
254 | mips | mipsbe | mipseb | mipsel | mipsle \254 | mips | mipsbe | mipseb | mipsel | mipsle \
255 | mips16 \255 | mips16 \
256 | mips64 | mips64el \256 | mips64 | mips64el \
@@ -276,6 +276,7 @@
276 | pdp10 | pdp11 | pj | pjl \276 | pdp10 | pdp11 | pj | pjl \
277 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \277 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
278 | pyramid \278 | pyramid \
279 | score \
279 | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \280 | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
280 | sh64 | sh64le \281 | sh64 | sh64le \
281 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \282 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
@@ -284,7 +285,7 @@
284 | tahoe | thumb | tic4x | tic80 | tron \285 | tahoe | thumb | tic4x | tic80 | tron \
285 | v850 | v850e \286 | v850 | v850e \
286 | we32k \287 | we32k \
287 | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \288 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
288 | z8k)289 | z8k)
289 basic_machine=$basic_machine-unknown290 basic_machine=$basic_machine-unknown
290 ;;291 ;;
@@ -323,7 +324,7 @@
323 | clipper-* | craynv-* | cydra-* \324 | clipper-* | craynv-* | cydra-* \
324 | d10v-* | d30v-* | dlx-* \325 | d10v-* | d30v-* | dlx-* \
325 | elxsi-* \326 | elxsi-* \
326 | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \327 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
327 | h8300-* | h8500-* \328 | h8300-* | h8500-* \
328 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \329 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
329 | i*86-* | i860-* | i960-* | ia64-* \330 | i*86-* | i860-* | i960-* | ia64-* \
@@ -367,11 +368,15 @@
367 | tron-* \368 | tron-* \
368 | v850-* | v850e-* | vax-* \369 | v850-* | v850e-* | vax-* \
369 | we32k-* \370 | we32k-* \
370 | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \371 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
371 | xstormy16-* | xtensa-* \372 | xstormy16-* | xtensa*-* \
372 | ymp-* \373 | ymp-* \
373 | z8k-*)374 | z8k-*)
374 ;;375 ;;
376 # Recognize the basic CPU types without company name, with glob match.
377 xtensa*)
378 basic_machine=$basic_machine-unknown
379 ;;
375 # Recognize the various machine names and aliases which stand380 # Recognize the various machine names and aliases which stand
376 # for a CPU type and a company and sometimes even an OS.381 # for a CPU type and a company and sometimes even an OS.
377 386bsd)382 386bsd)
@@ -442,6 +447,14 @@
442 basic_machine=ns32k-sequent447 basic_machine=ns32k-sequent
443 os=-dynix448 os=-dynix
444 ;;449 ;;
450 blackfin)
451 basic_machine=bfin-unknown
452 os=-linux
453 ;;
454 blackfin-*)
455 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
456 os=-linux
457 ;;
445 c90)458 c90)
446 basic_machine=c90-cray459 basic_machine=c90-cray
447 os=-unicos460 os=-unicos
@@ -474,8 +487,8 @@
474 basic_machine=craynv-cray487 basic_machine=craynv-cray
475 os=-unicosmp488 os=-unicosmp
476 ;;489 ;;
477 cr16c)490 cr16)
478 basic_machine=cr16c-unknown491 basic_machine=cr16-unknown
479 os=-elf492 os=-elf
480 ;;493 ;;
481 crds | unos)494 crds | unos)
@@ -667,6 +680,14 @@
667 basic_machine=m68k-isi680 basic_machine=m68k-isi
668 os=-sysv681 os=-sysv
669 ;;682 ;;
683 m68knommu)
684 basic_machine=m68k-unknown
685 os=-linux
686 ;;
687 m68knommu-*)
688 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
689 os=-linux
690 ;;
670 m88k-omron*)691 m88k-omron*)
671 basic_machine=m88k-omron692 basic_machine=m88k-omron
672 ;;693 ;;
@@ -682,6 +703,10 @@
682 basic_machine=i386-pc703 basic_machine=i386-pc
683 os=-mingw32704 os=-mingw32
684 ;;705 ;;
706 mingw32ce)
707 basic_machine=arm-unknown
708 os=-mingw32ce
709 ;;
685 miniframe)710 miniframe)
686 basic_machine=m68000-convergent711 basic_machine=m68000-convergent
687 ;;712 ;;
@@ -808,6 +833,14 @@
808 basic_machine=i860-intel833 basic_machine=i860-intel
809 os=-osf834 os=-osf
810 ;;835 ;;
836 parisc)
837 basic_machine=hppa-unknown
838 os=-linux
839 ;;
840 parisc-*)
841 basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
842 os=-linux
843 ;;
811 pbd)844 pbd)
812 basic_machine=sparc-tti845 basic_machine=sparc-tti
813 ;;846 ;;
@@ -909,6 +942,10 @@
909 sb1el)942 sb1el)
910 basic_machine=mipsisa64sb1el-unknown943 basic_machine=mipsisa64sb1el-unknown
911 ;;944 ;;
945 sde)
946 basic_machine=mipsisa32-sde
947 os=-elf
948 ;;
912 sei)949 sei)
913 basic_machine=mips-sei950 basic_machine=mips-sei
914 os=-seiux951 os=-seiux
@@ -920,6 +957,9 @@
920 basic_machine=sh-hitachi957 basic_machine=sh-hitachi
921 os=-hms958 os=-hms
922 ;;959 ;;
960 sh5el)
961 basic_machine=sh5le-unknown
962 ;;
923 sh64)963 sh64)
924 basic_machine=sh64-unknown964 basic_machine=sh64-unknown
925 ;;965 ;;
@@ -1009,6 +1049,10 @@
1009 basic_machine=tic6x-unknown1049 basic_machine=tic6x-unknown
1010 os=-coff1050 os=-coff
1011 ;;1051 ;;
1052 tile*)
1053 basic_machine=tile-unknown
1054 os=-linux-gnu
1055 ;;
1012 tx39)1056 tx39)
1013 basic_machine=mipstx39-unknown1057 basic_machine=mipstx39-unknown
1014 ;;1058 ;;
@@ -1214,7 +1258,7 @@
1214 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \1258 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1215 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \1259 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1216 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \1260 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1217 | -skyos* | -haiku* | -rdos* | -toppers*)1261 | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
1218 # Remember, each alternative MUST END IN *, to match a version number.1262 # Remember, each alternative MUST END IN *, to match a version number.
1219 ;;1263 ;;
1220 -qnx*)1264 -qnx*)
@@ -1366,6 +1410,9 @@
1366# system, and we'll never get to this point.1410# system, and we'll never get to this point.
13671411
1368case $basic_machine in1412case $basic_machine in
1413 score-*)
1414 os=-elf
1415 ;;
1369 spu-*)1416 spu-*)
1370 os=-elf1417 os=-elf
1371 ;;1418 ;;
@@ -1406,6 +1453,9 @@
1406 m68*-cisco)1453 m68*-cisco)
1407 os=-aout1454 os=-aout
1408 ;;1455 ;;
1456 mep-*)
1457 os=-elf
1458 ;;
1409 mips*-cisco)1459 mips*-cisco)
1410 os=-elf1460 os=-elf
1411 ;;1461 ;;
14121462
=== modified file 'configure'
--- configure 2009-05-17 13:34:18 +0000
+++ configure 2010-02-23 21:48:16 +0000
@@ -1,6 +1,6 @@
1#! /bin/sh1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.61 for libticables2 1.2.0.3# Generated by GNU Autoconf 2.61 for libticables2 1.3.0.
4#4#
5# Report bugs to <tilp-users@lists.sourceforge.net>.5# Report bugs to <tilp-users@lists.sourceforge.net>.
6#6#
@@ -728,8 +728,8 @@
728# Identity of this package.728# Identity of this package.
729PACKAGE_NAME='libticables2'729PACKAGE_NAME='libticables2'
730PACKAGE_TARNAME='libticables2'730PACKAGE_TARNAME='libticables2'
731PACKAGE_VERSION='1.2.0'731PACKAGE_VERSION='1.3.0'
732PACKAGE_STRING='libticables2 1.2.0'732PACKAGE_STRING='libticables2 1.3.0'
733PACKAGE_BUGREPORT='tilp-users@lists.sourceforge.net'733PACKAGE_BUGREPORT='tilp-users@lists.sourceforge.net'
734734
735ac_default_prefix=/usr/local735ac_default_prefix=/usr/local
@@ -858,12 +858,15 @@
858CCDEPMODE858CCDEPMODE
859am__fastdepCC_TRUE859am__fastdepCC_TRUE
860am__fastdepCC_FALSE860am__fastdepCC_FALSE
861SED
861GREP862GREP
862EGREP863EGREP
863LN_S864LN_S
864ECHO865ECHO
865AR866AR
866RANLIB867RANLIB
868DSYMUTIL
869NMEDIT
867DLLTOOL870DLLTOOL
868AS871AS
869OBJDUMP872OBJDUMP
@@ -884,6 +887,7 @@
884USE_DOCGEN_FALSE887USE_DOCGEN_FALSE
885RC888RC
886USE_NLS889USE_NLS
890GETTEXT_MACRO_VERSION
887MSGFMT891MSGFMT
888GMSGFMT892GMSGFMT
889MSGFMT_015893MSGFMT_015
@@ -891,35 +895,10 @@
891XGETTEXT895XGETTEXT
892XGETTEXT_015896XGETTEXT_015
893MSGMERGE897MSGMERGE
894GLIBC2898XGETTEXT_EXTRA_OPTIONS
895CFLAG_VISIBILITY899INTL_MACOSX_LIBS
896HAVE_VISIBILITY
897ALLOCA
898PRI_MACROS_BROKEN
899LIBPTH
900LTLIBPTH
901LIBTHREAD
902LTLIBTHREAD
903LIBMULTITHREAD
904LTLIBMULTITHREAD
905LIBICONV900LIBICONV
906LTLIBICONV901LTLIBICONV
907INTLBISON
908GLIBC21
909INTL_MACOSX_LIBS
910HAVE_POSIX_PRINTF
911HAVE_ASPRINTF
912HAVE_SNPRINTF
913HAVE_WPRINTF
914WOE32DLL
915BUILD_INCLUDED_LIBINTL
916USE_INCLUDED_LIBINTL
917CATOBJEXT
918DATADIRNAME
919INSTOBJEXT
920GENCAT
921INTLOBJS
922INTL_LIBTOOL_SUFFIX_PREFIX
923INTLLIBS902INTLLIBS
924LIBINTL903LIBINTL
925LTLIBINTL904LTLIBINTL
@@ -1456,7 +1435,7 @@
1456 # Omit some internal or obsolete options to make the list less imposing.1435 # Omit some internal or obsolete options to make the list less imposing.
1457 # This message is too long to be a string in the A/UX 3.1 sh.1436 # This message is too long to be a string in the A/UX 3.1 sh.
1458 cat <<_ACEOF1437 cat <<_ACEOF
1459\`configure' configures libticables2 1.2.0 to adapt to many kinds of systems.1438\`configure' configures libticables2 1.3.0 to adapt to many kinds of systems.
14601439
1461Usage: $0 [OPTION]... [VAR=VALUE]...1440Usage: $0 [OPTION]... [VAR=VALUE]...
14621441
@@ -1526,7 +1505,7 @@
15261505
1527if test -n "$ac_init_help"; then1506if test -n "$ac_init_help"; then
1528 case $ac_init_help in1507 case $ac_init_help in
1529 short | recursive ) echo "Configuration of libticables2 1.2.0:";;1508 short | recursive ) echo "Configuration of libticables2 1.3.0:";;
1530 esac1509 esac
1531 cat <<\_ACEOF1510 cat <<\_ACEOF
15321511
@@ -1543,9 +1522,6 @@
1543 --enable-dependency-tracking do not reject slow dependency extractors1522 --enable-dependency-tracking do not reject slow dependency extractors
1544 --disable-libtool-lock avoid locking (might break parallel builds)1523 --disable-libtool-lock avoid locking (might break parallel builds)
1545 --disable-nls do not use Native Language Support1524 --disable-nls do not use Native Language Support
1546 --enable-threads={posix|solaris|pth|win32}
1547 specify multithreading API
1548 --disable-threads build without multithread safety
1549 --disable-rpath do not hardcode runtime library paths1525 --disable-rpath do not hardcode runtime library paths
1550 --disable-libusb disable USB support1526 --disable-libusb disable USB support
1551 --enable-logging enable logging1527 --enable-logging enable logging
@@ -1558,11 +1534,8 @@
1558 both]1534 both]
1559 --with-tags[=TAGS] include additional configurations [automatic]1535 --with-tags[=TAGS] include additional configurations [automatic]
1560 --with-gnu-ld assume the C compiler uses GNU ld default=no1536 --with-gnu-ld assume the C compiler uses GNU ld default=no
1561 --with-libpth-prefix[=DIR] search for libpth in DIR/include and DIR/lib
1562 --without-libpth-prefix don't search for libpth in includedir and libdir
1563 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib1537 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1564 --without-libiconv-prefix don't search for libiconv in includedir and libdir1538 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1565 --with-included-gettext use the GNU gettext library included here
1566 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib1539 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1567 --without-libintl-prefix don't search for libintl in includedir and libdir1540 --without-libintl-prefix don't search for libintl in includedir and libdir
15681541
@@ -1651,7 +1624,7 @@
1651test -n "$ac_init_help" && exit $ac_status1624test -n "$ac_init_help" && exit $ac_status
1652if $ac_init_version; then1625if $ac_init_version; then
1653 cat <<\_ACEOF1626 cat <<\_ACEOF
1654libticables2 configure 1.2.01627libticables2 configure 1.3.0
1655generated by GNU Autoconf 2.611628generated by GNU Autoconf 2.61
16561629
1657Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,1630Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1665,7 +1638,7 @@
1665This file contains any messages produced by compilers while1638This file contains any messages produced by compilers while
1666running configure, to aid debugging if configure makes a mistake.1639running configure, to aid debugging if configure makes a mistake.
16671640
1668It was created by libticables2 $as_me 1.2.0, which was1641It was created by libticables2 $as_me 1.3.0, which was
1669generated by GNU Autoconf 2.61. Invocation command line was1642generated by GNU Autoconf 2.61. Invocation command line was
16701643
1671 $ $0 $@1644 $ $0 $@
@@ -2020,11 +1993,11 @@
20201993
20211994
20221995
2023VERSION="1.2.0"1996VERSION="1.3.0"
20241997
20251998
2026LT_CURRENT=11999LT_CURRENT=2
2027LT_REVISION=162000LT_REVISION=0
2028LT_AGE=02001LT_AGE=0
2029LT_LIBVERSION="$LT_CURRENT:$LT_REVISION:$LT_AGE"2002LT_LIBVERSION="$LT_CURRENT:$LT_REVISION:$LT_AGE"
2030LT_LIBVERSION=$LT_CURRENT:$LT_REVISION:$LT_AGE2003LT_LIBVERSION=$LT_CURRENT:$LT_REVISION:$LT_AGE
@@ -2367,7 +2340,7 @@
23672340
2368# Define the identity of the package.2341# Define the identity of the package.
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: