Merge lp:~jamesodhunt/ubuntu/saucy/upstart/1.9.1 into lp:ubuntu/saucy/upstart

Proposed by Dimitri John Ledkov
Status: Merged
Merged at revision: 1480
Proposed branch: lp:~jamesodhunt/ubuntu/saucy/upstart/1.9.1
Merge into: lp:ubuntu/saucy/upstart
Diff against target: 33646 lines (+1118/-29511)
118 files modified
ChangeLog (+27/-0)
Makefile.am (+1/-1)
Makefile.in (+11/-52)
NEWS (+9/-0)
aclocal.m4 (+0/-19)
conf/Makefile.in (+6/-44)
config.h.in (+2/-270)
configure (+292/-3317)
configure.ac (+4/-4)
contrib/Makefile.in (+6/-44)
dbus/Makefile.in (+6/-44)
debian/changelog (+13/-2)
debian/control (+26/-1)
debian/copyright (+1/-1)
debian/libupstart-dev.install (+5/-0)
debian/libupstart1.install (+1/-0)
debian/libupstart1.symbols (+2/-0)
debian/rules (+6/-0)
debian/upstart.postinst (+5/-0)
doc/Makefile.in (+6/-44)
extra/Makefile.in (+6/-44)
init/Makefile.in (+105/-489)
init/tests/libwrap_inotify.la (+0/-41)
intl/ChangeLog (+0/-4)
intl/Makefile.in (+0/-587)
intl/VERSION (+0/-1)
intl/bindtextdom.c (+0/-340)
intl/config.charset (+0/-640)
intl/dcgettext.c (+0/-56)
intl/dcigettext.c (+0/-1689)
intl/dcngettext.c (+0/-57)
intl/dgettext.c (+0/-58)
intl/dngettext.c (+0/-59)
intl/eval-plural.h (+0/-108)
intl/explodename.c (+0/-135)
intl/export.h (+0/-6)
intl/finddomain.c (+0/-212)
intl/gettext.c (+0/-63)
intl/gettextP.h (+0/-297)
intl/gmo.h (+0/-152)
intl/hash-string.c (+0/-51)
intl/hash-string.h (+0/-36)
intl/intl-compat.c (+0/-133)
intl/intl-exports.c (+0/-36)
intl/l10nflist.c (+0/-400)
intl/langprefs.c (+0/-130)
intl/libgnuintl.h.in (+0/-419)
intl/libintl.rc (+0/-38)
intl/loadinfo.h (+0/-132)
intl/loadmsgcat.c (+0/-1336)
intl/localcharset.c (+0/-461)
intl/localcharset.h (+0/-42)
intl/locale.alias (+0/-77)
intl/localealias.c (+0/-439)
intl/localename.c (+0/-1507)
intl/lock.c (+0/-922)
intl/lock.h (+0/-1105)
intl/log.c (+0/-116)
intl/ngettext.c (+0/-65)
intl/os2compat.c (+0/-98)
intl/os2compat.h (+0/-46)
intl/osdep.c (+0/-26)
intl/plural-exp.c (+0/-155)
intl/plural-exp.h (+0/-129)
intl/plural.c (+0/-1961)
intl/plural.y (+0/-385)
intl/printf-args.c (+0/-188)
intl/printf-args.h (+0/-155)
intl/printf-parse.c (+0/-590)
intl/printf-parse.h (+0/-75)
intl/printf.c (+0/-427)
intl/ref-add.sin (+0/-31)
intl/ref-del.sin (+0/-26)
intl/relocatable.c (+0/-468)
intl/relocatable.h (+0/-79)
intl/textdomain.c (+0/-127)
intl/tsearch.c (+0/-684)
intl/tsearch.h (+0/-83)
intl/vasnprintf.c (+0/-4677)
intl/vasnprintf.h (+0/-78)
intl/vasnwprintf.h (+0/-46)
intl/version.c (+0/-26)
intl/wprintf-parse.h (+0/-75)
intl/xsize.h (+0/-109)
lib/Makefile.am (+37/-10)
lib/Makefile.in (+229/-398)
lib/libupstart.la (+0/-41)
lib/libupstart.pc.in.in (+1/-1)
lib/tests/test_libupstart.c (+0/-2)
lib/upstart.h (+4/-3)
ltmain.sh (+2/-2)
m4/codeset.m4 (+0/-21)
m4/glibc2.m4 (+0/-30)
m4/glibc21.m4 (+0/-30)
m4/intdiv0.m4 (+0/-84)
m4/intl.m4 (+0/-285)
m4/intmax.m4 (+0/-33)
m4/inttypes-pri.m4 (+0/-36)
m4/inttypes_h.m4 (+0/-26)
m4/lcmessage.m4 (+0/-30)
m4/lock.m4 (+0/-316)
m4/longlong.m4 (+0/-109)
m4/printf-posix.m4 (+0/-44)
m4/size_max.m4 (+0/-68)
m4/stdint_h.m4 (+0/-26)
m4/uintmax_t.m4 (+0/-30)
m4/visibility.m4 (+0/-52)
m4/wchar_t.m4 (+0/-20)
m4/wint_t.m4 (+0/-28)
m4/xsize.m4 (+0/-13)
po/en@boldquot.po (+55/-55)
po/en@quot.po (+55/-55)
po/upstart.pot (+60/-60)
scripts/Makefile.in (+6/-44)
scripts/data/Makefile.in (+6/-44)
scripts/initctl2dot.py (+15/-11)
test/Makefile.in (+6/-44)
util/Makefile.in (+102/-390)
To merge this branch: bzr merge lp:~jamesodhunt/ubuntu/saucy/upstart/1.9.1
Reviewer Review Type Date Requested Status
Dimitri John Ledkov Approve
James Hunt (community) Needs Resubmitting
Ubuntu branches Pending
Review via email: mp+173221@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Argh... launchpad lost my review. Will retype in a moment.

review: Needs Fixing
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

* I noticed SELINUX support is in ubuntu branch, but not
  upstream. Yet, apparmor support is upstream. Is SELINUX not needed
  upstream?

* libupstart1 control:
  One shouldn't normally use Pre-Depends, typically one uses
  Depends. Pre-Depends are used only in very unusual circumstances
  when additional guarantees are needed (all dependencies configured
  before this package is unpacked). Instead the fields should look
  like:

  Pre-Depends: $(misc:Pre-Depends)
  Depends: $(misc:Depends), $(shlibs:Depends)

  There is no need to list libnih-dbus1 dependancy, as the correct one
  is already genereated by shlibs:Depends, see libupstart1.substvars:
  "shlibs:Depends=libc6 (>= 2.2.5), libdbus-1-3 (>= 1.2.16), libnih-dbus1 (>= 1.0.0), libnih1 (>= 1.0.0)"

* upstart-dbus-bridge.conf removal:

  Since it's a conffile, it will not be automatically removed from
  disk by dpkg, such that upgrading to this version of upstart will
  keep that file. Thus it needs to be properly removed as done with
  dbus-reconnect.conf in upstart postinst,postrm,preinst. Instead of
  the "old" way of doing it, it's now possible to use
  dpkg-maintscript-helper instead.

* Incomplete Multi-Arch:
  Packages marked as Multi-Arch, clashing files must be identical, if
  they are different they should be shipped in arch-qualified
  locations. One file /usr/lib/pkgconfig/libupstart.pc is different across architectures:
  -libdir=${prefix}/lib/x86_64-linux-gnu
  +libdir=${prefix}/lib/i386-linux-gnu
  Thus it should be instead shipped in /usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig

review: Needs Fixing
1477. By James Hunt

* debian/control: Simplify dependencies and avoid hard-coding those
  which can be auto-generated.
* debian/rules: Install libupstart.pc to correct multi-arch location.
* debian/upstart.postinst: Handle safe removal of
  upstart-dbus-bridge.conf (which is not used at the system level).

1478. By James Hunt

debian/control: Add build-depends on automake >= 1.12 for serial-tests
in configure.ac (LP: #1197529).

1479. By James Hunt

debian/control: Correct automake relation.

1480. By James Hunt

debian/libupstart-dev.install: Specify wildcarded path (for multi-arch).

Revision history for this message
James Hunt (jamesodhunt) wrote :

Branch updated.

review: Needs Resubmitting
Revision history for this message
James Hunt (jamesodhunt) wrote :

Oh - and yes of course we *do* want to support SELinux upstream: slangasek is handling this as a separate activity I believe.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

* I think we do need to override dh_makeshlibs call and specify wanted version number (1.9.1) similar to libnih, since at the moment the symbols ended up to be over-versioned =)

libupstart.so.1 libupstart1 #MINVER#
 LIBUPSTART_1.0.0@LIBUPSTART_1.0.0 1.9.1-0ubuntu1
 job_class_com_ubuntu_Upstart0_6_Job@LIBUPSTART_1.0.0 1.9.1-0ubuntu1
 job_class_get_all@LIBUPSTART_1.0.0 1.9.1-0ubuntu1
 job_class_get_all_instances@LIBUPSTART_1.0.0 1.9.1-0ubuntu1
 job_class_get_all_instances_sync@LIBUPSTART_1.0.0 1.9.1-0ubuntu1
 job_class_get_all_sync@LIBUPSTART_1.0.0 1.9.1-0ubuntu1
 job_class_get_author@LIBUPSTART_1.0.0 1.9.1-0ubuntu1
 job_class_get_author_sync@LIBUPSTART_1.0.0 1.9.1-0ubuntu1
....

* dpkg-maintainer-helper to remove the config file needs to also be called in upstart.preinst and upstart.postrm.

Otherwise looks good. I guess it's ok to merge this branch now, but above two issues need to be fixed up. You or me can do that on lp:ubuntu/upstart directly.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ChangeLog'
--- ChangeLog 2013-07-03 08:38:58 +0000
+++ ChangeLog 2013-07-08 13:07:28 +0000
@@ -1,3 +1,12 @@
12013-07-04 James Hunt <james.hunt@ubuntu.com>
2
3 * NEWS: Release 1.9.1
4
52013-07-04 James Hunt <james.hunt@ubuntu.com>
6
7 * Perform 2-pass generation of libupstart.pc to ensure library
8 version specified correctly.
9
12013-07-03 James Hunt <james.hunt@ubuntu.com>102013-07-03 James Hunt <james.hunt@ubuntu.com>
211
3 * extra/upstart-dbus-bridge.c: main(): Check nih_str_split() return.12 * extra/upstart-dbus-bridge.c: main(): Check nih_str_split() return.
@@ -6,6 +15,24 @@
6 - Check nih_str_split() return.15 - Check nih_str_split() return.
7 - Only attempt to extract PID from UPSTART_SESSION16 - Only attempt to extract PID from UPSTART_SESSION
8 in user mode (LP: #1197225).17 in user mode (LP: #1197225).
18 * Makefile.am: Remove intl directory.
19 * configure.ac: Use external gettext library.
20
212013-07-02 James Hunt <james.hunt@ubuntu.com>
22
23 * lib/Makefile.am: Make nih-dbus-tool generate code into the
24 upstart/ directory as we need it there to allow the tests to run
25 against a simulated installed header directory.
26 * lib/tests/test_libupstart.c: Remove unecessary include (which
27 is now included automatically by upstart.h).
28
292013-07-01 James Hunt <james.hunt@ubuntu.com>
30
31 * lib/Makefile.am:
32 - Install client library headers.
33 - Add missing backslash.
34 * lib/upstart.h: Look in upstart/ sub-directory for
35 auto-generated header files.
936
102013-06-28 James Hunt <james.hunt@ubuntu.com>372013-06-28 James Hunt <james.hunt@ubuntu.com>
1138
1239
=== modified file 'Makefile.am'
--- Makefile.am 2013-06-28 15:57:37 +0000
+++ Makefile.am 2013-07-08 13:07:28 +0000
@@ -1,6 +1,6 @@
1## Process this file with automake to produce Makefile.in1## Process this file with automake to produce Makefile.in
22
3SUBDIRS = test intl dbus init util extra lib conf doc contrib po scripts3SUBDIRS = test dbus init util extra lib conf doc contrib po scripts
44
5EXTRA_DIST = HACKING5EXTRA_DIST = HACKING
66
77
=== modified file 'Makefile.in'
--- Makefile.in 2013-06-28 15:36:50 +0000
+++ Makefile.in 2013-07-08 13:07:28 +0000
@@ -81,36 +81,26 @@
81DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \81DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
82 $(srcdir)/Makefile.in $(srcdir)/Makefile.am \82 $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
83 $(top_srcdir)/configure $(am__configure_deps) \83 $(top_srcdir)/configure $(am__configure_deps) \
84 $(srcdir)/config.h.in $(top_srcdir)/intl/Makefile.in ABOUT-NLS \84 $(srcdir)/config.h.in ABOUT-NLS COPYING TODO compile \
85 COPYING TODO compile config.guess config.rpath config.sub \85 config.guess config.rpath config.sub depcomp install-sh \
86 depcomp install-sh missing ltmain.sh86 missing ltmain.sh
87ACLOCAL_M4 = $(top_srcdir)/aclocal.m487ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
88am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \88am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
89 $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc2.m4 \89 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
90 $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/iconv.m4 \
91 $(top_srcdir)/m4/intdiv0.m4 $(top_srcdir)/m4/intl.m4 \
92 $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax.m4 \
93 $(top_srcdir)/m4/inttypes-pri.m4 \
94 $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lcmessage.m4 \
95 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \90 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
96 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libnih.m4 \91 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libnih.m4 \
97 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/lock.m4 \92 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
98 $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/ltoptions.m4 \
99 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \93 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
100 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \94 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
101 $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/po.m4 \95 $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/po.m4 \
102 $(top_srcdir)/m4/printf-posix.m4 $(top_srcdir)/m4/progtest.m4 \96 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
103 $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \
104 $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/visibility.m4 \
105 $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \
106 $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/configure.ac
107am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \97am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
108 $(ACLOCAL_M4)98 $(ACLOCAL_M4)
109am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \99am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
110 configure.lineno config.status.lineno100 configure.lineno config.status.lineno
111mkinstalldirs = $(install_sh) -d101mkinstalldirs = $(install_sh) -d
112CONFIG_HEADER = config.h102CONFIG_HEADER = config.h
113CONFIG_CLEAN_FILES = intl/Makefile103CONFIG_CLEAN_FILES =
114CONFIG_CLEAN_VPATH_FILES =104CONFIG_CLEAN_VPATH_FILES =
115AM_V_P = $(am__v_P_@AM_V@)105AM_V_P = $(am__v_P_@AM_V@)
116am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)106am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
@@ -213,7 +203,6 @@
213distcleancheck_listfiles = find . -type f -print203distcleancheck_listfiles = find . -type f -print
214ABI_COMPLIANCE_CHECKER = @ABI_COMPLIANCE_CHECKER@204ABI_COMPLIANCE_CHECKER = @ABI_COMPLIANCE_CHECKER@
215ACLOCAL = @ACLOCAL@205ACLOCAL = @ACLOCAL@
216ALLOCA = @ALLOCA@
217AMTAR = @AMTAR@206AMTAR = @AMTAR@
218AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@207AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
219AR = @AR@208AR = @AR@
@@ -221,16 +210,12 @@
221AUTOHEADER = @AUTOHEADER@210AUTOHEADER = @AUTOHEADER@
222AUTOMAKE = @AUTOMAKE@211AUTOMAKE = @AUTOMAKE@
223AWK = @AWK@212AWK = @AWK@
224BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
225CATOBJEXT = @CATOBJEXT@
226CC = @CC@213CC = @CC@
227CCDEPMODE = @CCDEPMODE@214CCDEPMODE = @CCDEPMODE@
228CFLAGS = @CFLAGS@215CFLAGS = @CFLAGS@
229CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
230CPP = @CPP@216CPP = @CPP@
231CPPFLAGS = @CPPFLAGS@217CPPFLAGS = @CPPFLAGS@
232CYGPATH_W = @CYGPATH_W@218CYGPATH_W = @CYGPATH_W@
233DATADIRNAME = @DATADIRNAME@
234DBUS_CFLAGS = @DBUS_CFLAGS@219DBUS_CFLAGS = @DBUS_CFLAGS@
235DBUS_LIBS = @DBUS_LIBS@220DBUS_LIBS = @DBUS_LIBS@
236DEFS = @DEFS@221DEFS = @DEFS@
@@ -244,28 +229,16 @@
244EGREP = @EGREP@229EGREP = @EGREP@
245EXEEXT = @EXEEXT@230EXEEXT = @EXEEXT@
246FGREP = @FGREP@231FGREP = @FGREP@
247GENCAT = @GENCAT@
248GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@232GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
249GLIBC2 = @GLIBC2@
250GLIBC21 = @GLIBC21@
251GMSGFMT = @GMSGFMT@233GMSGFMT = @GMSGFMT@
252GMSGFMT_015 = @GMSGFMT_015@234GMSGFMT_015 = @GMSGFMT_015@
253GREP = @GREP@235GREP = @GREP@
254HAVE_ASPRINTF = @HAVE_ASPRINTF@
255HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
256HAVE_SNPRINTF = @HAVE_SNPRINTF@
257HAVE_VISIBILITY = @HAVE_VISIBILITY@
258HAVE_WPRINTF = @HAVE_WPRINTF@
259INSTALL = @INSTALL@236INSTALL = @INSTALL@
260INSTALL_DATA = @INSTALL_DATA@237INSTALL_DATA = @INSTALL_DATA@
261INSTALL_PROGRAM = @INSTALL_PROGRAM@238INSTALL_PROGRAM = @INSTALL_PROGRAM@
262INSTALL_SCRIPT = @INSTALL_SCRIPT@239INSTALL_SCRIPT = @INSTALL_SCRIPT@
263INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@240INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
264INSTOBJEXT = @INSTOBJEXT@
265INTLBISON = @INTLBISON@
266INTLLIBS = @INTLLIBS@241INTLLIBS = @INTLLIBS@
267INTLOBJS = @INTLOBJS@
268INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
269INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@242INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
270JSON_CFLAGS = @JSON_CFLAGS@243JSON_CFLAGS = @JSON_CFLAGS@
271JSON_LIBS = @JSON_LIBS@244JSON_LIBS = @JSON_LIBS@
@@ -273,22 +246,14 @@
273LDFLAGS = @LDFLAGS@246LDFLAGS = @LDFLAGS@
274LIBICONV = @LIBICONV@247LIBICONV = @LIBICONV@
275LIBINTL = @LIBINTL@248LIBINTL = @LIBINTL@
276LIBMULTITHREAD = @LIBMULTITHREAD@
277LIBOBJS = @LIBOBJS@249LIBOBJS = @LIBOBJS@
278LIBPTH = @LIBPTH@
279LIBPTH_PREFIX = @LIBPTH_PREFIX@
280LIBS = @LIBS@250LIBS = @LIBS@
281LIBTHREAD = @LIBTHREAD@
282LIBTOOL = @LIBTOOL@251LIBTOOL = @LIBTOOL@
283LIPO = @LIPO@252LIPO = @LIPO@
284LN_S = @LN_S@253LN_S = @LN_S@
285LTLIBC = @LTLIBC@
286LTLIBICONV = @LTLIBICONV@254LTLIBICONV = @LTLIBICONV@
287LTLIBINTL = @LTLIBINTL@255LTLIBINTL = @LTLIBINTL@
288LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
289LTLIBOBJS = @LTLIBOBJS@256LTLIBOBJS = @LTLIBOBJS@
290LTLIBPTH = @LTLIBPTH@
291LTLIBTHREAD = @LTLIBTHREAD@
292MAINT = @MAINT@257MAINT = @MAINT@
293MAKEINFO = @MAKEINFO@258MAKEINFO = @MAKEINFO@
294MANIFEST_TOOL = @MANIFEST_TOOL@259MANIFEST_TOOL = @MANIFEST_TOOL@
@@ -320,20 +285,17 @@
320PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@285PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
321PKG_CONFIG_PATH = @PKG_CONFIG_PATH@286PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
322POSUB = @POSUB@287POSUB = @POSUB@
323PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@
324RANLIB = @RANLIB@288RANLIB = @RANLIB@
325SED = @SED@289SED = @SED@
290SELINUX_CFLAGS = @SELINUX_CFLAGS@
291SELINUX_LIBS = @SELINUX_LIBS@
326SET_MAKE = @SET_MAKE@292SET_MAKE = @SET_MAKE@
327SHELL = @SHELL@293SHELL = @SHELL@
328STRIP = @STRIP@294STRIP = @STRIP@
329UDEV_CFLAGS = @UDEV_CFLAGS@295UDEV_CFLAGS = @UDEV_CFLAGS@
330UDEV_LIBS = @UDEV_LIBS@296UDEV_LIBS = @UDEV_LIBS@
331USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
332USE_NLS = @USE_NLS@297USE_NLS = @USE_NLS@
333VERSION = @VERSION@298VERSION = @VERSION@
334WINDRES = @WINDRES@
335WOE32 = @WOE32@
336WOE32DLL = @WOE32DLL@
337XGETTEXT = @XGETTEXT@299XGETTEXT = @XGETTEXT@
338XGETTEXT_015 = @XGETTEXT_015@300XGETTEXT_015 = @XGETTEXT_015@
339XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@301XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
@@ -389,7 +351,7 @@
389top_build_prefix = @top_build_prefix@351top_build_prefix = @top_build_prefix@
390top_builddir = @top_builddir@352top_builddir = @top_builddir@
391top_srcdir = @top_srcdir@353top_srcdir = @top_srcdir@
392SUBDIRS = test intl dbus init util extra lib conf doc contrib po scripts354SUBDIRS = test dbus init util extra lib conf doc contrib po scripts
393EXTRA_DIST = HACKING355EXTRA_DIST = HACKING
394ACLOCAL_AMFLAGS = --install -I m4356ACLOCAL_AMFLAGS = --install -I m4
395357
@@ -448,8 +410,6 @@
448410
449distclean-hdr:411distclean-hdr:
450 -rm -f config.h stamp-h1412 -rm -f config.h stamp-h1
451intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
452 cd $(top_builddir) && $(SHELL) ./config.status $@
453413
454mostlyclean-libtool:414mostlyclean-libtool:
455 -rm -f *.lo415 -rm -f *.lo
@@ -699,7 +659,6 @@
699 && am__cwd=`pwd` \659 && am__cwd=`pwd` \
700 && $(am__cd) $(distdir)/_build \660 && $(am__cd) $(distdir)/_build \
701 && ../configure --srcdir=.. --prefix="$$dc_install_base" \661 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
702 --with-included-gettext \
703 $(AM_DISTCHECK_CONFIGURE_FLAGS) \662 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
704 $(DISTCHECK_CONFIGURE_FLAGS) \663 $(DISTCHECK_CONFIGURE_FLAGS) \
705 && $(MAKE) $(AM_MAKEFLAGS) \664 && $(MAKE) $(AM_MAKEFLAGS) \
706665
=== modified file 'NEWS'
--- NEWS 2013-06-28 15:57:37 +0000
+++ NEWS 2013-07-08 13:07:28 +0000
@@ -1,3 +1,12 @@
11.9.1 2013-07-04 "The all-inclusive deal"
2
3 * Fix respawn behaviour regression (introduced in version 1.8) affecting
4 jobs which also specify shell meta-characters in the exec stanza
5 (LP: #1181789).
6 * Fix common bug which could cause a bridge to crash (LP: #1197225).
7 * Various fixes for libupstart.
8 * initctl2dot: Layout improvements.
9
11.9 2013-06-28 "This village isn't even on the map"101.9 2013-06-28 "This village isn't even on the map"
211
3 * Apparmor support added by means of two new stanzas: 'apparmor load'12 * Apparmor support added by means of two new stanzas: 'apparmor load'
413
=== modified file 'aclocal.m4'
--- aclocal.m4 2013-06-28 15:36:50 +0000
+++ aclocal.m4 2013-07-08 13:07:28 +0000
@@ -1137,25 +1137,14 @@
1137AC_SUBST([am__untar])1137AC_SUBST([am__untar])
1138]) # _AM_PROG_TAR1138]) # _AM_PROG_TAR
11391139
1140m4_include([m4/codeset.m4])
1141m4_include([m4/gettext.m4])1140m4_include([m4/gettext.m4])
1142m4_include([m4/glibc2.m4])
1143m4_include([m4/glibc21.m4])
1144m4_include([m4/iconv.m4])1141m4_include([m4/iconv.m4])
1145m4_include([m4/intdiv0.m4])
1146m4_include([m4/intl.m4])
1147m4_include([m4/intlmacosx.m4])1142m4_include([m4/intlmacosx.m4])
1148m4_include([m4/intmax.m4])
1149m4_include([m4/inttypes-pri.m4])
1150m4_include([m4/inttypes_h.m4])
1151m4_include([m4/lcmessage.m4])
1152m4_include([m4/lib-ld.m4])1143m4_include([m4/lib-ld.m4])
1153m4_include([m4/lib-link.m4])1144m4_include([m4/lib-link.m4])
1154m4_include([m4/lib-prefix.m4])1145m4_include([m4/lib-prefix.m4])
1155m4_include([m4/libnih.m4])1146m4_include([m4/libnih.m4])
1156m4_include([m4/libtool.m4])1147m4_include([m4/libtool.m4])
1157m4_include([m4/lock.m4])
1158m4_include([m4/longlong.m4])
1159m4_include([m4/ltoptions.m4])1148m4_include([m4/ltoptions.m4])
1160m4_include([m4/ltsugar.m4])1149m4_include([m4/ltsugar.m4])
1161m4_include([m4/ltversion.m4])1150m4_include([m4/ltversion.m4])
@@ -1163,12 +1152,4 @@
1163m4_include([m4/nls.m4])1152m4_include([m4/nls.m4])
1164m4_include([m4/pkg.m4])1153m4_include([m4/pkg.m4])
1165m4_include([m4/po.m4])1154m4_include([m4/po.m4])
1166m4_include([m4/printf-posix.m4])
1167m4_include([m4/progtest.m4])1155m4_include([m4/progtest.m4])
1168m4_include([m4/size_max.m4])
1169m4_include([m4/stdint_h.m4])
1170m4_include([m4/uintmax_t.m4])
1171m4_include([m4/visibility.m4])
1172m4_include([m4/wchar_t.m4])
1173m4_include([m4/wint_t.m4])
1174m4_include([m4/xsize.m4])
11751156
=== modified file 'conf/Makefile.in'
--- conf/Makefile.in 2013-06-28 15:36:50 +0000
+++ conf/Makefile.in 2013-07-08 13:07:28 +0000
@@ -82,25 +82,15 @@
82DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \82DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
83 $(dist_init_DATA)83 $(dist_init_DATA)
84ACLOCAL_M4 = $(top_srcdir)/aclocal.m484ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
85am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \85am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
86 $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc2.m4 \86 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
87 $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/iconv.m4 \
88 $(top_srcdir)/m4/intdiv0.m4 $(top_srcdir)/m4/intl.m4 \
89 $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax.m4 \
90 $(top_srcdir)/m4/inttypes-pri.m4 \
91 $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lcmessage.m4 \
92 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \87 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
93 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libnih.m4 \88 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libnih.m4 \
94 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/lock.m4 \89 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
95 $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/ltoptions.m4 \
96 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \90 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
97 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \91 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
98 $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/po.m4 \92 $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/po.m4 \
99 $(top_srcdir)/m4/printf-posix.m4 $(top_srcdir)/m4/progtest.m4 \93 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
100 $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \
101 $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/visibility.m4 \
102 $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \
103 $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/configure.ac
104am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \94am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
105 $(ACLOCAL_M4)95 $(ACLOCAL_M4)
106mkinstalldirs = $(install_sh) -d96mkinstalldirs = $(install_sh) -d
@@ -159,7 +149,6 @@
159DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)149DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
160ABI_COMPLIANCE_CHECKER = @ABI_COMPLIANCE_CHECKER@150ABI_COMPLIANCE_CHECKER = @ABI_COMPLIANCE_CHECKER@
161ACLOCAL = @ACLOCAL@151ACLOCAL = @ACLOCAL@
162ALLOCA = @ALLOCA@
163AMTAR = @AMTAR@152AMTAR = @AMTAR@
164AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@153AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
165AR = @AR@154AR = @AR@
@@ -167,16 +156,12 @@
167AUTOHEADER = @AUTOHEADER@156AUTOHEADER = @AUTOHEADER@
168AUTOMAKE = @AUTOMAKE@157AUTOMAKE = @AUTOMAKE@
169AWK = @AWK@158AWK = @AWK@
170BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
171CATOBJEXT = @CATOBJEXT@
172CC = @CC@159CC = @CC@
173CCDEPMODE = @CCDEPMODE@160CCDEPMODE = @CCDEPMODE@
174CFLAGS = @CFLAGS@161CFLAGS = @CFLAGS@
175CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
176CPP = @CPP@162CPP = @CPP@
177CPPFLAGS = @CPPFLAGS@163CPPFLAGS = @CPPFLAGS@
178CYGPATH_W = @CYGPATH_W@164CYGPATH_W = @CYGPATH_W@
179DATADIRNAME = @DATADIRNAME@
180DBUS_CFLAGS = @DBUS_CFLAGS@165DBUS_CFLAGS = @DBUS_CFLAGS@
181DBUS_LIBS = @DBUS_LIBS@166DBUS_LIBS = @DBUS_LIBS@
182DEFS = @DEFS@167DEFS = @DEFS@
@@ -190,28 +175,16 @@
190EGREP = @EGREP@175EGREP = @EGREP@
191EXEEXT = @EXEEXT@176EXEEXT = @EXEEXT@
192FGREP = @FGREP@177FGREP = @FGREP@
193GENCAT = @GENCAT@
194GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@178GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
195GLIBC2 = @GLIBC2@
196GLIBC21 = @GLIBC21@
197GMSGFMT = @GMSGFMT@179GMSGFMT = @GMSGFMT@
198GMSGFMT_015 = @GMSGFMT_015@180GMSGFMT_015 = @GMSGFMT_015@
199GREP = @GREP@181GREP = @GREP@
200HAVE_ASPRINTF = @HAVE_ASPRINTF@
201HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
202HAVE_SNPRINTF = @HAVE_SNPRINTF@
203HAVE_VISIBILITY = @HAVE_VISIBILITY@
204HAVE_WPRINTF = @HAVE_WPRINTF@
205INSTALL = @INSTALL@182INSTALL = @INSTALL@
206INSTALL_DATA = @INSTALL_DATA@183INSTALL_DATA = @INSTALL_DATA@
207INSTALL_PROGRAM = @INSTALL_PROGRAM@184INSTALL_PROGRAM = @INSTALL_PROGRAM@
208INSTALL_SCRIPT = @INSTALL_SCRIPT@185INSTALL_SCRIPT = @INSTALL_SCRIPT@
209INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@186INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
210INSTOBJEXT = @INSTOBJEXT@
211INTLBISON = @INTLBISON@
212INTLLIBS = @INTLLIBS@187INTLLIBS = @INTLLIBS@
213INTLOBJS = @INTLOBJS@
214INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
215INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@188INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
216JSON_CFLAGS = @JSON_CFLAGS@189JSON_CFLAGS = @JSON_CFLAGS@
217JSON_LIBS = @JSON_LIBS@190JSON_LIBS = @JSON_LIBS@
@@ -219,22 +192,14 @@
219LDFLAGS = @LDFLAGS@192LDFLAGS = @LDFLAGS@
220LIBICONV = @LIBICONV@193LIBICONV = @LIBICONV@
221LIBINTL = @LIBINTL@194LIBINTL = @LIBINTL@
222LIBMULTITHREAD = @LIBMULTITHREAD@
223LIBOBJS = @LIBOBJS@195LIBOBJS = @LIBOBJS@
224LIBPTH = @LIBPTH@
225LIBPTH_PREFIX = @LIBPTH_PREFIX@
226LIBS = @LIBS@196LIBS = @LIBS@
227LIBTHREAD = @LIBTHREAD@
228LIBTOOL = @LIBTOOL@197LIBTOOL = @LIBTOOL@
229LIPO = @LIPO@198LIPO = @LIPO@
230LN_S = @LN_S@199LN_S = @LN_S@
231LTLIBC = @LTLIBC@
232LTLIBICONV = @LTLIBICONV@200LTLIBICONV = @LTLIBICONV@
233LTLIBINTL = @LTLIBINTL@201LTLIBINTL = @LTLIBINTL@
234LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
235LTLIBOBJS = @LTLIBOBJS@202LTLIBOBJS = @LTLIBOBJS@
236LTLIBPTH = @LTLIBPTH@
237LTLIBTHREAD = @LTLIBTHREAD@
238MAINT = @MAINT@203MAINT = @MAINT@
239MAKEINFO = @MAKEINFO@204MAKEINFO = @MAKEINFO@
240MANIFEST_TOOL = @MANIFEST_TOOL@205MANIFEST_TOOL = @MANIFEST_TOOL@
@@ -266,20 +231,17 @@
266PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@231PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
267PKG_CONFIG_PATH = @PKG_CONFIG_PATH@232PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
268POSUB = @POSUB@233POSUB = @POSUB@
269PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@
270RANLIB = @RANLIB@234RANLIB = @RANLIB@
271SED = @SED@235SED = @SED@
236SELINUX_CFLAGS = @SELINUX_CFLAGS@
237SELINUX_LIBS = @SELINUX_LIBS@
272SET_MAKE = @SET_MAKE@238SET_MAKE = @SET_MAKE@
273SHELL = @SHELL@239SHELL = @SHELL@
274STRIP = @STRIP@240STRIP = @STRIP@
275UDEV_CFLAGS = @UDEV_CFLAGS@241UDEV_CFLAGS = @UDEV_CFLAGS@
276UDEV_LIBS = @UDEV_LIBS@242UDEV_LIBS = @UDEV_LIBS@
277USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
278USE_NLS = @USE_NLS@243USE_NLS = @USE_NLS@
279VERSION = @VERSION@244VERSION = @VERSION@
280WINDRES = @WINDRES@
281WOE32 = @WOE32@
282WOE32DLL = @WOE32DLL@
283XGETTEXT = @XGETTEXT@245XGETTEXT = @XGETTEXT@
284XGETTEXT_015 = @XGETTEXT_015@246XGETTEXT_015 = @XGETTEXT_015@
285XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@247XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
286248
=== modified file 'config.h.in'
--- config.h.in 2013-04-09 06:45:29 +0000
+++ config.h.in 2013-07-08 13:07:28 +0000
@@ -1,13 +1,5 @@
1/* config.h.in. Generated from configure.ac by autoheader. */1/* config.h.in. Generated from configure.ac by autoheader. */
22
3/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
4 systems. This function is required for `alloca.c' support on those systems.
5 */
6#undef CRAY_STACKSEG_END
7
8/* Define to 1 if using `alloca.c'. */
9#undef C_ALLOCA
10
11/* Define to 1 if translation of program messages to the user's native3/* Define to 1 if translation of program messages to the user's native
12 language is requested. */4 language is requested. */
13#undef ENABLE_NLS5#undef ENABLE_NLS
@@ -15,31 +7,6 @@
15/* Directory to append to path. */7/* Directory to append to path. */
16#undef EXTRA_PATH8#undef EXTRA_PATH
179
18/* Define to 1 if you have `alloca', as a function or macro. */
19#undef HAVE_ALLOCA
20
21/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
22 */
23#undef HAVE_ALLOCA_H
24
25/* Define to 1 if you have the `argz_count' function. */
26#undef HAVE_ARGZ_COUNT
27
28/* Define to 1 if you have the <argz.h> header file. */
29#undef HAVE_ARGZ_H
30
31/* Define to 1 if you have the `argz_next' function. */
32#undef HAVE_ARGZ_NEXT
33
34/* Define to 1 if you have the `argz_stringify' function. */
35#undef HAVE_ARGZ_STRINGIFY
36
37/* Define to 1 if you have the `asprintf' function. */
38#undef HAVE_ASPRINTF
39
40/* Define to 1 if the compiler understands __builtin_expect. */
41#undef HAVE_BUILTIN_EXPECT
42
43/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the10/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
44 CoreFoundation framework. */11 CoreFoundation framework. */
45#undef HAVE_CFLOCALECOPYCURRENT12#undef HAVE_CFLOCALECOPYCURRENT
@@ -52,149 +19,36 @@
52 */19 */
53#undef HAVE_DCGETTEXT20#undef HAVE_DCGETTEXT
5421
55/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
56 don't. */
57#undef HAVE_DECL_FEOF_UNLOCKED
58
59/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
60 you don't. */
61#undef HAVE_DECL_FGETS_UNLOCKED
62
63/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
64 don't. */
65#undef HAVE_DECL_GETC_UNLOCKED
66
67/* Define to 1 if you have the declaration of `_snprintf', and to 0 if you
68 don't. */
69#undef HAVE_DECL__SNPRINTF
70
71/* Define to 1 if you have the declaration of `_snwprintf', and to 0 if you
72 don't. */
73#undef HAVE_DECL__SNWPRINTF
74
75/* Define to 1 if you have the <dlfcn.h> header file. */22/* Define to 1 if you have the <dlfcn.h> header file. */
76#undef HAVE_DLFCN_H23#undef HAVE_DLFCN_H
7724
78/* Define to 1 if you have the `fwprintf' function. */
79#undef HAVE_FWPRINTF
80
81/* Define to 1 if you have the `getcwd' function. */
82#undef HAVE_GETCWD
83
84/* Define to 1 if you have the `getegid' function. */
85#undef HAVE_GETEGID
86
87/* Define to 1 if you have the `geteuid' function. */
88#undef HAVE_GETEUID
89
90/* Define to 1 if you have the `getgid' function. */
91#undef HAVE_GETGID
92
93/* Define to 1 if you have the `getpagesize' function. */
94#undef HAVE_GETPAGESIZE
95
96/* Define if the GNU gettext() function is already present or preinstalled. */25/* Define if the GNU gettext() function is already present or preinstalled. */
97#undef HAVE_GETTEXT26#undef HAVE_GETTEXT
9827
99/* Define to 1 if you have the `getuid' function. */
100#undef HAVE_GETUID
101
102/* Define if you have the iconv() function and it works. */28/* Define if you have the iconv() function and it works. */
103#undef HAVE_ICONV29#undef HAVE_ICONV
10430
105/* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
106#undef HAVE_INTMAX_T
107
108/* Define to 1 if you have the <inttypes.h> header file. */31/* Define to 1 if you have the <inttypes.h> header file. */
109#undef HAVE_INTTYPES_H32#undef HAVE_INTTYPES_H
11033
111/* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
112 declares uintmax_t. */
113#undef HAVE_INTTYPES_H_WITH_UINTMAX
114
115/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
116#undef HAVE_LANGINFO_CODESET
117
118/* Define if your <locale.h> file defines LC_MESSAGES. */
119#undef HAVE_LC_MESSAGES
120
121/* Define to 1 if you have the <limits.h> header file. */
122#undef HAVE_LIMITS_H
123
124/* Define to 1 if the system has the type `long long int'. */
125#undef HAVE_LONG_LONG_INT
126
127/* Define to 1 if you have the <memory.h> header file. */34/* Define to 1 if you have the <memory.h> header file. */
128#undef HAVE_MEMORY_H35#undef HAVE_MEMORY_H
12936
130/* Define to 1 if you have the `mempcpy' function. */37/* Define if we have SELinux */
131#undef HAVE_MEMPCPY38#undef HAVE_SELINUX
132
133/* Define to 1 if you have a working `mmap' system call. */
134#undef HAVE_MMAP
135
136/* Define to 1 if you have the `munmap' function. */
137#undef HAVE_MUNMAP
138
139/* Define if you have <langinfo.h> and it defines the NL_LOCALE_NAME macro if
140 _GNU_SOURCE is defined. */
141#undef HAVE_NL_LOCALE_NAME
142
143/* Define if your printf() function supports format strings with positions. */
144#undef HAVE_POSIX_PRINTF
145
146/* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */
147#undef HAVE_PTHREAD_MUTEX_RECURSIVE
148
149/* Define if the POSIX multithreading library has read/write locks. */
150#undef HAVE_PTHREAD_RWLOCK
151
152/* Define to 1 if you have the `putenv' function. */
153#undef HAVE_PUTENV
154
155/* Define to 1 if you have the `setenv' function. */
156#undef HAVE_SETENV
157
158/* Define to 1 if you have the `setlocale' function. */
159#undef HAVE_SETLOCALE
160
161/* Define to 1 if you have the `snprintf' function. */
162#undef HAVE_SNPRINTF
163
164/* Define to 1 if you have the <stddef.h> header file. */
165#undef HAVE_STDDEF_H
16639
167/* Define to 1 if you have the <stdint.h> header file. */40/* Define to 1 if you have the <stdint.h> header file. */
168#undef HAVE_STDINT_H41#undef HAVE_STDINT_H
16942
170/* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
171 uintmax_t. */
172#undef HAVE_STDINT_H_WITH_UINTMAX
173
174/* Define to 1 if you have the <stdlib.h> header file. */43/* Define to 1 if you have the <stdlib.h> header file. */
175#undef HAVE_STDLIB_H44#undef HAVE_STDLIB_H
17645
177/* Define to 1 if you have the `stpcpy' function. */
178#undef HAVE_STPCPY
179
180/* Define to 1 if you have the `strcasecmp' function. */
181#undef HAVE_STRCASECMP
182
183/* Define to 1 if you have the `strdup' function. */
184#undef HAVE_STRDUP
185
186/* Define to 1 if you have the <strings.h> header file. */46/* Define to 1 if you have the <strings.h> header file. */
187#undef HAVE_STRINGS_H47#undef HAVE_STRINGS_H
18848
189/* Define to 1 if you have the <string.h> header file. */49/* Define to 1 if you have the <string.h> header file. */
190#undef HAVE_STRING_H50#undef HAVE_STRING_H
19151
192/* Define to 1 if you have the `strtoul' function. */
193#undef HAVE_STRTOUL
194
195/* Define to 1 if you have the <sys/param.h> header file. */
196#undef HAVE_SYS_PARAM_H
197
198/* Define to 1 if you have the <sys/prctl.h> header file. */52/* Define to 1 if you have the <sys/prctl.h> header file. */
199#undef HAVE_SYS_PRCTL_H53#undef HAVE_SYS_PRCTL_H
20054
@@ -204,43 +58,12 @@
204/* Define to 1 if you have the <sys/types.h> header file. */58/* Define to 1 if you have the <sys/types.h> header file. */
205#undef HAVE_SYS_TYPES_H59#undef HAVE_SYS_TYPES_H
20660
207/* Define to 1 if you have the `tsearch' function. */
208#undef HAVE_TSEARCH
209
210/* Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>. */
211#undef HAVE_UINTMAX_T
212
213/* Define to 1 if you have the <unistd.h> header file. */61/* Define to 1 if you have the <unistd.h> header file. */
214#undef HAVE_UNISTD_H62#undef HAVE_UNISTD_H
21563
216/* Define to 1 if the system has the type `unsigned long long int'. */
217#undef HAVE_UNSIGNED_LONG_LONG_INT
218
219/* Define to 1 if you have the <valgrind/valgrind.h,> header file. */64/* Define to 1 if you have the <valgrind/valgrind.h,> header file. */
220#undef HAVE_VALGRIND_VALGRIND_H_65#undef HAVE_VALGRIND_VALGRIND_H_
22166
222/* Define to 1 or 0, depending whether the compiler supports simple visibility
223 declarations. */
224#undef HAVE_VISIBILITY
225
226/* Define if you have the 'wchar_t' type. */
227#undef HAVE_WCHAR_T
228
229/* Define to 1 if you have the `wcslen' function. */
230#undef HAVE_WCSLEN
231
232/* Define if you have the 'wint_t' type. */
233#undef HAVE_WINT_T
234
235/* Define to 1 if you have the `__fsetlocking' function. */
236#undef HAVE___FSETLOCKING
237
238/* Define as const if the declaration of iconv() needs const. */
239#undef ICONV_CONST
240
241/* Define if integer division by zero raises signal SIGFPE. */
242#undef INTDIV0_RAISES_SIGFPE
243
244/* Define to the sub-directory in which libtool stores uninstalled libraries.67/* Define to the sub-directory in which libtool stores uninstalled libraries.
245 */68 */
246#undef LT_OBJDIR69#undef LT_OBJDIR
@@ -272,12 +95,6 @@
272/* Define to the version of this package. */95/* Define to the version of this package. */
273#undef PACKAGE_VERSION96#undef PACKAGE_VERSION
27497
275/* Define if <inttypes.h> exists and defines unusable PRI* macros. */
276#undef PRI_MACROS_BROKEN
277
278/* Define if the pthread_in_use() detection is hard. */
279#undef PTHREAD_IN_USE_DETECTION_HARD
280
281/* The size of `int', as computed by sizeof. */98/* The size of `int', as computed by sizeof. */
282#undef SIZEOF_INT99#undef SIZEOF_INT
283100
@@ -299,42 +116,9 @@
299/* The size of `uid_t', as computed by sizeof. */116/* The size of `uid_t', as computed by sizeof. */
300#undef SIZEOF_UID_T117#undef SIZEOF_UID_T
301118
302/* Define as the maximum value of type 'size_t', if the system doesn't define
303 it. */
304#undef SIZE_MAX
305
306/* If using the C implementation of alloca, define if you know the
307 direction of stack growth for your system; otherwise it will be
308 automatically deduced at runtime.
309 STACK_DIRECTION > 0 => grows toward higher addresses
310 STACK_DIRECTION < 0 => grows toward lower addresses
311 STACK_DIRECTION = 0 => direction of growth unknown */
312#undef STACK_DIRECTION
313
314/* Define to 1 if you have the ANSI C header files. */119/* Define to 1 if you have the ANSI C header files. */
315#undef STDC_HEADERS120#undef STDC_HEADERS
316121
317/* Define if the POSIX multithreading library can be used. */
318#undef USE_POSIX_THREADS
319
320/* Define if references to the POSIX multithreading library should be made
321 weak. */
322#undef USE_POSIX_THREADS_WEAK
323
324/* Define if the GNU Pth multithreading library can be used. */
325#undef USE_PTH_THREADS
326
327/* Define if references to the GNU Pth multithreading library should be made
328 weak. */
329#undef USE_PTH_THREADS_WEAK
330
331/* Define if the old Solaris multithreading library can be used. */
332#undef USE_SOLARIS_THREADS
333
334/* Define if references to the old Solaris multithreading library should be
335 made weak. */
336#undef USE_SOLARIS_THREADS_WEAK
337
338/* Enable extensions on AIX 3, Interix. */122/* Enable extensions on AIX 3, Interix. */
339#ifndef _ALL_SOURCE123#ifndef _ALL_SOURCE
340# undef _ALL_SOURCE124# undef _ALL_SOURCE
@@ -357,9 +141,6 @@
357#endif141#endif
358142
359143
360/* Define if the Win32 multithreading API can be used. */
361#undef USE_WIN32_THREADS
362
363/* Version number of package */144/* Version number of package */
364#undef VERSION145#undef VERSION
365146
@@ -375,52 +156,3 @@
375156
376/* Define to empty if `__thread' is not supported. */157/* Define to empty if `__thread' is not supported. */
377#undef __thread158#undef __thread
378
379/* Define to `__inline__' or `__inline' if that's what the C compiler
380 calls it, or to nothing if 'inline' is not supported under any name. */
381#ifndef __cplusplus
382#undef inline
383#endif
384
385/* Define as the type of the result of subtracting two pointers, if the system
386 doesn't define it. */
387#undef ptrdiff_t
388
389/* Define to `unsigned int' if <sys/types.h> does not define. */
390#undef size_t
391
392/* Define to unsigned long or unsigned long long if <stdint.h> and
393 <inttypes.h> don't define. */
394#undef uintmax_t
395
396
397#define __libc_lock_t gl_lock_t
398#define __libc_lock_define gl_lock_define
399#define __libc_lock_define_initialized gl_lock_define_initialized
400#define __libc_lock_init gl_lock_init
401#define __libc_lock_lock gl_lock_lock
402#define __libc_lock_unlock gl_lock_unlock
403#define __libc_lock_recursive_t gl_recursive_lock_t
404#define __libc_lock_define_recursive gl_recursive_lock_define
405#define __libc_lock_define_initialized_recursive gl_recursive_lock_define_initialized
406#define __libc_lock_init_recursive gl_recursive_lock_init
407#define __libc_lock_lock_recursive gl_recursive_lock_lock
408#define __libc_lock_unlock_recursive gl_recursive_lock_unlock
409#define glthread_in_use libintl_thread_in_use
410#define glthread_lock_init libintl_lock_init
411#define glthread_lock_lock libintl_lock_lock
412#define glthread_lock_unlock libintl_lock_unlock
413#define glthread_lock_destroy libintl_lock_destroy
414#define glthread_rwlock_init libintl_rwlock_init
415#define glthread_rwlock_rdlock libintl_rwlock_rdlock
416#define glthread_rwlock_wrlock libintl_rwlock_wrlock
417#define glthread_rwlock_unlock libintl_rwlock_unlock
418#define glthread_rwlock_destroy libintl_rwlock_destroy
419#define glthread_recursive_lock_init libintl_recursive_lock_init
420#define glthread_recursive_lock_lock libintl_recursive_lock_lock
421#define glthread_recursive_lock_unlock libintl_recursive_lock_unlock
422#define glthread_recursive_lock_destroy libintl_recursive_lock_destroy
423#define glthread_once libintl_once
424#define glthread_once_call libintl_once_call
425#define glthread_once_singlethreaded libintl_once_singlethreaded
426
427159
=== modified file 'configure'
--- configure 2013-06-28 15:36:50 +0000
+++ configure 2013-07-08 13:07:28 +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.69 for upstart 1.9.3# Generated by GNU Autoconf 2.69 for upstart 1.9.1.
4#4#
5# Report bugs to <upstart-devel@lists.ubuntu.com>.5# Report bugs to <upstart-devel@lists.ubuntu.com>.
6#6#
@@ -592,8 +592,8 @@
592# Identity of this package.592# Identity of this package.
593PACKAGE_NAME='upstart'593PACKAGE_NAME='upstart'
594PACKAGE_TARNAME='upstart'594PACKAGE_TARNAME='upstart'
595PACKAGE_VERSION='1.9'595PACKAGE_VERSION='1.9.1'
596PACKAGE_STRING='upstart 1.9'596PACKAGE_STRING='upstart 1.9.1'
597PACKAGE_BUGREPORT='upstart-devel@lists.ubuntu.com'597PACKAGE_BUGREPORT='upstart-devel@lists.ubuntu.com'
598PACKAGE_URL=''598PACKAGE_URL=''
599599
@@ -635,11 +635,12 @@
635#endif"635#endif"
636636
637gt_needs=637gt_needs=
638ac_header_list=
639ac_subst_vars='am__EXEEXT_FALSE638ac_subst_vars='am__EXEEXT_FALSE
640am__EXEEXT_TRUE639am__EXEEXT_TRUE
641LTLIBOBJS640LTLIBOBJS
642LIBOBJS641LIBOBJS
642SELINUX_LIBS
643SELINUX_CFLAGS
643HAVE_ABI_CHECKER_FALSE644HAVE_ABI_CHECKER_FALSE
644HAVE_ABI_CHECKER_TRUE645HAVE_ABI_CHECKER_TRUE
645ABI_COMPLIANCE_CHECKER646ABI_COMPLIANCE_CHECKER
@@ -663,39 +664,9 @@
663LTLIBINTL664LTLIBINTL
664LIBINTL665LIBINTL
665INTLLIBS666INTLLIBS
666INTL_LIBTOOL_SUFFIX_PREFIX
667INTLOBJS
668GENCAT
669INSTOBJEXT
670DATADIRNAME
671CATOBJEXT
672USE_INCLUDED_LIBINTL
673BUILD_INCLUDED_LIBINTL
674LTLIBC
675WINDRES
676WOE32
677WOE32DLL
678HAVE_WPRINTF
679HAVE_SNPRINTF
680HAVE_ASPRINTF
681HAVE_POSIX_PRINTF
682INTL_MACOSX_LIBS
683GLIBC21
684INTLBISON
685LTLIBICONV667LTLIBICONV
686LIBICONV668LIBICONV
687LTLIBMULTITHREAD669INTL_MACOSX_LIBS
688LIBMULTITHREAD
689LTLIBTHREAD
690LIBTHREAD
691LIBPTH_PREFIX
692LTLIBPTH
693LIBPTH
694PRI_MACROS_BROKEN
695ALLOCA
696HAVE_VISIBILITY
697CFLAG_VISIBILITY
698GLIBC2
699XGETTEXT_EXTRA_OPTIONS670XGETTEXT_EXTRA_OPTIONS
700MSGMERGE671MSGMERGE
701XGETTEXT_015672XGETTEXT_015
@@ -836,14 +807,12 @@
836with_sysroot807with_sysroot
837enable_libtool_lock808enable_libtool_lock
838enable_nls809enable_nls
839enable_threads
840enable_rpath810enable_rpath
841with_libpth_prefix
842with_libiconv_prefix811with_libiconv_prefix
843with_included_gettext
844with_libintl_prefix812with_libintl_prefix
845with_local_libnih813with_local_libnih
846enable_abi_check814enable_abi_check
815enable_selinux
847enable_threading816enable_threading
848enable_compiler_warnings817enable_compiler_warnings
849enable_compiler_optimisations818enable_compiler_optimisations
@@ -871,7 +840,9 @@
871UDEV_CFLAGS840UDEV_CFLAGS
872UDEV_LIBS841UDEV_LIBS
873JSON_CFLAGS842JSON_CFLAGS
874JSON_LIBS'843JSON_LIBS
844SELINUX_CFLAGS
845SELINUX_LIBS'
875846
876847
877# Initialize some variables set by options.848# Initialize some variables set by options.
@@ -1412,7 +1383,7 @@
1412 # Omit some internal or obsolete options to make the list less imposing.1383 # Omit some internal or obsolete options to make the list less imposing.
1413 # This message is too long to be a string in the A/UX 3.1 sh.1384 # This message is too long to be a string in the A/UX 3.1 sh.
1414 cat <<_ACEOF1385 cat <<_ACEOF
1415\`configure' configures upstart 1.9 to adapt to many kinds of systems.1386\`configure' configures upstart 1.9.1 to adapt to many kinds of systems.
14161387
1417Usage: $0 [OPTION]... [VAR=VALUE]...1388Usage: $0 [OPTION]... [VAR=VALUE]...
14181389
@@ -1482,7 +1453,7 @@
14821453
1483if test -n "$ac_init_help"; then1454if test -n "$ac_init_help"; then
1484 case $ac_init_help in1455 case $ac_init_help in
1485 short | recursive ) echo "Configuration of upstart 1.9:";;1456 short | recursive ) echo "Configuration of upstart 1.9.1:";;
1486 esac1457 esac
1487 cat <<\_ACEOF1458 cat <<\_ACEOF
14881459
@@ -1505,12 +1476,10 @@
1505 optimize for fast installation [default=yes]1476 optimize for fast installation [default=yes]
1506 --disable-libtool-lock avoid locking (might break parallel builds)1477 --disable-libtool-lock avoid locking (might break parallel builds)
1507 --disable-nls do not use Native Language Support1478 --disable-nls do not use Native Language Support
1508 --enable-threads={posix|solaris|pth|win32}
1509 specify multithreading API
1510 --disable-threads build without multithread safety
1511 --disable-rpath do not hardcode runtime library paths1479 --disable-rpath do not hardcode runtime library paths
1512 --disable-abi-check Disable libupstart ABI check performed if1480 --disable-abi-check Disable libupstart ABI check performed if
1513 abi-compliance-checker available1481 abi-compliance-checker available
1482 --enable-selinux enable SELinux support
1514 --enable-threading Enable support for multi-threading1483 --enable-threading Enable support for multi-threading
1515 --enable-compiler-warnings1484 --enable-compiler-warnings
1516 Enable additional compiler warnings1485 Enable additional compiler warnings
@@ -1530,11 +1499,8 @@
1530 --with-sysroot=DIR Search for dependent libraries within DIR1499 --with-sysroot=DIR Search for dependent libraries within DIR
1531 (or the compiler's sysroot if not specified).1500 (or the compiler's sysroot if not specified).
1532 --with-gnu-ld assume the C compiler uses GNU ld default=no1501 --with-gnu-ld assume the C compiler uses GNU ld default=no
1533 --with-libpth-prefix[=DIR] search for libpth in DIR/include and DIR/lib
1534 --without-libpth-prefix don't search for libpth in includedir and libdir
1535 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib1502 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1536 --without-libiconv-prefix don't search for libiconv in includedir and libdir1503 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1537 --with-included-gettext use the GNU gettext library included here
1538 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib1504 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1539 --without-libintl-prefix don't search for libintl in includedir and libdir1505 --without-libintl-prefix don't search for libintl in includedir and libdir
1540 --with-local-libnih[=DIR]1506 --with-local-libnih[=DIR]
@@ -1566,6 +1532,10 @@
1566 UDEV_LIBS linker flags for UDEV, overriding pkg-config1532 UDEV_LIBS linker flags for UDEV, overriding pkg-config
1567 JSON_CFLAGS C compiler flags for JSON, overriding pkg-config1533 JSON_CFLAGS C compiler flags for JSON, overriding pkg-config
1568 JSON_LIBS linker flags for JSON, overriding pkg-config1534 JSON_LIBS linker flags for JSON, overriding pkg-config
1535 SELINUX_CFLAGS
1536 C compiler flags for SELINUX, overriding pkg-config
1537 SELINUX_LIBS
1538 linker flags for SELINUX, overriding pkg-config
15691539
1570Use these variables to override the choices made by `configure' or to help1540Use these variables to override the choices made by `configure' or to help
1571it to find libraries and programs with nonstandard names/locations.1541it to find libraries and programs with nonstandard names/locations.
@@ -1633,7 +1603,7 @@
1633test -n "$ac_init_help" && exit $ac_status1603test -n "$ac_init_help" && exit $ac_status
1634if $ac_init_version; then1604if $ac_init_version; then
1635 cat <<\_ACEOF1605 cat <<\_ACEOF
1636upstart configure 1.91606upstart configure 1.9.1
1637generated by GNU Autoconf 2.691607generated by GNU Autoconf 2.69
16381608
1639Copyright (C) 2012 Free Software Foundation, Inc.1609Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2001,60 +1971,6 @@
20011971
2002} # ac_fn_c_check_func1972} # ac_fn_c_check_func
20031973
2004# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2005# -------------------------------------------
2006# Tests whether TYPE exists after having included INCLUDES, setting cache
2007# variable VAR accordingly.
2008ac_fn_c_check_type ()
2009{
2010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2012$as_echo_n "checking for $2... " >&6; }
2013if eval \${$3+:} false; then :
2014 $as_echo_n "(cached) " >&6
2015else
2016 eval "$3=no"
2017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2018/* end confdefs.h. */
2019$4
2020int
2021main ()
2022{
2023if (sizeof ($2))
2024 return 0;
2025 ;
2026 return 0;
2027}
2028_ACEOF
2029if ac_fn_c_try_compile "$LINENO"; then :
2030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2031/* end confdefs.h. */
2032$4
2033int
2034main ()
2035{
2036if (sizeof (($2)))
2037 return 0;
2038 ;
2039 return 0;
2040}
2041_ACEOF
2042if ac_fn_c_try_compile "$LINENO"; then :
2043
2044else
2045 eval "$3=yes"
2046fi
2047rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2048fi
2049rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2050fi
2051eval ac_res=\$$3
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2053$as_echo "$ac_res" >&6; }
2054 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2055
2056} # ac_fn_c_check_type
2057
2058# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES1974# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2059# --------------------------------------------1975# --------------------------------------------
2060# Tries to find the compile-time value of EXPR in a program that includes1976# Tries to find the compile-time value of EXPR in a program that includes
@@ -2241,7 +2157,7 @@
2241This file contains any messages produced by compilers while2157This file contains any messages produced by compilers while
2242running configure, to aid debugging if configure makes a mistake.2158running configure, to aid debugging if configure makes a mistake.
22432159
2244It was created by upstart $as_me 1.9, which was2160It was created by upstart $as_me 1.9.1, which was
2245generated by GNU Autoconf 2.69. Invocation command line was2161generated by GNU Autoconf 2.69. Invocation command line was
22462162
2247 $ $0 $@2163 $ $0 $@
@@ -2522,9 +2438,6 @@
2522fi2438fi
25232439
2524gt_needs="$gt_needs "2440gt_needs="$gt_needs "
2525as_fn_append ac_header_list " stdlib.h"
2526as_fn_append ac_header_list " unistd.h"
2527as_fn_append ac_header_list " sys/param.h"
2528# Check that the precious variables saved in the cache have kept the same2441# Check that the precious variables saved in the cache have kept the same
2529# value.2442# value.
2530ac_cache_corrupted=false2443ac_cache_corrupted=false
@@ -4432,7 +4345,7 @@
44324345
4433# Define the identity of the package.4346# Define the identity of the package.
4434 PACKAGE='upstart'4347 PACKAGE='upstart'
4435 VERSION='1.9'4348 VERSION='1.9.1'
44364349
44374350
4438cat >>confdefs.h <<_ACEOF4351cat >>confdefs.h <<_ACEOF
@@ -12178,959 +12091,6 @@
1217812091
1217912092
1218012093
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2 or newer" >&5
12182$as_echo_n "checking whether we are using the GNU C Library 2 or newer... " >&6; }
12183if ${ac_cv_gnu_library_2+:} false; then :
12184 $as_echo_n "(cached) " >&6
12185else
12186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12187/* end confdefs.h. */
12188
12189#include <features.h>
12190#ifdef __GNU_LIBRARY__
12191 #if (__GLIBC__ >= 2)
12192 Lucky GNU user
12193 #endif
12194#endif
12195
12196_ACEOF
12197if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12198 $EGREP "Lucky GNU user" >/dev/null 2>&1; then :
12199 ac_cv_gnu_library_2=yes
12200else
12201 ac_cv_gnu_library_2=no
12202fi
12203rm -f conftest*
12204
12205
12206
12207fi
12208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2" >&5
12209$as_echo "$ac_cv_gnu_library_2" >&6; }
12210
12211 GLIBC2="$ac_cv_gnu_library_2"
12212
12213
12214if test -n "$ac_tool_prefix"; then
12215 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12216set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12218$as_echo_n "checking for $ac_word... " >&6; }
12219if ${ac_cv_prog_RANLIB+:} false; then :
12220 $as_echo_n "(cached) " >&6
12221else
12222 if test -n "$RANLIB"; then
12223 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12224else
12225as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12226for as_dir in $PATH
12227do
12228 IFS=$as_save_IFS
12229 test -z "$as_dir" && as_dir=.
12230 for ac_exec_ext in '' $ac_executable_extensions; do
12231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12232 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12234 break 2
12235 fi
12236done
12237 done
12238IFS=$as_save_IFS
12239
12240fi
12241fi
12242RANLIB=$ac_cv_prog_RANLIB
12243if test -n "$RANLIB"; then
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
12245$as_echo "$RANLIB" >&6; }
12246else
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12248$as_echo "no" >&6; }
12249fi
12250
12251
12252fi
12253if test -z "$ac_cv_prog_RANLIB"; then
12254 ac_ct_RANLIB=$RANLIB
12255 # Extract the first word of "ranlib", so it can be a program name with args.
12256set dummy ranlib; ac_word=$2
12257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12258$as_echo_n "checking for $ac_word... " >&6; }
12259if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
12260 $as_echo_n "(cached) " >&6
12261else
12262 if test -n "$ac_ct_RANLIB"; then
12263 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12264else
12265as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12266for as_dir in $PATH
12267do
12268 IFS=$as_save_IFS
12269 test -z "$as_dir" && as_dir=.
12270 for ac_exec_ext in '' $ac_executable_extensions; do
12271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12272 ac_cv_prog_ac_ct_RANLIB="ranlib"
12273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12274 break 2
12275 fi
12276done
12277 done
12278IFS=$as_save_IFS
12279
12280fi
12281fi
12282ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12283if test -n "$ac_ct_RANLIB"; then
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
12285$as_echo "$ac_ct_RANLIB" >&6; }
12286else
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12288$as_echo "no" >&6; }
12289fi
12290
12291 if test "x$ac_ct_RANLIB" = x; then
12292 RANLIB=":"
12293 else
12294 case $cross_compiling:$ac_tool_warned in
12295yes:)
12296{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12297$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12298ac_tool_warned=yes ;;
12299esac
12300 RANLIB=$ac_ct_RANLIB
12301 fi
12302else
12303 RANLIB="$ac_cv_prog_RANLIB"
12304fi
12305
12306
12307
12308 CFLAG_VISIBILITY=
12309 HAVE_VISIBILITY=0
12310 if test -n "$GCC"; then
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
12312$as_echo_n "checking for simple visibility declarations... " >&6; }
12313 if ${gl_cv_cc_visibility+:} false; then :
12314 $as_echo_n "(cached) " >&6
12315else
12316
12317 gl_save_CFLAGS="$CFLAGS"
12318 CFLAGS="$CFLAGS -fvisibility=hidden"
12319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12320/* end confdefs.h. */
12321extern __attribute__((__visibility__("hidden"))) int hiddenvar;
12322 extern __attribute__((__visibility__("default"))) int exportedvar;
12323 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
12324 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
12325int
12326main ()
12327{
12328
12329 ;
12330 return 0;
12331}
12332_ACEOF
12333if ac_fn_c_try_compile "$LINENO"; then :
12334 gl_cv_cc_visibility=yes
12335else
12336 gl_cv_cc_visibility=no
12337fi
12338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12339 CFLAGS="$gl_save_CFLAGS"
12340fi
12341
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5
12343$as_echo "$gl_cv_cc_visibility" >&6; }
12344 if test $gl_cv_cc_visibility = yes; then
12345 CFLAG_VISIBILITY="-fvisibility=hidden"
12346 HAVE_VISIBILITY=1
12347 fi
12348 fi
12349
12350
12351
12352cat >>confdefs.h <<_ACEOF
12353#define HAVE_VISIBILITY $HAVE_VISIBILITY
12354_ACEOF
12355
12356
12357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12358$as_echo_n "checking for inline... " >&6; }
12359if ${ac_cv_c_inline+:} false; then :
12360 $as_echo_n "(cached) " >&6
12361else
12362 ac_cv_c_inline=no
12363for ac_kw in inline __inline__ __inline; do
12364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12365/* end confdefs.h. */
12366#ifndef __cplusplus
12367typedef int foo_t;
12368static $ac_kw foo_t static_foo () {return 0; }
12369$ac_kw foo_t foo () {return 0; }
12370#endif
12371
12372_ACEOF
12373if ac_fn_c_try_compile "$LINENO"; then :
12374 ac_cv_c_inline=$ac_kw
12375fi
12376rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12377 test "$ac_cv_c_inline" != no && break
12378done
12379
12380fi
12381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12382$as_echo "$ac_cv_c_inline" >&6; }
12383
12384case $ac_cv_c_inline in
12385 inline | yes) ;;
12386 *)
12387 case $ac_cv_c_inline in
12388 no) ac_val=;;
12389 *) ac_val=$ac_cv_c_inline;;
12390 esac
12391 cat >>confdefs.h <<_ACEOF
12392#ifndef __cplusplus
12393#define inline $ac_val
12394#endif
12395_ACEOF
12396 ;;
12397esac
12398
12399ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12400if test "x$ac_cv_type_size_t" = xyes; then :
12401
12402else
12403
12404cat >>confdefs.h <<_ACEOF
12405#define size_t unsigned int
12406_ACEOF
12407
12408fi
12409
12410
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
12412$as_echo_n "checking for stdint.h... " >&6; }
12413if ${gl_cv_header_stdint_h+:} false; then :
12414 $as_echo_n "(cached) " >&6
12415else
12416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12417/* end confdefs.h. */
12418#include <sys/types.h>
12419#include <stdint.h>
12420int
12421main ()
12422{
12423uintmax_t i = (uintmax_t) -1; return !i;
12424 ;
12425 return 0;
12426}
12427_ACEOF
12428if ac_fn_c_try_compile "$LINENO"; then :
12429 gl_cv_header_stdint_h=yes
12430else
12431 gl_cv_header_stdint_h=no
12432fi
12433rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12434fi
12435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5
12436$as_echo "$gl_cv_header_stdint_h" >&6; }
12437 if test $gl_cv_header_stdint_h = yes; then
12438
12439cat >>confdefs.h <<_ACEOF
12440#define HAVE_STDINT_H_WITH_UINTMAX 1
12441_ACEOF
12442
12443 fi
12444
12445# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12446# for constant arguments. Useless!
12447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
12448$as_echo_n "checking for working alloca.h... " >&6; }
12449if ${ac_cv_working_alloca_h+:} false; then :
12450 $as_echo_n "(cached) " >&6
12451else
12452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12453/* end confdefs.h. */
12454#include <alloca.h>
12455int
12456main ()
12457{
12458char *p = (char *) alloca (2 * sizeof (int));
12459 if (p) return 0;
12460 ;
12461 return 0;
12462}
12463_ACEOF
12464if ac_fn_c_try_link "$LINENO"; then :
12465 ac_cv_working_alloca_h=yes
12466else
12467 ac_cv_working_alloca_h=no
12468fi
12469rm -f core conftest.err conftest.$ac_objext \
12470 conftest$ac_exeext conftest.$ac_ext
12471fi
12472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
12473$as_echo "$ac_cv_working_alloca_h" >&6; }
12474if test $ac_cv_working_alloca_h = yes; then
12475
12476$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
12477
12478fi
12479
12480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
12481$as_echo_n "checking for alloca... " >&6; }
12482if ${ac_cv_func_alloca_works+:} false; then :
12483 $as_echo_n "(cached) " >&6
12484else
12485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12486/* end confdefs.h. */
12487#ifdef __GNUC__
12488# define alloca __builtin_alloca
12489#else
12490# ifdef _MSC_VER
12491# include <malloc.h>
12492# define alloca _alloca
12493# else
12494# ifdef HAVE_ALLOCA_H
12495# include <alloca.h>
12496# else
12497# ifdef _AIX
12498 #pragma alloca
12499# else
12500# ifndef alloca /* predefined by HP cc +Olibcalls */
12501void *alloca (size_t);
12502# endif
12503# endif
12504# endif
12505# endif
12506#endif
12507
12508int
12509main ()
12510{
12511char *p = (char *) alloca (1);
12512 if (p) return 0;
12513 ;
12514 return 0;
12515}
12516_ACEOF
12517if ac_fn_c_try_link "$LINENO"; then :
12518 ac_cv_func_alloca_works=yes
12519else
12520 ac_cv_func_alloca_works=no
12521fi
12522rm -f core conftest.err conftest.$ac_objext \
12523 conftest$ac_exeext conftest.$ac_ext
12524fi
12525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
12526$as_echo "$ac_cv_func_alloca_works" >&6; }
12527
12528if test $ac_cv_func_alloca_works = yes; then
12529
12530$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
12531
12532else
12533 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
12534# that cause trouble. Some versions do not even contain alloca or
12535# contain a buggy version. If you still want to use their alloca,
12536# use ar to extract alloca.o from them instead of compiling alloca.c.
12537
12538ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
12539
12540$as_echo "#define C_ALLOCA 1" >>confdefs.h
12541
12542
12543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
12544$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
12545if ${ac_cv_os_cray+:} false; then :
12546 $as_echo_n "(cached) " >&6
12547else
12548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12549/* end confdefs.h. */
12550#if defined CRAY && ! defined CRAY2
12551webecray
12552#else
12553wenotbecray
12554#endif
12555
12556_ACEOF
12557if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12558 $EGREP "webecray" >/dev/null 2>&1; then :
12559 ac_cv_os_cray=yes
12560else
12561 ac_cv_os_cray=no
12562fi
12563rm -f conftest*
12564
12565fi
12566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
12567$as_echo "$ac_cv_os_cray" >&6; }
12568if test $ac_cv_os_cray = yes; then
12569 for ac_func in _getb67 GETB67 getb67; do
12570 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12571ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12572if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12573
12574cat >>confdefs.h <<_ACEOF
12575#define CRAY_STACKSEG_END $ac_func
12576_ACEOF
12577
12578 break
12579fi
12580
12581 done
12582fi
12583
12584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
12585$as_echo_n "checking stack direction for C alloca... " >&6; }
12586if ${ac_cv_c_stack_direction+:} false; then :
12587 $as_echo_n "(cached) " >&6
12588else
12589 if test "$cross_compiling" = yes; then :
12590 ac_cv_c_stack_direction=0
12591else
12592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12593/* end confdefs.h. */
12594$ac_includes_default
12595int
12596find_stack_direction (int *addr, int depth)
12597{
12598 int dir, dummy = 0;
12599 if (! addr)
12600 addr = &dummy;
12601 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
12602 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
12603 return dir + dummy;
12604}
12605
12606int
12607main (int argc, char **argv)
12608{
12609 return find_stack_direction (0, argc + !argv + 20) < 0;
12610}
12611_ACEOF
12612if ac_fn_c_try_run "$LINENO"; then :
12613 ac_cv_c_stack_direction=1
12614else
12615 ac_cv_c_stack_direction=-1
12616fi
12617rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12618 conftest.$ac_objext conftest.beam conftest.$ac_ext
12619fi
12620
12621fi
12622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
12623$as_echo "$ac_cv_c_stack_direction" >&6; }
12624cat >>confdefs.h <<_ACEOF
12625#define STACK_DIRECTION $ac_cv_c_stack_direction
12626_ACEOF
12627
12628
12629fi
12630
12631
12632
12633
12634 for ac_header in $ac_header_list
12635do :
12636 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12637ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12638"
12639if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12640 cat >>confdefs.h <<_ACEOF
12641#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12642_ACEOF
12643
12644fi
12645
12646done
12647
12648
12649
12650
12651
12652
12653
12654
12655for ac_func in getpagesize
12656do :
12657 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
12658if test "x$ac_cv_func_getpagesize" = xyes; then :
12659 cat >>confdefs.h <<_ACEOF
12660#define HAVE_GETPAGESIZE 1
12661_ACEOF
12662
12663fi
12664done
12665
12666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
12667$as_echo_n "checking for working mmap... " >&6; }
12668if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
12669 $as_echo_n "(cached) " >&6
12670else
12671 if test "$cross_compiling" = yes; then :
12672 ac_cv_func_mmap_fixed_mapped=no
12673else
12674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12675/* end confdefs.h. */
12676$ac_includes_default
12677/* malloc might have been renamed as rpl_malloc. */
12678#undef malloc
12679
12680/* Thanks to Mike Haertel and Jim Avera for this test.
12681 Here is a matrix of mmap possibilities:
12682 mmap private not fixed
12683 mmap private fixed at somewhere currently unmapped
12684 mmap private fixed at somewhere already mapped
12685 mmap shared not fixed
12686 mmap shared fixed at somewhere currently unmapped
12687 mmap shared fixed at somewhere already mapped
12688 For private mappings, we should verify that changes cannot be read()
12689 back from the file, nor mmap's back from the file at a different
12690 address. (There have been systems where private was not correctly
12691 implemented like the infamous i386 svr4.0, and systems where the
12692 VM page cache was not coherent with the file system buffer cache
12693 like early versions of FreeBSD and possibly contemporary NetBSD.)
12694 For shared mappings, we should conversely verify that changes get
12695 propagated back to all the places they're supposed to be.
12696
12697 Grep wants private fixed already mapped.
12698 The main things grep needs to know about mmap are:
12699 * does it exist and is it safe to write into the mmap'd area
12700 * how to use it (BSD variants) */
12701
12702#include <fcntl.h>
12703#include <sys/mman.h>
12704
12705#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
12706char *malloc ();
12707#endif
12708
12709/* This mess was copied from the GNU getpagesize.h. */
12710#ifndef HAVE_GETPAGESIZE
12711# ifdef _SC_PAGESIZE
12712# define getpagesize() sysconf(_SC_PAGESIZE)
12713# else /* no _SC_PAGESIZE */
12714# ifdef HAVE_SYS_PARAM_H
12715# include <sys/param.h>
12716# ifdef EXEC_PAGESIZE
12717# define getpagesize() EXEC_PAGESIZE
12718# else /* no EXEC_PAGESIZE */
12719# ifdef NBPG
12720# define getpagesize() NBPG * CLSIZE
12721# ifndef CLSIZE
12722# define CLSIZE 1
12723# endif /* no CLSIZE */
12724# else /* no NBPG */
12725# ifdef NBPC
12726# define getpagesize() NBPC
12727# else /* no NBPC */
12728# ifdef PAGESIZE
12729# define getpagesize() PAGESIZE
12730# endif /* PAGESIZE */
12731# endif /* no NBPC */
12732# endif /* no NBPG */
12733# endif /* no EXEC_PAGESIZE */
12734# else /* no HAVE_SYS_PARAM_H */
12735# define getpagesize() 8192 /* punt totally */
12736# endif /* no HAVE_SYS_PARAM_H */
12737# endif /* no _SC_PAGESIZE */
12738
12739#endif /* no HAVE_GETPAGESIZE */
12740
12741int
12742main ()
12743{
12744 char *data, *data2, *data3;
12745 const char *cdata2;
12746 int i, pagesize;
12747 int fd, fd2;
12748
12749 pagesize = getpagesize ();
12750
12751 /* First, make a file with some known garbage in it. */
12752 data = (char *) malloc (pagesize);
12753 if (!data)
12754 return 1;
12755 for (i = 0; i < pagesize; ++i)
12756 *(data + i) = rand ();
12757 umask (0);
12758 fd = creat ("conftest.mmap", 0600);
12759 if (fd < 0)
12760 return 2;
12761 if (write (fd, data, pagesize) != pagesize)
12762 return 3;
12763 close (fd);
12764
12765 /* Next, check that the tail of a page is zero-filled. File must have
12766 non-zero length, otherwise we risk SIGBUS for entire page. */
12767 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
12768 if (fd2 < 0)
12769 return 4;
12770 cdata2 = "";
12771 if (write (fd2, cdata2, 1) != 1)
12772 return 5;
12773 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
12774 if (data2 == MAP_FAILED)
12775 return 6;
12776 for (i = 0; i < pagesize; ++i)
12777 if (*(data2 + i))
12778 return 7;
12779 close (fd2);
12780 if (munmap (data2, pagesize))
12781 return 8;
12782
12783 /* Next, try to mmap the file at a fixed address which already has
12784 something else allocated at it. If we can, also make sure that
12785 we see the same garbage. */
12786 fd = open ("conftest.mmap", O_RDWR);
12787 if (fd < 0)
12788 return 9;
12789 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12790 MAP_PRIVATE | MAP_FIXED, fd, 0L))
12791 return 10;
12792 for (i = 0; i < pagesize; ++i)
12793 if (*(data + i) != *(data2 + i))
12794 return 11;
12795
12796 /* Finally, make sure that changes to the mapped area do not
12797 percolate back to the file as seen by read(). (This is a bug on
12798 some variants of i386 svr4.0.) */
12799 for (i = 0; i < pagesize; ++i)
12800 *(data2 + i) = *(data2 + i) + 1;
12801 data3 = (char *) malloc (pagesize);
12802 if (!data3)
12803 return 12;
12804 if (read (fd, data3, pagesize) != pagesize)
12805 return 13;
12806 for (i = 0; i < pagesize; ++i)
12807 if (*(data + i) != *(data3 + i))
12808 return 14;
12809 close (fd);
12810 return 0;
12811}
12812_ACEOF
12813if ac_fn_c_try_run "$LINENO"; then :
12814 ac_cv_func_mmap_fixed_mapped=yes
12815else
12816 ac_cv_func_mmap_fixed_mapped=no
12817fi
12818rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12819 conftest.$ac_objext conftest.beam conftest.$ac_ext
12820fi
12821
12822fi
12823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
12824$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
12825if test $ac_cv_func_mmap_fixed_mapped = yes; then
12826
12827$as_echo "#define HAVE_MMAP 1" >>confdefs.h
12828
12829fi
12830rm -f conftest.mmap conftest.txt
12831
12832
12833
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
12835$as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
12836if ${gt_cv_int_divbyzero_sigfpe+:} false; then :
12837 $as_echo_n "(cached) " >&6
12838else
12839
12840 gt_cv_int_divbyzero_sigfpe=
12841 case "$host_os" in
12842 macos* | darwin[6-9]* | darwin[1-9][0-9]*)
12843 # On MacOS X 10.2 or newer, just assume the same as when cross-
12844 # compiling. If we were to perform the real test, 1 Crash Report
12845 # dialog window would pop up.
12846 case "$host_cpu" in
12847 i[34567]86 | x86_64)
12848 gt_cv_int_divbyzero_sigfpe="guessing yes" ;;
12849 esac
12850 ;;
12851 esac
12852 if test -z "$gt_cv_int_divbyzero_sigfpe"; then
12853 if test "$cross_compiling" = yes; then :
12854
12855 # Guess based on the CPU.
12856 case "$host_cpu" in
12857 alpha* | i[34567]86 | x86_64 | m68k | s390*)
12858 gt_cv_int_divbyzero_sigfpe="guessing yes";;
12859 *)
12860 gt_cv_int_divbyzero_sigfpe="guessing no";;
12861 esac
12862
12863else
12864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12865/* end confdefs.h. */
12866
12867#include <stdlib.h>
12868#include <signal.h>
12869
12870static void
12871sigfpe_handler (int sig)
12872{
12873 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
12874 exit (sig != SIGFPE);
12875}
12876
12877int x = 1;
12878int y = 0;
12879int z;
12880int nan;
12881
12882int main ()
12883{
12884 signal (SIGFPE, sigfpe_handler);
12885/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
12886#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
12887 signal (SIGTRAP, sigfpe_handler);
12888#endif
12889/* Linux/SPARC yields signal SIGILL. */
12890#if defined (__sparc__) && defined (__linux__)
12891 signal (SIGILL, sigfpe_handler);
12892#endif
12893
12894 z = x / y;
12895 nan = y / y;
12896 exit (1);
12897}
12898
12899_ACEOF
12900if ac_fn_c_try_run "$LINENO"; then :
12901 gt_cv_int_divbyzero_sigfpe=yes
12902else
12903 gt_cv_int_divbyzero_sigfpe=no
12904fi
12905rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12906 conftest.$ac_objext conftest.beam conftest.$ac_ext
12907fi
12908
12909 fi
12910
12911fi
12912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
12913$as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
12914 case "$gt_cv_int_divbyzero_sigfpe" in
12915 *yes) value=1;;
12916 *) value=0;;
12917 esac
12918
12919cat >>confdefs.h <<_ACEOF
12920#define INTDIV0_RAISES_SIGFPE $value
12921_ACEOF
12922
12923
12924
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
12926$as_echo_n "checking for inttypes.h... " >&6; }
12927if ${gl_cv_header_inttypes_h+:} false; then :
12928 $as_echo_n "(cached) " >&6
12929else
12930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12931/* end confdefs.h. */
12932#include <sys/types.h>
12933#include <inttypes.h>
12934int
12935main ()
12936{
12937uintmax_t i = (uintmax_t) -1; return !i;
12938 ;
12939 return 0;
12940}
12941_ACEOF
12942if ac_fn_c_try_compile "$LINENO"; then :
12943 gl_cv_header_inttypes_h=yes
12944else
12945 gl_cv_header_inttypes_h=no
12946fi
12947rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12948fi
12949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5
12950$as_echo "$gl_cv_header_inttypes_h" >&6; }
12951 if test $gl_cv_header_inttypes_h = yes; then
12952
12953cat >>confdefs.h <<_ACEOF
12954#define HAVE_INTTYPES_H_WITH_UINTMAX 1
12955_ACEOF
12956
12957 fi
12958
12959
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
12961$as_echo_n "checking for unsigned long long int... " >&6; }
12962if ${ac_cv_type_unsigned_long_long_int+:} false; then :
12963 $as_echo_n "(cached) " >&6
12964else
12965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12966/* end confdefs.h. */
12967
12968 /* Test preprocessor. */
12969 #if ! (-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
12970 error in preprocessor;
12971 #endif
12972 #if ! (18446744073709551615ULL <= -1ull)
12973 error in preprocessor;
12974 #endif
12975 /* Test literals. */
12976 long long int ll = 9223372036854775807ll;
12977 long long int nll = -9223372036854775807LL;
12978 unsigned long long int ull = 18446744073709551615ULL;
12979 /* Test constant expressions. */
12980 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
12981 ? 1 : -1)];
12982 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
12983 ? 1 : -1)];
12984 int i = 63;
12985int
12986main ()
12987{
12988/* Test availability of runtime routines for shift and division. */
12989 long long int llmax = 9223372036854775807ll;
12990 unsigned long long int ullmax = 18446744073709551615ull;
12991 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
12992 | (llmax / ll) | (llmax % ll)
12993 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
12994 | (ullmax / ull) | (ullmax % ull));
12995 ;
12996 return 0;
12997}
12998
12999_ACEOF
13000if ac_fn_c_try_link "$LINENO"; then :
13001 ac_cv_type_unsigned_long_long_int=yes
13002else
13003 ac_cv_type_unsigned_long_long_int=no
13004fi
13005rm -f core conftest.err conftest.$ac_objext \
13006 conftest$ac_exeext conftest.$ac_ext
13007fi
13008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
13009$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
13010 if test $ac_cv_type_unsigned_long_long_int = yes; then
13011
13012$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
13013
13014 fi
13015
13016
13017
13018
13019 if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then
13020
13021 test $ac_cv_type_unsigned_long_long_int = yes \
13022 && ac_type='unsigned long long' \
13023 || ac_type='unsigned long'
13024
13025cat >>confdefs.h <<_ACEOF
13026#define uintmax_t $ac_type
13027_ACEOF
13028
13029 else
13030
13031$as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
13032
13033 fi
13034
13035
13036 for ac_header in inttypes.h
13037do :
13038 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
13039if test "x$ac_cv_header_inttypes_h" = xyes; then :
13040 cat >>confdefs.h <<_ACEOF
13041#define HAVE_INTTYPES_H 1
13042_ACEOF
13043
13044fi
13045
13046done
13047
13048 if test $ac_cv_header_inttypes_h = yes; then
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
13050$as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
13051if ${gt_cv_inttypes_pri_broken+:} false; then :
13052 $as_echo_n "(cached) " >&6
13053else
13054
13055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13056/* end confdefs.h. */
13057#include <inttypes.h>
13058#ifdef PRId32
13059char *p = PRId32;
13060#endif
13061
13062int
13063main ()
13064{
13065
13066 ;
13067 return 0;
13068}
13069_ACEOF
13070if ac_fn_c_try_compile "$LINENO"; then :
13071 gt_cv_inttypes_pri_broken=no
13072else
13073 gt_cv_inttypes_pri_broken=yes
13074fi
13075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13076
13077fi
13078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
13079$as_echo "$gt_cv_inttypes_pri_broken" >&6; }
13080 fi
13081 if test "$gt_cv_inttypes_pri_broken" = yes; then
13082
13083cat >>confdefs.h <<_ACEOF
13084#define PRI_MACROS_BROKEN 1
13085_ACEOF
13086
13087 PRI_MACROS_BROKEN=1
13088 else
13089 PRI_MACROS_BROKEN=0
13090 fi
13091
13092
13093
13094
13095
13096
13097 # Check whether --enable-threads was given.
13098if test "${enable_threads+set}" = set; then :
13099 enableval=$enable_threads; gl_use_threads=$enableval
13100else
13101 case "$host_os" in
13102 osf*) gl_use_threads=no ;;
13103 *) gl_use_threads=yes ;;
13104 esac
13105
13106fi
13107
13108 if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
13109 # For using <pthread.h>:
13110 case "$host_os" in
13111 osf*)
13112 # On OSF/1, the compiler needs the flag -D_REENTRANT so that it
13113 # groks <pthread.h>. cc also understands the flag -pthread, but
13114 # we don't use it because 1. gcc-2.95 doesn't understand -pthread,
13115 # 2. putting a flag into CPPFLAGS that has an effect on the linker
13116 # causes the AC_TRY_LINK test below to succeed unexpectedly,
13117 # leading to wrong values of LIBTHREAD and LTLIBTHREAD.
13118 CPPFLAGS="$CPPFLAGS -D_REENTRANT"
13119 ;;
13120 esac
13121 # Some systems optimize for single-threaded programs by default, and
13122 # need special flags to disable these optimizations. For example, the
13123 # definition of 'errno' in <errno.h>.
13124 case "$host_os" in
13125 aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;;
13126 solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;;
13127 esac
13128 fi
13129
13130
13131
13132
13133
13134 if test "X$prefix" = "XNONE"; then12094 if test "X$prefix" = "XNONE"; then
13135 acl_final_prefix="$ac_default_prefix"12095 acl_final_prefix="$ac_default_prefix"
13136 else12096 else
@@ -13314,873 +12274,6 @@
1331412274
1331512275
1331612276
13317 gl_threads_api=none
13318 LIBTHREAD=
13319 LTLIBTHREAD=
13320 LIBMULTITHREAD=
13321 LTLIBMULTITHREAD=
13322 if test "$gl_use_threads" != no; then
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5
13324$as_echo_n "checking whether imported symbols can be declared weak... " >&6; }
13325 gl_have_weak=no
13326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13327/* end confdefs.h. */
13328extern void xyzzy ();
13329#pragma weak xyzzy
13330int
13331main ()
13332{
13333xyzzy();
13334 ;
13335 return 0;
13336}
13337_ACEOF
13338if ac_fn_c_try_link "$LINENO"; then :
13339 gl_have_weak=yes
13340fi
13341rm -f core conftest.err conftest.$ac_objext \
13342 conftest$ac_exeext conftest.$ac_ext
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_weak" >&5
13344$as_echo "$gl_have_weak" >&6; }
13345 if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
13346 # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
13347 # it groks <pthread.h>. It's added above, in gl_LOCK_EARLY_BODY.
13348 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
13349if test "x$ac_cv_header_pthread_h" = xyes; then :
13350 gl_have_pthread_h=yes
13351else
13352 gl_have_pthread_h=no
13353fi
13354
13355
13356 if test "$gl_have_pthread_h" = yes; then
13357 # Other possible tests:
13358 # -lpthreads (FSU threads, PCthreads)
13359 # -lgthreads
13360 gl_have_pthread=
13361 # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist
13362 # in libc. IRIX 6.5 has the first one in both libc and libpthread, but
13363 # the second one only in libpthread, and lock.c needs it.
13364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13365/* end confdefs.h. */
13366#include <pthread.h>
13367int
13368main ()
13369{
13370pthread_mutex_lock((pthread_mutex_t*)0);
13371 pthread_mutexattr_init((pthread_mutexattr_t*)0);
13372 ;
13373 return 0;
13374}
13375_ACEOF
13376if ac_fn_c_try_link "$LINENO"; then :
13377 gl_have_pthread=yes
13378fi
13379rm -f core conftest.err conftest.$ac_objext \
13380 conftest$ac_exeext conftest.$ac_ext
13381 # Test for libpthread by looking for pthread_kill. (Not pthread_self,
13382 # since it is defined as a macro on OSF/1.)
13383 if test -n "$gl_have_pthread"; then
13384 # The program links fine without libpthread. But it may actually
13385 # need to link with libpthread in order to create multiple threads.
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
13387$as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
13388if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
13389 $as_echo_n "(cached) " >&6
13390else
13391 ac_check_lib_save_LIBS=$LIBS
13392LIBS="-lpthread $LIBS"
13393cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13394/* end confdefs.h. */
13395
13396/* Override any GCC internal prototype to avoid an error.
13397 Use char because int might match the return type of a GCC
13398 builtin and then its argument prototype would still apply. */
13399#ifdef __cplusplus
13400extern "C"
13401#endif
13402char pthread_kill ();
13403int
13404main ()
13405{
13406return pthread_kill ();
13407 ;
13408 return 0;
13409}
13410_ACEOF
13411if ac_fn_c_try_link "$LINENO"; then :
13412 ac_cv_lib_pthread_pthread_kill=yes
13413else
13414 ac_cv_lib_pthread_pthread_kill=no
13415fi
13416rm -f core conftest.err conftest.$ac_objext \
13417 conftest$ac_exeext conftest.$ac_ext
13418LIBS=$ac_check_lib_save_LIBS
13419fi
13420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
13421$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
13422if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
13423 LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
13424 # On Solaris and HP-UX, most pthread functions exist also in libc.
13425 # Therefore pthread_in_use() needs to actually try to create a
13426 # thread: pthread_create from libc will fail, whereas
13427 # pthread_create will actually create a thread.
13428 case "$host_os" in
13429 solaris* | hpux*)
13430
13431$as_echo "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h
13432
13433 esac
13434
13435fi
13436
13437 else
13438 # Some library is needed. Try libpthread and libc_r.
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
13440$as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
13441if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
13442 $as_echo_n "(cached) " >&6
13443else
13444 ac_check_lib_save_LIBS=$LIBS
13445LIBS="-lpthread $LIBS"
13446cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13447/* end confdefs.h. */
13448
13449/* Override any GCC internal prototype to avoid an error.
13450 Use char because int might match the return type of a GCC
13451 builtin and then its argument prototype would still apply. */
13452#ifdef __cplusplus
13453extern "C"
13454#endif
13455char pthread_kill ();
13456int
13457main ()
13458{
13459return pthread_kill ();
13460 ;
13461 return 0;
13462}
13463_ACEOF
13464if ac_fn_c_try_link "$LINENO"; then :
13465 ac_cv_lib_pthread_pthread_kill=yes
13466else
13467 ac_cv_lib_pthread_pthread_kill=no
13468fi
13469rm -f core conftest.err conftest.$ac_objext \
13470 conftest$ac_exeext conftest.$ac_ext
13471LIBS=$ac_check_lib_save_LIBS
13472fi
13473{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
13474$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
13475if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
13476 gl_have_pthread=yes
13477 LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
13478 LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
13479fi
13480
13481 if test -z "$gl_have_pthread"; then
13482 # For FreeBSD 4.
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5
13484$as_echo_n "checking for pthread_kill in -lc_r... " >&6; }
13485if ${ac_cv_lib_c_r_pthread_kill+:} false; then :
13486 $as_echo_n "(cached) " >&6
13487else
13488 ac_check_lib_save_LIBS=$LIBS
13489LIBS="-lc_r $LIBS"
13490cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13491/* end confdefs.h. */
13492
13493/* Override any GCC internal prototype to avoid an error.
13494 Use char because int might match the return type of a GCC
13495 builtin and then its argument prototype would still apply. */
13496#ifdef __cplusplus
13497extern "C"
13498#endif
13499char pthread_kill ();
13500int
13501main ()
13502{
13503return pthread_kill ();
13504 ;
13505 return 0;
13506}
13507_ACEOF
13508if ac_fn_c_try_link "$LINENO"; then :
13509 ac_cv_lib_c_r_pthread_kill=yes
13510else
13511 ac_cv_lib_c_r_pthread_kill=no
13512fi
13513rm -f core conftest.err conftest.$ac_objext \
13514 conftest$ac_exeext conftest.$ac_ext
13515LIBS=$ac_check_lib_save_LIBS
13516fi
13517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5
13518$as_echo "$ac_cv_lib_c_r_pthread_kill" >&6; }
13519if test "x$ac_cv_lib_c_r_pthread_kill" = xyes; then :
13520 gl_have_pthread=yes
13521 LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r
13522 LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r
13523fi
13524
13525 fi
13526 fi
13527 if test -n "$gl_have_pthread"; then
13528 gl_threads_api=posix
13529
13530$as_echo "#define USE_POSIX_THREADS 1" >>confdefs.h
13531
13532 if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
13533 if test $gl_have_weak = yes; then
13534
13535$as_echo "#define USE_POSIX_THREADS_WEAK 1" >>confdefs.h
13536
13537 LIBTHREAD=
13538 LTLIBTHREAD=
13539 fi
13540 fi
13541 # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the
13542 # pthread_rwlock_* functions.
13543 ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include <pthread.h>
13544"
13545if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
13546
13547$as_echo "#define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h
13548
13549fi
13550
13551 # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
13552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13553/* end confdefs.h. */
13554#include <pthread.h>
13555int
13556main ()
13557{
13558#if __FreeBSD__ == 4
13559error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
13560#else
13561int x = (int)PTHREAD_MUTEX_RECURSIVE;
13562return !x;
13563#endif
13564 ;
13565 return 0;
13566}
13567_ACEOF
13568if ac_fn_c_try_compile "$LINENO"; then :
13569
13570$as_echo "#define HAVE_PTHREAD_MUTEX_RECURSIVE 1" >>confdefs.h
13571
13572fi
13573rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13574 fi
13575 fi
13576 fi
13577 if test -z "$gl_have_pthread"; then
13578 if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then
13579 gl_have_solaristhread=
13580 gl_save_LIBS="$LIBS"
13581 LIBS="$LIBS -lthread"
13582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13583/* end confdefs.h. */
13584#include <thread.h>
13585#include <synch.h>
13586int
13587main ()
13588{
13589thr_self();
13590 ;
13591 return 0;
13592}
13593_ACEOF
13594if ac_fn_c_try_link "$LINENO"; then :
13595 gl_have_solaristhread=yes
13596fi
13597rm -f core conftest.err conftest.$ac_objext \
13598 conftest$ac_exeext conftest.$ac_ext
13599 LIBS="$gl_save_LIBS"
13600 if test -n "$gl_have_solaristhread"; then
13601 gl_threads_api=solaris
13602 LIBTHREAD=-lthread
13603 LTLIBTHREAD=-lthread
13604 LIBMULTITHREAD="$LIBTHREAD"
13605 LTLIBMULTITHREAD="$LTLIBTHREAD"
13606
13607$as_echo "#define USE_SOLARIS_THREADS 1" >>confdefs.h
13608
13609 if test $gl_have_weak = yes; then
13610
13611$as_echo "#define USE_SOLARIS_THREADS_WEAK 1" >>confdefs.h
13612
13613 LIBTHREAD=
13614 LTLIBTHREAD=
13615 fi
13616 fi
13617 fi
13618 fi
13619 if test "$gl_use_threads" = pth; then
13620 gl_save_CPPFLAGS="$CPPFLAGS"
13621
13622
13623
13624
13625
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libpth" >&5
13627$as_echo_n "checking how to link with libpth... " >&6; }
13628if ${ac_cv_libpth_libs+:} false; then :
13629 $as_echo_n "(cached) " >&6
13630else
13631
13632
13633
13634
13635
13636 use_additional=yes
13637
13638 acl_save_prefix="$prefix"
13639 prefix="$acl_final_prefix"
13640 acl_save_exec_prefix="$exec_prefix"
13641 exec_prefix="$acl_final_exec_prefix"
13642
13643 eval additional_includedir=\"$includedir\"
13644 eval additional_libdir=\"$libdir\"
13645
13646 exec_prefix="$acl_save_exec_prefix"
13647 prefix="$acl_save_prefix"
13648
13649
13650# Check whether --with-libpth-prefix was given.
13651if test "${with_libpth_prefix+set}" = set; then :
13652 withval=$with_libpth_prefix;
13653 if test "X$withval" = "Xno"; then
13654 use_additional=no
13655 else
13656 if test "X$withval" = "X"; then
13657
13658 acl_save_prefix="$prefix"
13659 prefix="$acl_final_prefix"
13660 acl_save_exec_prefix="$exec_prefix"
13661 exec_prefix="$acl_final_exec_prefix"
13662
13663 eval additional_includedir=\"$includedir\"
13664 eval additional_libdir=\"$libdir\"
13665
13666 exec_prefix="$acl_save_exec_prefix"
13667 prefix="$acl_save_prefix"
13668
13669 else
13670 additional_includedir="$withval/include"
13671 additional_libdir="$withval/$acl_libdirstem"
13672 fi
13673 fi
13674
13675fi
13676
13677 LIBPTH=
13678 LTLIBPTH=
13679 INCPTH=
13680 LIBPTH_PREFIX=
13681 rpathdirs=
13682 ltrpathdirs=
13683 names_already_handled=
13684 names_next_round='pth '
13685 while test -n "$names_next_round"; do
13686 names_this_round="$names_next_round"
13687 names_next_round=
13688 for name in $names_this_round; do
13689 already_handled=
13690 for n in $names_already_handled; do
13691 if test "$n" = "$name"; then
13692 already_handled=yes
13693 break
13694 fi
13695 done
13696 if test -z "$already_handled"; then
13697 names_already_handled="$names_already_handled $name"
13698 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13699 eval value=\"\$HAVE_LIB$uppername\"
13700 if test -n "$value"; then
13701 if test "$value" = yes; then
13702 eval value=\"\$LIB$uppername\"
13703 test -z "$value" || LIBPTH="${LIBPTH}${LIBPTH:+ }$value"
13704 eval value=\"\$LTLIB$uppername\"
13705 test -z "$value" || LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$value"
13706 else
13707 :
13708 fi
13709 else
13710 found_dir=
13711 found_la=
13712 found_so=
13713 found_a=
13714 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
13715 if test -n "$acl_shlibext"; then
13716 shrext=".$acl_shlibext" # typically: shrext=.so
13717 else
13718 shrext=
13719 fi
13720 if test $use_additional = yes; then
13721 dir="$additional_libdir"
13722 if test -n "$acl_shlibext"; then
13723 if test -f "$dir/$libname$shrext"; then
13724 found_dir="$dir"
13725 found_so="$dir/$libname$shrext"
13726 else
13727 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13728 ver=`(cd "$dir" && \
13729 for f in "$libname$shrext".*; do echo "$f"; done \
13730 | sed -e "s,^$libname$shrext\\\\.,," \
13731 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13732 | sed 1q ) 2>/dev/null`
13733 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13734 found_dir="$dir"
13735 found_so="$dir/$libname$shrext.$ver"
13736 fi
13737 else
13738 eval library_names=\"$acl_library_names_spec\"
13739 for f in $library_names; do
13740 if test -f "$dir/$f"; then
13741 found_dir="$dir"
13742 found_so="$dir/$f"
13743 break
13744 fi
13745 done
13746 fi
13747 fi
13748 fi
13749 if test "X$found_dir" = "X"; then
13750 if test -f "$dir/$libname.$acl_libext"; then
13751 found_dir="$dir"
13752 found_a="$dir/$libname.$acl_libext"
13753 fi
13754 fi
13755 if test "X$found_dir" != "X"; then
13756 if test -f "$dir/$libname.la"; then
13757 found_la="$dir/$libname.la"
13758 fi
13759 fi
13760 fi
13761 if test "X$found_dir" = "X"; then
13762 for x in $LDFLAGS $LTLIBPTH; do
13763
13764 acl_save_prefix="$prefix"
13765 prefix="$acl_final_prefix"
13766 acl_save_exec_prefix="$exec_prefix"
13767 exec_prefix="$acl_final_exec_prefix"
13768 eval x=\"$x\"
13769 exec_prefix="$acl_save_exec_prefix"
13770 prefix="$acl_save_prefix"
13771
13772 case "$x" in
13773 -L*)
13774 dir=`echo "X$x" | sed -e 's/^X-L//'`
13775 if test -n "$acl_shlibext"; then
13776 if test -f "$dir/$libname$shrext"; then
13777 found_dir="$dir"
13778 found_so="$dir/$libname$shrext"
13779 else
13780 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13781 ver=`(cd "$dir" && \
13782 for f in "$libname$shrext".*; do echo "$f"; done \
13783 | sed -e "s,^$libname$shrext\\\\.,," \
13784 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13785 | sed 1q ) 2>/dev/null`
13786 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13787 found_dir="$dir"
13788 found_so="$dir/$libname$shrext.$ver"
13789 fi
13790 else
13791 eval library_names=\"$acl_library_names_spec\"
13792 for f in $library_names; do
13793 if test -f "$dir/$f"; then
13794 found_dir="$dir"
13795 found_so="$dir/$f"
13796 break
13797 fi
13798 done
13799 fi
13800 fi
13801 fi
13802 if test "X$found_dir" = "X"; then
13803 if test -f "$dir/$libname.$acl_libext"; then
13804 found_dir="$dir"
13805 found_a="$dir/$libname.$acl_libext"
13806 fi
13807 fi
13808 if test "X$found_dir" != "X"; then
13809 if test -f "$dir/$libname.la"; then
13810 found_la="$dir/$libname.la"
13811 fi
13812 fi
13813 ;;
13814 esac
13815 if test "X$found_dir" != "X"; then
13816 break
13817 fi
13818 done
13819 fi
13820 if test "X$found_dir" != "X"; then
13821 LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$found_dir -l$name"
13822 if test "X$found_so" != "X"; then
13823 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13824 LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
13825 else
13826 haveit=
13827 for x in $ltrpathdirs; do
13828 if test "X$x" = "X$found_dir"; then
13829 haveit=yes
13830 break
13831 fi
13832 done
13833 if test -z "$haveit"; then
13834 ltrpathdirs="$ltrpathdirs $found_dir"
13835 fi
13836 if test "$acl_hardcode_direct" = yes; then
13837 LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
13838 else
13839 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13840 LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
13841 haveit=
13842 for x in $rpathdirs; do
13843 if test "X$x" = "X$found_dir"; then
13844 haveit=yes
13845 break
13846 fi
13847 done
13848 if test -z "$haveit"; then
13849 rpathdirs="$rpathdirs $found_dir"
13850 fi
13851 else
13852 haveit=
13853 for x in $LDFLAGS $LIBPTH; do
13854
13855 acl_save_prefix="$prefix"
13856 prefix="$acl_final_prefix"
13857 acl_save_exec_prefix="$exec_prefix"
13858 exec_prefix="$acl_final_exec_prefix"
13859 eval x=\"$x\"
13860 exec_prefix="$acl_save_exec_prefix"
13861 prefix="$acl_save_prefix"
13862
13863 if test "X$x" = "X-L$found_dir"; then
13864 haveit=yes
13865 break
13866 fi
13867 done
13868 if test -z "$haveit"; then
13869 LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir"
13870 fi
13871 if test "$acl_hardcode_minus_L" != no; then
13872 LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
13873 else
13874 LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
13875 fi
13876 fi
13877 fi
13878 fi
13879 else
13880 if test "X$found_a" != "X"; then
13881 LIBPTH="${LIBPTH}${LIBPTH:+ }$found_a"
13882 else
13883 LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir -l$name"
13884 fi
13885 fi
13886 additional_includedir=
13887 case "$found_dir" in
13888 */$acl_libdirstem | */$acl_libdirstem/)
13889 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13890 LIBPTH_PREFIX="$basedir"
13891 additional_includedir="$basedir/include"
13892 ;;
13893 esac
13894 if test "X$additional_includedir" != "X"; then
13895 if test "X$additional_includedir" != "X/usr/include"; then
13896 haveit=
13897 if test "X$additional_includedir" = "X/usr/local/include"; then
13898 if test -n "$GCC"; then
13899 case $host_os in
13900 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13901 esac
13902 fi
13903 fi
13904 if test -z "$haveit"; then
13905 for x in $CPPFLAGS $INCPTH; do
13906
13907 acl_save_prefix="$prefix"
13908 prefix="$acl_final_prefix"
13909 acl_save_exec_prefix="$exec_prefix"
13910 exec_prefix="$acl_final_exec_prefix"
13911 eval x=\"$x\"
13912 exec_prefix="$acl_save_exec_prefix"
13913 prefix="$acl_save_prefix"
13914
13915 if test "X$x" = "X-I$additional_includedir"; then
13916 haveit=yes
13917 break
13918 fi
13919 done
13920 if test -z "$haveit"; then
13921 if test -d "$additional_includedir"; then
13922 INCPTH="${INCPTH}${INCPTH:+ }-I$additional_includedir"
13923 fi
13924 fi
13925 fi
13926 fi
13927 fi
13928 if test -n "$found_la"; then
13929 save_libdir="$libdir"
13930 case "$found_la" in
13931 */* | *\\*) . "$found_la" ;;
13932 *) . "./$found_la" ;;
13933 esac
13934 libdir="$save_libdir"
13935 for dep in $dependency_libs; do
13936 case "$dep" in
13937 -L*)
13938 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13939 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13940 haveit=
13941 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13942 if test -n "$GCC"; then
13943 case $host_os in
13944 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13945 esac
13946 fi
13947 fi
13948 if test -z "$haveit"; then
13949 haveit=
13950 for x in $LDFLAGS $LIBPTH; do
13951
13952 acl_save_prefix="$prefix"
13953 prefix="$acl_final_prefix"
13954 acl_save_exec_prefix="$exec_prefix"
13955 exec_prefix="$acl_final_exec_prefix"
13956 eval x=\"$x\"
13957 exec_prefix="$acl_save_exec_prefix"
13958 prefix="$acl_save_prefix"
13959
13960 if test "X$x" = "X-L$additional_libdir"; then
13961 haveit=yes
13962 break
13963 fi
13964 done
13965 if test -z "$haveit"; then
13966 if test -d "$additional_libdir"; then
13967 LIBPTH="${LIBPTH}${LIBPTH:+ }-L$additional_libdir"
13968 fi
13969 fi
13970 haveit=
13971 for x in $LDFLAGS $LTLIBPTH; do
13972
13973 acl_save_prefix="$prefix"
13974 prefix="$acl_final_prefix"
13975 acl_save_exec_prefix="$exec_prefix"
13976 exec_prefix="$acl_final_exec_prefix"
13977 eval x=\"$x\"
13978 exec_prefix="$acl_save_exec_prefix"
13979 prefix="$acl_save_prefix"
13980
13981 if test "X$x" = "X-L$additional_libdir"; then
13982 haveit=yes
13983 break
13984 fi
13985 done
13986 if test -z "$haveit"; then
13987 if test -d "$additional_libdir"; then
13988 LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$additional_libdir"
13989 fi
13990 fi
13991 fi
13992 fi
13993 ;;
13994 -R*)
13995 dir=`echo "X$dep" | sed -e 's/^X-R//'`
13996 if test "$enable_rpath" != no; then
13997 haveit=
13998 for x in $rpathdirs; do
13999 if test "X$x" = "X$dir"; then
14000 haveit=yes
14001 break
14002 fi
14003 done
14004 if test -z "$haveit"; then
14005 rpathdirs="$rpathdirs $dir"
14006 fi
14007 haveit=
14008 for x in $ltrpathdirs; do
14009 if test "X$x" = "X$dir"; then
14010 haveit=yes
14011 break
14012 fi
14013 done
14014 if test -z "$haveit"; then
14015 ltrpathdirs="$ltrpathdirs $dir"
14016 fi
14017 fi
14018 ;;
14019 -l*)
14020 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14021 ;;
14022 *.la)
14023 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14024 ;;
14025 *)
14026 LIBPTH="${LIBPTH}${LIBPTH:+ }$dep"
14027 LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$dep"
14028 ;;
14029 esac
14030 done
14031 fi
14032 else
14033 LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
14034 LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-l$name"
14035 fi
14036 fi
14037 fi
14038 done
14039 done
14040 if test "X$rpathdirs" != "X"; then
14041 if test -n "$acl_hardcode_libdir_separator"; then
14042 alldirs=
14043 for found_dir in $rpathdirs; do
14044 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14045 done
14046 acl_save_libdir="$libdir"
14047 libdir="$alldirs"
14048 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14049 libdir="$acl_save_libdir"
14050 LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
14051 else
14052 for found_dir in $rpathdirs; do
14053 acl_save_libdir="$libdir"
14054 libdir="$found_dir"
14055 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14056 libdir="$acl_save_libdir"
14057 LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
14058 done
14059 fi
14060 fi
14061 if test "X$ltrpathdirs" != "X"; then
14062 for found_dir in $ltrpathdirs; do
14063 LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-R$found_dir"
14064 done
14065 fi
14066
14067 ac_cv_libpth_libs="$LIBPTH"
14068 ac_cv_libpth_ltlibs="$LTLIBPTH"
14069 ac_cv_libpth_cppflags="$INCPTH"
14070 ac_cv_libpth_prefix="$LIBPTH_PREFIX"
14071
14072fi
14073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libpth_libs" >&5
14074$as_echo "$ac_cv_libpth_libs" >&6; }
14075 LIBPTH="$ac_cv_libpth_libs"
14076 LTLIBPTH="$ac_cv_libpth_ltlibs"
14077 INCPTH="$ac_cv_libpth_cppflags"
14078 LIBPTH_PREFIX="$ac_cv_libpth_prefix"
14079
14080 for element in $INCPTH; do
14081 haveit=
14082 for x in $CPPFLAGS; do
14083
14084 acl_save_prefix="$prefix"
14085 prefix="$acl_final_prefix"
14086 acl_save_exec_prefix="$exec_prefix"
14087 exec_prefix="$acl_final_exec_prefix"
14088 eval x=\"$x\"
14089 exec_prefix="$acl_save_exec_prefix"
14090 prefix="$acl_save_prefix"
14091
14092 if test "X$x" = "X$element"; then
14093 haveit=yes
14094 break
14095 fi
14096 done
14097 if test -z "$haveit"; then
14098 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14099 fi
14100 done
14101
14102
14103
14104
14105 HAVE_LIBPTH=yes
14106
14107
14108
14109 gl_have_pth=
14110 gl_save_LIBS="$LIBS"
14111 LIBS="$LIBS -lpth"
14112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14113/* end confdefs.h. */
14114#include <pth.h>
14115int
14116main ()
14117{
14118pth_self();
14119 ;
14120 return 0;
14121}
14122_ACEOF
14123if ac_fn_c_try_link "$LINENO"; then :
14124 gl_have_pth=yes
14125fi
14126rm -f core conftest.err conftest.$ac_objext \
14127 conftest$ac_exeext conftest.$ac_ext
14128 LIBS="$gl_save_LIBS"
14129 if test -n "$gl_have_pth"; then
14130 gl_threads_api=pth
14131 LIBTHREAD="$LIBPTH"
14132 LTLIBTHREAD="$LTLIBPTH"
14133 LIBMULTITHREAD="$LIBTHREAD"
14134 LTLIBMULTITHREAD="$LTLIBTHREAD"
14135
14136$as_echo "#define USE_PTH_THREADS 1" >>confdefs.h
14137
14138 if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
14139 if test $gl_have_weak = yes; then
14140
14141$as_echo "#define USE_PTH_THREADS_WEAK 1" >>confdefs.h
14142
14143 LIBTHREAD=
14144 LTLIBTHREAD=
14145 fi
14146 fi
14147 else
14148 CPPFLAGS="$gl_save_CPPFLAGS"
14149 fi
14150 fi
14151 if test -z "$gl_have_pthread"; then
14152 if test "$gl_use_threads" = yes || test "$gl_use_threads" = win32; then
14153 if { case "$host_os" in
14154 mingw*) true;;
14155 *) false;;
14156 esac
14157 }; then
14158 gl_threads_api=win32
14159
14160$as_echo "#define USE_WIN32_THREADS 1" >>confdefs.h
14161
14162 fi
14163 fi
14164 fi
14165 fi
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5
14167$as_echo_n "checking for multithread API to use... " >&6; }
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5
14169$as_echo "$gl_threads_api" >&6; }
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
1418412277
1418512278
1418612279
@@ -14622,136 +12715,169 @@
1462212715
1462312716
1462412717
14625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12718
14626/* end confdefs.h. */12719
14627int foo (int a) { a = __builtin_expect (a, 10); return a == 10 ? 0 : 1; }12720
14628int12721
14629main ()12722
14630{12723
1463112724
14632 ;12725
14633 return 0;12726
14634}12727
14635_ACEOF12728
14636if ac_fn_c_try_link "$LINENO"; then :12729
1463712730
14638$as_echo "#define HAVE_BUILTIN_EXPECT 1" >>confdefs.h12731
1463912732
14640fi12733
14641rm -f core conftest.err conftest.$ac_objext \12734
14642 conftest$ac_exeext conftest.$ac_ext12735
1464312736
14644 for ac_header in argz.h inttypes.h limits.h unistd.h sys/param.h12737
14645do :12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14646 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`12739$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14647ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"12740if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
14648if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :12741 $as_echo_n "(cached) " >&6
14649 cat >>confdefs.h <<_ACEOF12742else
14650#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 112743 gt_save_LIBS="$LIBS"
14651_ACEOF12744 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
1465212745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14653fi12746/* end confdefs.h. */
1465412747#include <CoreFoundation/CFPreferences.h>
14655done12748int
1465612749main ()
14657 for ac_func in getcwd getegid geteuid getgid getuid mempcpy munmap \12750{
14658 stpcpy strcasecmp strdup strtoul tsearch argz_count argz_stringify \12751CFPreferencesCopyAppValue(NULL, NULL)
14659 argz_next __fsetlocking12752 ;
14660do :12753 return 0;
14661 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`12754}
14662ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"12755_ACEOF
14663if eval test \"x\$"$as_ac_var"\" = x"yes"; then :12756if ac_fn_c_try_link "$LINENO"; then :
14664 cat >>confdefs.h <<_ACEOF12757 gt_cv_func_CFPreferencesCopyAppValue=yes
14665#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 112758else
14666_ACEOF12759 gt_cv_func_CFPreferencesCopyAppValue=no
1466712760fi
14668fi12761rm -f core conftest.err conftest.$ac_objext \
14669done12762 conftest$ac_exeext conftest.$ac_ext
1467012763 LIBS="$gt_save_LIBS"
1467112764fi
1467212765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether feof_unlocked is declared" >&512766$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14674$as_echo_n "checking whether feof_unlocked is declared... " >&6; }12767 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14675if ${ac_cv_have_decl_feof_unlocked+:} false; then :12768
14676 $as_echo_n "(cached) " >&612769$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14677else12770
14678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12771 fi
14679/* end confdefs.h. */12772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14680#include <stdio.h>12773$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14681int12774if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
14682main ()12775 $as_echo_n "(cached) " >&6
14683{12776else
1468412777 gt_save_LIBS="$LIBS"
14685#ifndef feof_unlocked12778 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14686 char *p = (char *) feof_unlocked;12779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14687#endif12780/* end confdefs.h. */
1468812781#include <CoreFoundation/CFLocale.h>
14689 ;12782int
14690 return 0;12783main ()
14691}12784{
14692_ACEOF12785CFLocaleCopyCurrent();
14693if ac_fn_c_try_compile "$LINENO"; then :12786 ;
14694 ac_cv_have_decl_feof_unlocked=yes12787 return 0;
14695else12788}
14696 ac_cv_have_decl_feof_unlocked=no12789_ACEOF
14697fi12790if ac_fn_c_try_link "$LINENO"; then :
14698rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext12791 gt_cv_func_CFLocaleCopyCurrent=yes
14699fi12792else
14700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_feof_unlocked" >&512793 gt_cv_func_CFLocaleCopyCurrent=no
14701$as_echo "$ac_cv_have_decl_feof_unlocked" >&6; }12794fi
14702 if test $ac_cv_have_decl_feof_unlocked = yes; then12795rm -f core conftest.err conftest.$ac_objext \
14703 gt_value=112796 conftest$ac_exeext conftest.$ac_ext
14704 else12797 LIBS="$gt_save_LIBS"
14705 gt_value=012798fi
14706 fi12799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
1470712800$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14708cat >>confdefs.h <<_ACEOF12801 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14709#define HAVE_DECL_FEOF_UNLOCKED $gt_value12802
14710_ACEOF12803$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
1471112804
1471212805 fi
1471312806 INTL_MACOSX_LIBS=
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fgets_unlocked is declared" >&512807 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14715$as_echo_n "checking whether fgets_unlocked is declared... " >&6; }12808 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
14716if ${ac_cv_have_decl_fgets_unlocked+:} false; then :12809 fi
14717 $as_echo_n "(cached) " >&612810
14718else12811
14719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12812
14720/* end confdefs.h. */12813
14721#include <stdio.h>12814
14722int12815
14723main ()12816 LIBINTL=
14724{12817 LTLIBINTL=
1472512818 POSUB=
14726#ifndef fgets_unlocked12819
14727 char *p = (char *) fgets_unlocked;12820 case " $gt_needs " in
14728#endif12821 *" need-formatstring-macros "*) gt_api_version=3 ;;
1472912822 *" need-ngettext "*) gt_api_version=2 ;;
14730 ;12823 *) gt_api_version=1 ;;
14731 return 0;12824 esac
14732}12825 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
14733_ACEOF12826 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
14734if ac_fn_c_try_compile "$LINENO"; then :12827
14735 ac_cv_have_decl_fgets_unlocked=yes12828 if test "$USE_NLS" = "yes"; then
14736else12829 gt_use_preinstalled_gnugettext=no
14737 ac_cv_have_decl_fgets_unlocked=no12830
14738fi12831
14739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext12832 if test $gt_api_version -ge 3; then
14740fi12833 gt_revision_test_code='
14741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_fgets_unlocked" >&512834#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
14742$as_echo "$ac_cv_have_decl_fgets_unlocked" >&6; }12835#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
14743 if test $ac_cv_have_decl_fgets_unlocked = yes; then12836#endif
14744 gt_value=112837typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
14745 else12838'
14746 gt_value=012839 else
14747 fi12840 gt_revision_test_code=
1474812841 fi
14749cat >>confdefs.h <<_ACEOF12842 if test $gt_api_version -ge 2; then
14750#define HAVE_DECL_FGETS_UNLOCKED $gt_value12843 gt_expression_test_code=' + * ngettext ("", "", 0)'
14751_ACEOF12844 else
1475212845 gt_expression_test_code=
1475312846 fi
1475412847
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
12849$as_echo_n "checking for GNU gettext in libc... " >&6; }
12850if eval \${$gt_func_gnugettext_libc+:} false; then :
12851 $as_echo_n "(cached) " >&6
12852else
12853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12854/* end confdefs.h. */
12855#include <libintl.h>
12856$gt_revision_test_code
12857extern int _nl_msg_cat_cntr;
12858extern int *_nl_domain_bindings;
12859int
12860main ()
12861{
12862bindtextdomain ("", "");
12863return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
12864 ;
12865 return 0;
12866}
12867_ACEOF
12868if ac_fn_c_try_link "$LINENO"; then :
12869 eval "$gt_func_gnugettext_libc=yes"
12870else
12871 eval "$gt_func_gnugettext_libc=no"
12872fi
12873rm -f core conftest.err conftest.$ac_objext \
12874 conftest$ac_exeext conftest.$ac_ext
12875fi
12876eval ac_res=\$$gt_func_gnugettext_libc
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12878$as_echo "$ac_res" >&6; }
12879
12880 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
1475512881
1475612882
1475712883
@@ -14954,1213 +13080,6 @@
1495413080
1495513081
1495613082
14957 if test "$am_cv_func_iconv" = yes; then
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
14959$as_echo_n "checking for iconv declaration... " >&6; }
14960 if ${am_cv_proto_iconv+:} false; then :
14961 $as_echo_n "(cached) " >&6
14962else
14963
14964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14965/* end confdefs.h. */
14966
14967#include <stdlib.h>
14968#include <iconv.h>
14969extern
14970#ifdef __cplusplus
14971"C"
14972#endif
14973#if defined(__STDC__) || defined(__cplusplus)
14974size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
14975#else
14976size_t iconv();
14977#endif
14978
14979int
14980main ()
14981{
14982
14983 ;
14984 return 0;
14985}
14986_ACEOF
14987if ac_fn_c_try_compile "$LINENO"; then :
14988 am_cv_proto_iconv_arg1=""
14989else
14990 am_cv_proto_iconv_arg1="const"
14991fi
14992rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14993 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
14994fi
14995
14996 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
14998 }$am_cv_proto_iconv" >&5
14999$as_echo "${ac_t:-
15000 }$am_cv_proto_iconv" >&6; }
15001
15002cat >>confdefs.h <<_ACEOF
15003#define ICONV_CONST $am_cv_proto_iconv_arg1
15004_ACEOF
15005
15006 fi
15007
15008
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NL_LOCALE_NAME macro" >&5
15010$as_echo_n "checking for NL_LOCALE_NAME macro... " >&6; }
15011if ${gt_cv_nl_locale_name+:} false; then :
15012 $as_echo_n "(cached) " >&6
15013else
15014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15015/* end confdefs.h. */
15016#include <langinfo.h>
15017#include <locale.h>
15018int
15019main ()
15020{
15021char* cs = nl_langinfo(_NL_LOCALE_NAME(LC_MESSAGES));
15022 return !cs;
15023
15024 ;
15025 return 0;
15026}
15027_ACEOF
15028if ac_fn_c_try_link "$LINENO"; then :
15029 gt_cv_nl_locale_name=yes
15030else
15031 gt_cv_nl_locale_name=no
15032fi
15033rm -f core conftest.err conftest.$ac_objext \
15034 conftest$ac_exeext conftest.$ac_ext
15035
15036fi
15037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_nl_locale_name" >&5
15038$as_echo "$gt_cv_nl_locale_name" >&6; }
15039 if test $gt_cv_nl_locale_name = yes; then
15040
15041$as_echo "#define HAVE_NL_LOCALE_NAME 1" >>confdefs.h
15042
15043 fi
15044
15045 for ac_prog in bison
15046do
15047 # Extract the first word of "$ac_prog", so it can be a program name with args.
15048set dummy $ac_prog; ac_word=$2
15049{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15050$as_echo_n "checking for $ac_word... " >&6; }
15051if ${ac_cv_prog_INTLBISON+:} false; then :
15052 $as_echo_n "(cached) " >&6
15053else
15054 if test -n "$INTLBISON"; then
15055 ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
15056else
15057as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15058for as_dir in $PATH
15059do
15060 IFS=$as_save_IFS
15061 test -z "$as_dir" && as_dir=.
15062 for ac_exec_ext in '' $ac_executable_extensions; do
15063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15064 ac_cv_prog_INTLBISON="$ac_prog"
15065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15066 break 2
15067 fi
15068done
15069 done
15070IFS=$as_save_IFS
15071
15072fi
15073fi
15074INTLBISON=$ac_cv_prog_INTLBISON
15075if test -n "$INTLBISON"; then
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
15077$as_echo "$INTLBISON" >&6; }
15078else
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15080$as_echo "no" >&6; }
15081fi
15082
15083
15084 test -n "$INTLBISON" && break
15085done
15086
15087 if test -z "$INTLBISON"; then
15088 ac_verc_fail=yes
15089 else
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
15091$as_echo_n "checking version of bison... " >&6; }
15092 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
15093 case $ac_prog_version in
15094 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
15095 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
15096 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
15097 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
15098 esac
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
15100$as_echo "$ac_prog_version" >&6; }
15101 fi
15102 if test $ac_verc_fail = yes; then
15103 INTLBISON=:
15104 fi
15105
15106
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
15108$as_echo_n "checking for long long int... " >&6; }
15109if ${ac_cv_type_long_long_int+:} false; then :
15110 $as_echo_n "(cached) " >&6
15111else
15112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15113/* end confdefs.h. */
15114
15115 /* Test preprocessor. */
15116 #if ! (-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
15117 error in preprocessor;
15118 #endif
15119 #if ! (18446744073709551615ULL <= -1ull)
15120 error in preprocessor;
15121 #endif
15122 /* Test literals. */
15123 long long int ll = 9223372036854775807ll;
15124 long long int nll = -9223372036854775807LL;
15125 unsigned long long int ull = 18446744073709551615ULL;
15126 /* Test constant expressions. */
15127 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
15128 ? 1 : -1)];
15129 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
15130 ? 1 : -1)];
15131 int i = 63;
15132int
15133main ()
15134{
15135/* Test availability of runtime routines for shift and division. */
15136 long long int llmax = 9223372036854775807ll;
15137 unsigned long long int ullmax = 18446744073709551615ull;
15138 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
15139 | (llmax / ll) | (llmax % ll)
15140 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
15141 | (ullmax / ull) | (ullmax % ull));
15142 ;
15143 return 0;
15144}
15145
15146_ACEOF
15147if ac_fn_c_try_link "$LINENO"; then :
15148 if test "$cross_compiling" = yes; then :
15149 ac_cv_type_long_long_int=yes
15150else
15151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15152/* end confdefs.h. */
15153#include <limits.h>
15154 #ifndef LLONG_MAX
15155 # define HALF \
15156 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
15157 # define LLONG_MAX (HALF - 1 + HALF)
15158 #endif
15159int
15160main ()
15161{
15162long long int n = 1;
15163 int i;
15164 for (i = 0; ; i++)
15165 {
15166 long long int m = n << i;
15167 if (m >> i != n)
15168 return 1;
15169 if (LLONG_MAX / 2 < m)
15170 break;
15171 }
15172 return 0;
15173 ;
15174 return 0;
15175}
15176_ACEOF
15177if ac_fn_c_try_run "$LINENO"; then :
15178 ac_cv_type_long_long_int=yes
15179else
15180 ac_cv_type_long_long_int=no
15181fi
15182rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15183 conftest.$ac_objext conftest.beam conftest.$ac_ext
15184fi
15185
15186else
15187 ac_cv_type_long_long_int=no
15188fi
15189rm -f core conftest.err conftest.$ac_objext \
15190 conftest$ac_exeext conftest.$ac_ext
15191fi
15192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
15193$as_echo "$ac_cv_type_long_long_int" >&6; }
15194 if test $ac_cv_type_long_long_int = yes; then
15195
15196$as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
15197
15198 fi
15199
15200
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
15202$as_echo_n "checking for wchar_t... " >&6; }
15203if ${gt_cv_c_wchar_t+:} false; then :
15204 $as_echo_n "(cached) " >&6
15205else
15206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15207/* end confdefs.h. */
15208#include <stddef.h>
15209 wchar_t foo = (wchar_t)'\0';
15210int
15211main ()
15212{
15213
15214 ;
15215 return 0;
15216}
15217_ACEOF
15218if ac_fn_c_try_compile "$LINENO"; then :
15219 gt_cv_c_wchar_t=yes
15220else
15221 gt_cv_c_wchar_t=no
15222fi
15223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15224fi
15225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
15226$as_echo "$gt_cv_c_wchar_t" >&6; }
15227 if test $gt_cv_c_wchar_t = yes; then
15228
15229$as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
15230
15231 fi
15232
15233
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
15235$as_echo_n "checking for wint_t... " >&6; }
15236if ${gt_cv_c_wint_t+:} false; then :
15237 $as_echo_n "(cached) " >&6
15238else
15239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15240/* end confdefs.h. */
15241
15242/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
15243 <wchar.h>.
15244 BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
15245 before <wchar.h>. */
15246#include <stddef.h>
15247#include <stdio.h>
15248#include <time.h>
15249#include <wchar.h>
15250 wint_t foo = (wchar_t)'\0';
15251int
15252main ()
15253{
15254
15255 ;
15256 return 0;
15257}
15258_ACEOF
15259if ac_fn_c_try_compile "$LINENO"; then :
15260 gt_cv_c_wint_t=yes
15261else
15262 gt_cv_c_wint_t=no
15263fi
15264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15265fi
15266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
15267$as_echo "$gt_cv_c_wint_t" >&6; }
15268 if test $gt_cv_c_wint_t = yes; then
15269
15270$as_echo "#define HAVE_WINT_T 1" >>confdefs.h
15271
15272 fi
15273
15274
15275
15276
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
15278$as_echo_n "checking for intmax_t... " >&6; }
15279if ${gt_cv_c_intmax_t+:} false; then :
15280 $as_echo_n "(cached) " >&6
15281else
15282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15283/* end confdefs.h. */
15284
15285#include <stddef.h>
15286#include <stdlib.h>
15287#if HAVE_STDINT_H_WITH_UINTMAX
15288#include <stdint.h>
15289#endif
15290#if HAVE_INTTYPES_H_WITH_UINTMAX
15291#include <inttypes.h>
15292#endif
15293
15294int
15295main ()
15296{
15297intmax_t x = -1;
15298 return !x;
15299 ;
15300 return 0;
15301}
15302_ACEOF
15303if ac_fn_c_try_compile "$LINENO"; then :
15304 gt_cv_c_intmax_t=yes
15305else
15306 gt_cv_c_intmax_t=no
15307fi
15308rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15309fi
15310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5
15311$as_echo "$gt_cv_c_intmax_t" >&6; }
15312 if test $gt_cv_c_intmax_t = yes; then
15313
15314$as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h
15315
15316 fi
15317
15318
15319
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf() supports POSIX/XSI format strings" >&5
15321$as_echo_n "checking whether printf() supports POSIX/XSI format strings... " >&6; }
15322if ${gt_cv_func_printf_posix+:} false; then :
15323 $as_echo_n "(cached) " >&6
15324else
15325
15326 if test "$cross_compiling" = yes; then :
15327
15328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15329/* end confdefs.h. */
15330
15331#if defined __NetBSD__ || defined __BEOS__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
15332 notposix
15333#endif
15334
15335_ACEOF
15336if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15337 $EGREP "notposix" >/dev/null 2>&1; then :
15338 gt_cv_func_printf_posix="guessing no"
15339else
15340 gt_cv_func_printf_posix="guessing yes"
15341fi
15342rm -f conftest*
15343
15344
15345else
15346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15347/* end confdefs.h. */
15348
15349#include <stdio.h>
15350#include <string.h>
15351/* The string "%2$d %1$d", with dollar characters protected from the shell's
15352 dollar expansion (possibly an autoconf bug). */
15353static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
15354static char buf[100];
15355int main ()
15356{
15357 sprintf (buf, format, 33, 55);
15358 return (strcmp (buf, "55 33") != 0);
15359}
15360_ACEOF
15361if ac_fn_c_try_run "$LINENO"; then :
15362 gt_cv_func_printf_posix=yes
15363else
15364 gt_cv_func_printf_posix=no
15365fi
15366rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15367 conftest.$ac_objext conftest.beam conftest.$ac_ext
15368fi
15369
15370
15371fi
15372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_printf_posix" >&5
15373$as_echo "$gt_cv_func_printf_posix" >&6; }
15374 case $gt_cv_func_printf_posix in
15375 *yes)
15376
15377$as_echo "#define HAVE_POSIX_PRINTF 1" >>confdefs.h
15378
15379 ;;
15380 esac
15381
15382
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
15384$as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
15385if ${ac_cv_gnu_library_2_1+:} false; then :
15386 $as_echo_n "(cached) " >&6
15387else
15388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15389/* end confdefs.h. */
15390
15391#include <features.h>
15392#ifdef __GNU_LIBRARY__
15393 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
15394 Lucky GNU user
15395 #endif
15396#endif
15397
15398_ACEOF
15399if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15400 $EGREP "Lucky GNU user" >/dev/null 2>&1; then :
15401 ac_cv_gnu_library_2_1=yes
15402else
15403 ac_cv_gnu_library_2_1=no
15404fi
15405rm -f conftest*
15406
15407
15408
15409fi
15410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
15411$as_echo "$ac_cv_gnu_library_2_1" >&6; }
15412
15413 GLIBC21="$ac_cv_gnu_library_2_1"
15414
15415
15416
15417 for ac_header in stdint.h
15418do :
15419 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
15420if test "x$ac_cv_header_stdint_h" = xyes; then :
15421 cat >>confdefs.h <<_ACEOF
15422#define HAVE_STDINT_H 1
15423_ACEOF
15424
15425fi
15426
15427done
15428
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
15430$as_echo_n "checking for SIZE_MAX... " >&6; }
15431 if ${gl_cv_size_max+:} false; then :
15432 $as_echo_n "(cached) " >&6
15433else
15434
15435 gl_cv_size_max=
15436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15437/* end confdefs.h. */
15438
15439#include <limits.h>
15440#if HAVE_STDINT_H
15441#include <stdint.h>
15442#endif
15443#ifdef SIZE_MAX
15444Found it
15445#endif
15446
15447_ACEOF
15448if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15449 $EGREP "Found it" >/dev/null 2>&1; then :
15450 gl_cv_size_max=yes
15451fi
15452rm -f conftest*
15453
15454 if test -z "$gl_cv_size_max"; then
15455 if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1" "#include <stddef.h>
15456#include <limits.h>"; then :
15457
15458else
15459 size_t_bits_minus_1=
15460fi
15461
15462 if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include <stddef.h>"; then :
15463
15464else
15465 fits_in_uint=
15466fi
15467
15468 if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
15469 if test $fits_in_uint = 1; then
15470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15471/* end confdefs.h. */
15472#include <stddef.h>
15473 extern size_t foo;
15474 extern unsigned long foo;
15475
15476int
15477main ()
15478{
15479
15480 ;
15481 return 0;
15482}
15483_ACEOF
15484if ac_fn_c_try_compile "$LINENO"; then :
15485 fits_in_uint=0
15486fi
15487rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15488 fi
15489 if test $fits_in_uint = 1; then
15490 gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
15491 else
15492 gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
15493 fi
15494 else
15495 gl_cv_size_max='((size_t)~(size_t)0)'
15496 fi
15497 fi
15498
15499fi
15500
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5
15502$as_echo "$gl_cv_size_max" >&6; }
15503 if test "$gl_cv_size_max" != yes; then
15504
15505cat >>confdefs.h <<_ACEOF
15506#define SIZE_MAX $gl_cv_size_max
15507_ACEOF
15508
15509 fi
15510
15511
15512
15513
15514 for ac_header in stdint.h
15515do :
15516 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
15517if test "x$ac_cv_header_stdint_h" = xyes; then :
15518 cat >>confdefs.h <<_ACEOF
15519#define HAVE_STDINT_H 1
15520_ACEOF
15521
15522fi
15523
15524done
15525
15526
15527
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
15529$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
15530if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
15531 $as_echo_n "(cached) " >&6
15532else
15533 gt_save_LIBS="$LIBS"
15534 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15536/* end confdefs.h. */
15537#include <CoreFoundation/CFPreferences.h>
15538int
15539main ()
15540{
15541CFPreferencesCopyAppValue(NULL, NULL)
15542 ;
15543 return 0;
15544}
15545_ACEOF
15546if ac_fn_c_try_link "$LINENO"; then :
15547 gt_cv_func_CFPreferencesCopyAppValue=yes
15548else
15549 gt_cv_func_CFPreferencesCopyAppValue=no
15550fi
15551rm -f core conftest.err conftest.$ac_objext \
15552 conftest$ac_exeext conftest.$ac_ext
15553 LIBS="$gt_save_LIBS"
15554fi
15555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
15556$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
15557 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
15558
15559$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
15560
15561 fi
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
15563$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
15564if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
15565 $as_echo_n "(cached) " >&6
15566else
15567 gt_save_LIBS="$LIBS"
15568 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15570/* end confdefs.h. */
15571#include <CoreFoundation/CFLocale.h>
15572int
15573main ()
15574{
15575CFLocaleCopyCurrent();
15576 ;
15577 return 0;
15578}
15579_ACEOF
15580if ac_fn_c_try_link "$LINENO"; then :
15581 gt_cv_func_CFLocaleCopyCurrent=yes
15582else
15583 gt_cv_func_CFLocaleCopyCurrent=no
15584fi
15585rm -f core conftest.err conftest.$ac_objext \
15586 conftest$ac_exeext conftest.$ac_ext
15587 LIBS="$gt_save_LIBS"
15588fi
15589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
15590$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
15591 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15592
15593$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
15594
15595 fi
15596 INTL_MACOSX_LIBS=
15597 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15598 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
15599 fi
15600
15601
15602
15603
15604
15605
15606
15607 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15608if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
15609
15610else
15611
15612$as_echo "#define ptrdiff_t long" >>confdefs.h
15613
15614
15615fi
15616
15617 for ac_header in stddef.h stdlib.h string.h
15618do :
15619 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15620ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15621if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15622 cat >>confdefs.h <<_ACEOF
15623#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15624_ACEOF
15625
15626fi
15627
15628done
15629
15630 for ac_func in asprintf fwprintf putenv setenv setlocale snprintf wcslen
15631do :
15632 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15633ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15634if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15635 cat >>confdefs.h <<_ACEOF
15636#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15637_ACEOF
15638
15639fi
15640done
15641
15642
15643
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snprintf is declared" >&5
15645$as_echo_n "checking whether _snprintf is declared... " >&6; }
15646if ${ac_cv_have_decl__snprintf+:} false; then :
15647 $as_echo_n "(cached) " >&6
15648else
15649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15650/* end confdefs.h. */
15651#include <stdio.h>
15652int
15653main ()
15654{
15655
15656#ifndef _snprintf
15657 char *p = (char *) _snprintf;
15658#endif
15659
15660 ;
15661 return 0;
15662}
15663_ACEOF
15664if ac_fn_c_try_compile "$LINENO"; then :
15665 ac_cv_have_decl__snprintf=yes
15666else
15667 ac_cv_have_decl__snprintf=no
15668fi
15669rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15670fi
15671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snprintf" >&5
15672$as_echo "$ac_cv_have_decl__snprintf" >&6; }
15673 if test $ac_cv_have_decl__snprintf = yes; then
15674 gt_value=1
15675 else
15676 gt_value=0
15677 fi
15678
15679cat >>confdefs.h <<_ACEOF
15680#define HAVE_DECL__SNPRINTF $gt_value
15681_ACEOF
15682
15683
15684
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snwprintf is declared" >&5
15686$as_echo_n "checking whether _snwprintf is declared... " >&6; }
15687if ${ac_cv_have_decl__snwprintf+:} false; then :
15688 $as_echo_n "(cached) " >&6
15689else
15690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15691/* end confdefs.h. */
15692#include <stdio.h>
15693int
15694main ()
15695{
15696
15697#ifndef _snwprintf
15698 char *p = (char *) _snwprintf;
15699#endif
15700
15701 ;
15702 return 0;
15703}
15704_ACEOF
15705if ac_fn_c_try_compile "$LINENO"; then :
15706 ac_cv_have_decl__snwprintf=yes
15707else
15708 ac_cv_have_decl__snwprintf=no
15709fi
15710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15711fi
15712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snwprintf" >&5
15713$as_echo "$ac_cv_have_decl__snwprintf" >&6; }
15714 if test $ac_cv_have_decl__snwprintf = yes; then
15715 gt_value=1
15716 else
15717 gt_value=0
15718 fi
15719
15720cat >>confdefs.h <<_ACEOF
15721#define HAVE_DECL__SNWPRINTF $gt_value
15722_ACEOF
15723
15724
15725
15726
15727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getc_unlocked is declared" >&5
15728$as_echo_n "checking whether getc_unlocked is declared... " >&6; }
15729if ${ac_cv_have_decl_getc_unlocked+:} false; then :
15730 $as_echo_n "(cached) " >&6
15731else
15732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15733/* end confdefs.h. */
15734#include <stdio.h>
15735int
15736main ()
15737{
15738
15739#ifndef getc_unlocked
15740 char *p = (char *) getc_unlocked;
15741#endif
15742
15743 ;
15744 return 0;
15745}
15746_ACEOF
15747if ac_fn_c_try_compile "$LINENO"; then :
15748 ac_cv_have_decl_getc_unlocked=yes
15749else
15750 ac_cv_have_decl_getc_unlocked=no
15751fi
15752rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15753fi
15754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_getc_unlocked" >&5
15755$as_echo "$ac_cv_have_decl_getc_unlocked" >&6; }
15756 if test $ac_cv_have_decl_getc_unlocked = yes; then
15757 gt_value=1
15758 else
15759 gt_value=0
15760 fi
15761
15762cat >>confdefs.h <<_ACEOF
15763#define HAVE_DECL_GETC_UNLOCKED $gt_value
15764_ACEOF
15765
15766
15767
15768 case $gt_cv_func_printf_posix in
15769 *yes) HAVE_POSIX_PRINTF=1 ;;
15770 *) HAVE_POSIX_PRINTF=0 ;;
15771 esac
15772
15773 if test "$ac_cv_func_asprintf" = yes; then
15774 HAVE_ASPRINTF=1
15775 else
15776 HAVE_ASPRINTF=0
15777 fi
15778
15779 if test "$ac_cv_func_snprintf" = yes; then
15780 HAVE_SNPRINTF=1
15781 else
15782 HAVE_SNPRINTF=0
15783 fi
15784
15785 if test "$ac_cv_func_wprintf" = yes; then
15786 HAVE_WPRINTF=1
15787 else
15788 HAVE_WPRINTF=0
15789 fi
15790
15791
15792
15793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
15794$as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
15795if ${am_cv_langinfo_codeset+:} false; then :
15796 $as_echo_n "(cached) " >&6
15797else
15798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15799/* end confdefs.h. */
15800#include <langinfo.h>
15801int
15802main ()
15803{
15804char* cs = nl_langinfo(CODESET); return !cs;
15805 ;
15806 return 0;
15807}
15808_ACEOF
15809if ac_fn_c_try_link "$LINENO"; then :
15810 am_cv_langinfo_codeset=yes
15811else
15812 am_cv_langinfo_codeset=no
15813fi
15814rm -f core conftest.err conftest.$ac_objext \
15815 conftest$ac_exeext conftest.$ac_ext
15816
15817fi
15818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
15819$as_echo "$am_cv_langinfo_codeset" >&6; }
15820 if test $am_cv_langinfo_codeset = yes; then
15821
15822$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
15823
15824 fi
15825
15826
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
15828$as_echo_n "checking for LC_MESSAGES... " >&6; }
15829if ${gt_cv_val_LC_MESSAGES+:} false; then :
15830 $as_echo_n "(cached) " >&6
15831else
15832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15833/* end confdefs.h. */
15834#include <locale.h>
15835int
15836main ()
15837{
15838return LC_MESSAGES
15839 ;
15840 return 0;
15841}
15842_ACEOF
15843if ac_fn_c_try_link "$LINENO"; then :
15844 gt_cv_val_LC_MESSAGES=yes
15845else
15846 gt_cv_val_LC_MESSAGES=no
15847fi
15848rm -f core conftest.err conftest.$ac_objext \
15849 conftest$ac_exeext conftest.$ac_ext
15850fi
15851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_val_LC_MESSAGES" >&5
15852$as_echo "$gt_cv_val_LC_MESSAGES" >&6; }
15853 if test $gt_cv_val_LC_MESSAGES = yes; then
15854
15855$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
15856
15857 fi
15858
15859
15860 if test "$enable_shared" = yes; then
15861 case "$host_os" in
15862 mingw* | cygwin*) is_woe32dll=yes ;;
15863 *) is_woe32dll=no ;;
15864 esac
15865 else
15866 is_woe32dll=no
15867 fi
15868 WOE32DLL=$is_woe32dll
15869
15870
15871 case "$host_os" in
15872 mingw* | cygwin*) is_woe32=yes ;;
15873 *) is_woe32=no ;;
15874 esac
15875 WOE32=$is_woe32
15876
15877 if test $WOE32 = yes; then
15878 if test -n "$ac_tool_prefix"; then
15879 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15880set dummy ${ac_tool_prefix}windres; ac_word=$2
15881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15882$as_echo_n "checking for $ac_word... " >&6; }
15883if ${ac_cv_prog_WINDRES+:} false; then :
15884 $as_echo_n "(cached) " >&6
15885else
15886 if test -n "$WINDRES"; then
15887 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15888else
15889as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15890for as_dir in $PATH
15891do
15892 IFS=$as_save_IFS
15893 test -z "$as_dir" && as_dir=.
15894 for ac_exec_ext in '' $ac_executable_extensions; do
15895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15896 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15898 break 2
15899 fi
15900done
15901 done
15902IFS=$as_save_IFS
15903
15904fi
15905fi
15906WINDRES=$ac_cv_prog_WINDRES
15907if test -n "$WINDRES"; then
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
15909$as_echo "$WINDRES" >&6; }
15910else
15911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15912$as_echo "no" >&6; }
15913fi
15914
15915
15916fi
15917if test -z "$ac_cv_prog_WINDRES"; then
15918 ac_ct_WINDRES=$WINDRES
15919 # Extract the first word of "windres", so it can be a program name with args.
15920set dummy windres; ac_word=$2
15921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15922$as_echo_n "checking for $ac_word... " >&6; }
15923if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
15924 $as_echo_n "(cached) " >&6
15925else
15926 if test -n "$ac_ct_WINDRES"; then
15927 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15928else
15929as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15930for as_dir in $PATH
15931do
15932 IFS=$as_save_IFS
15933 test -z "$as_dir" && as_dir=.
15934 for ac_exec_ext in '' $ac_executable_extensions; do
15935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15936 ac_cv_prog_ac_ct_WINDRES="windres"
15937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15938 break 2
15939 fi
15940done
15941 done
15942IFS=$as_save_IFS
15943
15944fi
15945fi
15946ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15947if test -n "$ac_ct_WINDRES"; then
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
15949$as_echo "$ac_ct_WINDRES" >&6; }
15950else
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15952$as_echo "no" >&6; }
15953fi
15954
15955 if test "x$ac_ct_WINDRES" = x; then
15956 WINDRES=""
15957 else
15958 case $cross_compiling:$ac_tool_warned in
15959yes:)
15960{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15961$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15962ac_tool_warned=yes ;;
15963esac
15964 WINDRES=$ac_ct_WINDRES
15965 fi
15966else
15967 WINDRES="$ac_cv_prog_WINDRES"
15968fi
15969
15970 fi
15971
15972 case "$host_os" in
15973 hpux*) LTLIBC="" ;;
15974 *) LTLIBC="-lc" ;;
15975 esac
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
16003$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
16004if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
16005 $as_echo_n "(cached) " >&6
16006else
16007 gt_save_LIBS="$LIBS"
16008 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
16009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16010/* end confdefs.h. */
16011#include <CoreFoundation/CFPreferences.h>
16012int
16013main ()
16014{
16015CFPreferencesCopyAppValue(NULL, NULL)
16016 ;
16017 return 0;
16018}
16019_ACEOF
16020if ac_fn_c_try_link "$LINENO"; then :
16021 gt_cv_func_CFPreferencesCopyAppValue=yes
16022else
16023 gt_cv_func_CFPreferencesCopyAppValue=no
16024fi
16025rm -f core conftest.err conftest.$ac_objext \
16026 conftest$ac_exeext conftest.$ac_ext
16027 LIBS="$gt_save_LIBS"
16028fi
16029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
16030$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
16031 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
16032
16033$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
16034
16035 fi
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
16037$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
16038if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
16039 $as_echo_n "(cached) " >&6
16040else
16041 gt_save_LIBS="$LIBS"
16042 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
16043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16044/* end confdefs.h. */
16045#include <CoreFoundation/CFLocale.h>
16046int
16047main ()
16048{
16049CFLocaleCopyCurrent();
16050 ;
16051 return 0;
16052}
16053_ACEOF
16054if ac_fn_c_try_link "$LINENO"; then :
16055 gt_cv_func_CFLocaleCopyCurrent=yes
16056else
16057 gt_cv_func_CFLocaleCopyCurrent=no
16058fi
16059rm -f core conftest.err conftest.$ac_objext \
16060 conftest$ac_exeext conftest.$ac_ext
16061 LIBS="$gt_save_LIBS"
16062fi
16063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
16064$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
16065 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
16066
16067$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
16068
16069 fi
16070 INTL_MACOSX_LIBS=
16071 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
16072 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
16073 fi
16074
16075
16076
16077
16078
16079
16080 BUILD_INCLUDED_LIBINTL=no
16081 USE_INCLUDED_LIBINTL=no
16082
16083 LIBINTL=
16084 LTLIBINTL=
16085 POSUB=
16086
16087 case " $gt_needs " in
16088 *" need-formatstring-macros "*) gt_api_version=3 ;;
16089 *" need-ngettext "*) gt_api_version=2 ;;
16090 *) gt_api_version=1 ;;
16091 esac
16092 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
16093 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
16094
16095 if test "$USE_NLS" = "yes"; then
16096 gt_use_preinstalled_gnugettext=no
16097
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
16099$as_echo_n "checking whether included gettext is requested... " >&6; }
16100
16101# Check whether --with-included-gettext was given.
16102if test "${with_included_gettext+set}" = set; then :
16103 withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
16104else
16105 nls_cv_force_use_gnu_gettext=no
16106fi
16107
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
16109$as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
16110
16111 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
16112 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
16113
16114
16115 if test $gt_api_version -ge 3; then
16116 gt_revision_test_code='
16117#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
16118#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
16119#endif
16120typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
16121'
16122 else
16123 gt_revision_test_code=
16124 fi
16125 if test $gt_api_version -ge 2; then
16126 gt_expression_test_code=' + * ngettext ("", "", 0)'
16127 else
16128 gt_expression_test_code=
16129 fi
16130
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
16132$as_echo_n "checking for GNU gettext in libc... " >&6; }
16133if eval \${$gt_func_gnugettext_libc+:} false; then :
16134 $as_echo_n "(cached) " >&6
16135else
16136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16137/* end confdefs.h. */
16138#include <libintl.h>
16139$gt_revision_test_code
16140extern int _nl_msg_cat_cntr;
16141extern int *_nl_domain_bindings;
16142int
16143main ()
16144{
16145bindtextdomain ("", "");
16146return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
16147 ;
16148 return 0;
16149}
16150_ACEOF
16151if ac_fn_c_try_link "$LINENO"; then :
16152 eval "$gt_func_gnugettext_libc=yes"
16153else
16154 eval "$gt_func_gnugettext_libc=no"
16155fi
16156rm -f core conftest.err conftest.$ac_objext \
16157 conftest$ac_exeext conftest.$ac_ext
16158fi
16159eval ac_res=\$$gt_func_gnugettext_libc
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16161$as_echo "$ac_res" >&6; }
16162
16163 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
1616413083
1616513084
1616613085
@@ -16682,25 +13601,6 @@
16682 fi13601 fi
1668313602
1668413603
16685 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
16686 nls_cv_use_gnu_gettext=yes
16687 fi
16688 fi
16689
16690 if test "$nls_cv_use_gnu_gettext" = "yes"; then
16691 BUILD_INCLUDED_LIBINTL=yes
16692 USE_INCLUDED_LIBINTL=yes
16693 LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV $LIBTHREAD"
16694 LTLIBINTL="\${top_builddir}/intl/libintl.a $LTLIBICONV $LTLIBTHREAD"
16695 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
16696 fi
16697
16698 CATOBJEXT=
16699 if test "$gt_use_preinstalled_gnugettext" = "yes" \
16700 || test "$nls_cv_use_gnu_gettext" = "yes"; then
16701 CATOBJEXT=.gmo
16702 fi
16703
1670413604
16705 if test -n "$INTL_MACOSX_LIBS"; then13605 if test -n "$INTL_MACOSX_LIBS"; then
16706 if test "$gt_use_preinstalled_gnugettext" = "yes" \13606 if test "$gt_use_preinstalled_gnugettext" = "yes" \
@@ -16785,35 +13685,6 @@
16785 fi13685 fi
1678613686
1678713687
16788 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
16789 BUILD_INCLUDED_LIBINTL=yes
16790 fi
16791
16792
16793
16794
16795
16796 nls_cv_header_intl=
16797 nls_cv_header_libgt=
16798
16799 DATADIRNAME=share
16800
16801
16802 INSTOBJEXT=.mo
16803
16804
16805 GENCAT=gencat
16806
16807
16808 INTLOBJS=
16809 if test "$USE_INCLUDED_LIBINTL" = yes; then
16810 INTLOBJS="\$(GETTOBJS)"
16811 fi
16812
16813
16814 INTL_LIBTOOL_SUFFIX_PREFIX=
16815
16816
1681713688
16818 INTLLIBS="$LIBINTL"13689 INTLLIBS="$LIBINTL"
1681913690
@@ -18070,6 +14941,111 @@
18070fi14941fi
1807114942
1807214943
14944# Check whether --enable-selinux was given.
14945if test "${enable_selinux+set}" = set; then :
14946 enableval=$enable_selinux;
14947else
14948 enable_selinux=no
14949fi
14950
14951
14952if test "x$enable_selinux" = "xyes" ; then
14953
14954pkg_failed=no
14955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SELINUX" >&5
14956$as_echo_n "checking for SELINUX... " >&6; }
14957
14958if test -n "$SELINUX_CFLAGS"; then
14959 pkg_cv_SELINUX_CFLAGS="$SELINUX_CFLAGS"
14960 elif test -n "$PKG_CONFIG"; then
14961 if test -n "$PKG_CONFIG" && \
14962 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5
14963 ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5
14964 ac_status=$?
14965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14966 test $ac_status = 0; }; then
14967 pkg_cv_SELINUX_CFLAGS=`$PKG_CONFIG --cflags "libselinux" 2>/dev/null`
14968 test "x$?" != "x0" && pkg_failed=yes
14969else
14970 pkg_failed=yes
14971fi
14972 else
14973 pkg_failed=untried
14974fi
14975if test -n "$SELINUX_LIBS"; then
14976 pkg_cv_SELINUX_LIBS="$SELINUX_LIBS"
14977 elif test -n "$PKG_CONFIG"; then
14978 if test -n "$PKG_CONFIG" && \
14979 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5
14980 ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5
14981 ac_status=$?
14982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14983 test $ac_status = 0; }; then
14984 pkg_cv_SELINUX_LIBS=`$PKG_CONFIG --libs "libselinux" 2>/dev/null`
14985 test "x$?" != "x0" && pkg_failed=yes
14986else
14987 pkg_failed=yes
14988fi
14989 else
14990 pkg_failed=untried
14991fi
14992
14993
14994
14995if test $pkg_failed = yes; then
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14997$as_echo "no" >&6; }
14998
14999if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15000 _pkg_short_errors_supported=yes
15001else
15002 _pkg_short_errors_supported=no
15003fi
15004 if test $_pkg_short_errors_supported = yes; then
15005 SELINUX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libselinux" 2>&1`
15006 else
15007 SELINUX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libselinux" 2>&1`
15008 fi
15009 # Put the nasty error message in config.log where it belongs
15010 echo "$SELINUX_PKG_ERRORS" >&5
15011
15012 as_fn_error $? "Package requirements (libselinux) were not met:
15013
15014$SELINUX_PKG_ERRORS
15015
15016Consider adjusting the PKG_CONFIG_PATH environment variable if you
15017installed software in a non-standard prefix.
15018
15019Alternatively, you may set the environment variables SELINUX_CFLAGS
15020and SELINUX_LIBS to avoid the need to call pkg-config.
15021See the pkg-config man page for more details." "$LINENO" 5
15022elif test $pkg_failed = untried; then
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15024$as_echo "no" >&6; }
15025 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15026$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15027as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15028is in your PATH or set the PKG_CONFIG environment variable to the full
15029path to pkg-config.
15030
15031Alternatively, you may set the environment variables SELINUX_CFLAGS
15032and SELINUX_LIBS to avoid the need to call pkg-config.
15033See the pkg-config man page for more details.
15034
15035To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15036See \`config.log' for more details" "$LINENO" 5; }
15037else
15038 SELINUX_CFLAGS=$pkg_cv_SELINUX_CFLAGS
15039 SELINUX_LIBS=$pkg_cv_SELINUX_LIBS
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15041$as_echo "yes" >&6; }
15042
15043fi
15044
15045$as_echo "#define HAVE_SELINUX 1" >>confdefs.h
15046
15047fi
15048
18073# Checks for header files.15049# Checks for header files.
18074for ac_header in valgrind/valgrind.h, sys/prctl.h15050for ac_header in valgrind/valgrind.h, sys/prctl.h
18075do :15051do :
@@ -18740,7 +15716,7 @@
1874015716
1874115717
1874215718
18743ac_config_files="$ac_config_files Makefile intl/Makefile dbus/Makefile init/Makefile util/Makefile conf/Makefile extra/Makefile doc/Makefile contrib/Makefile po/Makefile.in scripts/Makefile scripts/data/Makefile test/Makefile lib/Makefile lib/libupstart.pc"15719ac_config_files="$ac_config_files Makefile dbus/Makefile init/Makefile util/Makefile conf/Makefile extra/Makefile doc/Makefile contrib/Makefile po/Makefile.in scripts/Makefile scripts/data/Makefile test/Makefile lib/Makefile lib/libupstart.pc.in"
1874415720
18745ac_config_headers="$ac_config_headers config.h"15721ac_config_headers="$ac_config_headers config.h"
1874615722
@@ -19286,7 +16262,7 @@
19286# report actual input values of CONFIG_FILES etc. instead of their16262# report actual input values of CONFIG_FILES etc. instead of their
19287# values after options handling.16263# values after options handling.
19288ac_log="16264ac_log="
19289This file was extended by upstart $as_me 1.9, which was16265This file was extended by upstart $as_me 1.9.1, which was
19290generated by GNU Autoconf 2.69. Invocation command line was16266generated by GNU Autoconf 2.69. Invocation command line was
1929116267
19292 CONFIG_FILES = $CONFIG_FILES16268 CONFIG_FILES = $CONFIG_FILES
@@ -19352,7 +16328,7 @@
19352cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=116328cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19353ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"16329ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19354ac_cs_version="\\16330ac_cs_version="\\
19355upstart config.status 1.916331upstart config.status 1.9.1
19356configured by $0, generated by GNU Autoconf 2.69,16332configured by $0, generated by GNU Autoconf 2.69,
19357 with options \\"\$ac_cs_config\\"16333 with options \\"\$ac_cs_config\\"
1935816334
@@ -19769,7 +16745,6 @@
19769 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;16745 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
19770 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;16746 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
19771 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;16747 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19772 "intl/Makefile") CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
19773 "dbus/Makefile") CONFIG_FILES="$CONFIG_FILES dbus/Makefile" ;;16748 "dbus/Makefile") CONFIG_FILES="$CONFIG_FILES dbus/Makefile" ;;
19774 "init/Makefile") CONFIG_FILES="$CONFIG_FILES init/Makefile" ;;16749 "init/Makefile") CONFIG_FILES="$CONFIG_FILES init/Makefile" ;;
19775 "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;16750 "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
@@ -19782,7 +16757,7 @@
19782 "scripts/data/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/data/Makefile" ;;16757 "scripts/data/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/data/Makefile" ;;
19783 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;16758 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
19784 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;16759 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
19785 "lib/libupstart.pc") CONFIG_FILES="$CONFIG_FILES lib/libupstart.pc" ;;16760 "lib/libupstart.pc.in") CONFIG_FILES="$CONFIG_FILES lib/libupstart.pc.in" ;;
19786 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;16761 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
1978716762
19788 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;16763 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1978916764
=== modified file 'configure.ac'
--- configure.ac 2013-06-28 15:57:37 +0000
+++ configure.ac 2013-07-08 13:07:28 +0000
@@ -1,7 +1,7 @@
1# Process this file with autoconf to produce a configure script.1# Process this file with autoconf to produce a configure script.
22
3AC_PREREQ(2.61)3AC_PREREQ(2.61)
4AC_INIT([upstart], [1.9], [upstart-devel@lists.ubuntu.com])4AC_INIT([upstart], [1.9.1], [upstart-devel@lists.ubuntu.com])
5NIH_COPYRIGHT([[Copyright © 2013 Scott James Remnant, Canonical Ltd.]])5NIH_COPYRIGHT([[Copyright © 2013 Scott James Remnant, Canonical Ltd.]])
6AC_CONFIG_SRCDIR([init/main.c])6AC_CONFIG_SRCDIR([init/main.c])
7AC_CONFIG_MACRO_DIR([m4])7AC_CONFIG_MACRO_DIR([m4])
@@ -16,7 +16,7 @@
16LT_INIT16LT_INIT
1717
18AM_GNU_GETTEXT_VERSION([0.17])18AM_GNU_GETTEXT_VERSION([0.17])
19AM_GNU_GETTEXT()19AM_GNU_GETTEXT([external])
2020
21# Checks for programs.21# Checks for programs.
22AC_PROG_CC22AC_PROG_CC
@@ -118,10 +118,10 @@
118NIH_LINKER_OPTIMISATIONS118NIH_LINKER_OPTIMISATIONS
119119
120120
121AC_CONFIG_FILES([ Makefile intl/Makefile121AC_CONFIG_FILES([ Makefile
122 dbus/Makefile init/Makefile util/Makefile conf/Makefile122 dbus/Makefile init/Makefile util/Makefile conf/Makefile
123 extra/Makefile doc/Makefile contrib/Makefile po/Makefile.in123 extra/Makefile doc/Makefile contrib/Makefile po/Makefile.in
124 scripts/Makefile scripts/data/Makefile124 scripts/Makefile scripts/data/Makefile
125 test/Makefile lib/Makefile lib/libupstart.pc ])125 test/Makefile lib/Makefile lib/libupstart.pc.in ])
126AC_CONFIG_HEADERS([config.h])126AC_CONFIG_HEADERS([config.h])
127AC_OUTPUT127AC_OUTPUT
128128
=== modified file 'contrib/Makefile.in'
--- contrib/Makefile.in 2013-06-28 15:36:50 +0000
+++ contrib/Makefile.in 2013-07-08 13:07:28 +0000
@@ -80,25 +80,15 @@
80subdir = contrib80subdir = contrib
81DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am81DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
82ACLOCAL_M4 = $(top_srcdir)/aclocal.m482ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
83am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \83am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
84 $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc2.m4 \84 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
85 $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/iconv.m4 \
86 $(top_srcdir)/m4/intdiv0.m4 $(top_srcdir)/m4/intl.m4 \
87 $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax.m4 \
88 $(top_srcdir)/m4/inttypes-pri.m4 \
89 $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lcmessage.m4 \
90 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \85 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
91 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libnih.m4 \86 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libnih.m4 \
92 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/lock.m4 \87 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
93 $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/ltoptions.m4 \
94 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \88 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
95 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \89 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
96 $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/po.m4 \90 $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/po.m4 \
97 $(top_srcdir)/m4/printf-posix.m4 $(top_srcdir)/m4/progtest.m4 \91 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
98 $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \
99 $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/visibility.m4 \
100 $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \
101 $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/configure.ac
102am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \92am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
103 $(ACLOCAL_M4)93 $(ACLOCAL_M4)
104mkinstalldirs = $(install_sh) -d94mkinstalldirs = $(install_sh) -d
@@ -128,7 +118,6 @@
128DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)118DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
129ABI_COMPLIANCE_CHECKER = @ABI_COMPLIANCE_CHECKER@119ABI_COMPLIANCE_CHECKER = @ABI_COMPLIANCE_CHECKER@
130ACLOCAL = @ACLOCAL@120ACLOCAL = @ACLOCAL@
131ALLOCA = @ALLOCA@
132AMTAR = @AMTAR@121AMTAR = @AMTAR@
133AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@122AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
134AR = @AR@123AR = @AR@
@@ -136,16 +125,12 @@
136AUTOHEADER = @AUTOHEADER@125AUTOHEADER = @AUTOHEADER@
137AUTOMAKE = @AUTOMAKE@126AUTOMAKE = @AUTOMAKE@
138AWK = @AWK@127AWK = @AWK@
139BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
140CATOBJEXT = @CATOBJEXT@
141CC = @CC@128CC = @CC@
142CCDEPMODE = @CCDEPMODE@129CCDEPMODE = @CCDEPMODE@
143CFLAGS = @CFLAGS@130CFLAGS = @CFLAGS@
144CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
145CPP = @CPP@131CPP = @CPP@
146CPPFLAGS = @CPPFLAGS@132CPPFLAGS = @CPPFLAGS@
147CYGPATH_W = @CYGPATH_W@133CYGPATH_W = @CYGPATH_W@
148DATADIRNAME = @DATADIRNAME@
149DBUS_CFLAGS = @DBUS_CFLAGS@134DBUS_CFLAGS = @DBUS_CFLAGS@
150DBUS_LIBS = @DBUS_LIBS@135DBUS_LIBS = @DBUS_LIBS@
151DEFS = @DEFS@136DEFS = @DEFS@
@@ -159,28 +144,16 @@
159EGREP = @EGREP@144EGREP = @EGREP@
160EXEEXT = @EXEEXT@145EXEEXT = @EXEEXT@
161FGREP = @FGREP@146FGREP = @FGREP@
162GENCAT = @GENCAT@
163GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@147GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
164GLIBC2 = @GLIBC2@
165GLIBC21 = @GLIBC21@
166GMSGFMT = @GMSGFMT@148GMSGFMT = @GMSGFMT@
167GMSGFMT_015 = @GMSGFMT_015@149GMSGFMT_015 = @GMSGFMT_015@
168GREP = @GREP@150GREP = @GREP@
169HAVE_ASPRINTF = @HAVE_ASPRINTF@
170HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
171HAVE_SNPRINTF = @HAVE_SNPRINTF@
172HAVE_VISIBILITY = @HAVE_VISIBILITY@
173HAVE_WPRINTF = @HAVE_WPRINTF@
174INSTALL = @INSTALL@151INSTALL = @INSTALL@
175INSTALL_DATA = @INSTALL_DATA@152INSTALL_DATA = @INSTALL_DATA@
176INSTALL_PROGRAM = @INSTALL_PROGRAM@153INSTALL_PROGRAM = @INSTALL_PROGRAM@
177INSTALL_SCRIPT = @INSTALL_SCRIPT@154INSTALL_SCRIPT = @INSTALL_SCRIPT@
178INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@155INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
179INSTOBJEXT = @INSTOBJEXT@
180INTLBISON = @INTLBISON@
181INTLLIBS = @INTLLIBS@156INTLLIBS = @INTLLIBS@
182INTLOBJS = @INTLOBJS@
183INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
184INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@157INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
185JSON_CFLAGS = @JSON_CFLAGS@158JSON_CFLAGS = @JSON_CFLAGS@
186JSON_LIBS = @JSON_LIBS@159JSON_LIBS = @JSON_LIBS@
@@ -188,22 +161,14 @@
188LDFLAGS = @LDFLAGS@161LDFLAGS = @LDFLAGS@
189LIBICONV = @LIBICONV@162LIBICONV = @LIBICONV@
190LIBINTL = @LIBINTL@163LIBINTL = @LIBINTL@
191LIBMULTITHREAD = @LIBMULTITHREAD@
192LIBOBJS = @LIBOBJS@164LIBOBJS = @LIBOBJS@
193LIBPTH = @LIBPTH@
194LIBPTH_PREFIX = @LIBPTH_PREFIX@
195LIBS = @LIBS@165LIBS = @LIBS@
196LIBTHREAD = @LIBTHREAD@
197LIBTOOL = @LIBTOOL@166LIBTOOL = @LIBTOOL@
198LIPO = @LIPO@167LIPO = @LIPO@
199LN_S = @LN_S@168LN_S = @LN_S@
200LTLIBC = @LTLIBC@
201LTLIBICONV = @LTLIBICONV@169LTLIBICONV = @LTLIBICONV@
202LTLIBINTL = @LTLIBINTL@170LTLIBINTL = @LTLIBINTL@
203LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
204LTLIBOBJS = @LTLIBOBJS@171LTLIBOBJS = @LTLIBOBJS@
205LTLIBPTH = @LTLIBPTH@
206LTLIBTHREAD = @LTLIBTHREAD@
207MAINT = @MAINT@172MAINT = @MAINT@
208MAKEINFO = @MAKEINFO@173MAKEINFO = @MAKEINFO@
209MANIFEST_TOOL = @MANIFEST_TOOL@174MANIFEST_TOOL = @MANIFEST_TOOL@
@@ -235,20 +200,17 @@
235PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@200PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
236PKG_CONFIG_PATH = @PKG_CONFIG_PATH@201PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
237POSUB = @POSUB@202POSUB = @POSUB@
238PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@
239RANLIB = @RANLIB@203RANLIB = @RANLIB@
240SED = @SED@204SED = @SED@
205SELINUX_CFLAGS = @SELINUX_CFLAGS@
206SELINUX_LIBS = @SELINUX_LIBS@
241SET_MAKE = @SET_MAKE@207SET_MAKE = @SET_MAKE@
242SHELL = @SHELL@208SHELL = @SHELL@
243STRIP = @STRIP@209STRIP = @STRIP@
244UDEV_CFLAGS = @UDEV_CFLAGS@210UDEV_CFLAGS = @UDEV_CFLAGS@
245UDEV_LIBS = @UDEV_LIBS@211UDEV_LIBS = @UDEV_LIBS@
246USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
247USE_NLS = @USE_NLS@212USE_NLS = @USE_NLS@
248VERSION = @VERSION@213VERSION = @VERSION@
249WINDRES = @WINDRES@
250WOE32 = @WOE32@
251WOE32DLL = @WOE32DLL@
252XGETTEXT = @XGETTEXT@214XGETTEXT = @XGETTEXT@
253XGETTEXT_015 = @XGETTEXT_015@215XGETTEXT_015 = @XGETTEXT_015@
254XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@216XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
255217
=== modified file 'dbus/Makefile.in'
--- dbus/Makefile.in 2013-06-28 15:36:50 +0000
+++ dbus/Makefile.in 2013-07-08 13:07:28 +0000
@@ -82,25 +82,15 @@
82DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \82DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
83 $(dist_dbus1system_DATA)83 $(dist_dbus1system_DATA)
84ACLOCAL_M4 = $(top_srcdir)/aclocal.m484ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
85am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \85am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
86 $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc2.m4 \86 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
87 $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/iconv.m4 \
88 $(top_srcdir)/m4/intdiv0.m4 $(top_srcdir)/m4/intl.m4 \
89 $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax.m4 \
90 $(top_srcdir)/m4/inttypes-pri.m4 \
91 $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lcmessage.m4 \
92 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \87 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
93 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libnih.m4 \88 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libnih.m4 \
94 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/lock.m4 \89 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
95 $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/ltoptions.m4 \
96 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \90 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
97 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \91 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
98 $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/po.m4 \92 $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/po.m4 \
99 $(top_srcdir)/m4/printf-posix.m4 $(top_srcdir)/m4/progtest.m4 \93 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
100 $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \
101 $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/visibility.m4 \
102 $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \
103 $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/configure.ac
104am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \94am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
105 $(ACLOCAL_M4)95 $(ACLOCAL_M4)
106mkinstalldirs = $(install_sh) -d96mkinstalldirs = $(install_sh) -d
@@ -159,7 +149,6 @@
159DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)149DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
160ABI_COMPLIANCE_CHECKER = @ABI_COMPLIANCE_CHECKER@150ABI_COMPLIANCE_CHECKER = @ABI_COMPLIANCE_CHECKER@
161ACLOCAL = @ACLOCAL@151ACLOCAL = @ACLOCAL@
162ALLOCA = @ALLOCA@
163AMTAR = @AMTAR@152AMTAR = @AMTAR@
164AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@153AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
165AR = @AR@154AR = @AR@
@@ -167,16 +156,12 @@
167AUTOHEADER = @AUTOHEADER@156AUTOHEADER = @AUTOHEADER@
168AUTOMAKE = @AUTOMAKE@157AUTOMAKE = @AUTOMAKE@
169AWK = @AWK@158AWK = @AWK@
170BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
171CATOBJEXT = @CATOBJEXT@
172CC = @CC@159CC = @CC@
173CCDEPMODE = @CCDEPMODE@160CCDEPMODE = @CCDEPMODE@
174CFLAGS = @CFLAGS@161CFLAGS = @CFLAGS@
175CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
176CPP = @CPP@162CPP = @CPP@
177CPPFLAGS = @CPPFLAGS@163CPPFLAGS = @CPPFLAGS@
178CYGPATH_W = @CYGPATH_W@164CYGPATH_W = @CYGPATH_W@
179DATADIRNAME = @DATADIRNAME@
180DBUS_CFLAGS = @DBUS_CFLAGS@165DBUS_CFLAGS = @DBUS_CFLAGS@
181DBUS_LIBS = @DBUS_LIBS@166DBUS_LIBS = @DBUS_LIBS@
182DEFS = @DEFS@167DEFS = @DEFS@
@@ -190,28 +175,16 @@
190EGREP = @EGREP@175EGREP = @EGREP@
191EXEEXT = @EXEEXT@176EXEEXT = @EXEEXT@
192FGREP = @FGREP@177FGREP = @FGREP@
193GENCAT = @GENCAT@
194GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@178GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
195GLIBC2 = @GLIBC2@
196GLIBC21 = @GLIBC21@
197GMSGFMT = @GMSGFMT@179GMSGFMT = @GMSGFMT@
198GMSGFMT_015 = @GMSGFMT_015@180GMSGFMT_015 = @GMSGFMT_015@
199GREP = @GREP@181GREP = @GREP@
200HAVE_ASPRINTF = @HAVE_ASPRINTF@
201HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
202HAVE_SNPRINTF = @HAVE_SNPRINTF@
203HAVE_VISIBILITY = @HAVE_VISIBILITY@
204HAVE_WPRINTF = @HAVE_WPRINTF@
205INSTALL = @INSTALL@182INSTALL = @INSTALL@
206INSTALL_DATA = @INSTALL_DATA@183INSTALL_DATA = @INSTALL_DATA@
207INSTALL_PROGRAM = @INSTALL_PROGRAM@184INSTALL_PROGRAM = @INSTALL_PROGRAM@
208INSTALL_SCRIPT = @INSTALL_SCRIPT@185INSTALL_SCRIPT = @INSTALL_SCRIPT@
209INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@186INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
210INSTOBJEXT = @INSTOBJEXT@
211INTLBISON = @INTLBISON@
212INTLLIBS = @INTLLIBS@187INTLLIBS = @INTLLIBS@
213INTLOBJS = @INTLOBJS@
214INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
215INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@188INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
216JSON_CFLAGS = @JSON_CFLAGS@189JSON_CFLAGS = @JSON_CFLAGS@
217JSON_LIBS = @JSON_LIBS@190JSON_LIBS = @JSON_LIBS@
@@ -219,22 +192,14 @@
219LDFLAGS = @LDFLAGS@192LDFLAGS = @LDFLAGS@
220LIBICONV = @LIBICONV@193LIBICONV = @LIBICONV@
221LIBINTL = @LIBINTL@194LIBINTL = @LIBINTL@
222LIBMULTITHREAD = @LIBMULTITHREAD@
223LIBOBJS = @LIBOBJS@195LIBOBJS = @LIBOBJS@
224LIBPTH = @LIBPTH@
225LIBPTH_PREFIX = @LIBPTH_PREFIX@
226LIBS = @LIBS@196LIBS = @LIBS@
227LIBTHREAD = @LIBTHREAD@
228LIBTOOL = @LIBTOOL@197LIBTOOL = @LIBTOOL@
229LIPO = @LIPO@198LIPO = @LIPO@
230LN_S = @LN_S@199LN_S = @LN_S@
231LTLIBC = @LTLIBC@
232LTLIBICONV = @LTLIBICONV@200LTLIBICONV = @LTLIBICONV@
233LTLIBINTL = @LTLIBINTL@201LTLIBINTL = @LTLIBINTL@
234LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
235LTLIBOBJS = @LTLIBOBJS@202LTLIBOBJS = @LTLIBOBJS@
236LTLIBPTH = @LTLIBPTH@
237LTLIBTHREAD = @LTLIBTHREAD@
238MAINT = @MAINT@203MAINT = @MAINT@
239MAKEINFO = @MAKEINFO@204MAKEINFO = @MAKEINFO@
240MANIFEST_TOOL = @MANIFEST_TOOL@205MANIFEST_TOOL = @MANIFEST_TOOL@
@@ -266,20 +231,17 @@
266PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@231PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
267PKG_CONFIG_PATH = @PKG_CONFIG_PATH@232PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
268POSUB = @POSUB@233POSUB = @POSUB@
269PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@
270RANLIB = @RANLIB@234RANLIB = @RANLIB@
271SED = @SED@235SED = @SED@
236SELINUX_CFLAGS = @SELINUX_CFLAGS@
237SELINUX_LIBS = @SELINUX_LIBS@
272SET_MAKE = @SET_MAKE@238SET_MAKE = @SET_MAKE@
273SHELL = @SHELL@239SHELL = @SHELL@
274STRIP = @STRIP@240STRIP = @STRIP@
275UDEV_CFLAGS = @UDEV_CFLAGS@241UDEV_CFLAGS = @UDEV_CFLAGS@
276UDEV_LIBS = @UDEV_LIBS@242UDEV_LIBS = @UDEV_LIBS@
277USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
278USE_NLS = @USE_NLS@243USE_NLS = @USE_NLS@
279VERSION = @VERSION@244VERSION = @VERSION@
280WINDRES = @WINDRES@
281WOE32 = @WOE32@
282WOE32DLL = @WOE32DLL@
283XGETTEXT = @XGETTEXT@245XGETTEXT = @XGETTEXT@
284XGETTEXT_015 = @XGETTEXT_015@246XGETTEXT_015 = @XGETTEXT_015@
285XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@247XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
286248
=== modified file 'debian/changelog'
--- debian/changelog 2013-07-03 11:28:37 +0000
+++ debian/changelog 2013-07-08 13:07:28 +0000
@@ -1,11 +1,22 @@
1upstart (1.9-0ubuntu3) UNRELEASED; urgency=low1upstart (1.9.1-0ubuntu1) saucy; urgency=low
22
3 * debian/upstart.apport:3 * debian/upstart.apport:
4 - Added session count to report ('UpstartRunningSessionCount').4 - Added session count to report ('UpstartRunningSessionCount').
5 - Join Upstart session to ensure 'UpstartRunningSessionJobs' shows5 - Join Upstart session to ensure 'UpstartRunningSessionJobs' shows
6 session jobs and doesn't default to showing system ones.6 session jobs and doesn't default to showing system ones.
7 * debian/copyright: Update year.
8 * New upstream release.
9 * debian/{control,libupstart*}: Add libupstart packaging.
10 * debian/rules:
11 - Delete upstart-dbus-bridge.conf to avoid running it at the system level.
12 - Install libupstart.pc to correct multi-arch location.
13 * debian/upstart.postinst: Handle safe removal of
14 upstart-dbus-bridge.conf (which is not used at the system level).
15 * debian/control: Add build-depends on automake >= 1.12 for serial-tests
16 in configure.ac (LP: #1197529).
17 * debian/libupstart-dev.install: Specify wildcarded path (for multi-arch).
718
8 -- James Hunt <james.hunt@ubuntu.com> Wed, 03 Jul 2013 12:27:36 +010019 -- James Hunt <james.hunt@ubuntu.com> Mon, 08 Jul 2013 14:04:28 +0100
920
10upstart (1.9-0ubuntu2) saucy; urgency=low21upstart (1.9-0ubuntu2) saucy; urgency=low
1122
1223
=== modified file 'debian/control'
--- debian/control 2013-03-26 15:13:08 +0000
+++ debian/control 2013-07-08 13:07:28 +0000
@@ -4,7 +4,7 @@
4Maintainer: James Hunt <james.hunt@ubuntu.com>4Maintainer: James Hunt <james.hunt@ubuntu.com>
5Uploaders: Scott James Remnant <scott@ubuntu.com>5Uploaders: Scott James Remnant <scott@ubuntu.com>
6Standards-Version: 3.8.46Standards-Version: 3.8.4
7Build-Depends: debhelper (>= 9), pkg-config (>= 0.22), libnih-dev (>= 1.0.3), libnih-dbus-dev (>= 1.0.3), nih-dbus-tool (>= 1.0.3), libdbus-1-dev (>= 1.2.16), libexpat1-dev (>= 2.0.0), libudev-dev (>= 151-5), libjson0-dev (>= 0.10), dbus, bash-completion, dh-autoreconf, autopoint, python37Build-Depends: debhelper (>= 9), pkg-config (>= 0.22), libnih-dev (>= 1.0.3), libnih-dbus-dev (>= 1.0.3), nih-dbus-tool (>= 1.0.3), libdbus-1-dev (>= 1.2.16), libexpat1-dev (>= 2.0.0), libudev-dev (>= 151-5), libjson0-dev (>= 0.10), dbus, bash-completion, dh-autoreconf, autopoint, python3, automake (>= 1.12)
8X-Python3-Version: 3.38X-Python3-Version: 3.3
9XS-Debian-Vcs-Bzr: nosmart+http://bzr.debian.org/bzr/collab-maint/upstart/trunk/9XS-Debian-Vcs-Bzr: nosmart+http://bzr.debian.org/bzr/collab-maint/upstart/trunk/
10XS-Debian-Vcs-Browser: http://anonscm.debian.org/loggerhead/collab-maint/upstart/trunk/10XS-Debian-Vcs-Browser: http://anonscm.debian.org/loggerhead/collab-maint/upstart/trunk/
@@ -36,3 +36,28 @@
36 command-line tool or as a graphical one that displays upstart36 command-line tool or as a graphical one that displays upstart
37 events as they are emitted. It is useful for observing system37 events as they are emitted. It is useful for observing system
38 changes and for determining appropriate events for new jobs.38 changes and for determining appropriate events for new jobs.
39
40Package: libupstart1
41Priority: optional
42Architecture: any
43Pre-Depends: ${misc:Pre-Depends}
44Depends: ${misc:Depends}, ${shlibs:Depends}
45Multi-Arch: same
46Description: Upstart Client Library
47 The libupstart library allows access to services provided by the Upstart init
48 daemon without having to use low-level D-Bus calls.
49 .
50 This package contains the shared library.
51
52Package: libupstart-dev
53Priority: optional
54Section: libdevel
55Architecture: any
56Multi-Arch: same
57Depends: libupstart1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
58Description: Upstart Client Library (development files)
59 The libupstart library allows access to services provided by the Upstart init
60 daemon without having to use low-level D-Bus calls.
61 .
62 This package contains the static library and C header files which are
63 needed for developing software using libupstart.
3964
=== modified file 'debian/copyright'
--- debian/copyright 2012-12-08 00:25:38 +0000
+++ debian/copyright 2013-07-08 13:07:28 +0000
@@ -4,7 +4,7 @@
4Source: http://http://launchpad.net/upstart4Source: http://http://launchpad.net/upstart
55
6Files: *6Files: *
7Copyright: 2009-2012 Canonical Ltd.7Copyright: 2009-2013 Canonical Ltd.
8License: GPL-28License: GPL-2
9 This program is free software; you can redistribute it and/or modify9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License version 2, as10 it under the terms of the GNU General Public License version 2, as
1111
=== added file 'debian/libupstart-dev.install'
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: