Merge lp:~noskcaj/ubuntu/trusty/sensors-applet/merge into lp:ubuntu/trusty/sensors-applet

Proposed by Jackson Doak
Status: Merged
Merge reported by: Robie Basak
Merged at revision: not available
Proposed branch: lp:~noskcaj/ubuntu/trusty/sensors-applet/merge
Merge into: lp:ubuntu/trusty/sensors-applet
Diff against target: 60624 lines (+744/-58658)
109 files modified
.gitignore (+20/-0)
.pc/.quilt_patches (+0/-1)
.pc/.quilt_series (+0/-1)
.pc/.version (+0/-1)
.pc/applied-patches (+0/-1)
.pc/xmllint-nonet.patch/help/Makefile.in (+0/-973)
INSTALL (+0/-365)
Makefile.in (+0/-886)
aclocal.m4 (+0/-10496)
autogen.sh (+21/-0)
config.guess (+0/-1517)
config.sub (+0/-1760)
configure (+0/-16585)
configure.ac (+1/-1)
debian/changelog (+60/-0)
debian/compat (+1/-1)
debian/control (+3/-2)
debian/copyright (+3/-1)
debian/libsensors-applet-plugin-dev.install (+1/-1)
debian/libsensors-applet-plugin0.install (+2/-2)
debian/patches/series (+0/-2)
debian/patches/xmllint-nonet.patch (+0/-19)
debian/rules (+17/-22)
debian/sensors-applet.install (+2/-2)
depcomp (+0/-630)
gnome-doc-utils.make (+0/-655)
help/.gitignore (+1/-0)
help/Makefile.in (+0/-973)
install-sh (+0/-520)
lib/Makefile.in (+0/-606)
lib/sensors-applet-plugin.c (+3/-3)
ltmain.sh (+0/-9642)
missing (+0/-376)
mkinstalldirs (+0/-162)
pixmaps/.gitignore (+2/-0)
pixmaps/Makefile.in (+0/-543)
plugins/Makefile.in (+0/-637)
plugins/acpi/Makefile.in (+0/-609)
plugins/acpi/acpi-plugin.c (+3/-3)
plugins/acpi/acpi-plugin.h (+3/-3)
plugins/aticonfig/Makefile.in (+0/-610)
plugins/aticonfig/aticonfig-plugin.c (+3/-3)
plugins/aticonfig/aticonfig-plugin.h (+3/-3)
plugins/eee/Makefile.in (+0/-609)
plugins/eee/eee-plugin.c (+3/-3)
plugins/eee/eee-plugin.h (+3/-3)
plugins/hddtemp/Makefile.in (+0/-609)
plugins/hddtemp/hddtemp-plugin.c (+3/-3)
plugins/hddtemp/hddtemp-plugin.h (+3/-3)
plugins/i2c-proc/Makefile.in (+0/-610)
plugins/i2c-proc/i2c-proc-plugin.c (+3/-3)
plugins/i2c-proc/i2c-proc-plugin.h (+3/-3)
plugins/i2c-sys/Makefile.in (+0/-609)
plugins/i2c-sys/i2c-sys-plugin.c (+3/-3)
plugins/i2c-sys/i2c-sys-plugin.h (+3/-3)
plugins/i8k/Makefile.in (+0/-609)
plugins/i8k/i8k-plugin.c (+3/-3)
plugins/i8k/i8k-plugin.h (+3/-3)
plugins/ibm-acpi/Makefile.in (+0/-610)
plugins/ibm-acpi/ibm-acpi-plugin.c (+3/-3)
plugins/ibm-acpi/ibm-acpi-plugin.h (+3/-3)
plugins/libsensors/Makefile.in (+0/-610)
plugins/libsensors/libsensors-plugin.c (+3/-3)
plugins/libsensors/libsensors-plugin.h (+3/-3)
plugins/mbmon/Makefile.in (+0/-609)
plugins/mbmon/mbmon-plugin.c (+3/-3)
plugins/mbmon/mbmon-plugin.h (+3/-3)
plugins/nvidia/Makefile.in (+0/-609)
plugins/nvidia/nvidia-plugin.c (+3/-3)
plugins/nvidia/nvidia-plugin.h (+3/-3)
plugins/omnibook/Makefile.in (+0/-610)
plugins/omnibook/omnibook-plugin.c (+3/-3)
plugins/omnibook/omnibook-plugin.h (+3/-3)
plugins/pmu-sys/Makefile.in (+0/-609)
plugins/pmu-sys/pmu-sys-plugin.c (+3/-3)
plugins/pmu-sys/pmu-sys-plugin.h (+3/-3)
plugins/smu-sys/Makefile.in (+0/-609)
plugins/smu-sys/smu-sys-plugin.c (+3/-3)
plugins/smu-sys/smu-sys-plugin.h (+3/-3)
plugins/sonypi/Makefile.in (+0/-609)
plugins/sonypi/sonypi-plugin.c (+3/-3)
plugins/sonypi/sonypi-plugin.h (+3/-3)
plugins/udisks/Makefile.in (+0/-610)
plugins/udisks/udisks-plugin.c (+3/-3)
plugins/udisks/udisks-plugin.h (+3/-3)
po/.gitignore (+17/-0)
po/Makefile.in.in (+0/-217)
sensors-applet/.gitignore (+7/-0)
sensors-applet/Makefile.in (+0/-704)
sensors-applet/about-dialog.c (+3/-3)
sensors-applet/about-dialog.h (+3/-3)
sensors-applet/active-sensor-libnotify.c (+3/-3)
sensors-applet/active-sensor-libnotify.h (+3/-3)
sensors-applet/active-sensor.c (+3/-3)
sensors-applet/active-sensor.h (+3/-3)
sensors-applet/config.h.in (+0/-131)
sensors-applet/main.c (+3/-3)
sensors-applet/prefs-dialog.c (+105/-112)
sensors-applet/prefs-dialog.h (+4/-4)
sensors-applet/sensor-config-dialog.c (+230/-89)
sensors-applet/sensor-config-dialog.h (+3/-3)
sensors-applet/sensors-applet-gconf.c (+3/-3)
sensors-applet/sensors-applet-gconf.h (+3/-3)
sensors-applet/sensors-applet-plugin.h (+3/-3)
sensors-applet/sensors-applet-plugins.c (+3/-3)
sensors-applet/sensors-applet-plugins.h (+3/-3)
sensors-applet/sensors-applet-sensor.h (+3/-3)
sensors-applet/sensors-applet.c (+103/-124)
sensors-applet/sensors-applet.h (+3/-3)
To merge this branch: bzr merge lp:~noskcaj/ubuntu/trusty/sensors-applet/merge
Reviewer Review Type Date Requested Status
Robie Basak Approve
Ubuntu branches Pending
Review via email: mp+197448@code.launchpad.net

Description of the change

Merge from debian

To post a comment you must log in.
Revision history for this message
Robie Basak (racb) wrote :

Looks good. Uploaded. Thank you!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file '.gitignore'
2--- .gitignore 1970-01-01 00:00:00 +0000
3+++ .gitignore 2013-12-02 22:28:05 +0000
4@@ -0,0 +1,20 @@
5+Makefile.in
6+Makefile
7+SensorsApplet.server
8+SensorsApplet.server.in
9+aclocal.m4
10+autom4te.cache
11+config.guess
12+config.h
13+config.h.in
14+config.log
15+config.sub
16+config.status
17+configure
18+stamp-h1
19+intltool-update
20+intltool-merge
21+intltool-extract
22+gnome-doc-utils.make
23+htdocs
24+*.tar.gz
25\ No newline at end of file
26
27=== removed directory '.pc'
28=== removed file '.pc/.quilt_patches'
29--- .pc/.quilt_patches 2012-09-30 11:21:31 +0000
30+++ .pc/.quilt_patches 1970-01-01 00:00:00 +0000
31@@ -1,1 +0,0 @@
32-debian/patches
33
34=== removed file '.pc/.quilt_series'
35--- .pc/.quilt_series 2012-09-30 11:21:31 +0000
36+++ .pc/.quilt_series 1970-01-01 00:00:00 +0000
37@@ -1,1 +0,0 @@
38-series
39
40=== removed file '.pc/.version'
41--- .pc/.version 2012-09-30 11:21:31 +0000
42+++ .pc/.version 1970-01-01 00:00:00 +0000
43@@ -1,1 +0,0 @@
44-2
45
46=== removed file '.pc/applied-patches'
47--- .pc/applied-patches 2012-09-30 11:21:31 +0000
48+++ .pc/applied-patches 1970-01-01 00:00:00 +0000
49@@ -1,1 +0,0 @@
50-xmllint-nonet.patch
51
52=== removed directory '.pc/xmllint-nonet.patch'
53=== removed directory '.pc/xmllint-nonet.patch/help'
54=== removed file '.pc/xmllint-nonet.patch/help/Makefile.in'
55--- .pc/xmllint-nonet.patch/help/Makefile.in 2012-02-14 19:05:45 +0000
56+++ .pc/xmllint-nonet.patch/help/Makefile.in 1970-01-01 00:00:00 +0000
57@@ -1,973 +0,0 @@
58-# Makefile.in generated by automake 1.11.1 from Makefile.am.
59-# @configure_input@
60-
61-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
62-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
63-# Inc.
64-# This Makefile.in is free software; the Free Software Foundation
65-# gives unlimited permission to copy and/or distribute it,
66-# with or without modifications, as long as this notice is preserved.
67-
68-# This program is distributed in the hope that it will be useful,
69-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
70-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
71-# PARTICULAR PURPOSE.
72-
73-@SET_MAKE@
74-
75-# gnome-doc-utils.make - make magic for building documentation
76-# Copyright (C) 2004-2005 Shaun McCance <shaunm@gnome.org>
77-#
78-# This program is free software; you can redistribute it and/or modify
79-# it under the terms of the GNU General Public License as published by
80-# the Free Software Foundation; either version 2 of the License, or
81-# (at your option) any later version.
82-#
83-# This program is distributed in the hope that it will be useful,
84-# but WITHOUT ANY WARRANTY; without even the implied warranty of
85-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
86-# GNU General Public License for more details.
87-#
88-# You should have received a copy of the GNU General Public License
89-# along with this program; if not, write to the Free Software Foundation,
90-# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
91-#
92-# As a special exception to the GNU General Public License, if you
93-# distribute this file as part of a program that contains a
94-# configuration script generated by Autoconf, you may include it under
95-# the same distribution terms that you use for the rest of that program.
96-
97-################################################################################
98-VPATH = @srcdir@
99-pkgdatadir = $(datadir)/@PACKAGE@
100-pkgincludedir = $(includedir)/@PACKAGE@
101-pkglibdir = $(libdir)/@PACKAGE@
102-pkglibexecdir = $(libexecdir)/@PACKAGE@
103-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
104-install_sh_DATA = $(install_sh) -c -m 644
105-install_sh_PROGRAM = $(install_sh) -c
106-install_sh_SCRIPT = $(install_sh) -c
107-INSTALL_HEADER = $(INSTALL_DATA)
108-transform = $(program_transform_name)
109-NORMAL_INSTALL = :
110-PRE_INSTALL = :
111-POST_INSTALL = :
112-NORMAL_UNINSTALL = :
113-PRE_UNINSTALL = :
114-POST_UNINSTALL = :
115-build_triplet = @build@
116-host_triplet = @host@
117-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
118- $(top_srcdir)/gnome-doc-utils.make ChangeLog
119-subdir = help
120-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
121-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
122-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
123- $(ACLOCAL_M4)
124-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
125-CONFIG_HEADER = $(top_builddir)/sensors-applet/config.h
126-CONFIG_CLEAN_FILES =
127-CONFIG_CLEAN_VPATH_FILES =
128-AM_V_GEN = $(am__v_GEN_$(V))
129-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
130-am__v_GEN_0 = @echo " GEN " $@;
131-AM_V_at = $(am__v_at_$(V))
132-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
133-am__v_at_0 = @
134-SOURCES =
135-DIST_SOURCES =
136-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
137-ACLOCAL = @ACLOCAL@
138-ALL_LINGUAS = @ALL_LINGUAS@
139-AMTAR = @AMTAR@
140-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
141-AR = @AR@
142-ATICONFIG_EXE = @ATICONFIG_EXE@
143-AUTOCONF = @AUTOCONF@
144-AUTOHEADER = @AUTOHEADER@
145-AUTOMAKE = @AUTOMAKE@
146-AWK = @AWK@
147-CAIRO_CFLAGS = @CAIRO_CFLAGS@
148-CAIRO_LIBS = @CAIRO_LIBS@
149-CATALOGS = @CATALOGS@
150-CATOBJEXT = @CATOBJEXT@
151-CC = @CC@
152-CCDEPMODE = @CCDEPMODE@
153-CFLAGS = @CFLAGS@
154-CPP = @CPP@
155-CPPFLAGS = @CPPFLAGS@
156-CYGPATH_W = @CYGPATH_W@
157-DATADIRNAME = @DATADIRNAME@
158-DBUSGLIB_CFLAGS = @DBUSGLIB_CFLAGS@
159-DBUSGLIB_LIBS = @DBUSGLIB_LIBS@
160-DEFS = @DEFS@
161-DEPDIR = @DEPDIR@
162-DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@
163-DLLTOOL = @DLLTOOL@
164-DOC_USER_FORMATS = @DOC_USER_FORMATS@
165-DSYMUTIL = @DSYMUTIL@
166-DUMPBIN = @DUMPBIN@
167-ECHO_C = @ECHO_C@
168-ECHO_N = @ECHO_N@
169-ECHO_T = @ECHO_T@
170-EGREP = @EGREP@
171-EXEEXT = @EXEEXT@
172-FGREP = @FGREP@
173-GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
174-GLIB_CFLAGS = @GLIB_CFLAGS@
175-GLIB_LIBS = @GLIB_LIBS@
176-GMOFILES = @GMOFILES@
177-GMSGFMT = @GMSGFMT@
178-GNOME_CFLAGS = @GNOME_CFLAGS@
179-GNOME_LIBS = @GNOME_LIBS@
180-GREP = @GREP@
181-GTK_CFLAGS = @GTK_CFLAGS@
182-GTK_LIBS = @GTK_LIBS@
183-HELP_DIR = @HELP_DIR@
184-INSTALL = @INSTALL@
185-INSTALL_DATA = @INSTALL_DATA@
186-INSTALL_PROGRAM = @INSTALL_PROGRAM@
187-INSTALL_SCRIPT = @INSTALL_SCRIPT@
188-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
189-INSTOBJEXT = @INSTOBJEXT@
190-INTLLIBS = @INTLLIBS@
191-INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
192-INTLTOOL_MERGE = @INTLTOOL_MERGE@
193-INTLTOOL_PERL = @INTLTOOL_PERL@
194-INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
195-LD = @LD@
196-LDFLAGS = @LDFLAGS@
197-LIBATASMART_CFLAGS = @LIBATASMART_CFLAGS@
198-LIBATASMART_LIBS = @LIBATASMART_LIBS@
199-LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@
200-LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@
201-LIBOBJS = @LIBOBJS@
202-LIBPANEL_APPLET_DIR = @LIBPANEL_APPLET_DIR@
203-LIBS = @LIBS@
204-LIBSENSORS_CFLAGS = @LIBSENSORS_CFLAGS@
205-LIBSENSORS_LIBS = @LIBSENSORS_LIBS@
206-LIBTOOL = @LIBTOOL@
207-LIPO = @LIPO@
208-LN_S = @LN_S@
209-LTLIBOBJS = @LTLIBOBJS@
210-MAINT = @MAINT@
211-MAKEINFO = @MAKEINFO@
212-MANIFEST_TOOL = @MANIFEST_TOOL@
213-MKDIR_P = @MKDIR_P@
214-MKINSTALLDIRS = @MKINSTALLDIRS@
215-MSGFMT = @MSGFMT@
216-MSGFMT_OPTS = @MSGFMT_OPTS@
217-MSGMERGE = @MSGMERGE@
218-NM = @NM@
219-NMEDIT = @NMEDIT@
220-NVIDIA_CFLAGS = @NVIDIA_CFLAGS@
221-NVIDIA_LIBS = @NVIDIA_LIBS@
222-OBJDUMP = @OBJDUMP@
223-OBJEXT = @OBJEXT@
224-OMF_DIR = @OMF_DIR@
225-OTOOL = @OTOOL@
226-OTOOL64 = @OTOOL64@
227-PACKAGE = @PACKAGE@
228-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
229-PACKAGE_NAME = @PACKAGE_NAME@
230-PACKAGE_STRING = @PACKAGE_STRING@
231-PACKAGE_TARNAME = @PACKAGE_TARNAME@
232-PACKAGE_URL = @PACKAGE_URL@
233-PACKAGE_VERSION = @PACKAGE_VERSION@
234-PATH_SEPARATOR = @PATH_SEPARATOR@
235-PKG_CONFIG = @PKG_CONFIG@
236-PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237-PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
238-PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@
239-POFILES = @POFILES@
240-POSUB = @POSUB@
241-PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
242-PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
243-RANLIB = @RANLIB@
244-SED = @SED@
245-SET_MAKE = @SET_MAKE@
246-SHELL = @SHELL@
247-STRIP = @STRIP@
248-USE_NLS = @USE_NLS@
249-VERSION = @VERSION@
250-WARN_CFLAGS = @WARN_CFLAGS@
251-XGETTEXT = @XGETTEXT@
252-XSLTPROC = @XSLTPROC@
253-abs_builddir = @abs_builddir@
254-abs_srcdir = @abs_srcdir@
255-abs_top_builddir = @abs_top_builddir@
256-abs_top_srcdir = @abs_top_srcdir@
257-ac_ct_AR = @ac_ct_AR@
258-ac_ct_CC = @ac_ct_CC@
259-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
260-am__include = @am__include@
261-am__leading_dot = @am__leading_dot@
262-am__quote = @am__quote@
263-am__tar = @am__tar@
264-am__untar = @am__untar@
265-bindir = @bindir@
266-build = @build@
267-build_alias = @build_alias@
268-build_cpu = @build_cpu@
269-build_os = @build_os@
270-build_vendor = @build_vendor@
271-builddir = @builddir@
272-datadir = @datadir@
273-datarootdir = @datarootdir@
274-docdir = @docdir@
275-dvidir = @dvidir@
276-exec_prefix = @exec_prefix@
277-host = @host@
278-host_alias = @host_alias@
279-host_cpu = @host_cpu@
280-host_os = @host_os@
281-host_vendor = @host_vendor@
282-htmldir = @htmldir@
283-includedir = @includedir@
284-infodir = @infodir@
285-install_sh = @install_sh@
286-libdir = @libdir@
287-libexecdir = @libexecdir@
288-localedir = @localedir@
289-localstatedir = @localstatedir@
290-mandir = @mandir@
291-mkdir_p = @mkdir_p@
292-oldincludedir = @oldincludedir@
293-pdfdir = @pdfdir@
294-prefix = @prefix@
295-program_transform_name = @program_transform_name@
296-psdir = @psdir@
297-sbindir = @sbindir@
298-sharedstatedir = @sharedstatedir@
299-srcdir = @srcdir@
300-sysconfdir = @sysconfdir@
301-target_alias = @target_alias@
302-top_build_prefix = @top_build_prefix@
303-top_builddir = @top_builddir@
304-top_srcdir = @top_srcdir@
305-_clean_doc_header = $(if $(DOC_H_FILE),clean-doc-header)
306-_DOC_REAL_FORMATS = $(if $(DOC_USER_FORMATS),$(DOC_USER_FORMATS),$(DOC_FORMATS))
307-_DOC_REAL_LINGUAS = $(if $(filter environment,$(origin LINGUAS)), \
308- $(filter $(LINGUAS),$(DOC_LINGUAS)), \
309- $(DOC_LINGUAS))
310-
311-_DOC_ABS_SRCDIR = @abs_srcdir@
312-_xml2po_mode = $(if $(DOC_ID),mallard,docbook)
313-@ENABLE_SK_TRUE@_ENABLE_SK = true
314-
315-################################################################################
316-db2omf_args = \
317- --stringparam db2omf.basename $(DOC_MODULE) \
318- --stringparam db2omf.format $(3) \
319- --stringparam db2omf.dtd \
320- $(shell xmllint --format $(2) | grep -h PUBLIC | head -n 1 \
321- | sed -e 's/.*PUBLIC \(\"[^\"]*\"\).*/\1/') \
322- --stringparam db2omf.lang $(notdir $(patsubst %/$(notdir $(2)),%,$(2))) \
323- --stringparam db2omf.omf_dir "$(OMF_DIR)" \
324- --stringparam db2omf.help_dir "$(HELP_DIR)" \
325- --stringparam db2omf.omf_in "$(_DOC_OMF_IN)" \
326- $(if $(_ENABLE_SK), \
327- --stringparam db2omf.scrollkeeper_cl "$(_skcontentslist)") \
328- $(_db2omf) $(2)
329-
330-_DOC_OMF_IN = $(if $(DOC_MODULE),$(wildcard $(_DOC_ABS_SRCDIR)/$(DOC_MODULE).omf.in))
331-_DOC_OMF_DB = $(if $(_DOC_OMF_IN), \
332- $(foreach lc,C $(_DOC_REAL_LINGUAS),$(DOC_MODULE)-$(lc).omf))
333-
334-_DOC_OMF_HTML = $(if $(_DOC_OMF_IN), \
335- $(foreach lc,C $(_DOC_REAL_LINGUAS),$(DOC_MODULE)-html-$(lc).omf))
336-
337-
338-# FIXME
339-_DOC_OMF_ALL = \
340- $(if $(filter docbook,$(_DOC_REAL_FORMATS)),$(_DOC_OMF_DB)) \
341- $(if $(filter html HTML,$(_DOC_REAL_FORMATS)),$(_DOC_OMF_HTML))
342-
343-
344-################################################################################
345-_DOC_C_MODULE = $(if $(DOC_MODULE),C/$(DOC_MODULE).xml)
346-_DOC_C_PAGES = $(foreach page,$(DOC_PAGES),C/$(page))
347-_DOC_C_ENTITIES = $(foreach ent,$(DOC_ENTITIES),C/$(ent))
348-_DOC_C_INCLUDES = $(foreach inc,$(DOC_INCLUDES),C/$(inc))
349-_DOC_C_DOCS = \
350- $(_DOC_C_ENTITIES) $(_DOC_C_INCLUDES) \
351- $(_DOC_C_PAGES) $(_DOC_C_MODULE)
352-
353-_DOC_C_DOCS_NOENT = \
354- $(_DOC_C_MODULE) $(_DOC_C_INCLUDES) \
355- $(_DOC_C_PAGES)
356-
357-_DOC_C_FIGURES = $(if $(DOC_FIGURES), \
358- $(foreach fig,$(DOC_FIGURES),C/$(fig)), \
359- $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/C/figures/*.png)))
360-
361-
362-# FIXME: probably have to shell escape to determine the file names
363-_DOC_C_HTML = $(foreach f, \
364- $(shell xsltproc --xinclude \
365- --stringparam db.chunk.basename "$(DOC_MODULE)" \
366- $(_chunks) "C/$(DOC_MODULE).xml"), \
367- C/$(f).xhtml)
368-
369-
370-###############################################################################
371-_DOC_POFILES = $(if $(DOC_MODULE)$(DOC_ID), \
372- $(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(lc).po))
373-
374-_DOC_MOFILES = $(patsubst %.po,%.mo,$(_DOC_POFILES))
375-_DOC_LC_MODULES = $(if $(DOC_MODULE), \
376- $(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(DOC_MODULE).xml))
377-
378-_DOC_LC_PAGES = \
379- $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach page,$(_DOC_C_PAGES), \
380- $(lc)/$(notdir $(page)) ))
381-
382-_DOC_LC_INCLUDES = \
383- $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach inc,$(_DOC_C_INCLUDES), \
384- $(lc)/$(notdir $(inc)) ))
385-
386-
387-# FIXME: probably have to shell escape to determine the file names
388-_DOC_LC_HTML = \
389- $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach doc,$(_DOC_C_HTML), \
390- $(lc)/$(notdir $(doc)) ))
391-
392-_DOC_LC_DOCS = \
393- $(_DOC_LC_MODULES) $(_DOC_LC_INCLUDES) $(_DOC_LC_PAGES) \
394- $(if $(filter html HTML,$(_DOC_REAL_FORMATS)),$(_DOC_LC_HTML))
395-
396-_DOC_LC_FIGURES = $(foreach lc,$(_DOC_REAL_LINGUAS), \
397- $(patsubst C/%,$(lc)/%,$(_DOC_C_FIGURES)) )
398-
399-_DOC_SRC_FIGURES = \
400- $(foreach fig,$(_DOC_C_FIGURES), $(foreach lc,C $(_DOC_REAL_LINGUAS), \
401- $(wildcard $(srcdir)/$(lc)/$(patsubst C/%,%,$(fig))) ))
402-
403-_DOC_POT = $(if $(DOC_MODULE),$(DOC_MODULE).pot,$(if $(DOC_ID),$(DOC_ID).pot))
404-
405-################################################################################
406-_DOC_HTML_ALL = $(if $(filter html HTML,$(_DOC_REAL_FORMATS)), \
407- $(_DOC_C_HTML) $(_DOC_LC_HTML))
408-
409-_DOC_HTML_TOPS = $(foreach lc,C $(_DOC_REAL_LINGUAS),$(lc)/$(DOC_MODULE).xhtml)
410-_clean_omf = $(if $(_DOC_OMF_IN),clean-doc-omf)
411-_clean_dsk = $(if $(_DOC_DSK_IN),clean-doc-dsk)
412-_clean_lc = $(if $(_DOC_REAL_LINGUAS),clean-doc-lc)
413-_clean_dir = $(if $(DOC_MODULE)$(DOC_ID),clean-doc-dir)
414-_doc_install_dir = $(if $(DOC_ID),$(DOC_ID),$(DOC_MODULE))
415-DOC_MODULE = sensors-applet
416-DOC_ENTITIES = legal.xml
417-DOC_FIGURES = figures/applet_in_panel.png
418-DOC_INCLUDES =
419-DOC_LINGUAS =
420-all: all-am
421-
422-.SUFFIXES:
423-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/gnome-doc-utils.make $(am__configure_deps)
424- @for dep in $?; do \
425- case '$(am__configure_deps)' in \
426- *$$dep*) \
427- ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
428- && { if test -f $@; then exit 0; else break; fi; }; \
429- exit 1;; \
430- esac; \
431- done; \
432- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu help/Makefile'; \
433- $(am__cd) $(top_srcdir) && \
434- $(AUTOMAKE) --gnu help/Makefile
435-.PRECIOUS: Makefile
436-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
437- @case '$?' in \
438- *config.status*) \
439- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
440- *) \
441- echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
442- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
443- esac;
444-
445-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
446- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
447-
448-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
449- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
450-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
451- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
452-$(am__aclocal_m4_deps):
453-
454-mostlyclean-libtool:
455- -rm -f *.lo
456-
457-clean-libtool:
458- -rm -rf .libs _libs
459-tags: TAGS
460-TAGS:
461-
462-ctags: CTAGS
463-CTAGS:
464-
465-
466-distdir: $(DISTFILES)
467- @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
468- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
469- list='$(DISTFILES)'; \
470- dist_files=`for file in $$list; do echo $$file; done | \
471- sed -e "s|^$$srcdirstrip/||;t" \
472- -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
473- case $$dist_files in \
474- */*) $(MKDIR_P) `echo "$$dist_files" | \
475- sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
476- sort -u` ;; \
477- esac; \
478- for file in $$dist_files; do \
479- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
480- if test -d $$d/$$file; then \
481- dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
482- if test -d "$(distdir)/$$file"; then \
483- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
484- fi; \
485- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
486- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
487- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
488- fi; \
489- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
490- else \
491- test -f "$(distdir)/$$file" \
492- || cp -p $$d/$$file "$(distdir)/$$file" \
493- || exit 1; \
494- fi; \
495- done
496- $(MAKE) $(AM_MAKEFLAGS) \
497- top_distdir="$(top_distdir)" distdir="$(distdir)" \
498- dist-hook
499-check-am: all-am
500-check: check-am
501-all-am: Makefile
502-installdirs:
503-install: install-am
504-install-exec: install-exec-am
505-install-data: install-data-am
506-uninstall: uninstall-am
507-
508-install-am: all-am
509- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
510-
511-installcheck: installcheck-am
512-install-strip:
513- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
514- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
515- `test -z '$(STRIP)' || \
516- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
517-mostlyclean-generic:
518-
519-clean-generic:
520-
521-distclean-generic:
522- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
523- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
524-
525-maintainer-clean-generic:
526- @echo "This command is intended for maintainers to use"
527- @echo "it deletes files that may require special tools to rebuild."
528-clean: clean-am
529-
530-clean-am: clean-generic clean-libtool clean-local mostlyclean-am
531-
532-distclean: distclean-am
533- -rm -f Makefile
534-distclean-am: clean-am distclean-generic distclean-local
535-
536-dvi: dvi-am
537-
538-dvi-am:
539-
540-html: html-am
541-
542-html-am:
543-
544-info: info-am
545-
546-info-am:
547-
548-install-data-am: install-data-local
549-
550-install-dvi: install-dvi-am
551-
552-install-dvi-am:
553-
554-install-exec-am:
555-
556-install-html: install-html-am
557-
558-install-html-am:
559-
560-install-info: install-info-am
561-
562-install-info-am:
563-
564-install-man:
565-
566-install-pdf: install-pdf-am
567-
568-install-pdf-am:
569-
570-install-ps: install-ps-am
571-
572-install-ps-am:
573-
574-installcheck-am:
575-
576-maintainer-clean: maintainer-clean-am
577- -rm -f Makefile
578-maintainer-clean-am: distclean-am maintainer-clean-generic \
579- maintainer-clean-local
580-
581-mostlyclean: mostlyclean-am
582-
583-mostlyclean-am: mostlyclean-generic mostlyclean-libtool \
584- mostlyclean-local
585-
586-pdf: pdf-am
587-
588-pdf-am:
589-
590-ps: ps-am
591-
592-ps-am:
593-
594-uninstall-am: uninstall-local
595-
596-.MAKE: install-am install-strip
597-
598-.PHONY: all all-am check check-am clean clean-generic clean-libtool \
599- clean-local dist-hook distclean distclean-generic \
600- distclean-libtool distclean-local distdir dvi dvi-am html \
601- html-am info info-am install install-am install-data \
602- install-data-am install-data-local install-dvi install-dvi-am \
603- install-exec install-exec-am install-html install-html-am \
604- install-info install-info-am install-man install-pdf \
605- install-pdf-am install-ps install-ps-am install-strip \
606- installcheck installcheck-am installdirs maintainer-clean \
607- maintainer-clean-generic maintainer-clean-local mostlyclean \
608- mostlyclean-generic mostlyclean-libtool mostlyclean-local pdf \
609- pdf-am ps ps-am uninstall uninstall-am uninstall-local
610-
611-
612-DOC_H_FILE ?=
613-
614-DOC_H_DOCS ?=
615-
616-$(DOC_H_FILE): $(DOC_H_DOCS);
617- @rm -f $@.tmp; touch $@.tmp;
618- echo 'const gchar* documentation_credits[] = {' >> $@.tmp
619- list='$(DOC_H_DOCS)'; for doc in $$list; do \
620- xmlpath="`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`:$(srcdir)/`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`"; \
621- if ! test -f "$$doc"; then doc="$(srcdir)/$$doc"; fi; \
622- xsltproc --path "$$xmlpath" $(_credits) $$doc; \
623- done | sort | uniq \
624- | awk 'BEGIN{s=""}{n=split($$0,w,"<");if(s!=""&&s!=substr(w[1],1,length(w[1])-1)){print s};if(n>1){print $$0;s=""}else{s=$$0}};END{if(s!=""){print s}}' \
625- | sed -e 's/\\/\\\\/' -e 's/"/\\"/' -e 's/\(.*\)/\t"\1",/' >> $@.tmp
626- echo ' NULL' >> $@.tmp
627- echo '};' >> $@.tmp
628- echo >> $@.tmp
629- list='$(DOC_H_DOCS)'; for doc in $$list; do \
630- xmlpath="`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`:$(srcdir)/`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`"; \
631- if ! test -f "$$doc"; then doc="$(srcdir)/$$doc"; fi; \
632- docid=`echo "$$doc" | sed -e 's/.*\/\([^/]*\)\.xml/\1/' \
633- | sed -e 's/[^a-zA-Z_]/_/g' | tr 'a-z' 'A-Z'`; \
634- echo $$xmlpath; \
635- ids=`xsltproc --xinclude --path "$$xmlpath" $(_ids) $$doc`; \
636- for id in $$ids; do \
637- echo '#define HELP_'`echo $$docid`'_'`echo $$id \
638- | sed -e 's/[^a-zA-Z_]/_/g' | tr 'a-z' 'A-Z'`' "'$$id'"' >> $@.tmp; \
639- done; \
640- echo >> $@.tmp; \
641- done;
642- cp $@.tmp $@ && rm -f $@.tmp
643-
644-dist-check-gdu:
645-@HAVE_GNOME_DOC_UTILS_FALSE@ @echo "*** GNOME Doc Utils must be installed in order to make dist"
646-@HAVE_GNOME_DOC_UTILS_FALSE@ @false
647-
648-.PHONY: dist-doc-header
649-dist-doc-header: $(DOC_H_FILE)
650- @if test -f "$(DOC_H_FILE)"; then d=; else d="$(srcdir)/"; fi; \
651- echo "$(INSTALL_DATA) $${d}$(DOC_H_FILE) $(distdir)/$(DOC_H_FILE)"; \
652- $(INSTALL_DATA) "$${d}$(DOC_H_FILE)" "$(distdir)/$(DOC_H_FILE)";
653-
654-doc-dist-hook: dist-check-gdu $(if $(DOC_H_FILE),dist-doc-header)
655-
656-.PHONY: clean-doc-header
657-clean-local: $(_clean_doc_header)
658-distclean-local: $(_clean_doc_header)
659-mostlyclean-local: $(_clean_doc_header)
660-maintainer-clean-local: $(_clean_doc_header)
661-clean-doc-header:
662- rm -f $(DOC_H_FILE)
663-
664-all: $(DOC_H_FILE)
665-
666-################################################################################
667-
668-DOC_MODULE ?=
669-
670-DOC_ID ?=
671-
672-DOC_PAGES ?=
673-
674-DOC_ENTITIES ?=
675-
676-DOC_INCLUDES ?=
677-
678-DOC_FIGURES ?=
679-
680-DOC_FORMATS ?= docbook
681-
682-DOC_LINGUAS ?=
683-
684-################################################################################
685-
686-_xml2po ?= `which xml2po`
687-
688-_db2html ?= `$(PKG_CONFIG) --variable db2html gnome-doc-utils`
689-_db2omf ?= `$(PKG_CONFIG) --variable db2omf gnome-doc-utils`
690-_malrng ?= `$(PKG_CONFIG) --variable malrng gnome-doc-utils`
691-_chunks ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/chunks.xsl
692-_credits ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/credits.xsl
693-_ids ?= $(shell $(PKG_CONFIG) --variable xmldir gnome-doc-utils)/gnome/xslt/docbook/utils/ids.xsl
694-@ENABLE_SK_TRUE@_skpkgdatadir ?= `scrollkeeper-config --pkgdatadir`
695-@ENABLE_SK_TRUE@_sklocalstatedir ?= `scrollkeeper-config --pkglocalstatedir`
696-@ENABLE_SK_TRUE@_skcontentslist ?= $(_skpkgdatadir)/Templates/C/scrollkeeper_cl.xml
697-
698-$(_DOC_OMF_DB) : $(_DOC_OMF_IN)
699-$(_DOC_OMF_DB) : $(DOC_MODULE)-%.omf : %/$(DOC_MODULE).xml
700- @test "x$(_ENABLE_SK)" != "xtrue" -o -f "$(_skcontentslist)" || { \
701- echo "The file '$(_skcontentslist)' does not exist." >&2; \
702- echo "Please check your ScrollKeeper installation." >&2; \
703- exit 1; }
704- xsltproc -o $@ $(call db2omf_args,$@,$<,'docbook') || { rm -f "$@"; exit 1; }
705-
706-$(_DOC_OMF_HTML) : $(_DOC_OMF_IN)
707-$(_DOC_OMF_HTML) : $(DOC_MODULE)-html-%.omf : %/$(DOC_MODULE).xml
708-@ENABLE_SK_TRUE@ @test "x$(_ENABLE_SK)" != "xtrue" -o -f "$(_skcontentslist)" || { \
709-@ENABLE_SK_TRUE@ echo "The file '$(_skcontentslist)' does not exist" >&2; \
710-@ENABLE_SK_TRUE@ echo "Please check your ScrollKeeper installation." >&2; \
711-@ENABLE_SK_TRUE@ exit 1; }
712- xsltproc -o $@ $(call db2omf_args,$@,$<,'xhtml') || { rm -f "$@"; exit 1; }
713-
714-.PHONY: omf
715-omf: $(_DOC_OMF_ALL)
716-
717-.PHONY: po
718-po: $(_DOC_POFILES)
719-
720-.PHONY: mo
721-mo: $(_DOC_MOFILES)
722-
723-$(_DOC_POFILES):
724- @if ! test -d $(dir $@); then \
725- echo "mkdir $(dir $@)"; \
726- mkdir "$(dir $@)"; \
727- fi
728- @if test ! -f $@ -a -f $(srcdir)/$@; then \
729- echo "cp $(srcdir)/$@ $@"; \
730- cp "$(srcdir)/$@" "$@"; \
731- fi;
732- @docs=; \
733- list='$(_DOC_C_DOCS_NOENT)'; for doc in $$list; do \
734- docs="$$docs $(_DOC_ABS_SRCDIR)/$$doc"; \
735- done; \
736- if ! test -f $@; then \
737- echo "(cd $(dir $@) && \
738- $(_xml2po) -m $(_xml2po_mode) -e $$docs > $(notdir $@).tmp && \
739- cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)"; \
740- (cd $(dir $@) && \
741- $(_xml2po) -m $(_xml2po_mode) -e $$docs > $(notdir $@).tmp && \
742- cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp); \
743- else \
744- echo "(cd $(dir $@) && \
745- $(_xml2po) -m $(_xml2po_mode) -e -u $(notdir $@) $$docs)"; \
746- (cd $(dir $@) && \
747- $(_xml2po) -m $(_xml2po_mode) -e -u $(notdir $@) $$docs); \
748- fi
749-
750-$(_DOC_MOFILES): %.mo: %.po
751- @if ! test -d $(dir $@); then \
752- echo "mkdir $(dir $@)"; \
753- mkdir "$(dir $@)"; \
754- fi
755- msgfmt -o $@ $<
756-
757-# FIXME: fix the dependancy
758-# FIXME: hook xml2po up
759-$(_DOC_LC_DOCS) : $(_DOC_MOFILES)
760-$(_DOC_LC_DOCS) : $(_DOC_C_DOCS)
761- if ! test -d $(dir $@); then mkdir $(dir $@); fi
762- if [ -f "C/$(notdir $@)" ]; then d="../"; else d="$(_DOC_ABS_SRCDIR)/"; fi; \
763- mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \
764- if [ -f "$${mo}" ]; then mo="../$${mo}"; else mo="$(_DOC_ABS_SRCDIR)/$${mo}"; fi; \
765- (cd $(dir $@) && \
766- $(_xml2po) -m $(_xml2po_mode) -e -t "$${mo}" \
767- "$${d}C/$(notdir $@)" > $(notdir $@).tmp && \
768- cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)
769-.PHONY: pot
770-pot: $(_DOC_POT)
771-$(_DOC_POT): $(_DOC_C_DOCS_NOENT)
772- $(_xml2po) -m $(_xml2po_mode) -e -o $@ $^
773-
774-$(_DOC_HTML_TOPS): $(_DOC_C_DOCS) $(_DOC_LC_DOCS)
775- xsltproc -o $@ --xinclude --param db.chunk.chunk_top "false()" --stringparam db.chunk.basename "$(DOC_MODULE)" --stringparam db.chunk.extension ".xhtml" $(_db2html) $(patsubst %.xhtml,%.xml,$@)
776-
777-################################################################################
778-
779-all: \
780- $(_DOC_C_DOCS) $(_DOC_LC_DOCS) \
781- $(_DOC_OMF_ALL) $(_DOC_DSK_ALL) \
782- $(_DOC_HTML_ALL) $(_DOC_POFILES)
783-
784-################################################################################
785-
786-.PHONY: clean-doc-omf clean-doc-dsk clean-doc-lc clean-doc-dir
787-
788-clean-doc-omf: ; rm -f $(_DOC_OMF_DB) $(_DOC_OMF_HTML)
789-clean-doc-dsk: ; rm -f $(_DOC_DSK_DB) $(_DOC_DSK_HTML)
790-clean-doc-lc:
791- rm -f $(_DOC_LC_DOCS)
792- rm -f $(_DOC_MOFILES)
793- @list='$(_DOC_POFILES)'; for po in $$list; do \
794- if ! test "$$po" -ef "$(srcdir)/$$po"; then \
795- echo "rm -f $$po"; \
796- rm -f "$$po"; \
797- fi; \
798- done
799-# .xml2.po.mo cleaning is obsolete as of 0.18.1 and could be removed in 0.20.x
800- @for lc in C $(_DOC_REAL_LINGUAS); do \
801- if test -f "$$lc/.xml2po.mo"; then \
802- echo "rm -f $$lc/.xml2po.mo"; \
803- rm -f "$$lc/.xml2po.mo"; \
804- fi; \
805- done
806-clean-doc-dir: clean-doc-lc
807- @for lc in C $(_DOC_REAL_LINGUAS); do \
808- for dir in `find $$lc -depth -type d`; do \
809- if ! test $$dir -ef $(srcdir)/$$dir; then \
810- echo "rmdir $$dir"; \
811- rmdir "$$dir"; \
812- fi; \
813- done; \
814- done
815-
816-clean-local: \
817- $(_clean_omf) $(_clean_dsk) \
818- $(_clean_lc) $(_clean_dir)
819-distclean-local: \
820- $(_clean_omf) $(_clean_dsk) \
821- $(_clean_lc) $(_clean_dir)
822-mostlyclean-local: \
823- $(_clean_omf) $(_clean_dsk) \
824- $(_clean_lc) $(_clean_dir)
825-maintainer-clean-local: \
826- $(_clean_omf) $(_clean_dsk) \
827- $(_clean_lc) $(_clean_dir)
828-
829-################################################################################
830-
831-.PHONY: dist-doc-docs dist-doc-pages dist-doc-figs dist-doc-omf dist-doc-dsk
832-doc-dist-hook: \
833- $(if $(DOC_MODULE)$(DOC_ID),dist-doc-docs) \
834- $(if $(_DOC_C_FIGURES),dist-doc-figs) \
835- $(if $(_DOC_OMF_IN),dist-doc-omf)
836-# $(if $(_DOC_DSK_IN),dist-doc-dsk)
837-
838-dist-doc-docs: $(_DOC_C_DOCS) $(_DOC_LC_DOCS) $(_DOC_POFILES)
839- @for lc in C $(_DOC_REAL_LINGUAS); do \
840- echo " $(mkinstalldirs) $(distdir)/$$lc"; \
841- $(mkinstalldirs) "$(distdir)/$$lc"; \
842- done
843- @list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS) $(_DOC_POFILES)'; \
844- for doc in $$list; do \
845- if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
846- docdir=`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
847- if ! test -d "$(distdir)/$$docdir"; then \
848- echo "$(mkinstalldirs) $(distdir)/$$docdir"; \
849- $(mkinstalldirs) "$(distdir)/$$docdir"; \
850- fi; \
851- echo "$(INSTALL_DATA) $$d$$doc $(distdir)/$$doc"; \
852- $(INSTALL_DATA) "$$d$$doc" "$(distdir)/$$doc"; \
853- done
854-
855-dist-doc-figs: $(_DOC_SRC_FIGURES)
856- @list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; \
857- for fig in $$list; do \
858- if test -f "$$fig"; then d=; else d="$(srcdir)/"; fi; \
859- if test -f "$$d$$fig"; then \
860- figdir=`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
861- if ! test -d "$(distdir)/$$figdir"; then \
862- echo "$(mkinstalldirs) $(distdir)/$$figdir"; \
863- $(mkinstalldirs) "$(distdir)/$$figdir"; \
864- fi; \
865- echo "$(INSTALL_DATA) $$d$$fig $(distdir)/$$fig"; \
866- $(INSTALL_DATA) "$$d$$fig" "$(distdir)/$$fig"; \
867- fi; \
868- done;
869-
870-dist-doc-omf:
871- @if test -f "$(_DOC_OMF_IN)"; then d=; else d="$(srcdir)/"; fi; \
872- echo "$(INSTALL_DATA) $$d$(_DOC_OMF_IN) $(distdir)/$(notdir $(_DOC_OMF_IN))"; \
873- $(INSTALL_DATA) "$$d$(_DOC_OMF_IN)" "$(distdir)/$(notdir $(_DOC_OMF_IN))"
874-
875-dist-doc-dsk:
876- @if test -f "$(_DOC_DSK_IN)"; then d=; else d="$(srcdir)/"; fi; \
877- echo "$(INSTALL_DATA) $$d$(_DOC_DSK_IN) $(distdir)/$(notdir $(_DOC_DSK_IN))"; \
878- $(INSTALL_DATA) "$$d$(_DOC_DSK_IN)" "$(distdir)/$(notdir $(_DOC_DSK_IN))"
879-
880-################################################################################
881-
882-.PHONY: check-doc-docs check-doc-omf
883-check: \
884- $(if $(DOC_MODULE),check-doc-docs) \
885- $(if $(DOC_ID),check-doc-pages) \
886- $(if $(_DOC_OMF_IN),check-doc-omf)
887-
888-check-doc-docs: $(_DOC_C_DOCS) $(_DOC_LC_DOCS)
889- @for lc in C $(_DOC_REAL_LINGUAS); do \
890- if test -f "$$lc"; \
891- then d=; \
892- xmlpath="$$lc"; \
893- else \
894- d="$(srcdir)/"; \
895- xmlpath="$$lc:$(srcdir)/$$lc"; \
896- fi; \
897- echo "xmllint --noout --noent --path $$xmlpath --xinclude --postvalid $$d$$lc/$(DOC_MODULE).xml"; \
898- xmllint --noout --noent --path "$$xmlpath" --xinclude --postvalid "$$d$$lc/$(DOC_MODULE).xml"; \
899- done
900-
901-check-doc-pages: $(_DOC_C_PAGES) $(_DOC_LC_PAGES)
902- for lc in C $(_DOC_REAL_LINGUAS); do \
903- if test -f "$$lc"; \
904- then d=; \
905- xmlpath="$$lc"; \
906- else \
907- d="$(srcdir)/"; \
908- xmlpath="$$lc:$(srcdir)/$$lc"; \
909- fi; \
910- for page in $(DOC_PAGES); do \
911- echo "xmllint --noout --noent --path $$xmlpath --xinclude --relaxng $(_malrng) $$d$$lc/$$page"; \
912- xmllint --noout --noent --path "$$xmlpath" --xinclude --relaxng "$(_malrng)" "$$d$$lc/$$page"; \
913- done; \
914- done
915-
916-check-doc-omf: $(_DOC_OMF_ALL)
917- @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
918- echo "xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf"; \
919- xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf; \
920- done
921-
922-################################################################################
923-
924-.PHONY: install-doc-docs install-doc-html install-doc-figs install-doc-omf install-doc-dsk
925-
926-install-data-local: \
927- $(if $(DOC_MODULE)$(DOC_ID),install-doc-docs) \
928- $(if $(_DOC_HTML_ALL),install-doc-html) \
929- $(if $(_DOC_C_FIGURES),install-doc-figs) \
930- $(if $(_DOC_OMF_IN),install-doc-omf)
931-# $(if $(_DOC_DSK_IN),install-doc-dsk)
932-
933-install-doc-docs:
934- @for lc in C $(_DOC_REAL_LINGUAS); do \
935- echo "$(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$lc"; \
936- $(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$lc; \
937- done
938- @list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS)'; for doc in $$list; do \
939- if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
940- docdir="$$lc/"`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
941- docdir="$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$docdir"; \
942- if ! test -d "$$docdir"; then \
943- echo "$(mkinstalldirs) $$docdir"; \
944- $(mkinstalldirs) "$$docdir"; \
945- fi; \
946- echo "$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
947- $(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc; \
948- done
949-
950-install-doc-figs:
951- @list='$(patsubst C/%,%,$(_DOC_C_FIGURES))'; for fig in $$list; do \
952- for lc in C $(_DOC_REAL_LINGUAS); do \
953- figsymlink=false; \
954- if test -f "$$lc/$$fig"; then \
955- figfile="$$lc/$$fig"; \
956- elif test -f "$(srcdir)/$$lc/$$fig"; then \
957- figfile="$(srcdir)/$$lc/$$fig"; \
958- else \
959- figsymlink=true; \
960- fi; \
961- figdir="$$lc/"`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
962- figdir="$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$figdir"; \
963- if ! test -d "$$figdir"; then \
964- echo "$(mkinstalldirs) $$figdir"; \
965- $(mkinstalldirs) "$$figdir"; \
966- fi; \
967- figbase=`echo $$fig | sed -e 's/^.*\///'`; \
968- if $$figsymlink; then \
969- echo "cd $$figdir && $(LN_S) -f ../../C/$$fig $$figbase"; \
970- ( cd "$$figdir" && $(LN_S) -f "../../C/$$fig" "$$figbase" ); \
971- else \
972- echo "$(INSTALL_DATA) $$figfile $$figdir$$figbase"; \
973- $(INSTALL_DATA) "$$figfile" "$$figdir$$figbase"; \
974- fi; \
975- done; \
976- done
977-
978-install-doc-html:
979- echo install-html
980-
981-install-doc-omf:
982- $(mkinstalldirs) $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)
983- @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
984- echo "$(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
985- $(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf; \
986- done
987- @if test "x$(_ENABLE_SK)" = "xtrue"; then \
988- echo "scrollkeeper-update -p $(DESTDIR)$(_sklocalstatedir) -o $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)"; \
989- scrollkeeper-update -p "$(DESTDIR)$(_sklocalstatedir)" -o "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)"; \
990- fi;
991-
992-install-doc-dsk:
993- echo install-dsk
994-
995-################################################################################
996-
997-.PHONY: uninstall-doc-docs uninstall-doc-html uninstall-doc-figs uninstall-doc-omf uninstall-doc-dsk
998-uninstall-local: \
999- $(if $(DOC_MODULE)$(DOC_ID),uninstall-doc-docs) \
1000- $(if $(_DOC_HTML_ALL),uninstall-doc-html) \
1001- $(if $(_DOC_C_FIGURES),uninstall-doc-figs) \
1002- $(if $(_DOC_OMF_IN),uninstall-doc-omf)
1003-# $(if $(_DOC_DSK_IN),uninstall-doc-dsk)
1004-
1005-uninstall-doc-docs:
1006- @list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS)'; for doc in $$list; do \
1007- echo " rm -f $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
1008- rm -f "$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
1009- done
1010-
1011-uninstall-doc-figs:
1012- @list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; for fig in $$list; do \
1013- echo "rm -f $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$fig"; \
1014- rm -f "$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$fig"; \
1015- done;
1016-
1017-uninstall-doc-omf:
1018- @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
1019- if test "x$(_ENABLE_SK)" = "xtrue"; then \
1020- echo "scrollkeeper-uninstall -p $(_sklocalstatedir) $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
1021- scrollkeeper-uninstall -p "$(_sklocalstatedir)" "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
1022- fi; \
1023- echo "rm -f $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
1024- rm -f "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
1025- done
1026-dist-hook: doc-dist-hook
1027-
1028-# Tell versions [3.59,3.63) of GNU make to not export all variables.
1029-# Otherwise a system limit (for SysV at least) may be exceeded.
1030-.NOEXPORT:
1031
1032=== removed file 'INSTALL'
1033--- INSTALL 2010-10-16 11:27:27 +0000
1034+++ INSTALL 1970-01-01 00:00:00 +0000
1035@@ -1,365 +0,0 @@
1036-Installation Instructions
1037-*************************
1038-
1039-Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
1040-2006, 2007, 2008, 2009 Free Software Foundation, Inc.
1041-
1042- Copying and distribution of this file, with or without modification,
1043-are permitted in any medium without royalty provided the copyright
1044-notice and this notice are preserved. This file is offered as-is,
1045-without warranty of any kind.
1046-
1047-Basic Installation
1048-==================
1049-
1050- Briefly, the shell commands `./configure; make; make install' should
1051-configure, build, and install this package. The following
1052-more-detailed instructions are generic; see the `README' file for
1053-instructions specific to this package. Some packages provide this
1054-`INSTALL' file but do not implement all of the features documented
1055-below. The lack of an optional feature in a given package is not
1056-necessarily a bug. More recommendations for GNU packages can be found
1057-in *note Makefile Conventions: (standards)Makefile Conventions.
1058-
1059- The `configure' shell script attempts to guess correct values for
1060-various system-dependent variables used during compilation. It uses
1061-those values to create a `Makefile' in each directory of the package.
1062-It may also create one or more `.h' files containing system-dependent
1063-definitions. Finally, it creates a shell script `config.status' that
1064-you can run in the future to recreate the current configuration, and a
1065-file `config.log' containing compiler output (useful mainly for
1066-debugging `configure').
1067-
1068- It can also use an optional file (typically called `config.cache'
1069-and enabled with `--cache-file=config.cache' or simply `-C') that saves
1070-the results of its tests to speed up reconfiguring. Caching is
1071-disabled by default to prevent problems with accidental use of stale
1072-cache files.
1073-
1074- If you need to do unusual things to compile the package, please try
1075-to figure out how `configure' could check whether to do them, and mail
1076-diffs or instructions to the address given in the `README' so they can
1077-be considered for the next release. If you are using the cache, and at
1078-some point `config.cache' contains results you don't want to keep, you
1079-may remove or edit it.
1080-
1081- The file `configure.ac' (or `configure.in') is used to create
1082-`configure' by a program called `autoconf'. You need `configure.ac' if
1083-you want to change it or regenerate `configure' using a newer version
1084-of `autoconf'.
1085-
1086- The simplest way to compile this package is:
1087-
1088- 1. `cd' to the directory containing the package's source code and type
1089- `./configure' to configure the package for your system.
1090-
1091- Running `configure' might take a while. While running, it prints
1092- some messages telling which features it is checking for.
1093-
1094- 2. Type `make' to compile the package.
1095-
1096- 3. Optionally, type `make check' to run any self-tests that come with
1097- the package, generally using the just-built uninstalled binaries.
1098-
1099- 4. Type `make install' to install the programs and any data files and
1100- documentation. When installing into a prefix owned by root, it is
1101- recommended that the package be configured and built as a regular
1102- user, and only the `make install' phase executed with root
1103- privileges.
1104-
1105- 5. Optionally, type `make installcheck' to repeat any self-tests, but
1106- this time using the binaries in their final installed location.
1107- This target does not install anything. Running this target as a
1108- regular user, particularly if the prior `make install' required
1109- root privileges, verifies that the installation completed
1110- correctly.
1111-
1112- 6. You can remove the program binaries and object files from the
1113- source code directory by typing `make clean'. To also remove the
1114- files that `configure' created (so you can compile the package for
1115- a different kind of computer), type `make distclean'. There is
1116- also a `make maintainer-clean' target, but that is intended mainly
1117- for the package's developers. If you use it, you may have to get
1118- all sorts of other programs in order to regenerate files that came
1119- with the distribution.
1120-
1121- 7. Often, you can also type `make uninstall' to remove the installed
1122- files again. In practice, not all packages have tested that
1123- uninstallation works correctly, even though it is required by the
1124- GNU Coding Standards.
1125-
1126- 8. Some packages, particularly those that use Automake, provide `make
1127- distcheck', which can by used by developers to test that all other
1128- targets like `make install' and `make uninstall' work correctly.
1129- This target is generally not run by end users.
1130-
1131-Compilers and Options
1132-=====================
1133-
1134- Some systems require unusual options for compilation or linking that
1135-the `configure' script does not know about. Run `./configure --help'
1136-for details on some of the pertinent environment variables.
1137-
1138- You can give `configure' initial values for configuration parameters
1139-by setting variables in the command line or in the environment. Here
1140-is an example:
1141-
1142- ./configure CC=c99 CFLAGS=-g LIBS=-lposix
1143-
1144- *Note Defining Variables::, for more details.
1145-
1146-Compiling For Multiple Architectures
1147-====================================
1148-
1149- You can compile the package for more than one kind of computer at the
1150-same time, by placing the object files for each architecture in their
1151-own directory. To do this, you can use GNU `make'. `cd' to the
1152-directory where you want the object files and executables to go and run
1153-the `configure' script. `configure' automatically checks for the
1154-source code in the directory that `configure' is in and in `..'. This
1155-is known as a "VPATH" build.
1156-
1157- With a non-GNU `make', it is safer to compile the package for one
1158-architecture at a time in the source code directory. After you have
1159-installed the package for one architecture, use `make distclean' before
1160-reconfiguring for another architecture.
1161-
1162- On MacOS X 10.5 and later systems, you can create libraries and
1163-executables that work on multiple system types--known as "fat" or
1164-"universal" binaries--by specifying multiple `-arch' options to the
1165-compiler but only a single `-arch' option to the preprocessor. Like
1166-this:
1167-
1168- ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
1169- CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
1170- CPP="gcc -E" CXXCPP="g++ -E"
1171-
1172- This is not guaranteed to produce working output in all cases, you
1173-may have to build one architecture at a time and combine the results
1174-using the `lipo' tool if you have problems.
1175-
1176-Installation Names
1177-==================
1178-
1179- By default, `make install' installs the package's commands under
1180-`/usr/local/bin', include files under `/usr/local/include', etc. You
1181-can specify an installation prefix other than `/usr/local' by giving
1182-`configure' the option `--prefix=PREFIX', where PREFIX must be an
1183-absolute file name.
1184-
1185- You can specify separate installation prefixes for
1186-architecture-specific files and architecture-independent files. If you
1187-pass the option `--exec-prefix=PREFIX' to `configure', the package uses
1188-PREFIX as the prefix for installing programs and libraries.
1189-Documentation and other data files still use the regular prefix.
1190-
1191- In addition, if you use an unusual directory layout you can give
1192-options like `--bindir=DIR' to specify different values for particular
1193-kinds of files. Run `configure --help' for a list of the directories
1194-you can set and what kinds of files go in them. In general, the
1195-default for these options is expressed in terms of `${prefix}', so that
1196-specifying just `--prefix' will affect all of the other directory
1197-specifications that were not explicitly provided.
1198-
1199- The most portable way to affect installation locations is to pass the
1200-correct locations to `configure'; however, many packages provide one or
1201-both of the following shortcuts of passing variable assignments to the
1202-`make install' command line to change installation locations without
1203-having to reconfigure or recompile.
1204-
1205- The first method involves providing an override variable for each
1206-affected directory. For example, `make install
1207-prefix=/alternate/directory' will choose an alternate location for all
1208-directory configuration variables that were expressed in terms of
1209-`${prefix}'. Any directories that were specified during `configure',
1210-but not in terms of `${prefix}', must each be overridden at install
1211-time for the entire installation to be relocated. The approach of
1212-makefile variable overrides for each directory variable is required by
1213-the GNU Coding Standards, and ideally causes no recompilation.
1214-However, some platforms have known limitations with the semantics of
1215-shared libraries that end up requiring recompilation when using this
1216-method, particularly noticeable in packages that use GNU Libtool.
1217-
1218- The second method involves providing the `DESTDIR' variable. For
1219-example, `make install DESTDIR=/alternate/directory' will prepend
1220-`/alternate/directory' before all installation names. The approach of
1221-`DESTDIR' overrides is not required by the GNU Coding Standards, and
1222-does not work on platforms that have drive letters. On the other hand,
1223-it does better at avoiding recompilation issues, and works well even
1224-when some directory options were not specified in terms of `${prefix}'
1225-at `configure' time.
1226-
1227-Optional Features
1228-=================
1229-
1230- If the package supports it, you can cause programs to be installed
1231-with an extra prefix or suffix on their names by giving `configure' the
1232-option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
1233-
1234- Some packages pay attention to `--enable-FEATURE' options to
1235-`configure', where FEATURE indicates an optional part of the package.
1236-They may also pay attention to `--with-PACKAGE' options, where PACKAGE
1237-is something like `gnu-as' or `x' (for the X Window System). The
1238-`README' should mention any `--enable-' and `--with-' options that the
1239-package recognizes.
1240-
1241- For packages that use the X Window System, `configure' can usually
1242-find the X include and library files automatically, but if it doesn't,
1243-you can use the `configure' options `--x-includes=DIR' and
1244-`--x-libraries=DIR' to specify their locations.
1245-
1246- Some packages offer the ability to configure how verbose the
1247-execution of `make' will be. For these packages, running `./configure
1248---enable-silent-rules' sets the default to minimal output, which can be
1249-overridden with `make V=1'; while running `./configure
1250---disable-silent-rules' sets the default to verbose, which can be
1251-overridden with `make V=0'.
1252-
1253-Particular systems
1254-==================
1255-
1256- On HP-UX, the default C compiler is not ANSI C compatible. If GNU
1257-CC is not installed, it is recommended to use the following options in
1258-order to use an ANSI C compiler:
1259-
1260- ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
1261-
1262-and if that doesn't work, install pre-built binaries of GCC for HP-UX.
1263-
1264- On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
1265-parse its `<wchar.h>' header file. The option `-nodtk' can be used as
1266-a workaround. If GNU CC is not installed, it is therefore recommended
1267-to try
1268-
1269- ./configure CC="cc"
1270-
1271-and if that doesn't work, try
1272-
1273- ./configure CC="cc -nodtk"
1274-
1275- On Solaris, don't put `/usr/ucb' early in your `PATH'. This
1276-directory contains several dysfunctional programs; working variants of
1277-these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
1278-in your `PATH', put it _after_ `/usr/bin'.
1279-
1280- On Haiku, software installed for all users goes in `/boot/common',
1281-not `/usr/local'. It is recommended to use the following options:
1282-
1283- ./configure --prefix=/boot/common
1284-
1285-Specifying the System Type
1286-==========================
1287-
1288- There may be some features `configure' cannot figure out
1289-automatically, but needs to determine by the type of machine the package
1290-will run on. Usually, assuming the package is built to be run on the
1291-_same_ architectures, `configure' can figure that out, but if it prints
1292-a message saying it cannot guess the machine type, give it the
1293-`--build=TYPE' option. TYPE can either be a short name for the system
1294-type, such as `sun4', or a canonical name which has the form:
1295-
1296- CPU-COMPANY-SYSTEM
1297-
1298-where SYSTEM can have one of these forms:
1299-
1300- OS
1301- KERNEL-OS
1302-
1303- See the file `config.sub' for the possible values of each field. If
1304-`config.sub' isn't included in this package, then this package doesn't
1305-need to know the machine type.
1306-
1307- If you are _building_ compiler tools for cross-compiling, you should
1308-use the option `--target=TYPE' to select the type of system they will
1309-produce code for.
1310-
1311- If you want to _use_ a cross compiler, that generates code for a
1312-platform different from the build platform, you should specify the
1313-"host" platform (i.e., that on which the generated programs will
1314-eventually be run) with `--host=TYPE'.
1315-
1316-Sharing Defaults
1317-================
1318-
1319- If you want to set default values for `configure' scripts to share,
1320-you can create a site shell script called `config.site' that gives
1321-default values for variables like `CC', `cache_file', and `prefix'.
1322-`configure' looks for `PREFIX/share/config.site' if it exists, then
1323-`PREFIX/etc/config.site' if it exists. Or, you can set the
1324-`CONFIG_SITE' environment variable to the location of the site script.
1325-A warning: not all `configure' scripts look for a site script.
1326-
1327-Defining Variables
1328-==================
1329-
1330- Variables not defined in a site shell script can be set in the
1331-environment passed to `configure'. However, some packages may run
1332-configure again during the build, and the customized values of these
1333-variables may be lost. In order to avoid this problem, you should set
1334-them in the `configure' command line, using `VAR=value'. For example:
1335-
1336- ./configure CC=/usr/local2/bin/gcc
1337-
1338-causes the specified `gcc' to be used as the C compiler (unless it is
1339-overridden in the site shell script).
1340-
1341-Unfortunately, this technique does not work for `CONFIG_SHELL' due to
1342-an Autoconf bug. Until the bug is fixed you can use this workaround:
1343-
1344- CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
1345-
1346-`configure' Invocation
1347-======================
1348-
1349- `configure' recognizes the following options to control how it
1350-operates.
1351-
1352-`--help'
1353-`-h'
1354- Print a summary of all of the options to `configure', and exit.
1355-
1356-`--help=short'
1357-`--help=recursive'
1358- Print a summary of the options unique to this package's
1359- `configure', and exit. The `short' variant lists options used
1360- only in the top level, while the `recursive' variant lists options
1361- also present in any nested packages.
1362-
1363-`--version'
1364-`-V'
1365- Print the version of Autoconf used to generate the `configure'
1366- script, and exit.
1367-
1368-`--cache-file=FILE'
1369- Enable the cache: use and save the results of the tests in FILE,
1370- traditionally `config.cache'. FILE defaults to `/dev/null' to
1371- disable caching.
1372-
1373-`--config-cache'
1374-`-C'
1375- Alias for `--cache-file=config.cache'.
1376-
1377-`--quiet'
1378-`--silent'
1379-`-q'
1380- Do not print messages saying which checks are being made. To
1381- suppress all normal output, redirect it to `/dev/null' (any error
1382- messages will still be shown).
1383-
1384-`--srcdir=DIR'
1385- Look for the package's source code in directory DIR. Usually
1386- `configure' can determine that directory automatically.
1387-
1388-`--prefix=DIR'
1389- Use DIR as the installation prefix. *note Installation Names::
1390- for more details, including other options available for fine-tuning
1391- the installation locations.
1392-
1393-`--no-create'
1394-`-n'
1395- Run the configure checks, but stop before creating any output
1396- files.
1397-
1398-`configure' also accepts some other, not widely useful, options. Run
1399-`configure --help' for more details.
1400-
1401
1402=== removed file 'Makefile.in'
1403--- Makefile.in 2012-09-30 11:21:31 +0000
1404+++ Makefile.in 1970-01-01 00:00:00 +0000
1405@@ -1,886 +0,0 @@
1406-# Makefile.in generated by automake 1.11.1 from Makefile.am.
1407-# @configure_input@
1408-
1409-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1410-# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
1411-# Inc.
1412-# This Makefile.in is free software; the Free Software Foundation
1413-# gives unlimited permission to copy and/or distribute it,
1414-# with or without modifications, as long as this notice is preserved.
1415-
1416-# This program is distributed in the hope that it will be useful,
1417-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
1418-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1419-# PARTICULAR PURPOSE.
1420-
1421-@SET_MAKE@
1422-
1423-VPATH = @srcdir@
1424-pkgdatadir = $(datadir)/@PACKAGE@
1425-pkgincludedir = $(includedir)/@PACKAGE@
1426-pkglibdir = $(libdir)/@PACKAGE@
1427-pkglibexecdir = $(libexecdir)/@PACKAGE@
1428-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
1429-install_sh_DATA = $(install_sh) -c -m 644
1430-install_sh_PROGRAM = $(install_sh) -c
1431-install_sh_SCRIPT = $(install_sh) -c
1432-INSTALL_HEADER = $(INSTALL_DATA)
1433-transform = $(program_transform_name)
1434-NORMAL_INSTALL = :
1435-PRE_INSTALL = :
1436-POST_INSTALL = :
1437-NORMAL_UNINSTALL = :
1438-PRE_UNINSTALL = :
1439-POST_UNINSTALL = :
1440-build_triplet = @build@
1441-host_triplet = @host@
1442-subdir = .
1443-DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
1444- $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
1445- ChangeLog INSTALL NEWS TODO config.guess config.sub depcomp \
1446- install-sh ltmain.sh missing mkinstalldirs
1447-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
1448-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
1449-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
1450- $(ACLOCAL_M4)
1451-am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
1452- configure.lineno config.status.lineno
1453-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
1454-CONFIG_HEADER = $(top_builddir)/sensors-applet/config.h
1455-CONFIG_CLEAN_FILES =
1456-CONFIG_CLEAN_VPATH_FILES =
1457-AM_V_GEN = $(am__v_GEN_$(V))
1458-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
1459-am__v_GEN_0 = @echo " GEN " $@;
1460-AM_V_at = $(am__v_at_$(V))
1461-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
1462-am__v_at_0 = @
1463-SOURCES =
1464-DIST_SOURCES =
1465-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
1466- html-recursive info-recursive install-data-recursive \
1467- install-dvi-recursive install-exec-recursive \
1468- install-html-recursive install-info-recursive \
1469- install-pdf-recursive install-ps-recursive install-recursive \
1470- installcheck-recursive installdirs-recursive pdf-recursive \
1471- ps-recursive uninstall-recursive
1472-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
1473-am__vpath_adj = case $$p in \
1474- $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
1475- *) f=$$p;; \
1476- esac;
1477-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
1478-am__install_max = 40
1479-am__nobase_strip_setup = \
1480- srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
1481-am__nobase_strip = \
1482- for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
1483-am__nobase_list = $(am__nobase_strip_setup); \
1484- for p in $$list; do echo "$$p $$p"; done | \
1485- sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
1486- $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
1487- if (++n[$$2] == $(am__install_max)) \
1488- { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
1489- END { for (dir in files) print dir, files[dir] }'
1490-am__base_list = \
1491- sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
1492- sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
1493-am__installdirs = "$(DESTDIR)$(appletdir)" "$(DESTDIR)$(servicedir)" \
1494- "$(DESTDIR)$(uidir)"
1495-DATA = $(applet_DATA) $(service_DATA) $(ui_DATA)
1496-RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
1497- distclean-recursive maintainer-clean-recursive
1498-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
1499- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
1500- distdir dist dist-all distcheck
1501-ETAGS = etags
1502-CTAGS = ctags
1503-DIST_SUBDIRS = $(SUBDIRS)
1504-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
1505-distdir = $(PACKAGE)-$(VERSION)
1506-top_distdir = $(distdir)
1507-am__remove_distdir = \
1508- { test ! -d "$(distdir)" \
1509- || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
1510- && rm -fr "$(distdir)"; }; }
1511-am__relativize = \
1512- dir0=`pwd`; \
1513- sed_first='s,^\([^/]*\)/.*$$,\1,'; \
1514- sed_rest='s,^[^/]*/*,,'; \
1515- sed_last='s,^.*/\([^/]*\)$$,\1,'; \
1516- sed_butlast='s,/*[^/]*$$,,'; \
1517- while test -n "$$dir1"; do \
1518- first=`echo "$$dir1" | sed -e "$$sed_first"`; \
1519- if test "$$first" != "."; then \
1520- if test "$$first" = ".."; then \
1521- dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
1522- dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
1523- else \
1524- first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
1525- if test "$$first2" = "$$first"; then \
1526- dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
1527- else \
1528- dir2="../$$dir2"; \
1529- fi; \
1530- dir0="$$dir0"/"$$first"; \
1531- fi; \
1532- fi; \
1533- dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
1534- done; \
1535- reldir="$$dir2"
1536-DIST_ARCHIVES = $(distdir).tar.gz
1537-GZIP_ENV = --best
1538-distuninstallcheck_listfiles = find . -type f -print
1539-distcleancheck_listfiles = find . -type f -print
1540-ACLOCAL = @ACLOCAL@
1541-ALL_LINGUAS = @ALL_LINGUAS@
1542-AMTAR = @AMTAR@
1543-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
1544-AR = @AR@
1545-ATICONFIG_EXE = @ATICONFIG_EXE@
1546-AUTOCONF = @AUTOCONF@
1547-AUTOHEADER = @AUTOHEADER@
1548-AUTOMAKE = @AUTOMAKE@
1549-AWK = @AWK@
1550-CAIRO_CFLAGS = @CAIRO_CFLAGS@
1551-CAIRO_LIBS = @CAIRO_LIBS@
1552-CATALOGS = @CATALOGS@
1553-CATOBJEXT = @CATOBJEXT@
1554-CC = @CC@
1555-CCDEPMODE = @CCDEPMODE@
1556-CFLAGS = @CFLAGS@
1557-CPP = @CPP@
1558-CPPFLAGS = @CPPFLAGS@
1559-CYGPATH_W = @CYGPATH_W@
1560-DATADIRNAME = @DATADIRNAME@
1561-DBUSGLIB_CFLAGS = @DBUSGLIB_CFLAGS@
1562-DBUSGLIB_LIBS = @DBUSGLIB_LIBS@
1563-DEFS = @DEFS@
1564-DEPDIR = @DEPDIR@
1565-DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper
1566-DLLTOOL = @DLLTOOL@
1567-DOC_USER_FORMATS = @DOC_USER_FORMATS@
1568-DSYMUTIL = @DSYMUTIL@
1569-DUMPBIN = @DUMPBIN@
1570-ECHO_C = @ECHO_C@
1571-ECHO_N = @ECHO_N@
1572-ECHO_T = @ECHO_T@
1573-EGREP = @EGREP@
1574-EXEEXT = @EXEEXT@
1575-FGREP = @FGREP@
1576-GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
1577-GLIB_CFLAGS = @GLIB_CFLAGS@
1578-GLIB_LIBS = @GLIB_LIBS@
1579-GMOFILES = @GMOFILES@
1580-GMSGFMT = @GMSGFMT@
1581-GNOME_CFLAGS = @GNOME_CFLAGS@
1582-GNOME_LIBS = @GNOME_LIBS@
1583-GREP = @GREP@
1584-GTK_CFLAGS = @GTK_CFLAGS@
1585-GTK_LIBS = @GTK_LIBS@
1586-HELP_DIR = @HELP_DIR@
1587-INSTALL = @INSTALL@
1588-INSTALL_DATA = @INSTALL_DATA@
1589-INSTALL_PROGRAM = @INSTALL_PROGRAM@
1590-INSTALL_SCRIPT = @INSTALL_SCRIPT@
1591-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
1592-INSTOBJEXT = @INSTOBJEXT@
1593-INTLLIBS = @INTLLIBS@
1594-INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
1595-INTLTOOL_MERGE = @INTLTOOL_MERGE@
1596-INTLTOOL_PERL = @INTLTOOL_PERL@
1597-INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
1598-LD = @LD@
1599-LDFLAGS = @LDFLAGS@
1600-LIBATASMART_CFLAGS = @LIBATASMART_CFLAGS@
1601-LIBATASMART_LIBS = @LIBATASMART_LIBS@
1602-LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@
1603-LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@
1604-LIBOBJS = @LIBOBJS@
1605-LIBPANEL_APPLET_DIR = @LIBPANEL_APPLET_DIR@
1606-LIBS = @LIBS@
1607-LIBSENSORS_CFLAGS = @LIBSENSORS_CFLAGS@
1608-LIBSENSORS_LIBS = @LIBSENSORS_LIBS@
1609-LIBTOOL = @LIBTOOL@
1610-LIPO = @LIPO@
1611-LN_S = @LN_S@
1612-LTLIBOBJS = @LTLIBOBJS@
1613-MAINT = @MAINT@
1614-MAKEINFO = @MAKEINFO@
1615-MANIFEST_TOOL = @MANIFEST_TOOL@
1616-MKDIR_P = @MKDIR_P@
1617-MKINSTALLDIRS = @MKINSTALLDIRS@
1618-MSGFMT = @MSGFMT@
1619-MSGFMT_OPTS = @MSGFMT_OPTS@
1620-MSGMERGE = @MSGMERGE@
1621-NM = @NM@
1622-NMEDIT = @NMEDIT@
1623-NVIDIA_CFLAGS = @NVIDIA_CFLAGS@
1624-NVIDIA_LIBS = @NVIDIA_LIBS@
1625-OBJDUMP = @OBJDUMP@
1626-OBJEXT = @OBJEXT@
1627-OMF_DIR = @OMF_DIR@
1628-OTOOL = @OTOOL@
1629-OTOOL64 = @OTOOL64@
1630-PACKAGE = @PACKAGE@
1631-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
1632-PACKAGE_NAME = @PACKAGE_NAME@
1633-PACKAGE_STRING = @PACKAGE_STRING@
1634-PACKAGE_TARNAME = @PACKAGE_TARNAME@
1635-PACKAGE_URL = @PACKAGE_URL@
1636-PACKAGE_VERSION = @PACKAGE_VERSION@
1637-PATH_SEPARATOR = @PATH_SEPARATOR@
1638-PKG_CONFIG = @PKG_CONFIG@
1639-PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
1640-PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
1641-PLUGIN_LIBTOOL_FLAGS = @PLUGIN_LIBTOOL_FLAGS@
1642-POFILES = @POFILES@
1643-POSUB = @POSUB@
1644-PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
1645-PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
1646-RANLIB = @RANLIB@
1647-SED = @SED@
1648-SET_MAKE = @SET_MAKE@
1649-SHELL = @SHELL@
1650-STRIP = @STRIP@
1651-USE_NLS = @USE_NLS@
1652-VERSION = @VERSION@
1653-WARN_CFLAGS = @WARN_CFLAGS@
1654-XGETTEXT = @XGETTEXT@
1655-XSLTPROC = @XSLTPROC@
1656-abs_builddir = @abs_builddir@
1657-abs_srcdir = @abs_srcdir@
1658-abs_top_builddir = @abs_top_builddir@
1659-abs_top_srcdir = @abs_top_srcdir@
1660-ac_ct_AR = @ac_ct_AR@
1661-ac_ct_CC = @ac_ct_CC@
1662-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
1663-am__include = @am__include@
1664-am__leading_dot = @am__leading_dot@
1665-am__quote = @am__quote@
1666-am__tar = @am__tar@
1667-am__untar = @am__untar@
1668-bindir = @bindir@
1669-build = @build@
1670-build_alias = @build_alias@
1671-build_cpu = @build_cpu@
1672-build_os = @build_os@
1673-build_vendor = @build_vendor@
1674-builddir = @builddir@
1675-datadir = @datadir@
1676-datarootdir = @datarootdir@
1677-docdir = @docdir@
1678-dvidir = @dvidir@
1679-exec_prefix = @exec_prefix@
1680-host = @host@
1681-host_alias = @host_alias@
1682-host_cpu = @host_cpu@
1683-host_os = @host_os@
1684-host_vendor = @host_vendor@
1685-htmldir = @htmldir@
1686-includedir = @includedir@
1687-infodir = @infodir@
1688-install_sh = @install_sh@
1689-libdir = @libdir@
1690-libexecdir = @libexecdir@
1691-localedir = @localedir@
1692-localstatedir = @localstatedir@
1693-mandir = @mandir@
1694-mkdir_p = @mkdir_p@
1695-oldincludedir = @oldincludedir@
1696-pdfdir = @pdfdir@
1697-prefix = @prefix@
1698-program_transform_name = @program_transform_name@
1699-psdir = @psdir@
1700-sbindir = @sbindir@
1701-sharedstatedir = @sharedstatedir@
1702-srcdir = @srcdir@
1703-sysconfdir = @sysconfdir@
1704-target_alias = @target_alias@
1705-top_build_prefix = @top_build_prefix@
1706-top_builddir = @top_builddir@
1707-top_srcdir = @top_srcdir@
1708-SUBDIRS = sensors-applet lib plugins pixmaps po help
1709-appletdir = $(LIBPANEL_APPLET_DIR)
1710-applet_in_files = org.gnome.applets.SensorsApplet.panel-applet.in
1711-applet_DATA = $(applet_in_files:.panel-applet.in=.panel-applet)
1712-uidir = $(pkgdatadir)/ui
1713-ui_DATA = SensorsApplet.xml
1714-servicedir = $(datadir)/dbus-1/services
1715-service_in_files = org.gnome.panel.applet.SensorsAppletFactory.service.in
1716-service_DATA = $(service_in_files:.service.in=.service)
1717-CLEANFILES = $(applet_DATA) $(applet_DATA).in $(service_DATA) $(schemas_DATA)
1718-EXTRA_DIST = $(ui_DATA) \
1719- $(applet_in_files:.panel-applet.in=.panel-applet.in.in) \
1720- $(service_in_files) \
1721- intltool-merge.in intltool-extract.in intltool-update.in \
1722- gnome-doc-utils.make
1723-
1724-DISTCLEANFILES = gnome-doc-utils.make \
1725- intltool-extract \
1726- intltool-merge \
1727- intltool-update
1728-
1729-all: all-recursive
1730-
1731-.SUFFIXES:
1732-am--refresh:
1733- @:
1734-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
1735- @for dep in $?; do \
1736- case '$(am__configure_deps)' in \
1737- *$$dep*) \
1738- echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
1739- $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
1740- && exit 0; \
1741- exit 1;; \
1742- esac; \
1743- done; \
1744- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
1745- $(am__cd) $(top_srcdir) && \
1746- $(AUTOMAKE) --gnu Makefile
1747-.PRECIOUS: Makefile
1748-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
1749- @case '$?' in \
1750- *config.status*) \
1751- echo ' $(SHELL) ./config.status'; \
1752- $(SHELL) ./config.status;; \
1753- *) \
1754- echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
1755- cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
1756- esac;
1757-
1758-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
1759- $(SHELL) ./config.status --recheck
1760-
1761-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
1762- $(am__cd) $(srcdir) && $(AUTOCONF)
1763-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
1764- $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
1765-$(am__aclocal_m4_deps):
1766-
1767-mostlyclean-libtool:
1768- -rm -f *.lo
1769-
1770-clean-libtool:
1771- -rm -rf .libs _libs
1772-
1773-distclean-libtool:
1774- -rm -f libtool config.lt
1775-install-appletDATA: $(applet_DATA)
1776- @$(NORMAL_INSTALL)
1777- test -z "$(appletdir)" || $(MKDIR_P) "$(DESTDIR)$(appletdir)"
1778- @list='$(applet_DATA)'; test -n "$(appletdir)" || list=; \
1779- for p in $$list; do \
1780- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1781- echo "$$d$$p"; \
1782- done | $(am__base_list) | \
1783- while read files; do \
1784- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(appletdir)'"; \
1785- $(INSTALL_DATA) $$files "$(DESTDIR)$(appletdir)" || exit $$?; \
1786- done
1787-
1788-uninstall-appletDATA:
1789- @$(NORMAL_UNINSTALL)
1790- @list='$(applet_DATA)'; test -n "$(appletdir)" || list=; \
1791- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1792- test -n "$$files" || exit 0; \
1793- echo " ( cd '$(DESTDIR)$(appletdir)' && rm -f" $$files ")"; \
1794- cd "$(DESTDIR)$(appletdir)" && rm -f $$files
1795-install-serviceDATA: $(service_DATA)
1796- @$(NORMAL_INSTALL)
1797- test -z "$(servicedir)" || $(MKDIR_P) "$(DESTDIR)$(servicedir)"
1798- @list='$(service_DATA)'; test -n "$(servicedir)" || list=; \
1799- for p in $$list; do \
1800- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1801- echo "$$d$$p"; \
1802- done | $(am__base_list) | \
1803- while read files; do \
1804- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(servicedir)'"; \
1805- $(INSTALL_DATA) $$files "$(DESTDIR)$(servicedir)" || exit $$?; \
1806- done
1807-
1808-uninstall-serviceDATA:
1809- @$(NORMAL_UNINSTALL)
1810- @list='$(service_DATA)'; test -n "$(servicedir)" || list=; \
1811- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1812- test -n "$$files" || exit 0; \
1813- echo " ( cd '$(DESTDIR)$(servicedir)' && rm -f" $$files ")"; \
1814- cd "$(DESTDIR)$(servicedir)" && rm -f $$files
1815-install-uiDATA: $(ui_DATA)
1816- @$(NORMAL_INSTALL)
1817- test -z "$(uidir)" || $(MKDIR_P) "$(DESTDIR)$(uidir)"
1818- @list='$(ui_DATA)'; test -n "$(uidir)" || list=; \
1819- for p in $$list; do \
1820- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1821- echo "$$d$$p"; \
1822- done | $(am__base_list) | \
1823- while read files; do \
1824- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(uidir)'"; \
1825- $(INSTALL_DATA) $$files "$(DESTDIR)$(uidir)" || exit $$?; \
1826- done
1827-
1828-uninstall-uiDATA:
1829- @$(NORMAL_UNINSTALL)
1830- @list='$(ui_DATA)'; test -n "$(uidir)" || list=; \
1831- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1832- test -n "$$files" || exit 0; \
1833- echo " ( cd '$(DESTDIR)$(uidir)' && rm -f" $$files ")"; \
1834- cd "$(DESTDIR)$(uidir)" && rm -f $$files
1835-
1836-# This directory's subdirectories are mostly independent; you can cd
1837-# into them and run `make' without going through this Makefile.
1838-# To change the values of `make' variables: instead of editing Makefiles,
1839-# (1) if the variable is set in `config.status', edit `config.status'
1840-# (which will cause the Makefiles to be regenerated when you run `make');
1841-# (2) otherwise, pass the desired values on the `make' command line.
1842-$(RECURSIVE_TARGETS):
1843- @fail= failcom='exit 1'; \
1844- for f in x $$MAKEFLAGS; do \
1845- case $$f in \
1846- *=* | --[!k]*);; \
1847- *k*) failcom='fail=yes';; \
1848- esac; \
1849- done; \
1850- dot_seen=no; \
1851- target=`echo $@ | sed s/-recursive//`; \
1852- list='$(SUBDIRS)'; for subdir in $$list; do \
1853- echo "Making $$target in $$subdir"; \
1854- if test "$$subdir" = "."; then \
1855- dot_seen=yes; \
1856- local_target="$$target-am"; \
1857- else \
1858- local_target="$$target"; \
1859- fi; \
1860- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
1861- || eval $$failcom; \
1862- done; \
1863- if test "$$dot_seen" = "no"; then \
1864- $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
1865- fi; test -z "$$fail"
1866-
1867-$(RECURSIVE_CLEAN_TARGETS):
1868- @fail= failcom='exit 1'; \
1869- for f in x $$MAKEFLAGS; do \
1870- case $$f in \
1871- *=* | --[!k]*);; \
1872- *k*) failcom='fail=yes';; \
1873- esac; \
1874- done; \
1875- dot_seen=no; \
1876- case "$@" in \
1877- distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
1878- *) list='$(SUBDIRS)' ;; \
1879- esac; \
1880- rev=''; for subdir in $$list; do \
1881- if test "$$subdir" = "."; then :; else \
1882- rev="$$subdir $$rev"; \
1883- fi; \
1884- done; \
1885- rev="$$rev ."; \
1886- target=`echo $@ | sed s/-recursive//`; \
1887- for subdir in $$rev; do \
1888- echo "Making $$target in $$subdir"; \
1889- if test "$$subdir" = "."; then \
1890- local_target="$$target-am"; \
1891- else \
1892- local_target="$$target"; \
1893- fi; \
1894- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
1895- || eval $$failcom; \
1896- done && test -z "$$fail"
1897-tags-recursive:
1898- list='$(SUBDIRS)'; for subdir in $$list; do \
1899- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
1900- done
1901-ctags-recursive:
1902- list='$(SUBDIRS)'; for subdir in $$list; do \
1903- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
1904- done
1905-
1906-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
1907- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1908- unique=`for i in $$list; do \
1909- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1910- done | \
1911- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1912- END { if (nonempty) { for (i in files) print i; }; }'`; \
1913- mkid -fID $$unique
1914-tags: TAGS
1915-
1916-TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
1917- $(TAGS_FILES) $(LISP)
1918- set x; \
1919- here=`pwd`; \
1920- if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
1921- include_option=--etags-include; \
1922- empty_fix=.; \
1923- else \
1924- include_option=--include; \
1925- empty_fix=; \
1926- fi; \
1927- list='$(SUBDIRS)'; for subdir in $$list; do \
1928- if test "$$subdir" = .; then :; else \
1929- test ! -f $$subdir/TAGS || \
1930- set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
1931- fi; \
1932- done; \
1933- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1934- unique=`for i in $$list; do \
1935- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1936- done | \
1937- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1938- END { if (nonempty) { for (i in files) print i; }; }'`; \
1939- shift; \
1940- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
1941- test -n "$$unique" || unique=$$empty_fix; \
1942- if test $$# -gt 0; then \
1943- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1944- "$$@" $$unique; \
1945- else \
1946- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1947- $$unique; \
1948- fi; \
1949- fi
1950-ctags: CTAGS
1951-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
1952- $(TAGS_FILES) $(LISP)
1953- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1954- unique=`for i in $$list; do \
1955- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1956- done | \
1957- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1958- END { if (nonempty) { for (i in files) print i; }; }'`; \
1959- test -z "$(CTAGS_ARGS)$$unique" \
1960- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1961- $$unique
1962-
1963-GTAGS:
1964- here=`$(am__cd) $(top_builddir) && pwd` \
1965- && $(am__cd) $(top_srcdir) \
1966- && gtags -i $(GTAGS_ARGS) "$$here"
1967-
1968-distclean-tags:
1969- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1970-
1971-distdir: $(DISTFILES)
1972- $(am__remove_distdir)
1973- test -d "$(distdir)" || mkdir "$(distdir)"
1974- @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1975- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1976- list='$(DISTFILES)'; \
1977- dist_files=`for file in $$list; do echo $$file; done | \
1978- sed -e "s|^$$srcdirstrip/||;t" \
1979- -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1980- case $$dist_files in \
1981- */*) $(MKDIR_P) `echo "$$dist_files" | \
1982- sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1983- sort -u` ;; \
1984- esac; \
1985- for file in $$dist_files; do \
1986- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1987- if test -d $$d/$$file; then \
1988- dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1989- if test -d "$(distdir)/$$file"; then \
1990- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1991- fi; \
1992- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1993- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1994- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1995- fi; \
1996- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1997- else \
1998- test -f "$(distdir)/$$file" \
1999- || cp -p $$d/$$file "$(distdir)/$$file" \
2000- || exit 1; \
2001- fi; \
2002- done
2003- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
2004- if test "$$subdir" = .; then :; else \
2005- test -d "$(distdir)/$$subdir" \
2006- || $(MKDIR_P) "$(distdir)/$$subdir" \
2007- || exit 1; \
2008- fi; \
2009- done
2010- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
2011- if test "$$subdir" = .; then :; else \
2012- dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
2013- $(am__relativize); \
2014- new_distdir=$$reldir; \
2015- dir1=$$subdir; dir2="$(top_distdir)"; \
2016- $(am__relativize); \
2017- new_top_distdir=$$reldir; \
2018- echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
2019- echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
2020- ($(am__cd) $$subdir && \
2021- $(MAKE) $(AM_MAKEFLAGS) \
2022- top_distdir="$$new_top_distdir" \
2023- distdir="$$new_distdir" \
2024- am__remove_distdir=: \
2025- am__skip_length_check=: \
2026- am__skip_mode_fix=: \
2027- distdir) \
2028- || exit 1; \
2029- fi; \
2030- done
2031- -test -n "$(am__skip_mode_fix)" \
2032- || find "$(distdir)" -type d ! -perm -755 \
2033- -exec chmod u+rwx,go+rx {} \; -o \
2034- ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
2035- ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
2036- ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
2037- || chmod -R a+r "$(distdir)"
2038-dist-gzip: distdir
2039- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
2040- $(am__remove_distdir)
2041-
2042-dist-bzip2: distdir
2043- tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
2044- $(am__remove_distdir)
2045-
2046-dist-lzma: distdir
2047- tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
2048- $(am__remove_distdir)
2049-
2050-dist-xz: distdir
2051- tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
2052- $(am__remove_distdir)
2053-
2054-dist-tarZ: distdir
2055- tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
2056- $(am__remove_distdir)
2057-
2058-dist-shar: distdir
2059- shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
2060- $(am__remove_distdir)
2061-
2062-dist-zip: distdir
2063- -rm -f $(distdir).zip
2064- zip -rq $(distdir).zip $(distdir)
2065- $(am__remove_distdir)
2066-
2067-dist dist-all: distdir
2068- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
2069- $(am__remove_distdir)
2070-
2071-# This target untars the dist file and tries a VPATH configuration. Then
2072-# it guarantees that the distribution is self-contained by making another
2073-# tarfile.
2074-distcheck: dist
2075- case '$(DIST_ARCHIVES)' in \
2076- *.tar.gz*) \
2077- GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
2078- *.tar.bz2*) \
2079- bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
2080- *.tar.lzma*) \
2081- lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
2082- *.tar.xz*) \
2083- xz -dc $(distdir).tar.xz | $(am__untar) ;;\
2084- *.tar.Z*) \
2085- uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
2086- *.shar.gz*) \
2087- GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
2088- *.zip*) \
2089- unzip $(distdir).zip ;;\
2090- esac
2091- chmod -R a-w $(distdir); chmod a+w $(distdir)
2092- mkdir $(distdir)/_build
2093- mkdir $(distdir)/_inst
2094- chmod a-w $(distdir)
2095- test -d $(distdir)/_build || exit 0; \
2096- dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
2097- && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
2098- && am__cwd=`pwd` \
2099- && $(am__cd) $(distdir)/_build \
2100- && ../configure --srcdir=.. --prefix="$$dc_install_base" \
2101- $(DISTCHECK_CONFIGURE_FLAGS) \
2102- && $(MAKE) $(AM_MAKEFLAGS) \
2103- && $(MAKE) $(AM_MAKEFLAGS) dvi \
2104- && $(MAKE) $(AM_MAKEFLAGS) check \
2105- && $(MAKE) $(AM_MAKEFLAGS) install \
2106- && $(MAKE) $(AM_MAKEFLAGS) installcheck \
2107- && $(MAKE) $(AM_MAKEFLAGS) uninstall \
2108- && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
2109- distuninstallcheck \
2110- && chmod -R a-w "$$dc_install_base" \
2111- && ({ \
2112- (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
2113- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
2114- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
2115- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
2116- distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
2117- } || { rm -rf "$$dc_destdir"; exit 1; }) \
2118- && rm -rf "$$dc_destdir" \
2119- && $(MAKE) $(AM_MAKEFLAGS) dist \
2120- && rm -rf $(DIST_ARCHIVES) \
2121- && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
2122- && cd "$$am__cwd" \
2123- || exit 1
2124- $(am__remove_distdir)
2125- @(echo "$(distdir) archives ready for distribution: "; \
2126- list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
2127- sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
2128-distuninstallcheck:
2129- @$(am__cd) '$(distuninstallcheck_dir)' \
2130- && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
2131- || { echo "ERROR: files left after uninstall:" ; \
2132- if test -n "$(DESTDIR)"; then \
2133- echo " (check DESTDIR support)"; \
2134- fi ; \
2135- $(distuninstallcheck_listfiles) ; \
2136- exit 1; } >&2
2137-distcleancheck: distclean
2138- @if test '$(srcdir)' = . ; then \
2139- echo "ERROR: distcleancheck can only run from a VPATH build" ; \
2140- exit 1 ; \
2141- fi
2142- @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
2143- || { echo "ERROR: files left in build directory after distclean:" ; \
2144- $(distcleancheck_listfiles) ; \
2145- exit 1; } >&2
2146-check-am: all-am
2147-check: check-recursive
2148-all-am: Makefile $(DATA)
2149-installdirs: installdirs-recursive
2150-installdirs-am:
2151- for dir in "$(DESTDIR)$(appletdir)" "$(DESTDIR)$(servicedir)" "$(DESTDIR)$(uidir)"; do \
2152- test -z "$$dir" || $(MKDIR_P) "$$dir"; \
2153- done
2154-install: install-recursive
2155-install-exec: install-exec-recursive
2156-install-data: install-data-recursive
2157-uninstall: uninstall-recursive
2158-
2159-install-am: all-am
2160- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
2161-
2162-installcheck: installcheck-recursive
2163-install-strip:
2164- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
2165- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
2166- `test -z '$(STRIP)' || \
2167- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
2168-mostlyclean-generic:
2169-
2170-clean-generic:
2171- -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
2172-
2173-distclean-generic:
2174- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
2175- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
2176- -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
2177-
2178-maintainer-clean-generic:
2179- @echo "This command is intended for maintainers to use"
2180- @echo "it deletes files that may require special tools to rebuild."
2181-clean: clean-recursive
2182-
2183-clean-am: clean-generic clean-libtool mostlyclean-am
2184-
2185-distclean: distclean-recursive
2186- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
2187- -rm -f Makefile
2188-distclean-am: clean-am distclean-generic distclean-libtool \
2189- distclean-tags
2190-
2191-dvi: dvi-recursive
2192-
2193-dvi-am:
2194-
2195-html: html-recursive
2196-
2197-html-am:
2198-
2199-info: info-recursive
2200-
2201-info-am:
2202-
2203-install-data-am: install-appletDATA install-serviceDATA install-uiDATA
2204-
2205-install-dvi: install-dvi-recursive
2206-
2207-install-dvi-am:
2208-
2209-install-exec-am:
2210-
2211-install-html: install-html-recursive
2212-
2213-install-html-am:
2214-
2215-install-info: install-info-recursive
2216-
2217-install-info-am:
2218-
2219-install-man:
2220-
2221-install-pdf: install-pdf-recursive
2222-
2223-install-pdf-am:
2224-
2225-install-ps: install-ps-recursive
2226-
2227-install-ps-am:
2228-
2229-installcheck-am:
2230-
2231-maintainer-clean: maintainer-clean-recursive
2232- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
2233- -rm -rf $(top_srcdir)/autom4te.cache
2234- -rm -f Makefile
2235-maintainer-clean-am: distclean-am maintainer-clean-generic
2236-
2237-mostlyclean: mostlyclean-recursive
2238-
2239-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
2240-
2241-pdf: pdf-recursive
2242-
2243-pdf-am:
2244-
2245-ps: ps-recursive
2246-
2247-ps-am:
2248-
2249-uninstall-am: uninstall-appletDATA uninstall-serviceDATA \
2250- uninstall-uiDATA
2251-
2252-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
2253- install-am install-strip tags-recursive
2254-
2255-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
2256- all all-am am--refresh check check-am clean clean-generic \
2257- clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
2258- dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
2259- distcheck distclean distclean-generic distclean-libtool \
2260- distclean-tags distcleancheck distdir distuninstallcheck dvi \
2261- dvi-am html html-am info info-am install install-am \
2262- install-appletDATA install-data install-data-am install-dvi \
2263- install-dvi-am install-exec install-exec-am install-html \
2264- install-html-am install-info install-info-am install-man \
2265- install-pdf install-pdf-am install-ps install-ps-am \
2266- install-serviceDATA install-strip install-uiDATA installcheck \
2267- installcheck-am installdirs installdirs-am maintainer-clean \
2268- maintainer-clean-generic mostlyclean mostlyclean-generic \
2269- mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
2270- uninstall uninstall-am uninstall-appletDATA \
2271- uninstall-serviceDATA uninstall-uiDATA
2272-
2273-
2274-$(applet_in_files): $(applet_in_files).in Makefile
2275- $(AM_V_GEN)sed \
2276- -e "s|\@LIBEXECDIR\@|$(libexecdir)|" \
2277- -e "s|\@VERSION\@|$(PACKAGE_VERSION)|" \
2278- $< > $@
2279-
2280-@INTLTOOL_SERVER_RULE@
2281-
2282-%.panel-applet: %.panel-applet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
2283-
2284-org.gnome.panel.applet.SensorsAppletFactory.service: $(service_in_files)
2285- $(AM_V_GEN)sed \
2286- -e "s|\@LIBEXECDIR\@|$(libexecdir)|" \
2287- $< > $@
2288-
2289-# Tell versions [3.59,3.63) of GNU make to not export all variables.
2290-# Otherwise a system limit (for SysV at least) may be exceeded.
2291-.NOEXPORT:
2292
2293=== removed file 'aclocal.m4'
2294--- aclocal.m4 2012-09-30 11:21:31 +0000
2295+++ aclocal.m4 1970-01-01 00:00:00 +0000
2296@@ -1,10496 +0,0 @@
2297-# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
2298-
2299-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
2300-# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
2301-# This file is free software; the Free Software Foundation
2302-# gives unlimited permission to copy and/or distribute it,
2303-# with or without modifications, as long as this notice is preserved.
2304-
2305-# This program is distributed in the hope that it will be useful,
2306-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
2307-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
2308-# PARTICULAR PURPOSE.
2309-
2310-m4_ifndef([AC_AUTOCONF_VERSION],
2311- [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
2312-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
2313-[m4_warning([this file was generated for autoconf 2.68.
2314-You have another version of autoconf. It may work, but is not guaranteed to.
2315-If you have problems, you may need to regenerate the build system entirely.
2316-To do so, use the procedure documented by the package, typically `autoreconf'.])])
2317-
2318-# Copyright (C) 1995-2002 Free Software Foundation, Inc.
2319-# Copyright (C) 2001-2003,2004 Red Hat, Inc.
2320-#
2321-# This file is free software, distributed under the terms of the GNU
2322-# General Public License. As a special exception to the GNU General
2323-# Public License, this file may be distributed as part of a program
2324-# that contains a configuration script generated by Autoconf, under
2325-# the same distribution terms as the rest of that program.
2326-#
2327-# This file can be copied and used freely without restrictions. It can
2328-# be used in projects which are not available under the GNU Public License
2329-# but which still want to provide support for the GNU gettext functionality.
2330-#
2331-# Macro to add for using GNU gettext.
2332-# Ulrich Drepper <drepper@cygnus.com>, 1995, 1996
2333-#
2334-# Modified to never use included libintl.
2335-# Owen Taylor <otaylor@redhat.com>, 12/15/1998
2336-#
2337-# Major rework to remove unused code
2338-# Owen Taylor <otaylor@redhat.com>, 12/11/2002
2339-#
2340-# Added better handling of ALL_LINGUAS from GNU gettext version
2341-# written by Bruno Haible, Owen Taylor <otaylor.redhat.com> 5/30/3002
2342-#
2343-# Modified to require ngettext
2344-# Matthias Clasen <mclasen@redhat.com> 08/06/2004
2345-#
2346-# We need this here as well, since someone might use autoconf-2.5x
2347-# to configure GLib then an older version to configure a package
2348-# using AM_GLIB_GNU_GETTEXT
2349-AC_PREREQ(2.53)
2350-
2351-dnl
2352-dnl We go to great lengths to make sure that aclocal won't
2353-dnl try to pull in the installed version of these macros
2354-dnl when running aclocal in the glib directory.
2355-dnl
2356-m4_copy([AC_DEFUN],[glib_DEFUN])
2357-m4_copy([AC_REQUIRE],[glib_REQUIRE])
2358-dnl
2359-dnl At the end, if we're not within glib, we'll define the public
2360-dnl definitions in terms of our private definitions.
2361-dnl
2362-
2363-# GLIB_LC_MESSAGES
2364-#--------------------
2365-glib_DEFUN([GLIB_LC_MESSAGES],
2366- [AC_CHECK_HEADERS([locale.h])
2367- if test $ac_cv_header_locale_h = yes; then
2368- AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
2369- [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
2370- am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
2371- if test $am_cv_val_LC_MESSAGES = yes; then
2372- AC_DEFINE(HAVE_LC_MESSAGES, 1,
2373- [Define if your <locale.h> file defines LC_MESSAGES.])
2374- fi
2375- fi])
2376-
2377-# GLIB_PATH_PROG_WITH_TEST
2378-#----------------------------
2379-dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
2380-dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
2381-glib_DEFUN([GLIB_PATH_PROG_WITH_TEST],
2382-[# Extract the first word of "$2", so it can be a program name with args.
2383-set dummy $2; ac_word=[$]2
2384-AC_MSG_CHECKING([for $ac_word])
2385-AC_CACHE_VAL(ac_cv_path_$1,
2386-[case "[$]$1" in
2387- /*)
2388- ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
2389- ;;
2390- *)
2391- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2392- for ac_dir in ifelse([$5], , $PATH, [$5]); do
2393- test -z "$ac_dir" && ac_dir=.
2394- if test -f $ac_dir/$ac_word; then
2395- if [$3]; then
2396- ac_cv_path_$1="$ac_dir/$ac_word"
2397- break
2398- fi
2399- fi
2400- done
2401- IFS="$ac_save_ifs"
2402-dnl If no 4th arg is given, leave the cache variable unset,
2403-dnl so AC_PATH_PROGS will keep looking.
2404-ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
2405-])dnl
2406- ;;
2407-esac])dnl
2408-$1="$ac_cv_path_$1"
2409-if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
2410- AC_MSG_RESULT([$]$1)
2411-else
2412- AC_MSG_RESULT(no)
2413-fi
2414-AC_SUBST($1)dnl
2415-])
2416-
2417-# GLIB_WITH_NLS
2418-#-----------------
2419-glib_DEFUN([GLIB_WITH_NLS],
2420- dnl NLS is obligatory
2421- [USE_NLS=yes
2422- AC_SUBST(USE_NLS)
2423-
2424- gt_cv_have_gettext=no
2425-
2426- CATOBJEXT=NONE
2427- XGETTEXT=:
2428- INTLLIBS=
2429-
2430- AC_CHECK_HEADER(libintl.h,
2431- [gt_cv_func_dgettext_libintl="no"
2432- libintl_extra_libs=""
2433-
2434- #
2435- # First check in libc
2436- #
2437- AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc,
2438- [AC_TRY_LINK([
2439-#include <libintl.h>
2440-],
2441- [return !ngettext ("","", 1)],
2442- gt_cv_func_ngettext_libc=yes,
2443- gt_cv_func_ngettext_libc=no)
2444- ])
2445-
2446- if test "$gt_cv_func_ngettext_libc" = "yes" ; then
2447- AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc,
2448- [AC_TRY_LINK([
2449-#include <libintl.h>
2450-],
2451- [return !dgettext ("","")],
2452- gt_cv_func_dgettext_libc=yes,
2453- gt_cv_func_dgettext_libc=no)
2454- ])
2455- fi
2456-
2457- if test "$gt_cv_func_ngettext_libc" = "yes" ; then
2458- AC_CHECK_FUNCS(bind_textdomain_codeset)
2459- fi
2460-
2461- #
2462- # If we don't have everything we want, check in libintl
2463- #
2464- if test "$gt_cv_func_dgettext_libc" != "yes" \
2465- || test "$gt_cv_func_ngettext_libc" != "yes" \
2466- || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
2467-
2468- AC_CHECK_LIB(intl, bindtextdomain,
2469- [AC_CHECK_LIB(intl, ngettext,
2470- [AC_CHECK_LIB(intl, dgettext,
2471- gt_cv_func_dgettext_libintl=yes)])])
2472-
2473- if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
2474- AC_MSG_CHECKING([if -liconv is needed to use gettext])
2475- AC_MSG_RESULT([])
2476- AC_CHECK_LIB(intl, ngettext,
2477- [AC_CHECK_LIB(intl, dcgettext,
2478- [gt_cv_func_dgettext_libintl=yes
2479- libintl_extra_libs=-liconv],
2480- :,-liconv)],
2481- :,-liconv)
2482- fi
2483-
2484- #
2485- # If we found libintl, then check in it for bind_textdomain_codeset();
2486- # we'll prefer libc if neither have bind_textdomain_codeset(),
2487- # and both have dgettext and ngettext
2488- #
2489- if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
2490- glib_save_LIBS="$LIBS"
2491- LIBS="$LIBS -lintl $libintl_extra_libs"
2492- unset ac_cv_func_bind_textdomain_codeset
2493- AC_CHECK_FUNCS(bind_textdomain_codeset)
2494- LIBS="$glib_save_LIBS"
2495-
2496- if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
2497- gt_cv_func_dgettext_libc=no
2498- else
2499- if test "$gt_cv_func_dgettext_libc" = "yes" \
2500- && test "$gt_cv_func_ngettext_libc" = "yes"; then
2501- gt_cv_func_dgettext_libintl=no
2502- fi
2503- fi
2504- fi
2505- fi
2506-
2507- if test "$gt_cv_func_dgettext_libc" = "yes" \
2508- || test "$gt_cv_func_dgettext_libintl" = "yes"; then
2509- gt_cv_have_gettext=yes
2510- fi
2511-
2512- if test "$gt_cv_func_dgettext_libintl" = "yes"; then
2513- INTLLIBS="-lintl $libintl_extra_libs"
2514- fi
2515-
2516- if test "$gt_cv_have_gettext" = "yes"; then
2517- AC_DEFINE(HAVE_GETTEXT,1,
2518- [Define if the GNU gettext() function is already present or preinstalled.])
2519- GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
2520- [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl
2521- if test "$MSGFMT" != "no"; then
2522- glib_save_LIBS="$LIBS"
2523- LIBS="$LIBS $INTLLIBS"
2524- AC_CHECK_FUNCS(dcgettext)
2525- MSGFMT_OPTS=
2526- AC_MSG_CHECKING([if msgfmt accepts -c])
2527- GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[
2528-msgid ""
2529-msgstr ""
2530-"Content-Type: text/plain; charset=UTF-8\n"
2531-"Project-Id-Version: test 1.0\n"
2532-"PO-Revision-Date: 2007-02-15 12:01+0100\n"
2533-"Last-Translator: test <foo@bar.xx>\n"
2534-"Language-Team: C <LL@li.org>\n"
2535-"MIME-Version: 1.0\n"
2536-"Content-Transfer-Encoding: 8bit\n"
2537-], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])])
2538- AC_SUBST(MSGFMT_OPTS)
2539- AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
2540- GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
2541- [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
2542- AC_TRY_LINK(, [extern int _nl_msg_cat_cntr;
2543- return _nl_msg_cat_cntr],
2544- [CATOBJEXT=.gmo
2545- DATADIRNAME=share],
2546- [case $host in
2547- *-*-solaris*)
2548- dnl On Solaris, if bind_textdomain_codeset is in libc,
2549- dnl GNU format message catalog is always supported,
2550- dnl since both are added to the libc all together.
2551- dnl Hence, we'd like to go with DATADIRNAME=share and
2552- dnl and CATOBJEXT=.gmo in this case.
2553- AC_CHECK_FUNC(bind_textdomain_codeset,
2554- [CATOBJEXT=.gmo
2555- DATADIRNAME=share],
2556- [CATOBJEXT=.mo
2557- DATADIRNAME=lib])
2558- ;;
2559- *)
2560- CATOBJEXT=.mo
2561- DATADIRNAME=lib
2562- ;;
2563- esac])
2564- LIBS="$glib_save_LIBS"
2565- INSTOBJEXT=.mo
2566- else
2567- gt_cv_have_gettext=no
2568- fi
2569- fi
2570- ])
2571-
2572- if test "$gt_cv_have_gettext" = "yes" ; then
2573- AC_DEFINE(ENABLE_NLS, 1,
2574- [always defined to indicate that i18n is enabled])
2575- fi
2576-
2577- dnl Test whether we really found GNU xgettext.
2578- if test "$XGETTEXT" != ":"; then
2579- dnl If it is not GNU xgettext we define it as : so that the
2580- dnl Makefiles still can work.
2581- if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
2582- : ;
2583- else
2584- AC_MSG_RESULT(
2585- [found xgettext program is not GNU xgettext; ignore it])
2586- XGETTEXT=":"
2587- fi
2588- fi
2589-
2590- # We need to process the po/ directory.
2591- POSUB=po
2592-
2593- AC_OUTPUT_COMMANDS(
2594- [case "$CONFIG_FILES" in *po/Makefile.in*)
2595- sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
2596- esac])
2597-
2598- dnl These rules are solely for the distribution goal. While doing this
2599- dnl we only have to keep exactly one list of the available catalogs
2600- dnl in configure.ac.
2601- for lang in $ALL_LINGUAS; do
2602- GMOFILES="$GMOFILES $lang.gmo"
2603- POFILES="$POFILES $lang.po"
2604- done
2605-
2606- dnl Make all variables we use known to autoconf.
2607- AC_SUBST(CATALOGS)
2608- AC_SUBST(CATOBJEXT)
2609- AC_SUBST(DATADIRNAME)
2610- AC_SUBST(GMOFILES)
2611- AC_SUBST(INSTOBJEXT)
2612- AC_SUBST(INTLLIBS)
2613- AC_SUBST(PO_IN_DATADIR_TRUE)
2614- AC_SUBST(PO_IN_DATADIR_FALSE)
2615- AC_SUBST(POFILES)
2616- AC_SUBST(POSUB)
2617- ])
2618-
2619-# AM_GLIB_GNU_GETTEXT
2620-# -------------------
2621-# Do checks necessary for use of gettext. If a suitable implementation
2622-# of gettext is found in either in libintl or in the C library,
2623-# it will set INTLLIBS to the libraries needed for use of gettext
2624-# and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable
2625-# gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST()
2626-# on various variables needed by the Makefile.in.in installed by
2627-# glib-gettextize.
2628-dnl
2629-glib_DEFUN([GLIB_GNU_GETTEXT],
2630- [AC_REQUIRE([AC_PROG_CC])dnl
2631- AC_REQUIRE([AC_HEADER_STDC])dnl
2632-
2633- GLIB_LC_MESSAGES
2634- GLIB_WITH_NLS
2635-
2636- if test "$gt_cv_have_gettext" = "yes"; then
2637- if test "x$ALL_LINGUAS" = "x"; then
2638- LINGUAS=
2639- else
2640- AC_MSG_CHECKING(for catalogs to be installed)
2641- NEW_LINGUAS=
2642- for presentlang in $ALL_LINGUAS; do
2643- useit=no
2644- if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
2645- desiredlanguages="$LINGUAS"
2646- else
2647- desiredlanguages="$ALL_LINGUAS"
2648- fi
2649- for desiredlang in $desiredlanguages; do
2650- # Use the presentlang catalog if desiredlang is
2651- # a. equal to presentlang, or
2652- # b. a variant of presentlang (because in this case,
2653- # presentlang can be used as a fallback for messages
2654- # which are not translated in the desiredlang catalog).
2655- case "$desiredlang" in
2656- "$presentlang"*) useit=yes;;
2657- esac
2658- done
2659- if test $useit = yes; then
2660- NEW_LINGUAS="$NEW_LINGUAS $presentlang"
2661- fi
2662- done
2663- LINGUAS=$NEW_LINGUAS
2664- AC_MSG_RESULT($LINGUAS)
2665- fi
2666-
2667- dnl Construct list of names of catalog files to be constructed.
2668- if test -n "$LINGUAS"; then
2669- for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
2670- fi
2671- fi
2672-
2673- dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
2674- dnl find the mkinstalldirs script in another subdir but ($top_srcdir).
2675- dnl Try to locate is.
2676- MKINSTALLDIRS=
2677- if test -n "$ac_aux_dir"; then
2678- MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
2679- fi
2680- if test -z "$MKINSTALLDIRS"; then
2681- MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
2682- fi
2683- AC_SUBST(MKINSTALLDIRS)
2684-
2685- dnl Generate list of files to be processed by xgettext which will
2686- dnl be included in po/Makefile.
2687- test -d po || mkdir po
2688- if test "x$srcdir" != "x."; then
2689- if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
2690- posrcprefix="$srcdir/"
2691- else
2692- posrcprefix="../$srcdir/"
2693- fi
2694- else
2695- posrcprefix="../"
2696- fi
2697- rm -f po/POTFILES
2698- sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
2699- < $srcdir/po/POTFILES.in > po/POTFILES
2700- ])
2701-
2702-# AM_GLIB_DEFINE_LOCALEDIR(VARIABLE)
2703-# -------------------------------
2704-# Define VARIABLE to the location where catalog files will
2705-# be installed by po/Makefile.
2706-glib_DEFUN([GLIB_DEFINE_LOCALEDIR],
2707-[glib_REQUIRE([GLIB_GNU_GETTEXT])dnl
2708-glib_save_prefix="$prefix"
2709-glib_save_exec_prefix="$exec_prefix"
2710-glib_save_datarootdir="$datarootdir"
2711-test "x$prefix" = xNONE && prefix=$ac_default_prefix
2712-test "x$exec_prefix" = xNONE && exec_prefix=$prefix
2713-datarootdir=`eval echo "${datarootdir}"`
2714-if test "x$CATOBJEXT" = "x.mo" ; then
2715- localedir=`eval echo "${libdir}/locale"`
2716-else
2717- localedir=`eval echo "${datadir}/locale"`
2718-fi
2719-prefix="$glib_save_prefix"
2720-exec_prefix="$glib_save_exec_prefix"
2721-datarootdir="$glib_save_datarootdir"
2722-AC_DEFINE_UNQUOTED($1, "$localedir",
2723- [Define the location where the catalogs will be installed])
2724-])
2725-
2726-dnl
2727-dnl Now the definitions that aclocal will find
2728-dnl
2729-ifdef(glib_configure_ac,[],[
2730-AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)])
2731-AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])
2732-])dnl
2733-
2734-# GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL])
2735-#
2736-# Create a temporary file with TEST-FILE as its contents and pass the
2737-# file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with
2738-# 0 and perform ACTION-IF-FAIL for any other exit status.
2739-AC_DEFUN([GLIB_RUN_PROG],
2740-[cat >conftest.foo <<_ACEOF
2741-$2
2742-_ACEOF
2743-if AC_RUN_LOG([$1 conftest.foo]); then
2744- m4_ifval([$3], [$3], [:])
2745-m4_ifvaln([$4], [else $4])dnl
2746-echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD
2747-sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD
2748-fi])
2749-
2750-
2751-dnl GNOME_COMPILE_WARNINGS
2752-dnl Turn on many useful compiler warnings
2753-dnl For now, only works on GCC
2754-AC_DEFUN([GNOME_COMPILE_WARNINGS],[
2755- dnl ******************************
2756- dnl More compiler warnings
2757- dnl ******************************
2758-
2759- AC_ARG_ENABLE(compile-warnings,
2760- AC_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@],
2761- [Turn on compiler warnings]),,
2762- [enable_compile_warnings="m4_default([$1],[yes])"])
2763-
2764- warnCFLAGS=
2765- if test "x$GCC" != xyes; then
2766- enable_compile_warnings=no
2767- fi
2768-
2769- warning_flags=
2770- realsave_CFLAGS="$CFLAGS"
2771-
2772- case "$enable_compile_warnings" in
2773- no)
2774- warning_flags=
2775- ;;
2776- minimum)
2777- warning_flags="-Wall"
2778- ;;
2779- yes)
2780- warning_flags="-Wall -Wmissing-prototypes"
2781- ;;
2782- maximum|error)
2783- warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
2784- CFLAGS="$warning_flags $CFLAGS"
2785- for option in -Wno-sign-compare; do
2786- SAVE_CFLAGS="$CFLAGS"
2787- CFLAGS="$CFLAGS $option"
2788- AC_MSG_CHECKING([whether gcc understands $option])
2789- AC_TRY_COMPILE([], [],
2790- has_option=yes,
2791- has_option=no,)
2792- CFLAGS="$SAVE_CFLAGS"
2793- AC_MSG_RESULT($has_option)
2794- if test $has_option = yes; then
2795- warning_flags="$warning_flags $option"
2796- fi
2797- unset has_option
2798- unset SAVE_CFLAGS
2799- done
2800- unset option
2801- if test "$enable_compile_warnings" = "error" ; then
2802- warning_flags="$warning_flags -Werror"
2803- fi
2804- ;;
2805- *)
2806- AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings)
2807- ;;
2808- esac
2809- CFLAGS="$realsave_CFLAGS"
2810- AC_MSG_CHECKING(what warning flags to pass to the C compiler)
2811- AC_MSG_RESULT($warning_flags)
2812-
2813- AC_ARG_ENABLE(iso-c,
2814- AC_HELP_STRING([--enable-iso-c],
2815- [Try to warn if code is not ISO C ]),,
2816- [enable_iso_c=no])
2817-
2818- AC_MSG_CHECKING(what language compliance flags to pass to the C compiler)
2819- complCFLAGS=
2820- if test "x$enable_iso_c" != "xno"; then
2821- if test "x$GCC" = "xyes"; then
2822- case " $CFLAGS " in
2823- *[\ \ ]-ansi[\ \ ]*) ;;
2824- *) complCFLAGS="$complCFLAGS -ansi" ;;
2825- esac
2826- case " $CFLAGS " in
2827- *[\ \ ]-pedantic[\ \ ]*) ;;
2828- *) complCFLAGS="$complCFLAGS -pedantic" ;;
2829- esac
2830- fi
2831- fi
2832- AC_MSG_RESULT($complCFLAGS)
2833-
2834- WARN_CFLAGS="$warning_flags $complCFLAGS"
2835- AC_SUBST(WARN_CFLAGS)
2836-])
2837-
2838-dnl For C++, do basically the same thing.
2839-
2840-AC_DEFUN([GNOME_CXX_WARNINGS],[
2841- AC_ARG_ENABLE(cxx-warnings,
2842- AC_HELP_STRING([--enable-cxx-warnings=@<:@no/minimum/yes@:>@]
2843- [Turn on compiler warnings.]),,
2844- [enable_cxx_warnings="m4_default([$1],[minimum])"])
2845-
2846- AC_MSG_CHECKING(what warning flags to pass to the C++ compiler)
2847- warnCXXFLAGS=
2848- if test "x$GXX" != xyes; then
2849- enable_cxx_warnings=no
2850- fi
2851- if test "x$enable_cxx_warnings" != "xno"; then
2852- if test "x$GXX" = "xyes"; then
2853- case " $CXXFLAGS " in
2854- *[\ \ ]-Wall[\ \ ]*) ;;
2855- *) warnCXXFLAGS="-Wall -Wno-unused" ;;
2856- esac
2857-
2858- ## -W is not all that useful. And it cannot be controlled
2859- ## with individual -Wno-xxx flags, unlike -Wall
2860- if test "x$enable_cxx_warnings" = "xyes"; then
2861- warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual"
2862- fi
2863- fi
2864- fi
2865- AC_MSG_RESULT($warnCXXFLAGS)
2866-
2867- AC_ARG_ENABLE(iso-cxx,
2868- AC_HELP_STRING([--enable-iso-cxx],
2869- [Try to warn if code is not ISO C++ ]),,
2870- [enable_iso_cxx=no])
2871-
2872- AC_MSG_CHECKING(what language compliance flags to pass to the C++ compiler)
2873- complCXXFLAGS=
2874- if test "x$enable_iso_cxx" != "xno"; then
2875- if test "x$GXX" = "xyes"; then
2876- case " $CXXFLAGS " in
2877- *[\ \ ]-ansi[\ \ ]*) ;;
2878- *) complCXXFLAGS="$complCXXFLAGS -ansi" ;;
2879- esac
2880-
2881- case " $CXXFLAGS " in
2882- *[\ \ ]-pedantic[\ \ ]*) ;;
2883- *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;;
2884- esac
2885- fi
2886- fi
2887- AC_MSG_RESULT($complCXXFLAGS)
2888-
2889- WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS"
2890- AC_SUBST(WARN_CXXFLAGS)
2891-])
2892-
2893-dnl Do not call GNOME_DOC_DEFINES directly. It is split out from
2894-dnl GNOME_DOC_INIT to allow gnome-doc-utils to bootstrap off itself.
2895-AC_DEFUN([GNOME_DOC_DEFINES],
2896-[
2897-AC_ARG_WITH([help-dir],
2898- AC_HELP_STRING([--with-help-dir=DIR], [path to help docs]),,
2899- [with_help_dir='${datadir}/gnome/help'])
2900-HELP_DIR="$with_help_dir"
2901-AC_SUBST(HELP_DIR)
2902-
2903-AC_ARG_WITH([omf-dir],
2904- AC_HELP_STRING([--with-omf-dir=DIR], [path to OMF files]),,
2905- [with_omf_dir='${datadir}/omf'])
2906-OMF_DIR="$with_omf_dir"
2907-AC_SUBST(OMF_DIR)
2908-
2909-AC_ARG_WITH([help-formats],
2910- AC_HELP_STRING([--with-help-formats=FORMATS], [list of formats]),,
2911- [with_help_formats=''])
2912-DOC_USER_FORMATS="$with_help_formats"
2913-AC_SUBST(DOC_USER_FORMATS)
2914-
2915-AC_ARG_ENABLE([scrollkeeper],
2916- [AC_HELP_STRING([--disable-scrollkeeper],
2917- [do not make updates to the scrollkeeper database])],,
2918- enable_scrollkeeper=yes)
2919-AM_CONDITIONAL([ENABLE_SK],[test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"])
2920-
2921-dnl disable scrollkeeper automatically for distcheck
2922-DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
2923-AC_SUBST(DISTCHECK_CONFIGURE_FLAGS)
2924-
2925-AM_CONDITIONAL([HAVE_GNOME_DOC_UTILS],[test "$gdu_cv_have_gdu" = "yes"])
2926-])
2927-
2928-# GNOME_DOC_INIT ([MINIMUM-VERSION],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
2929-#
2930-AC_DEFUN([GNOME_DOC_INIT],
2931-[AC_REQUIRE([AC_PROG_LN_S])dnl
2932-
2933-ifelse([$1],,[gdu_cv_version_required=0.3.2],[gdu_cv_version_required=$1])
2934-
2935-AC_MSG_CHECKING([gnome-doc-utils >= $gdu_cv_version_required])
2936-PKG_CHECK_EXISTS([gnome-doc-utils >= $gdu_cv_version_required],
2937- [gdu_cv_have_gdu=yes],[gdu_cv_have_gdu=no])
2938-
2939-if test "$gdu_cv_have_gdu" = "yes"; then
2940- AC_MSG_RESULT([yes])
2941- ifelse([$2],,[:],[$2])
2942-else
2943- AC_MSG_RESULT([no])
2944- ifelse([$3],,[AC_MSG_ERROR([gnome-doc-utils >= $gdu_cv_version_required not found])],[$3])
2945-fi
2946-
2947-GNOME_DOC_DEFINES
2948-])
2949-
2950-
2951-dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
2952-# serial 40 IT_PROG_INTLTOOL
2953-AC_DEFUN([IT_PROG_INTLTOOL], [
2954-AC_PREREQ([2.50])dnl
2955-AC_REQUIRE([AM_NLS])dnl
2956-
2957-case "$am__api_version" in
2958- 1.[01234])
2959- AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool])
2960- ;;
2961- *)
2962- ;;
2963-esac
2964-
2965-if test -n "$1"; then
2966- AC_MSG_CHECKING([for intltool >= $1])
2967-
2968- INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
2969- INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
2970- [INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
2971- ]
2972- AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
2973- test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
2974- AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.])
2975-fi
2976-
2977-AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update])
2978-AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge])
2979-AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract])
2980-if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
2981- AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.])
2982-fi
2983-
2984- INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
2985-INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
2986- INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
2987- INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
2988- INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@'
2989- INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
2990- INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
2991- INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
2992-INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
2993- INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
2994- INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
2995- INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@'
2996- INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
2997- INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
2998- INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
2999- INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
3000- INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
3001- INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
3002- INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
3003-
3004-_IT_SUBST(INTLTOOL_DESKTOP_RULE)
3005-_IT_SUBST(INTLTOOL_DIRECTORY_RULE)
3006-_IT_SUBST(INTLTOOL_KEYS_RULE)
3007-_IT_SUBST(INTLTOOL_PROP_RULE)
3008-_IT_SUBST(INTLTOOL_OAF_RULE)
3009-_IT_SUBST(INTLTOOL_PONG_RULE)
3010-_IT_SUBST(INTLTOOL_SERVER_RULE)
3011-_IT_SUBST(INTLTOOL_SHEET_RULE)
3012-_IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
3013-_IT_SUBST(INTLTOOL_UI_RULE)
3014-_IT_SUBST(INTLTOOL_XAM_RULE)
3015-_IT_SUBST(INTLTOOL_KBD_RULE)
3016-_IT_SUBST(INTLTOOL_XML_RULE)
3017-_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
3018-_IT_SUBST(INTLTOOL_CAVES_RULE)
3019-_IT_SUBST(INTLTOOL_SCHEMAS_RULE)
3020-_IT_SUBST(INTLTOOL_THEME_RULE)
3021-_IT_SUBST(INTLTOOL_SERVICE_RULE)
3022-_IT_SUBST(INTLTOOL_POLICY_RULE)
3023-
3024-# Check the gettext tools to make sure they are GNU
3025-AC_PATH_PROG(XGETTEXT, xgettext)
3026-AC_PATH_PROG(MSGMERGE, msgmerge)
3027-AC_PATH_PROG(MSGFMT, msgfmt)
3028-AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
3029-if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
3030- AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
3031-fi
3032-xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
3033-mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
3034-mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
3035-if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
3036- AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
3037-fi
3038-
3039-AC_PATH_PROG(INTLTOOL_PERL, perl)
3040-if test -z "$INTLTOOL_PERL"; then
3041- AC_MSG_ERROR([perl not found])
3042-fi
3043-AC_MSG_CHECKING([for perl >= 5.8.1])
3044-$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
3045-if test $? -ne 0; then
3046- AC_MSG_ERROR([perl 5.8.1 is required for intltool])
3047-else
3048- IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
3049- AC_MSG_RESULT([$IT_PERL_VERSION])
3050-fi
3051-if test "x$2" != "xno-xml"; then
3052- AC_MSG_CHECKING([for XML::Parser])
3053- if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
3054- AC_MSG_RESULT([ok])
3055- else
3056- AC_MSG_ERROR([XML::Parser perl module is required for intltool])
3057- fi
3058-fi
3059-
3060-# Substitute ALL_LINGUAS so we can use it in po/Makefile
3061-AC_SUBST(ALL_LINGUAS)
3062-
3063-# Set DATADIRNAME correctly if it is not set yet
3064-# (copied from glib-gettext.m4)
3065-if test -z "$DATADIRNAME"; then
3066- AC_LINK_IFELSE(
3067- [AC_LANG_PROGRAM([[]],
3068- [[extern int _nl_msg_cat_cntr;
3069- return _nl_msg_cat_cntr]])],
3070- [DATADIRNAME=share],
3071- [case $host in
3072- *-*-solaris*)
3073- dnl On Solaris, if bind_textdomain_codeset is in libc,
3074- dnl GNU format message catalog is always supported,
3075- dnl since both are added to the libc all together.
3076- dnl Hence, we'd like to go with DATADIRNAME=share
3077- dnl in this case.
3078- AC_CHECK_FUNC(bind_textdomain_codeset,
3079- [DATADIRNAME=share], [DATADIRNAME=lib])
3080- ;;
3081- *)
3082- [DATADIRNAME=lib]
3083- ;;
3084- esac])
3085-fi
3086-AC_SUBST(DATADIRNAME)
3087-
3088-IT_PO_SUBDIR([po])
3089-
3090-])
3091-
3092-
3093-# IT_PO_SUBDIR(DIRNAME)
3094-# ---------------------
3095-# All po subdirs have to be declared with this macro; the subdir "po" is
3096-# declared by IT_PROG_INTLTOOL.
3097-#
3098-AC_DEFUN([IT_PO_SUBDIR],
3099-[AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS.
3100-dnl
3101-dnl The following CONFIG_COMMANDS should be executed at the very end
3102-dnl of config.status.
3103-AC_CONFIG_COMMANDS_PRE([
3104- AC_CONFIG_COMMANDS([$1/stamp-it], [
3105- if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then
3106- AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.])
3107- fi
3108- rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
3109- >"$1/stamp-it.tmp"
3110- [sed '/^#/d
3111- s/^[[].*] *//
3112- /^[ ]*$/d
3113- '"s|^| $ac_top_srcdir/|" \
3114- "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES"
3115- ]
3116- [sed '/^POTFILES =/,/[^\\]$/ {
3117- /^POTFILES =/!d
3118- r $1/POTFILES
3119- }
3120- ' "$1/Makefile.in" >"$1/Makefile"]
3121- rm -f "$1/Makefile.tmp"
3122- mv "$1/stamp-it.tmp" "$1/stamp-it"
3123- ])
3124-])dnl
3125-])
3126-
3127-# _IT_SUBST(VARIABLE)
3128-# -------------------
3129-# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
3130-#
3131-AC_DEFUN([_IT_SUBST],
3132-[
3133-AC_SUBST([$1])
3134-m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
3135-]
3136-)
3137-
3138-# deprecated macros
3139-AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
3140-# A hint is needed for aclocal from Automake <= 1.9.4:
3141-# AC_DEFUN([AC_PROG_INTLTOOL], ...)
3142-
3143-
3144-# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
3145-#
3146-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
3147-# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
3148-# Inc.
3149-# Written by Gordon Matzigkeit, 1996
3150-#
3151-# This file is free software; the Free Software Foundation gives
3152-# unlimited permission to copy and/or distribute it, with or without
3153-# modifications, as long as this notice is preserved.
3154-
3155-m4_define([_LT_COPYING], [dnl
3156-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
3157-# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
3158-# Inc.
3159-# Written by Gordon Matzigkeit, 1996
3160-#
3161-# This file is part of GNU Libtool.
3162-#
3163-# GNU Libtool is free software; you can redistribute it and/or
3164-# modify it under the terms of the GNU General Public License as
3165-# published by the Free Software Foundation; either version 2 of
3166-# the License, or (at your option) any later version.
3167-#
3168-# As a special exception to the GNU General Public License,
3169-# if you distribute this file as part of a program or library that
3170-# is built using GNU Libtool, you may include this file under the
3171-# same distribution terms that you use for the rest of that program.
3172-#
3173-# GNU Libtool is distributed in the hope that it will be useful,
3174-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3175-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3176-# GNU General Public License for more details.
3177-#
3178-# You should have received a copy of the GNU General Public License
3179-# along with GNU Libtool; see the file COPYING. If not, a copy
3180-# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
3181-# obtained by writing to the Free Software Foundation, Inc.,
3182-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
3183-])
3184-
3185-# serial 57 LT_INIT
3186-
3187-
3188-# LT_PREREQ(VERSION)
3189-# ------------------
3190-# Complain and exit if this libtool version is less that VERSION.
3191-m4_defun([LT_PREREQ],
3192-[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
3193- [m4_default([$3],
3194- [m4_fatal([Libtool version $1 or higher is required],
3195- 63)])],
3196- [$2])])
3197-
3198-
3199-# _LT_CHECK_BUILDDIR
3200-# ------------------
3201-# Complain if the absolute build directory name contains unusual characters
3202-m4_defun([_LT_CHECK_BUILDDIR],
3203-[case `pwd` in
3204- *\ * | *\ *)
3205- AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
3206-esac
3207-])
3208-
3209-
3210-# LT_INIT([OPTIONS])
3211-# ------------------
3212-AC_DEFUN([LT_INIT],
3213-[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
3214-AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
3215-AC_BEFORE([$0], [LT_LANG])dnl
3216-AC_BEFORE([$0], [LT_OUTPUT])dnl
3217-AC_BEFORE([$0], [LTDL_INIT])dnl
3218-m4_require([_LT_CHECK_BUILDDIR])dnl
3219-
3220-dnl Autoconf doesn't catch unexpanded LT_ macros by default:
3221-m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
3222-m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
3223-dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
3224-dnl unless we require an AC_DEFUNed macro:
3225-AC_REQUIRE([LTOPTIONS_VERSION])dnl
3226-AC_REQUIRE([LTSUGAR_VERSION])dnl
3227-AC_REQUIRE([LTVERSION_VERSION])dnl
3228-AC_REQUIRE([LTOBSOLETE_VERSION])dnl
3229-m4_require([_LT_PROG_LTMAIN])dnl
3230-
3231-_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
3232-
3233-dnl Parse OPTIONS
3234-_LT_SET_OPTIONS([$0], [$1])
3235-
3236-# This can be used to rebuild libtool when needed
3237-LIBTOOL_DEPS="$ltmain"
3238-
3239-# Always use our own libtool.
3240-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
3241-AC_SUBST(LIBTOOL)dnl
3242-
3243-_LT_SETUP
3244-
3245-# Only expand once:
3246-m4_define([LT_INIT])
3247-])# LT_INIT
3248-
3249-# Old names:
3250-AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
3251-AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
3252-dnl aclocal-1.4 backwards compatibility:
3253-dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
3254-dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
3255-
3256-
3257-# _LT_CC_BASENAME(CC)
3258-# -------------------
3259-# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
3260-m4_defun([_LT_CC_BASENAME],
3261-[for cc_temp in $1""; do
3262- case $cc_temp in
3263- compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
3264- distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
3265- \-*) ;;
3266- *) break;;
3267- esac
3268-done
3269-cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
3270-])
3271-
3272-
3273-# _LT_FILEUTILS_DEFAULTS
3274-# ----------------------
3275-# It is okay to use these file commands and assume they have been set
3276-# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
3277-m4_defun([_LT_FILEUTILS_DEFAULTS],
3278-[: ${CP="cp -f"}
3279-: ${MV="mv -f"}
3280-: ${RM="rm -f"}
3281-])# _LT_FILEUTILS_DEFAULTS
3282-
3283-
3284-# _LT_SETUP
3285-# ---------
3286-m4_defun([_LT_SETUP],
3287-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
3288-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
3289-AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
3290-AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
3291-
3292-_LT_DECL([], [host_alias], [0], [The host system])dnl
3293-_LT_DECL([], [host], [0])dnl
3294-_LT_DECL([], [host_os], [0])dnl
3295-dnl
3296-_LT_DECL([], [build_alias], [0], [The build system])dnl
3297-_LT_DECL([], [build], [0])dnl
3298-_LT_DECL([], [build_os], [0])dnl
3299-dnl
3300-AC_REQUIRE([AC_PROG_CC])dnl
3301-AC_REQUIRE([LT_PATH_LD])dnl
3302-AC_REQUIRE([LT_PATH_NM])dnl
3303-dnl
3304-AC_REQUIRE([AC_PROG_LN_S])dnl
3305-test -z "$LN_S" && LN_S="ln -s"
3306-_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
3307-dnl
3308-AC_REQUIRE([LT_CMD_MAX_LEN])dnl
3309-_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
3310-_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
3311-dnl
3312-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
3313-m4_require([_LT_CHECK_SHELL_FEATURES])dnl
3314-m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
3315-m4_require([_LT_CMD_RELOAD])dnl
3316-m4_require([_LT_CHECK_MAGIC_METHOD])dnl
3317-m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
3318-m4_require([_LT_CMD_OLD_ARCHIVE])dnl
3319-m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
3320-m4_require([_LT_WITH_SYSROOT])dnl
3321-
3322-_LT_CONFIG_LIBTOOL_INIT([
3323-# See if we are running on zsh, and set the options which allow our
3324-# commands through without removal of \ escapes INIT.
3325-if test -n "\${ZSH_VERSION+set}" ; then
3326- setopt NO_GLOB_SUBST
3327-fi
3328-])
3329-if test -n "${ZSH_VERSION+set}" ; then
3330- setopt NO_GLOB_SUBST
3331-fi
3332-
3333-_LT_CHECK_OBJDIR
3334-
3335-m4_require([_LT_TAG_COMPILER])dnl
3336-
3337-case $host_os in
3338-aix3*)
3339- # AIX sometimes has problems with the GCC collect2 program. For some
3340- # reason, if we set the COLLECT_NAMES environment variable, the problems
3341- # vanish in a puff of smoke.
3342- if test "X${COLLECT_NAMES+set}" != Xset; then
3343- COLLECT_NAMES=
3344- export COLLECT_NAMES
3345- fi
3346- ;;
3347-esac
3348-
3349-# Global variables:
3350-ofile=libtool
3351-can_build_shared=yes
3352-
3353-# All known linkers require a `.a' archive for static linking (except MSVC,
3354-# which needs '.lib').
3355-libext=a
3356-
3357-with_gnu_ld="$lt_cv_prog_gnu_ld"
3358-
3359-old_CC="$CC"
3360-old_CFLAGS="$CFLAGS"
3361-
3362-# Set sane defaults for various variables
3363-test -z "$CC" && CC=cc
3364-test -z "$LTCC" && LTCC=$CC
3365-test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
3366-test -z "$LD" && LD=ld
3367-test -z "$ac_objext" && ac_objext=o
3368-
3369-_LT_CC_BASENAME([$compiler])
3370-
3371-# Only perform the check for file, if the check method requires it
3372-test -z "$MAGIC_CMD" && MAGIC_CMD=file
3373-case $deplibs_check_method in
3374-file_magic*)
3375- if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3376- _LT_PATH_MAGIC
3377- fi
3378- ;;
3379-esac
3380-
3381-# Use C for the default configuration in the libtool script
3382-LT_SUPPORTED_TAG([CC])
3383-_LT_LANG_C_CONFIG
3384-_LT_LANG_DEFAULT_CONFIG
3385-_LT_CONFIG_COMMANDS
3386-])# _LT_SETUP
3387-
3388-
3389-# _LT_PREPARE_SED_QUOTE_VARS
3390-# --------------------------
3391-# Define a few sed substitution that help us do robust quoting.
3392-m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
3393-[# Backslashify metacharacters that are still active within
3394-# double-quoted strings.
3395-sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
3396-
3397-# Same as above, but do not quote variable references.
3398-double_quote_subst='s/\([["`\\]]\)/\\\1/g'
3399-
3400-# Sed substitution to delay expansion of an escaped shell variable in a
3401-# double_quote_subst'ed string.
3402-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3403-
3404-# Sed substitution to delay expansion of an escaped single quote.
3405-delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3406-
3407-# Sed substitution to avoid accidental globbing in evaled expressions
3408-no_glob_subst='s/\*/\\\*/g'
3409-])
3410-
3411-# _LT_PROG_LTMAIN
3412-# ---------------
3413-# Note that this code is called both from `configure', and `config.status'
3414-# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
3415-# `config.status' has no value for ac_aux_dir unless we are using Automake,
3416-# so we pass a copy along to make sure it has a sensible value anyway.
3417-m4_defun([_LT_PROG_LTMAIN],
3418-[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
3419-_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
3420-ltmain="$ac_aux_dir/ltmain.sh"
3421-])# _LT_PROG_LTMAIN
3422-
3423-
3424-
3425-# So that we can recreate a full libtool script including additional
3426-# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
3427-# in macros and then make a single call at the end using the `libtool'
3428-# label.
3429-
3430-
3431-# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
3432-# ----------------------------------------
3433-# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
3434-m4_define([_LT_CONFIG_LIBTOOL_INIT],
3435-[m4_ifval([$1],
3436- [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
3437- [$1
3438-])])])
3439-
3440-# Initialize.
3441-m4_define([_LT_OUTPUT_LIBTOOL_INIT])
3442-
3443-
3444-# _LT_CONFIG_LIBTOOL([COMMANDS])
3445-# ------------------------------
3446-# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
3447-m4_define([_LT_CONFIG_LIBTOOL],
3448-[m4_ifval([$1],
3449- [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
3450- [$1
3451-])])])
3452-
3453-# Initialize.
3454-m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
3455-
3456-
3457-# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
3458-# -----------------------------------------------------
3459-m4_defun([_LT_CONFIG_SAVE_COMMANDS],
3460-[_LT_CONFIG_LIBTOOL([$1])
3461-_LT_CONFIG_LIBTOOL_INIT([$2])
3462-])
3463-
3464-
3465-# _LT_FORMAT_COMMENT([COMMENT])
3466-# -----------------------------
3467-# Add leading comment marks to the start of each line, and a trailing
3468-# full-stop to the whole comment if one is not present already.
3469-m4_define([_LT_FORMAT_COMMENT],
3470-[m4_ifval([$1], [
3471-m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
3472- [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
3473-)])
3474-
3475-
3476-
3477-
3478-
3479-# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
3480-# -------------------------------------------------------------------
3481-# CONFIGNAME is the name given to the value in the libtool script.
3482-# VARNAME is the (base) name used in the configure script.
3483-# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
3484-# VARNAME. Any other value will be used directly.
3485-m4_define([_LT_DECL],
3486-[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
3487- [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
3488- [m4_ifval([$1], [$1], [$2])])
3489- lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
3490- m4_ifval([$4],
3491- [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
3492- lt_dict_add_subkey([lt_decl_dict], [$2],
3493- [tagged?], [m4_ifval([$5], [yes], [no])])])
3494-])
3495-
3496-
3497-# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
3498-# --------------------------------------------------------
3499-m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
3500-
3501-
3502-# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
3503-# ------------------------------------------------
3504-m4_define([lt_decl_tag_varnames],
3505-[_lt_decl_filter([tagged?], [yes], $@)])
3506-
3507-
3508-# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
3509-# ---------------------------------------------------------
3510-m4_define([_lt_decl_filter],
3511-[m4_case([$#],
3512- [0], [m4_fatal([$0: too few arguments: $#])],
3513- [1], [m4_fatal([$0: too few arguments: $#: $1])],
3514- [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
3515- [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
3516- [lt_dict_filter([lt_decl_dict], $@)])[]dnl
3517-])
3518-
3519-
3520-# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
3521-# --------------------------------------------------
3522-m4_define([lt_decl_quote_varnames],
3523-[_lt_decl_filter([value], [1], $@)])
3524-
3525-
3526-# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
3527-# ---------------------------------------------------
3528-m4_define([lt_decl_dquote_varnames],
3529-[_lt_decl_filter([value], [2], $@)])
3530-
3531-
3532-# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
3533-# ---------------------------------------------------
3534-m4_define([lt_decl_varnames_tagged],
3535-[m4_assert([$# <= 2])dnl
3536-_$0(m4_quote(m4_default([$1], [[, ]])),
3537- m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
3538- m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
3539-m4_define([_lt_decl_varnames_tagged],
3540-[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
3541-
3542-
3543-# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
3544-# ------------------------------------------------
3545-m4_define([lt_decl_all_varnames],
3546-[_$0(m4_quote(m4_default([$1], [[, ]])),
3547- m4_if([$2], [],
3548- m4_quote(lt_decl_varnames),
3549- m4_quote(m4_shift($@))))[]dnl
3550-])
3551-m4_define([_lt_decl_all_varnames],
3552-[lt_join($@, lt_decl_varnames_tagged([$1],
3553- lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
3554-])
3555-
3556-
3557-# _LT_CONFIG_STATUS_DECLARE([VARNAME])
3558-# ------------------------------------
3559-# Quote a variable value, and forward it to `config.status' so that its
3560-# declaration there will have the same value as in `configure'. VARNAME
3561-# must have a single quote delimited value for this to work.
3562-m4_define([_LT_CONFIG_STATUS_DECLARE],
3563-[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
3564-
3565-
3566-# _LT_CONFIG_STATUS_DECLARATIONS
3567-# ------------------------------
3568-# We delimit libtool config variables with single quotes, so when
3569-# we write them to config.status, we have to be sure to quote all
3570-# embedded single quotes properly. In configure, this macro expands
3571-# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
3572-#
3573-# <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
3574-m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
3575-[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
3576- [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
3577-
3578-
3579-# _LT_LIBTOOL_TAGS
3580-# ----------------
3581-# Output comment and list of tags supported by the script
3582-m4_defun([_LT_LIBTOOL_TAGS],
3583-[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
3584-available_tags="_LT_TAGS"dnl
3585-])
3586-
3587-
3588-# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
3589-# -----------------------------------
3590-# Extract the dictionary values for VARNAME (optionally with TAG) and
3591-# expand to a commented shell variable setting:
3592-#
3593-# # Some comment about what VAR is for.
3594-# visible_name=$lt_internal_name
3595-m4_define([_LT_LIBTOOL_DECLARE],
3596-[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
3597- [description])))[]dnl
3598-m4_pushdef([_libtool_name],
3599- m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
3600-m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
3601- [0], [_libtool_name=[$]$1],
3602- [1], [_libtool_name=$lt_[]$1],
3603- [2], [_libtool_name=$lt_[]$1],
3604- [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
3605-m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
3606-])
3607-
3608-
3609-# _LT_LIBTOOL_CONFIG_VARS
3610-# -----------------------
3611-# Produce commented declarations of non-tagged libtool config variables
3612-# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
3613-# script. Tagged libtool config variables (even for the LIBTOOL CONFIG
3614-# section) are produced by _LT_LIBTOOL_TAG_VARS.
3615-m4_defun([_LT_LIBTOOL_CONFIG_VARS],
3616-[m4_foreach([_lt_var],
3617- m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
3618- [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
3619-
3620-
3621-# _LT_LIBTOOL_TAG_VARS(TAG)
3622-# -------------------------
3623-m4_define([_LT_LIBTOOL_TAG_VARS],
3624-[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
3625- [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
3626-
3627-
3628-# _LT_TAGVAR(VARNAME, [TAGNAME])
3629-# ------------------------------
3630-m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
3631-
3632-
3633-# _LT_CONFIG_COMMANDS
3634-# -------------------
3635-# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
3636-# variables for single and double quote escaping we saved from calls
3637-# to _LT_DECL, we can put quote escaped variables declarations
3638-# into `config.status', and then the shell code to quote escape them in
3639-# for loops in `config.status'. Finally, any additional code accumulated
3640-# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
3641-m4_defun([_LT_CONFIG_COMMANDS],
3642-[AC_PROVIDE_IFELSE([LT_OUTPUT],
3643- dnl If the libtool generation code has been placed in $CONFIG_LT,
3644- dnl instead of duplicating it all over again into config.status,
3645- dnl then we will have config.status run $CONFIG_LT later, so it
3646- dnl needs to know what name is stored there:
3647- [AC_CONFIG_COMMANDS([libtool],
3648- [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
3649- dnl If the libtool generation code is destined for config.status,
3650- dnl expand the accumulated commands and init code now:
3651- [AC_CONFIG_COMMANDS([libtool],
3652- [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
3653-])#_LT_CONFIG_COMMANDS
3654-
3655-
3656-# Initialize.
3657-m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
3658-[
3659-
3660-# The HP-UX ksh and POSIX shell print the target directory to stdout
3661-# if CDPATH is set.
3662-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3663-
3664-sed_quote_subst='$sed_quote_subst'
3665-double_quote_subst='$double_quote_subst'
3666-delay_variable_subst='$delay_variable_subst'
3667-_LT_CONFIG_STATUS_DECLARATIONS
3668-LTCC='$LTCC'
3669-LTCFLAGS='$LTCFLAGS'
3670-compiler='$compiler_DEFAULT'
3671-
3672-# A function that is used when there is no print builtin or printf.
3673-func_fallback_echo ()
3674-{
3675- eval 'cat <<_LTECHO_EOF
3676-\$[]1
3677-_LTECHO_EOF'
3678-}
3679-
3680-# Quote evaled strings.
3681-for var in lt_decl_all_varnames([[ \
3682-]], lt_decl_quote_varnames); do
3683- case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
3684- *[[\\\\\\\`\\"\\\$]]*)
3685- eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
3686- ;;
3687- *)
3688- eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
3689- ;;
3690- esac
3691-done
3692-
3693-# Double-quote double-evaled strings.
3694-for var in lt_decl_all_varnames([[ \
3695-]], lt_decl_dquote_varnames); do
3696- case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
3697- *[[\\\\\\\`\\"\\\$]]*)
3698- eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
3699- ;;
3700- *)
3701- eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
3702- ;;
3703- esac
3704-done
3705-
3706-_LT_OUTPUT_LIBTOOL_INIT
3707-])
3708-
3709-# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
3710-# ------------------------------------
3711-# Generate a child script FILE with all initialization necessary to
3712-# reuse the environment learned by the parent script, and make the
3713-# file executable. If COMMENT is supplied, it is inserted after the
3714-# `#!' sequence but before initialization text begins. After this
3715-# macro, additional text can be appended to FILE to form the body of
3716-# the child script. The macro ends with non-zero status if the
3717-# file could not be fully written (such as if the disk is full).
3718-m4_ifdef([AS_INIT_GENERATED],
3719-[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
3720-[m4_defun([_LT_GENERATED_FILE_INIT],
3721-[m4_require([AS_PREPARE])]dnl
3722-[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
3723-[lt_write_fail=0
3724-cat >$1 <<_ASEOF || lt_write_fail=1
3725-#! $SHELL
3726-# Generated by $as_me.
3727-$2
3728-SHELL=\${CONFIG_SHELL-$SHELL}
3729-export SHELL
3730-_ASEOF
3731-cat >>$1 <<\_ASEOF || lt_write_fail=1
3732-AS_SHELL_SANITIZE
3733-_AS_PREPARE
3734-exec AS_MESSAGE_FD>&1
3735-_ASEOF
3736-test $lt_write_fail = 0 && chmod +x $1[]dnl
3737-m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
3738-
3739-# LT_OUTPUT
3740-# ---------
3741-# This macro allows early generation of the libtool script (before
3742-# AC_OUTPUT is called), incase it is used in configure for compilation
3743-# tests.
3744-AC_DEFUN([LT_OUTPUT],
3745-[: ${CONFIG_LT=./config.lt}
3746-AC_MSG_NOTICE([creating $CONFIG_LT])
3747-_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
3748-[# Run this file to recreate a libtool stub with the current configuration.])
3749-
3750-cat >>"$CONFIG_LT" <<\_LTEOF
3751-lt_cl_silent=false
3752-exec AS_MESSAGE_LOG_FD>>config.log
3753-{
3754- echo
3755- AS_BOX([Running $as_me.])
3756-} >&AS_MESSAGE_LOG_FD
3757-
3758-lt_cl_help="\
3759-\`$as_me' creates a local libtool stub from the current configuration,
3760-for use in further configure time tests before the real libtool is
3761-generated.
3762-
3763-Usage: $[0] [[OPTIONS]]
3764-
3765- -h, --help print this help, then exit
3766- -V, --version print version number, then exit
3767- -q, --quiet do not print progress messages
3768- -d, --debug don't remove temporary files
3769-
3770-Report bugs to <bug-libtool@gnu.org>."
3771-
3772-lt_cl_version="\
3773-m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
3774-m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
3775-configured by $[0], generated by m4_PACKAGE_STRING.
3776-
3777-Copyright (C) 2010 Free Software Foundation, Inc.
3778-This config.lt script is free software; the Free Software Foundation
3779-gives unlimited permision to copy, distribute and modify it."
3780-
3781-while test $[#] != 0
3782-do
3783- case $[1] in
3784- --version | --v* | -V )
3785- echo "$lt_cl_version"; exit 0 ;;
3786- --help | --h* | -h )
3787- echo "$lt_cl_help"; exit 0 ;;
3788- --debug | --d* | -d )
3789- debug=: ;;
3790- --quiet | --q* | --silent | --s* | -q )
3791- lt_cl_silent=: ;;
3792-
3793- -*) AC_MSG_ERROR([unrecognized option: $[1]
3794-Try \`$[0] --help' for more information.]) ;;
3795-
3796- *) AC_MSG_ERROR([unrecognized argument: $[1]
3797-Try \`$[0] --help' for more information.]) ;;
3798- esac
3799- shift
3800-done
3801-
3802-if $lt_cl_silent; then
3803- exec AS_MESSAGE_FD>/dev/null
3804-fi
3805-_LTEOF
3806-
3807-cat >>"$CONFIG_LT" <<_LTEOF
3808-_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
3809-_LTEOF
3810-
3811-cat >>"$CONFIG_LT" <<\_LTEOF
3812-AC_MSG_NOTICE([creating $ofile])
3813-_LT_OUTPUT_LIBTOOL_COMMANDS
3814-AS_EXIT(0)
3815-_LTEOF
3816-chmod +x "$CONFIG_LT"
3817-
3818-# configure is writing to config.log, but config.lt does its own redirection,
3819-# appending to config.log, which fails on DOS, as config.log is still kept
3820-# open by configure. Here we exec the FD to /dev/null, effectively closing
3821-# config.log, so it can be properly (re)opened and appended to by config.lt.
3822-lt_cl_success=:
3823-test "$silent" = yes &&
3824- lt_config_lt_args="$lt_config_lt_args --quiet"
3825-exec AS_MESSAGE_LOG_FD>/dev/null
3826-$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
3827-exec AS_MESSAGE_LOG_FD>>config.log
3828-$lt_cl_success || AS_EXIT(1)
3829-])# LT_OUTPUT
3830-
3831-
3832-# _LT_CONFIG(TAG)
3833-# ---------------
3834-# If TAG is the built-in tag, create an initial libtool script with a
3835-# default configuration from the untagged config vars. Otherwise add code
3836-# to config.status for appending the configuration named by TAG from the
3837-# matching tagged config vars.
3838-m4_defun([_LT_CONFIG],
3839-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
3840-_LT_CONFIG_SAVE_COMMANDS([
3841- m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
3842- m4_if(_LT_TAG, [C], [
3843- # See if we are running on zsh, and set the options which allow our
3844- # commands through without removal of \ escapes.
3845- if test -n "${ZSH_VERSION+set}" ; then
3846- setopt NO_GLOB_SUBST
3847- fi
3848-
3849- cfgfile="${ofile}T"
3850- trap "$RM \"$cfgfile\"; exit 1" 1 2 15
3851- $RM "$cfgfile"
3852-
3853- cat <<_LT_EOF >> "$cfgfile"
3854-#! $SHELL
3855-
3856-# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
3857-# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
3858-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
3859-# NOTE: Changes made to this file will be lost: look at ltmain.sh.
3860-#
3861-_LT_COPYING
3862-_LT_LIBTOOL_TAGS
3863-
3864-# ### BEGIN LIBTOOL CONFIG
3865-_LT_LIBTOOL_CONFIG_VARS
3866-_LT_LIBTOOL_TAG_VARS
3867-# ### END LIBTOOL CONFIG
3868-
3869-_LT_EOF
3870-
3871- case $host_os in
3872- aix3*)
3873- cat <<\_LT_EOF >> "$cfgfile"
3874-# AIX sometimes has problems with the GCC collect2 program. For some
3875-# reason, if we set the COLLECT_NAMES environment variable, the problems
3876-# vanish in a puff of smoke.
3877-if test "X${COLLECT_NAMES+set}" != Xset; then
3878- COLLECT_NAMES=
3879- export COLLECT_NAMES
3880-fi
3881-_LT_EOF
3882- ;;
3883- esac
3884-
3885- _LT_PROG_LTMAIN
3886-
3887- # We use sed instead of cat because bash on DJGPP gets confused if
3888- # if finds mixed CR/LF and LF-only lines. Since sed operates in
3889- # text mode, it properly converts lines to CR/LF. This bash problem
3890- # is reportedly fixed, but why not run on old versions too?
3891- sed '$q' "$ltmain" >> "$cfgfile" \
3892- || (rm -f "$cfgfile"; exit 1)
3893-
3894- _LT_PROG_REPLACE_SHELLFNS
3895-
3896- mv -f "$cfgfile" "$ofile" ||
3897- (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
3898- chmod +x "$ofile"
3899-],
3900-[cat <<_LT_EOF >> "$ofile"
3901-
3902-dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
3903-dnl in a comment (ie after a #).
3904-# ### BEGIN LIBTOOL TAG CONFIG: $1
3905-_LT_LIBTOOL_TAG_VARS(_LT_TAG)
3906-# ### END LIBTOOL TAG CONFIG: $1
3907-_LT_EOF
3908-])dnl /m4_if
3909-],
3910-[m4_if([$1], [], [
3911- PACKAGE='$PACKAGE'
3912- VERSION='$VERSION'
3913- TIMESTAMP='$TIMESTAMP'
3914- RM='$RM'
3915- ofile='$ofile'], [])
3916-])dnl /_LT_CONFIG_SAVE_COMMANDS
3917-])# _LT_CONFIG
3918-
3919-
3920-# LT_SUPPORTED_TAG(TAG)
3921-# ---------------------
3922-# Trace this macro to discover what tags are supported by the libtool
3923-# --tag option, using:
3924-# autoconf --trace 'LT_SUPPORTED_TAG:$1'
3925-AC_DEFUN([LT_SUPPORTED_TAG], [])
3926-
3927-
3928-# C support is built-in for now
3929-m4_define([_LT_LANG_C_enabled], [])
3930-m4_define([_LT_TAGS], [])
3931-
3932-
3933-# LT_LANG(LANG)
3934-# -------------
3935-# Enable libtool support for the given language if not already enabled.
3936-AC_DEFUN([LT_LANG],
3937-[AC_BEFORE([$0], [LT_OUTPUT])dnl
3938-m4_case([$1],
3939- [C], [_LT_LANG(C)],
3940- [C++], [_LT_LANG(CXX)],
3941- [Java], [_LT_LANG(GCJ)],
3942- [Fortran 77], [_LT_LANG(F77)],
3943- [Fortran], [_LT_LANG(FC)],
3944- [Windows Resource], [_LT_LANG(RC)],
3945- [m4_ifdef([_LT_LANG_]$1[_CONFIG],
3946- [_LT_LANG($1)],
3947- [m4_fatal([$0: unsupported language: "$1"])])])dnl
3948-])# LT_LANG
3949-
3950-
3951-# _LT_LANG(LANGNAME)
3952-# ------------------
3953-m4_defun([_LT_LANG],
3954-[m4_ifdef([_LT_LANG_]$1[_enabled], [],
3955- [LT_SUPPORTED_TAG([$1])dnl
3956- m4_append([_LT_TAGS], [$1 ])dnl
3957- m4_define([_LT_LANG_]$1[_enabled], [])dnl
3958- _LT_LANG_$1_CONFIG($1)])dnl
3959-])# _LT_LANG
3960-
3961-
3962-# _LT_LANG_DEFAULT_CONFIG
3963-# -----------------------
3964-m4_defun([_LT_LANG_DEFAULT_CONFIG],
3965-[AC_PROVIDE_IFELSE([AC_PROG_CXX],
3966- [LT_LANG(CXX)],
3967- [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
3968-
3969-AC_PROVIDE_IFELSE([AC_PROG_F77],
3970- [LT_LANG(F77)],
3971- [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
3972-
3973-AC_PROVIDE_IFELSE([AC_PROG_FC],
3974- [LT_LANG(FC)],
3975- [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
3976-
3977-dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
3978-dnl pulling things in needlessly.
3979-AC_PROVIDE_IFELSE([AC_PROG_GCJ],
3980- [LT_LANG(GCJ)],
3981- [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
3982- [LT_LANG(GCJ)],
3983- [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
3984- [LT_LANG(GCJ)],
3985- [m4_ifdef([AC_PROG_GCJ],
3986- [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
3987- m4_ifdef([A][M_PROG_GCJ],
3988- [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
3989- m4_ifdef([LT_PROG_GCJ],
3990- [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
3991-
3992-AC_PROVIDE_IFELSE([LT_PROG_RC],
3993- [LT_LANG(RC)],
3994- [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
3995-])# _LT_LANG_DEFAULT_CONFIG
3996-
3997-# Obsolete macros:
3998-AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
3999-AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
4000-AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
4001-AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
4002-AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
4003-dnl aclocal-1.4 backwards compatibility:
4004-dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
4005-dnl AC_DEFUN([AC_LIBTOOL_F77], [])
4006-dnl AC_DEFUN([AC_LIBTOOL_FC], [])
4007-dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
4008-dnl AC_DEFUN([AC_LIBTOOL_RC], [])
4009-
4010-
4011-# _LT_TAG_COMPILER
4012-# ----------------
4013-m4_defun([_LT_TAG_COMPILER],
4014-[AC_REQUIRE([AC_PROG_CC])dnl
4015-
4016-_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
4017-_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
4018-_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
4019-_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
4020-
4021-# If no C compiler was specified, use CC.
4022-LTCC=${LTCC-"$CC"}
4023-
4024-# If no C compiler flags were specified, use CFLAGS.
4025-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4026-
4027-# Allow CC to be a program name with arguments.
4028-compiler=$CC
4029-])# _LT_TAG_COMPILER
4030-
4031-
4032-# _LT_COMPILER_BOILERPLATE
4033-# ------------------------
4034-# Check for compiler boilerplate output or warnings with
4035-# the simple compiler test code.
4036-m4_defun([_LT_COMPILER_BOILERPLATE],
4037-[m4_require([_LT_DECL_SED])dnl
4038-ac_outfile=conftest.$ac_objext
4039-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
4040-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
4041-_lt_compiler_boilerplate=`cat conftest.err`
4042-$RM conftest*
4043-])# _LT_COMPILER_BOILERPLATE
4044-
4045-
4046-# _LT_LINKER_BOILERPLATE
4047-# ----------------------
4048-# Check for linker boilerplate output or warnings with
4049-# the simple link test code.
4050-m4_defun([_LT_LINKER_BOILERPLATE],
4051-[m4_require([_LT_DECL_SED])dnl
4052-ac_outfile=conftest.$ac_objext
4053-echo "$lt_simple_link_test_code" >conftest.$ac_ext
4054-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
4055-_lt_linker_boilerplate=`cat conftest.err`
4056-$RM -r conftest*
4057-])# _LT_LINKER_BOILERPLATE
4058-
4059-# _LT_REQUIRED_DARWIN_CHECKS
4060-# -------------------------
4061-m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
4062- case $host_os in
4063- rhapsody* | darwin*)
4064- AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
4065- AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
4066- AC_CHECK_TOOL([LIPO], [lipo], [:])
4067- AC_CHECK_TOOL([OTOOL], [otool], [:])
4068- AC_CHECK_TOOL([OTOOL64], [otool64], [:])
4069- _LT_DECL([], [DSYMUTIL], [1],
4070- [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
4071- _LT_DECL([], [NMEDIT], [1],
4072- [Tool to change global to local symbols on Mac OS X])
4073- _LT_DECL([], [LIPO], [1],
4074- [Tool to manipulate fat objects and archives on Mac OS X])
4075- _LT_DECL([], [OTOOL], [1],
4076- [ldd/readelf like tool for Mach-O binaries on Mac OS X])
4077- _LT_DECL([], [OTOOL64], [1],
4078- [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
4079-
4080- AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
4081- [lt_cv_apple_cc_single_mod=no
4082- if test -z "${LT_MULTI_MODULE}"; then
4083- # By default we will add the -single_module flag. You can override
4084- # by either setting the environment variable LT_MULTI_MODULE
4085- # non-empty at configure time, or by adding -multi_module to the
4086- # link flags.
4087- rm -rf libconftest.dylib*
4088- echo "int foo(void){return 1;}" > conftest.c
4089- echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
4090--dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
4091- $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
4092- -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
4093- _lt_result=$?
4094- if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
4095- lt_cv_apple_cc_single_mod=yes
4096- else
4097- cat conftest.err >&AS_MESSAGE_LOG_FD
4098- fi
4099- rm -rf libconftest.dylib*
4100- rm -f conftest.*
4101- fi])
4102- AC_CACHE_CHECK([for -exported_symbols_list linker flag],
4103- [lt_cv_ld_exported_symbols_list],
4104- [lt_cv_ld_exported_symbols_list=no
4105- save_LDFLAGS=$LDFLAGS
4106- echo "_main" > conftest.sym
4107- LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
4108- AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
4109- [lt_cv_ld_exported_symbols_list=yes],
4110- [lt_cv_ld_exported_symbols_list=no])
4111- LDFLAGS="$save_LDFLAGS"
4112- ])
4113- AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
4114- [lt_cv_ld_force_load=no
4115- cat > conftest.c << _LT_EOF
4116-int forced_loaded() { return 2;}
4117-_LT_EOF
4118- echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
4119- $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
4120- echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
4121- $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
4122- echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
4123- $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
4124- cat > conftest.c << _LT_EOF
4125-int main() { return 0;}
4126-_LT_EOF
4127- echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
4128- $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
4129- _lt_result=$?
4130- if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
4131- lt_cv_ld_force_load=yes
4132- else
4133- cat conftest.err >&AS_MESSAGE_LOG_FD
4134- fi
4135- rm -f conftest.err libconftest.a conftest conftest.c
4136- rm -rf conftest.dSYM
4137- ])
4138- case $host_os in
4139- rhapsody* | darwin1.[[012]])
4140- _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
4141- darwin1.*)
4142- _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
4143- darwin*) # darwin 5.x on
4144- # if running on 10.5 or later, the deployment target defaults
4145- # to the OS version, if on x86, and 10.4, the deployment
4146- # target defaults to 10.4. Don't you love it?
4147- case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
4148- 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
4149- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
4150- 10.[[012]]*)
4151- _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
4152- 10.*)
4153- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
4154- esac
4155- ;;
4156- esac
4157- if test "$lt_cv_apple_cc_single_mod" = "yes"; then
4158- _lt_dar_single_mod='$single_module'
4159- fi
4160- if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
4161- _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
4162- else
4163- _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
4164- fi
4165- if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
4166- _lt_dsymutil='~$DSYMUTIL $lib || :'
4167- else
4168- _lt_dsymutil=
4169- fi
4170- ;;
4171- esac
4172-])
4173-
4174-
4175-# _LT_DARWIN_LINKER_FEATURES
4176-# --------------------------
4177-# Checks for linker and compiler features on darwin
4178-m4_defun([_LT_DARWIN_LINKER_FEATURES],
4179-[
4180- m4_require([_LT_REQUIRED_DARWIN_CHECKS])
4181- _LT_TAGVAR(archive_cmds_need_lc, $1)=no
4182- _LT_TAGVAR(hardcode_direct, $1)=no
4183- _LT_TAGVAR(hardcode_automatic, $1)=yes
4184- _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
4185- if test "$lt_cv_ld_force_load" = "yes"; then
4186- _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
4187- else
4188- _LT_TAGVAR(whole_archive_flag_spec, $1)=''
4189- fi
4190- _LT_TAGVAR(link_all_deplibs, $1)=yes
4191- _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
4192- case $cc_basename in
4193- ifort*) _lt_dar_can_shared=yes ;;
4194- *) _lt_dar_can_shared=$GCC ;;
4195- esac
4196- if test "$_lt_dar_can_shared" = "yes"; then
4197- output_verbose_link_cmd=func_echo_all
4198- _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
4199- _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
4200- _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
4201- _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
4202- m4_if([$1], [CXX],
4203-[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then
4204- _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
4205- _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
4206- fi
4207-],[])
4208- else
4209- _LT_TAGVAR(ld_shlibs, $1)=no
4210- fi
4211-])
4212-
4213-# _LT_SYS_MODULE_PATH_AIX([TAGNAME])
4214-# ----------------------------------
4215-# Links a minimal program and checks the executable
4216-# for the system default hardcoded library path. In most cases,
4217-# this is /usr/lib:/lib, but when the MPI compilers are used
4218-# the location of the communication and MPI libs are included too.
4219-# If we don't find anything, use the default library path according
4220-# to the aix ld manual.
4221-# Store the results from the different compilers for each TAGNAME.
4222-# Allow to override them for all tags through lt_cv_aix_libpath.
4223-m4_defun([_LT_SYS_MODULE_PATH_AIX],
4224-[m4_require([_LT_DECL_SED])dnl
4225-if test "${lt_cv_aix_libpath+set}" = set; then
4226- aix_libpath=$lt_cv_aix_libpath
4227-else
4228- AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
4229- [AC_LINK_IFELSE([AC_LANG_PROGRAM],[
4230- lt_aix_libpath_sed='[
4231- /Import File Strings/,/^$/ {
4232- /^0/ {
4233- s/^0 *\([^ ]*\) *$/\1/
4234- p
4235- }
4236- }]'
4237- _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
4238- # Check for a 64-bit object if we didn't find anything.
4239- if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
4240- _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
4241- fi],[])
4242- if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
4243- _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib"
4244- fi
4245- ])
4246- aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
4247-fi
4248-])# _LT_SYS_MODULE_PATH_AIX
4249-
4250-
4251-# _LT_SHELL_INIT(ARG)
4252-# -------------------
4253-m4_define([_LT_SHELL_INIT],
4254-[m4_divert_text([M4SH-INIT], [$1
4255-])])# _LT_SHELL_INIT
4256-
4257-
4258-
4259-# _LT_PROG_ECHO_BACKSLASH
4260-# -----------------------
4261-# Find how we can fake an echo command that does not interpret backslash.
4262-# In particular, with Autoconf 2.60 or later we add some code to the start
4263-# of the generated configure script which will find a shell with a builtin
4264-# printf (which we can use as an echo command).
4265-m4_defun([_LT_PROG_ECHO_BACKSLASH],
4266-[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4267-ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4268-ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4269-
4270-AC_MSG_CHECKING([how to print strings])
4271-# Test print first, because it will be a builtin if present.
4272-if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4273- test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4274- ECHO='print -r --'
4275-elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4276- ECHO='printf %s\n'
4277-else
4278- # Use this function as a fallback that always works.
4279- func_fallback_echo ()
4280- {
4281- eval 'cat <<_LTECHO_EOF
4282-$[]1
4283-_LTECHO_EOF'
4284- }
4285- ECHO='func_fallback_echo'
4286-fi
4287-
4288-# func_echo_all arg...
4289-# Invoke $ECHO with all args, space-separated.
4290-func_echo_all ()
4291-{
4292- $ECHO "$*"
4293-}
4294-
4295-case "$ECHO" in
4296- printf*) AC_MSG_RESULT([printf]) ;;
4297- print*) AC_MSG_RESULT([print -r]) ;;
4298- *) AC_MSG_RESULT([cat]) ;;
4299-esac
4300-
4301-m4_ifdef([_AS_DETECT_SUGGESTED],
4302-[_AS_DETECT_SUGGESTED([
4303- test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
4304- ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4305- ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4306- ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4307- PATH=/empty FPATH=/empty; export PATH FPATH
4308- test "X`printf %s $ECHO`" = "X$ECHO" \
4309- || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
4310-
4311-_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
4312-_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
4313-])# _LT_PROG_ECHO_BACKSLASH
4314-
4315-
4316-# _LT_WITH_SYSROOT
4317-# ----------------
4318-AC_DEFUN([_LT_WITH_SYSROOT],
4319-[AC_MSG_CHECKING([for sysroot])
4320-AC_ARG_WITH([sysroot],
4321-[ --with-sysroot[=DIR] Search for dependent libraries within DIR
4322- (or the compiler's sysroot if not specified).],
4323-[], [with_sysroot=no])
4324-
4325-dnl lt_sysroot will always be passed unquoted. We quote it here
4326-dnl in case the user passed a directory name.
4327-lt_sysroot=
4328-case ${with_sysroot} in #(
4329- yes)
4330- if test "$GCC" = yes; then
4331- lt_sysroot=`$CC --print-sysroot 2>/dev/null`
4332- fi
4333- ;; #(
4334- /*)
4335- lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
4336- ;; #(
4337- no|'')
4338- ;; #(
4339- *)
4340- AC_MSG_RESULT([${with_sysroot}])
4341- AC_MSG_ERROR([The sysroot must be an absolute path.])
4342- ;;
4343-esac
4344-
4345- AC_MSG_RESULT([${lt_sysroot:-no}])
4346-_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
4347-[dependent libraries, and in which our libraries should be installed.])])
4348-
4349-# _LT_ENABLE_LOCK
4350-# ---------------
4351-m4_defun([_LT_ENABLE_LOCK],
4352-[AC_ARG_ENABLE([libtool-lock],
4353- [AS_HELP_STRING([--disable-libtool-lock],
4354- [avoid locking (might break parallel builds)])])
4355-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4356-
4357-# Some flags need to be propagated to the compiler or linker for good
4358-# libtool support.
4359-case $host in
4360-ia64-*-hpux*)
4361- # Find out which ABI we are using.
4362- echo 'int i;' > conftest.$ac_ext
4363- if AC_TRY_EVAL(ac_compile); then
4364- case `/usr/bin/file conftest.$ac_objext` in
4365- *ELF-32*)
4366- HPUX_IA64_MODE="32"
4367- ;;
4368- *ELF-64*)
4369- HPUX_IA64_MODE="64"
4370- ;;
4371- esac
4372- fi
4373- rm -rf conftest*
4374- ;;
4375-*-*-irix6*)
4376- # Find out which ABI we are using.
4377- echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
4378- if AC_TRY_EVAL(ac_compile); then
4379- if test "$lt_cv_prog_gnu_ld" = yes; then
4380- case `/usr/bin/file conftest.$ac_objext` in
4381- *32-bit*)
4382- LD="${LD-ld} -melf32bsmip"
4383- ;;
4384- *N32*)
4385- LD="${LD-ld} -melf32bmipn32"
4386- ;;
4387- *64-bit*)
4388- LD="${LD-ld} -melf64bmip"
4389- ;;
4390- esac
4391- else
4392- case `/usr/bin/file conftest.$ac_objext` in
4393- *32-bit*)
4394- LD="${LD-ld} -32"
4395- ;;
4396- *N32*)
4397- LD="${LD-ld} -n32"
4398- ;;
4399- *64-bit*)
4400- LD="${LD-ld} -64"
4401- ;;
4402- esac
4403- fi
4404- fi
4405- rm -rf conftest*
4406- ;;
4407-
4408-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4409-s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
4410- # Find out which ABI we are using.
4411- echo 'int i;' > conftest.$ac_ext
4412- if AC_TRY_EVAL(ac_compile); then
4413- case `/usr/bin/file conftest.o` in
4414- *32-bit*)
4415- case $host in
4416- x86_64-*kfreebsd*-gnu)
4417- LD="${LD-ld} -m elf_i386_fbsd"
4418- ;;
4419- x86_64-*linux*)
4420- LD="${LD-ld} -m elf_i386"
4421- ;;
4422- ppc64-*linux*|powerpc64-*linux*)
4423- LD="${LD-ld} -m elf32ppclinux"
4424- ;;
4425- s390x-*linux*)
4426- LD="${LD-ld} -m elf_s390"
4427- ;;
4428- sparc64-*linux*)
4429- LD="${LD-ld} -m elf32_sparc"
4430- ;;
4431- esac
4432- ;;
4433- *64-bit*)
4434- case $host in
4435- x86_64-*kfreebsd*-gnu)
4436- LD="${LD-ld} -m elf_x86_64_fbsd"
4437- ;;
4438- x86_64-*linux*)
4439- LD="${LD-ld} -m elf_x86_64"
4440- ;;
4441- ppc*-*linux*|powerpc*-*linux*)
4442- LD="${LD-ld} -m elf64ppc"
4443- ;;
4444- s390*-*linux*|s390*-*tpf*)
4445- LD="${LD-ld} -m elf64_s390"
4446- ;;
4447- sparc*-*linux*)
4448- LD="${LD-ld} -m elf64_sparc"
4449- ;;
4450- esac
4451- ;;
4452- esac
4453- fi
4454- rm -rf conftest*
4455- ;;
4456-
4457-*-*-sco3.2v5*)
4458- # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4459- SAVE_CFLAGS="$CFLAGS"
4460- CFLAGS="$CFLAGS -belf"
4461- AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
4462- [AC_LANG_PUSH(C)
4463- AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
4464- AC_LANG_POP])
4465- if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4466- # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4467- CFLAGS="$SAVE_CFLAGS"
4468- fi
4469- ;;
4470-sparc*-*solaris*)
4471- # Find out which ABI we are using.
4472- echo 'int i;' > conftest.$ac_ext
4473- if AC_TRY_EVAL(ac_compile); then
4474- case `/usr/bin/file conftest.o` in
4475- *64-bit*)
4476- case $lt_cv_prog_gnu_ld in
4477- yes*) LD="${LD-ld} -m elf64_sparc" ;;
4478- *)
4479- if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
4480- LD="${LD-ld} -64"
4481- fi
4482- ;;
4483- esac
4484- ;;
4485- esac
4486- fi
4487- rm -rf conftest*
4488- ;;
4489-esac
4490-
4491-need_locks="$enable_libtool_lock"
4492-])# _LT_ENABLE_LOCK
4493-
4494-
4495-# _LT_PROG_AR
4496-# -----------
4497-m4_defun([_LT_PROG_AR],
4498-[AC_CHECK_TOOLS(AR, [ar], false)
4499-: ${AR=ar}
4500-: ${AR_FLAGS=cru}
4501-_LT_DECL([], [AR], [1], [The archiver])
4502-_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
4503-
4504-AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
4505- [lt_cv_ar_at_file=no
4506- AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
4507- [echo conftest.$ac_objext > conftest.lst
4508- lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
4509- AC_TRY_EVAL([lt_ar_try])
4510- if test "$ac_status" -eq 0; then
4511- # Ensure the archiver fails upon bogus file names.
4512- rm -f conftest.$ac_objext libconftest.a
4513- AC_TRY_EVAL([lt_ar_try])
4514- if test "$ac_status" -ne 0; then
4515- lt_cv_ar_at_file=@
4516- fi
4517- fi
4518- rm -f conftest.* libconftest.a
4519- ])
4520- ])
4521-
4522-if test "x$lt_cv_ar_at_file" = xno; then
4523- archiver_list_spec=
4524-else
4525- archiver_list_spec=$lt_cv_ar_at_file
4526-fi
4527-_LT_DECL([], [archiver_list_spec], [1],
4528- [How to feed a file listing to the archiver])
4529-])# _LT_PROG_AR
4530-
4531-
4532-# _LT_CMD_OLD_ARCHIVE
4533-# -------------------
4534-m4_defun([_LT_CMD_OLD_ARCHIVE],
4535-[_LT_PROG_AR
4536-
4537-AC_CHECK_TOOL(STRIP, strip, :)
4538-test -z "$STRIP" && STRIP=:
4539-_LT_DECL([], [STRIP], [1], [A symbol stripping program])
4540-
4541-AC_CHECK_TOOL(RANLIB, ranlib, :)
4542-test -z "$RANLIB" && RANLIB=:
4543-_LT_DECL([], [RANLIB], [1],
4544- [Commands used to install an old-style archive])
4545-
4546-# Determine commands to create old-style static archives.
4547-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
4548-old_postinstall_cmds='chmod 644 $oldlib'
4549-old_postuninstall_cmds=
4550-
4551-if test -n "$RANLIB"; then
4552- case $host_os in
4553- openbsd*)
4554- old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4555- ;;
4556- *)
4557- old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
4558- ;;
4559- esac
4560- old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
4561-fi
4562-
4563-case $host_os in
4564- darwin*)
4565- lock_old_archive_extraction=yes ;;
4566- *)
4567- lock_old_archive_extraction=no ;;
4568-esac
4569-_LT_DECL([], [old_postinstall_cmds], [2])
4570-_LT_DECL([], [old_postuninstall_cmds], [2])
4571-_LT_TAGDECL([], [old_archive_cmds], [2],
4572- [Commands used to build an old-style archive])
4573-_LT_DECL([], [lock_old_archive_extraction], [0],
4574- [Whether to use a lock for old archive extraction])
4575-])# _LT_CMD_OLD_ARCHIVE
4576-
4577-
4578-# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
4579-# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
4580-# ----------------------------------------------------------------
4581-# Check whether the given compiler option works
4582-AC_DEFUN([_LT_COMPILER_OPTION],
4583-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
4584-m4_require([_LT_DECL_SED])dnl
4585-AC_CACHE_CHECK([$1], [$2],
4586- [$2=no
4587- m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
4588- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
4589- lt_compiler_flag="$3"
4590- # Insert the option either (1) after the last *FLAGS variable, or
4591- # (2) before a word containing "conftest.", or (3) at the end.
4592- # Note that $ac_compile itself does not contain backslashes and begins
4593- # with a dollar sign (not a hyphen), so the echo should work correctly.
4594- # The option is referenced via a variable to avoid confusing sed.
4595- lt_compile=`echo "$ac_compile" | $SED \
4596- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
4597- -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
4598- -e 's:$: $lt_compiler_flag:'`
4599- (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
4600- (eval "$lt_compile" 2>conftest.err)
4601- ac_status=$?
4602- cat conftest.err >&AS_MESSAGE_LOG_FD
4603- echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
4604- if (exit $ac_status) && test -s "$ac_outfile"; then
4605- # The compiler can only warn and ignore the option if not recognized
4606- # So say no if there are warnings other than the usual output.
4607- $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
4608- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
4609- if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
4610- $2=yes
4611- fi
4612- fi
4613- $RM conftest*
4614-])
4615-
4616-if test x"[$]$2" = xyes; then
4617- m4_if([$5], , :, [$5])
4618-else
4619- m4_if([$6], , :, [$6])
4620-fi
4621-])# _LT_COMPILER_OPTION
4622-
4623-# Old name:
4624-AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
4625-dnl aclocal-1.4 backwards compatibility:
4626-dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
4627-
4628-
4629-# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
4630-# [ACTION-SUCCESS], [ACTION-FAILURE])
4631-# ----------------------------------------------------
4632-# Check whether the given linker option works
4633-AC_DEFUN([_LT_LINKER_OPTION],
4634-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
4635-m4_require([_LT_DECL_SED])dnl
4636-AC_CACHE_CHECK([$1], [$2],
4637- [$2=no
4638- save_LDFLAGS="$LDFLAGS"
4639- LDFLAGS="$LDFLAGS $3"
4640- echo "$lt_simple_link_test_code" > conftest.$ac_ext
4641- if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
4642- # The linker can only warn and ignore the option if not recognized
4643- # So say no if there are warnings
4644- if test -s conftest.err; then
4645- # Append any errors to the config.log.
4646- cat conftest.err 1>&AS_MESSAGE_LOG_FD
4647- $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
4648- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
4649- if diff conftest.exp conftest.er2 >/dev/null; then
4650- $2=yes
4651- fi
4652- else
4653- $2=yes
4654- fi
4655- fi
4656- $RM -r conftest*
4657- LDFLAGS="$save_LDFLAGS"
4658-])
4659-
4660-if test x"[$]$2" = xyes; then
4661- m4_if([$4], , :, [$4])
4662-else
4663- m4_if([$5], , :, [$5])
4664-fi
4665-])# _LT_LINKER_OPTION
4666-
4667-# Old name:
4668-AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
4669-dnl aclocal-1.4 backwards compatibility:
4670-dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
4671-
4672-
4673-# LT_CMD_MAX_LEN
4674-#---------------
4675-AC_DEFUN([LT_CMD_MAX_LEN],
4676-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
4677-# find the maximum length of command line arguments
4678-AC_MSG_CHECKING([the maximum length of command line arguments])
4679-AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
4680- i=0
4681- teststring="ABCD"
4682-
4683- case $build_os in
4684- msdosdjgpp*)
4685- # On DJGPP, this test can blow up pretty badly due to problems in libc
4686- # (any single argument exceeding 2000 bytes causes a buffer overrun
4687- # during glob expansion). Even if it were fixed, the result of this
4688- # check would be larger than it should be.
4689- lt_cv_sys_max_cmd_len=12288; # 12K is about right
4690- ;;
4691-
4692- gnu*)
4693- # Under GNU Hurd, this test is not required because there is
4694- # no limit to the length of command line arguments.
4695- # Libtool will interpret -1 as no limit whatsoever
4696- lt_cv_sys_max_cmd_len=-1;
4697- ;;
4698-
4699- cygwin* | mingw* | cegcc*)
4700- # On Win9x/ME, this test blows up -- it succeeds, but takes
4701- # about 5 minutes as the teststring grows exponentially.
4702- # Worse, since 9x/ME are not pre-emptively multitasking,
4703- # you end up with a "frozen" computer, even though with patience
4704- # the test eventually succeeds (with a max line length of 256k).
4705- # Instead, let's just punt: use the minimum linelength reported by
4706- # all of the supported platforms: 8192 (on NT/2K/XP).
4707- lt_cv_sys_max_cmd_len=8192;
4708- ;;
4709-
4710- mint*)
4711- # On MiNT this can take a long time and run out of memory.
4712- lt_cv_sys_max_cmd_len=8192;
4713- ;;
4714-
4715- amigaos*)
4716- # On AmigaOS with pdksh, this test takes hours, literally.
4717- # So we just punt and use a minimum line length of 8192.
4718- lt_cv_sys_max_cmd_len=8192;
4719- ;;
4720-
4721- netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4722- # This has been around since 386BSD, at least. Likely further.
4723- if test -x /sbin/sysctl; then
4724- lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4725- elif test -x /usr/sbin/sysctl; then
4726- lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4727- else
4728- lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4729- fi
4730- # And add a safety zone
4731- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4732- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4733- ;;
4734-
4735- interix*)
4736- # We know the value 262144 and hardcode it with a safety zone (like BSD)
4737- lt_cv_sys_max_cmd_len=196608
4738- ;;
4739-
4740- osf*)
4741- # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4742- # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4743- # nice to cause kernel panics so lets avoid the loop below.
4744- # First set a reasonable default.
4745- lt_cv_sys_max_cmd_len=16384
4746- #
4747- if test -x /sbin/sysconfig; then
4748- case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4749- *1*) lt_cv_sys_max_cmd_len=-1 ;;
4750- esac
4751- fi
4752- ;;
4753- sco3.2v5*)
4754- lt_cv_sys_max_cmd_len=102400
4755- ;;
4756- sysv5* | sco5v6* | sysv4.2uw2*)
4757- kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4758- if test -n "$kargmax"; then
4759- lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
4760- else
4761- lt_cv_sys_max_cmd_len=32768
4762- fi
4763- ;;
4764- *)
4765- lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4766- if test -n "$lt_cv_sys_max_cmd_len"; then
4767- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4768- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4769- else
4770- # Make teststring a little bigger before we do anything with it.
4771- # a 1K string should be a reasonable start.
4772- for i in 1 2 3 4 5 6 7 8 ; do
4773- teststring=$teststring$teststring
4774- done
4775- SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4776- # If test is not a shell built-in, we'll probably end up computing a
4777- # maximum length that is only half of the actual maximum length, but
4778- # we can't tell.
4779- while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4780- = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4781- test $i != 17 # 1/2 MB should be enough
4782- do
4783- i=`expr $i + 1`
4784- teststring=$teststring$teststring
4785- done
4786- # Only check the string length outside the loop.
4787- lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4788- teststring=
4789- # Add a significant safety factor because C++ compilers can tack on
4790- # massive amounts of additional arguments before passing them to the
4791- # linker. It appears as though 1/2 is a usable value.
4792- lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4793- fi
4794- ;;
4795- esac
4796-])
4797-if test -n $lt_cv_sys_max_cmd_len ; then
4798- AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
4799-else
4800- AC_MSG_RESULT(none)
4801-fi
4802-max_cmd_len=$lt_cv_sys_max_cmd_len
4803-_LT_DECL([], [max_cmd_len], [0],
4804- [What is the maximum length of a command?])
4805-])# LT_CMD_MAX_LEN
4806-
4807-# Old name:
4808-AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
4809-dnl aclocal-1.4 backwards compatibility:
4810-dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
4811-
4812-
4813-# _LT_HEADER_DLFCN
4814-# ----------------
4815-m4_defun([_LT_HEADER_DLFCN],
4816-[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
4817-])# _LT_HEADER_DLFCN
4818-
4819-
4820-# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
4821-# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
4822-# ----------------------------------------------------------------
4823-m4_defun([_LT_TRY_DLOPEN_SELF],
4824-[m4_require([_LT_HEADER_DLFCN])dnl
4825-if test "$cross_compiling" = yes; then :
4826- [$4]
4827-else
4828- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
4829- lt_status=$lt_dlunknown
4830- cat > conftest.$ac_ext <<_LT_EOF
4831-[#line $LINENO "configure"
4832-#include "confdefs.h"
4833-
4834-#if HAVE_DLFCN_H
4835-#include <dlfcn.h>
4836-#endif
4837-
4838-#include <stdio.h>
4839-
4840-#ifdef RTLD_GLOBAL
4841-# define LT_DLGLOBAL RTLD_GLOBAL
4842-#else
4843-# ifdef DL_GLOBAL
4844-# define LT_DLGLOBAL DL_GLOBAL
4845-# else
4846-# define LT_DLGLOBAL 0
4847-# endif
4848-#endif
4849-
4850-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
4851- find out it does not work in some platform. */
4852-#ifndef LT_DLLAZY_OR_NOW
4853-# ifdef RTLD_LAZY
4854-# define LT_DLLAZY_OR_NOW RTLD_LAZY
4855-# else
4856-# ifdef DL_LAZY
4857-# define LT_DLLAZY_OR_NOW DL_LAZY
4858-# else
4859-# ifdef RTLD_NOW
4860-# define LT_DLLAZY_OR_NOW RTLD_NOW
4861-# else
4862-# ifdef DL_NOW
4863-# define LT_DLLAZY_OR_NOW DL_NOW
4864-# else
4865-# define LT_DLLAZY_OR_NOW 0
4866-# endif
4867-# endif
4868-# endif
4869-# endif
4870-#endif
4871-
4872-/* When -fvisbility=hidden is used, assume the code has been annotated
4873- correspondingly for the symbols needed. */
4874-#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
4875-int fnord () __attribute__((visibility("default")));
4876-#endif
4877-
4878-int fnord () { return 42; }
4879-int main ()
4880-{
4881- void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
4882- int status = $lt_dlunknown;
4883-
4884- if (self)
4885- {
4886- if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
4887- else
4888- {
4889- if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
4890- else puts (dlerror ());
4891- }
4892- /* dlclose (self); */
4893- }
4894- else
4895- puts (dlerror ());
4896-
4897- return status;
4898-}]
4899-_LT_EOF
4900- if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
4901- (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
4902- lt_status=$?
4903- case x$lt_status in
4904- x$lt_dlno_uscore) $1 ;;
4905- x$lt_dlneed_uscore) $2 ;;
4906- x$lt_dlunknown|x*) $3 ;;
4907- esac
4908- else :
4909- # compilation failed
4910- $3
4911- fi
4912-fi
4913-rm -fr conftest*
4914-])# _LT_TRY_DLOPEN_SELF
4915-
4916-
4917-# LT_SYS_DLOPEN_SELF
4918-# ------------------
4919-AC_DEFUN([LT_SYS_DLOPEN_SELF],
4920-[m4_require([_LT_HEADER_DLFCN])dnl
4921-if test "x$enable_dlopen" != xyes; then
4922- enable_dlopen=unknown
4923- enable_dlopen_self=unknown
4924- enable_dlopen_self_static=unknown
4925-else
4926- lt_cv_dlopen=no
4927- lt_cv_dlopen_libs=
4928-
4929- case $host_os in
4930- beos*)
4931- lt_cv_dlopen="load_add_on"
4932- lt_cv_dlopen_libs=
4933- lt_cv_dlopen_self=yes
4934- ;;
4935-
4936- mingw* | pw32* | cegcc*)
4937- lt_cv_dlopen="LoadLibrary"
4938- lt_cv_dlopen_libs=
4939- ;;
4940-
4941- cygwin*)
4942- lt_cv_dlopen="dlopen"
4943- lt_cv_dlopen_libs=
4944- ;;
4945-
4946- darwin*)
4947- # if libdl is installed we need to link against it
4948- AC_CHECK_LIB([dl], [dlopen],
4949- [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
4950- lt_cv_dlopen="dyld"
4951- lt_cv_dlopen_libs=
4952- lt_cv_dlopen_self=yes
4953- ])
4954- ;;
4955-
4956- *)
4957- AC_CHECK_FUNC([shl_load],
4958- [lt_cv_dlopen="shl_load"],
4959- [AC_CHECK_LIB([dld], [shl_load],
4960- [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
4961- [AC_CHECK_FUNC([dlopen],
4962- [lt_cv_dlopen="dlopen"],
4963- [AC_CHECK_LIB([dl], [dlopen],
4964- [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
4965- [AC_CHECK_LIB([svld], [dlopen],
4966- [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
4967- [AC_CHECK_LIB([dld], [dld_link],
4968- [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
4969- ])
4970- ])
4971- ])
4972- ])
4973- ])
4974- ;;
4975- esac
4976-
4977- if test "x$lt_cv_dlopen" != xno; then
4978- enable_dlopen=yes
4979- else
4980- enable_dlopen=no
4981- fi
4982-
4983- case $lt_cv_dlopen in
4984- dlopen)
4985- save_CPPFLAGS="$CPPFLAGS"
4986- test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
4987-
4988- save_LDFLAGS="$LDFLAGS"
4989- wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
4990-
4991- save_LIBS="$LIBS"
4992- LIBS="$lt_cv_dlopen_libs $LIBS"
4993-
4994- AC_CACHE_CHECK([whether a program can dlopen itself],
4995- lt_cv_dlopen_self, [dnl
4996- _LT_TRY_DLOPEN_SELF(
4997- lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
4998- lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
4999- ])
5000-
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: