Merge lp:~xnox/ubuntu/trusty/mountall/remount into lp:ubuntu/trusty/mountall

Proposed by Dimitri John Ledkov
Status: Needs review
Proposed branch: lp:~xnox/ubuntu/trusty/mountall/remount
Merge into: lp:ubuntu/trusty/mountall
Diff against target: 50480 lines (+512/-49588)
25 files modified
.bzrignore (+39/-0)
Makefile.in (+0/-873)
aclocal.m4 (+0/-1175)
apport/Makefile.in (+0/-556)
conf/Makefile.in (+0/-579)
config.guess (+0/-1552)
config.h.in (+0/-401)
config.sub (+0/-1788)
configure (+0/-20995)
configure.ac (+7/-1)
dbus/Makefile.in (+0/-561)
debian/changelog (+15/-0)
debian/control (+1/-1)
debian/initramfs/Makefile.in (+0/-570)
debian/initramfs/upstart-jobs/Makefile.in (+0/-556)
debian/rules (+1/-1)
ltmain.sh (+0/-9661)
m4/libtool.m4 (+0/-7991)
man/Makefile.in (+0/-634)
src/Makefile.am (+25/-0)
src/Makefile.in (+0/-831)
src/fstab (+2/-2)
src/mountall.c (+273/-104)
src/tests/test_mountall.c (+149/-0)
util/Makefile.in (+0/-756)
To merge this branch: bzr merge lp:~xnox/ubuntu/trusty/mountall/remount
Reviewer Review Type Date Requested Status
Upstart Reviewers Pending
Review via email: mp+197840@code.launchpad.net

Description of the change

This is one way to implement/fix "fstab does not honor /proc mount options".

The actual problem is: mount-points are remounted, only if currently mounted "ro" and "ro was not requested.

Implementation is to convert current/requested mount options from character array, to NihHash and then compare the two sets of mount options. I don't like this approach as it is buggy in many subtle ways:
- "complement" options are not parsed properly, e.g. -orw,ro,rw are stored as RW and RO keys.
- ordering of the options is no longer preserved
- requested options, are not necessarily the same after successful mount, e.g. "defaults" get expanded, no-op options are dropped (tmpfs gid=0), relative options expanded (size=10%) etc.

What I think a better approach is to:
- when mountall starts mark up all mountpoints that we didn't mount
- remount them once

That should be a more simple and more robust approach.

I'm leaving code here for now, in case someone wants to pick it up / review. There are other useful changes in this branch (e.g. test-cases and general clean-up).

To post a comment you must log in.

Unmerged revisions

466. By Dimitri John Ledkov

Skip remounting placeholder mountpoints.

465. By Dimitri John Ledkov

and skip no-op requested mount options

464. By Dimitri John Ledkov

and account for mountinfo representing mode in octal without leading 0

463. By Dimitri John Ledkov

Remount each mount point at most once.

462. By Dimitri John Ledkov

add more compare options diff

461. By Dimitri John Ledkov

unless requested mount option value is relative, ends with '%'

460. By Dimitri John Ledkov

Set /sys/fs/cgroup size to 4k (the default)

459. By Dimitri John Ledkov

Remount filesystems, if requested and current mount options are
different (LP: #1039887)

458. By Dimitri John Ledkov

Convert opts/mount_opts for character array to NihHash.

457. By Dimitri John Ledkov

Add test framework, and needs_remount unit tests.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file '.bzrignore'
--- .bzrignore 1970-01-01 00:00:00 +0000
+++ .bzrignore 2013-12-05 10:42:25 +0000
@@ -0,0 +1,39 @@
1Makefile
2Makefile.in
3.libs/
4.deps/
5aclocal.m4
6autom4te.cache/
7config.guess
8config.h
9config.h.in
10config.log
11config.status
12config.sub
13configure
14libtool
15ltmain.sh
16stamp-h1
17tap-driver.sh
18test-driver
19debian/autoreconf.after
20debian/autoreconf.before
21debian/mountall.debhelper.log
22m4/libtool.m4
23po/POTFILES
24po/mountall.pot
25po/remove-potcdate.sed
26src/com.ubuntu.Mountall.Server.c
27src/com.ubuntu.Mountall.Server.h
28src/com.ubuntu.Upstart.c
29src/com.ubuntu.Upstart.h
30src/mountall
31src/test-suite.log
32src/test_mountall
33src/test_mountall.log
34src/test_mountall.trs
35src/tests/.deps/
36src/tests/.dirstamp
37util/com.ubuntu.Mountall.Server.c
38util/com.ubuntu.Mountall.Server.h
39util/mntctl
040
=== removed file 'Makefile.in'
--- Makefile.in 2013-07-02 23:10:21 +0000
+++ Makefile.in 1970-01-01 00:00:00 +0000
@@ -1,873 +0,0 @@
1# Makefile.in generated by automake 1.13.3 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16VPATH = @srcdir@
17am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
18am__make_running_with_option = \
19 case $${target_option-} in \
20 ?) ;; \
21 *) echo "am__make_running_with_option: internal error: invalid" \
22 "target option '$${target_option-}' specified" >&2; \
23 exit 1;; \
24 esac; \
25 has_opt=no; \
26 sane_makeflags=$$MAKEFLAGS; \
27 if $(am__is_gnu_make); then \
28 sane_makeflags=$$MFLAGS; \
29 else \
30 case $$MAKEFLAGS in \
31 *\\[\ \ ]*) \
32 bs=\\; \
33 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
34 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
35 esac; \
36 fi; \
37 skip_next=no; \
38 strip_trailopt () \
39 { \
40 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
41 }; \
42 for flg in $$sane_makeflags; do \
43 test $$skip_next = yes && { skip_next=no; continue; }; \
44 case $$flg in \
45 *=*|--*) continue;; \
46 -*I) strip_trailopt 'I'; skip_next=yes;; \
47 -*I?*) strip_trailopt 'I';; \
48 -*O) strip_trailopt 'O'; skip_next=yes;; \
49 -*O?*) strip_trailopt 'O';; \
50 -*l) strip_trailopt 'l'; skip_next=yes;; \
51 -*l?*) strip_trailopt 'l';; \
52 -[dEDm]) skip_next=yes;; \
53 -[JT]) skip_next=yes;; \
54 esac; \
55 case $$flg in \
56 *$$target_option*) has_opt=yes; break;; \
57 esac; \
58 done; \
59 test $$has_opt = yes
60am__make_dryrun = (target_option=n; $(am__make_running_with_option))
61am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
62pkgdatadir = $(datadir)/@PACKAGE@
63pkgincludedir = $(includedir)/@PACKAGE@
64pkglibdir = $(libdir)/@PACKAGE@
65pkglibexecdir = $(libexecdir)/@PACKAGE@
66am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
67install_sh_DATA = $(install_sh) -c -m 644
68install_sh_PROGRAM = $(install_sh) -c
69install_sh_SCRIPT = $(install_sh) -c
70INSTALL_HEADER = $(INSTALL_DATA)
71transform = $(program_transform_name)
72NORMAL_INSTALL = :
73PRE_INSTALL = :
74POST_INSTALL = :
75NORMAL_UNINSTALL = :
76PRE_UNINSTALL = :
77POST_UNINSTALL = :
78build_triplet = @build@
79host_triplet = @host@
80subdir = .
81DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
82 $(top_srcdir)/configure $(am__configure_deps) \
83 $(srcdir)/config.h.in $(top_srcdir)/intl/Makefile.in ABOUT-NLS \
84 COPYING compile config.guess config.rpath config.sub depcomp \
85 install-sh missing ltmain.sh
86ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
87am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \
88 $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc2.m4 \
89 $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/iconv.m4 \
90 $(top_srcdir)/m4/intdiv0.m4 $(top_srcdir)/m4/intl.m4 \
91 $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax.m4 \
92 $(top_srcdir)/m4/inttypes-pri.m4 \
93 $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lcmessage.m4 \
94 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
95 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libnih.m4 \
96 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/lock.m4 \
97 $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/ltoptions.m4 \
98 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
99 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
100 $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/po.m4 \
101 $(top_srcdir)/m4/printf-posix.m4 $(top_srcdir)/m4/progtest.m4 \
102 $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \
103 $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \
104 $(top_srcdir)/m4/visibility.m4 $(top_srcdir)/m4/wchar_t.m4 \
105 $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \
106 $(top_srcdir)/configure.ac
107am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
108 $(ACLOCAL_M4)
109am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
110 configure.lineno config.status.lineno
111mkinstalldirs = $(install_sh) -d
112CONFIG_HEADER = config.h
113CONFIG_CLEAN_FILES = intl/Makefile
114CONFIG_CLEAN_VPATH_FILES =
115AM_V_P = $(am__v_P_@AM_V@)
116am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
117am__v_P_0 = false
118am__v_P_1 = :
119AM_V_GEN = $(am__v_GEN_@AM_V@)
120am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
121am__v_GEN_0 = @echo " GEN " $@;
122am__v_GEN_1 =
123AM_V_at = $(am__v_at_@AM_V@)
124am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
125am__v_at_0 = @
126am__v_at_1 =
127SOURCES =
128DIST_SOURCES =
129RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
130 ctags-recursive dvi-recursive html-recursive info-recursive \
131 install-data-recursive install-dvi-recursive \
132 install-exec-recursive install-html-recursive \
133 install-info-recursive install-pdf-recursive \
134 install-ps-recursive install-recursive installcheck-recursive \
135 installdirs-recursive pdf-recursive ps-recursive \
136 tags-recursive uninstall-recursive
137am__can_run_installinfo = \
138 case $$AM_UPDATE_INFO_DIR in \
139 n|no|NO) false;; \
140 *) (install-info --version) >/dev/null 2>&1;; \
141 esac
142RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
143 distclean-recursive maintainer-clean-recursive
144am__recursive_targets = \
145 $(RECURSIVE_TARGETS) \
146 $(RECURSIVE_CLEAN_TARGETS) \
147 $(am__extra_recursive_targets)
148AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
149 cscope distdir dist dist-all distcheck
150am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
151 $(LISP)config.h.in
152# Read a list of newline-separated strings from the standard input,
153# and print each of them once, without duplicates. Input order is
154# *not* preserved.
155am__uniquify_input = $(AWK) '\
156 BEGIN { nonempty = 0; } \
157 { items[$$0] = 1; nonempty = 1; } \
158 END { if (nonempty) { for (i in items) print i; }; } \
159'
160# Make sure the list of sources is unique. This is necessary because,
161# e.g., the same source file might be shared among _SOURCES variables
162# for different programs/libraries.
163am__define_uniq_tagged_files = \
164 list='$(am__tagged_files)'; \
165 unique=`for i in $$list; do \
166 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
167 done | $(am__uniquify_input)`
168ETAGS = etags
169CTAGS = ctags
170CSCOPE = cscope
171DIST_SUBDIRS = $(SUBDIRS)
172DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
173distdir = $(PACKAGE)-$(VERSION)
174top_distdir = $(distdir)
175am__remove_distdir = \
176 if test -d "$(distdir)"; then \
177 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
178 && rm -rf "$(distdir)" \
179 || { sleep 5 && rm -rf "$(distdir)"; }; \
180 else :; fi
181am__post_remove_distdir = $(am__remove_distdir)
182am__relativize = \
183 dir0=`pwd`; \
184 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
185 sed_rest='s,^[^/]*/*,,'; \
186 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
187 sed_butlast='s,/*[^/]*$$,,'; \
188 while test -n "$$dir1"; do \
189 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
190 if test "$$first" != "."; then \
191 if test "$$first" = ".."; then \
192 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
193 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
194 else \
195 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
196 if test "$$first2" = "$$first"; then \
197 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
198 else \
199 dir2="../$$dir2"; \
200 fi; \
201 dir0="$$dir0"/"$$first"; \
202 fi; \
203 fi; \
204 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
205 done; \
206 reldir="$$dir2"
207DIST_ARCHIVES = $(distdir).tar.gz
208GZIP_ENV = --best
209DIST_TARGETS = dist-gzip
210distuninstallcheck_listfiles = find . -type f -print
211am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
212 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
213distcleancheck_listfiles = find . -type f -print
214ACLOCAL = @ACLOCAL@
215ALLOCA = @ALLOCA@
216AMTAR = @AMTAR@
217AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
218AR = @AR@
219AUTOCONF = @AUTOCONF@
220AUTOHEADER = @AUTOHEADER@
221AUTOMAKE = @AUTOMAKE@
222AWK = @AWK@
223BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
224CATOBJEXT = @CATOBJEXT@
225CC = @CC@
226CCDEPMODE = @CCDEPMODE@
227CFLAGS = @CFLAGS@
228CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
229CPP = @CPP@
230CPPFLAGS = @CPPFLAGS@
231CYGPATH_W = @CYGPATH_W@
232DATADIRNAME = @DATADIRNAME@
233DBUS_CFLAGS = @DBUS_CFLAGS@
234DBUS_LIBS = @DBUS_LIBS@
235DEFS = @DEFS@
236DEPDIR = @DEPDIR@
237DLLTOOL = @DLLTOOL@
238DSYMUTIL = @DSYMUTIL@
239DUMPBIN = @DUMPBIN@
240ECHO_C = @ECHO_C@
241ECHO_N = @ECHO_N@
242ECHO_T = @ECHO_T@
243EGREP = @EGREP@
244EXEEXT = @EXEEXT@
245FGREP = @FGREP@
246GENCAT = @GENCAT@
247GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
248GLIBC2 = @GLIBC2@
249GLIBC21 = @GLIBC21@
250GMSGFMT = @GMSGFMT@
251GMSGFMT_015 = @GMSGFMT_015@
252GREP = @GREP@
253HAVE_ASPRINTF = @HAVE_ASPRINTF@
254HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
255HAVE_SNPRINTF = @HAVE_SNPRINTF@
256HAVE_VISIBILITY = @HAVE_VISIBILITY@
257HAVE_WPRINTF = @HAVE_WPRINTF@
258INSTALL = @INSTALL@
259INSTALL_DATA = @INSTALL_DATA@
260INSTALL_PROGRAM = @INSTALL_PROGRAM@
261INSTALL_SCRIPT = @INSTALL_SCRIPT@
262INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
263INSTOBJEXT = @INSTOBJEXT@
264INTLBISON = @INTLBISON@
265INTLLIBS = @INTLLIBS@
266INTLOBJS = @INTLOBJS@
267INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
268INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
269LD = @LD@
270LDFLAGS = @LDFLAGS@
271LIBICONV = @LIBICONV@
272LIBINTL = @LIBINTL@
273LIBMULTITHREAD = @LIBMULTITHREAD@
274LIBOBJS = @LIBOBJS@
275LIBPTH = @LIBPTH@
276LIBPTH_PREFIX = @LIBPTH_PREFIX@
277LIBS = @LIBS@
278LIBTHREAD = @LIBTHREAD@
279LIBTOOL = @LIBTOOL@
280LIPO = @LIPO@
281LN_S = @LN_S@
282LTLIBC = @LTLIBC@
283LTLIBICONV = @LTLIBICONV@
284LTLIBINTL = @LTLIBINTL@
285LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
286LTLIBOBJS = @LTLIBOBJS@
287LTLIBPTH = @LTLIBPTH@
288LTLIBTHREAD = @LTLIBTHREAD@
289MAINT = @MAINT@
290MAKEINFO = @MAKEINFO@
291MANIFEST_TOOL = @MANIFEST_TOOL@
292MKDIR_P = @MKDIR_P@
293MSGFMT = @MSGFMT@
294MSGFMT_015 = @MSGFMT_015@
295MSGMERGE = @MSGMERGE@
296NIH_CFLAGS = @NIH_CFLAGS@
297NIH_DBUS_CFLAGS = @NIH_DBUS_CFLAGS@
298NIH_DBUS_LIBS = @NIH_DBUS_LIBS@
299NIH_DBUS_TOOL = @NIH_DBUS_TOOL@
300NIH_LIBS = @NIH_LIBS@
301NM = @NM@
302NMEDIT = @NMEDIT@
303OBJDUMP = @OBJDUMP@
304OBJEXT = @OBJEXT@
305OTOOL = @OTOOL@
306OTOOL64 = @OTOOL64@
307PACKAGE = @PACKAGE@
308PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
309PACKAGE_NAME = @PACKAGE_NAME@
310PACKAGE_STRING = @PACKAGE_STRING@
311PACKAGE_TARNAME = @PACKAGE_TARNAME@
312PACKAGE_URL = @PACKAGE_URL@
313PACKAGE_VERSION = @PACKAGE_VERSION@
314PATH_SEPARATOR = @PATH_SEPARATOR@
315PKG_CONFIG = @PKG_CONFIG@
316PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
317PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
318PLYMOUTH_CFLAGS = @PLYMOUTH_CFLAGS@
319PLYMOUTH_LIBS = @PLYMOUTH_LIBS@
320POSUB = @POSUB@
321PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@
322RANLIB = @RANLIB@
323SED = @SED@
324SET_MAKE = @SET_MAKE@
325SHELL = @SHELL@
326STRIP = @STRIP@
327UDEV_CFLAGS = @UDEV_CFLAGS@
328UDEV_LIBS = @UDEV_LIBS@
329USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
330USE_NLS = @USE_NLS@
331VERSION = @VERSION@
332WINDRES = @WINDRES@
333WOE32 = @WOE32@
334WOE32DLL = @WOE32DLL@
335XGETTEXT = @XGETTEXT@
336XGETTEXT_015 = @XGETTEXT_015@
337XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
338abs_builddir = @abs_builddir@
339abs_srcdir = @abs_srcdir@
340abs_top_builddir = @abs_top_builddir@
341abs_top_srcdir = @abs_top_srcdir@
342ac_ct_AR = @ac_ct_AR@
343ac_ct_CC = @ac_ct_CC@
344ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
345am__include = @am__include@
346am__leading_dot = @am__leading_dot@
347am__quote = @am__quote@
348am__tar = @am__tar@
349am__untar = @am__untar@
350bindir = @bindir@
351build = @build@
352build_alias = @build_alias@
353build_cpu = @build_cpu@
354build_os = @build_os@
355build_vendor = @build_vendor@
356builddir = @builddir@
357datadir = @datadir@
358datarootdir = @datarootdir@
359docdir = @docdir@
360dvidir = @dvidir@
361exec_prefix = @exec_prefix@
362host = @host@
363host_alias = @host_alias@
364host_cpu = @host_cpu@
365host_os = @host_os@
366host_vendor = @host_vendor@
367htmldir = @htmldir@
368includedir = @includedir@
369infodir = @infodir@
370install_sh = @install_sh@
371libdir = @libdir@
372libexecdir = @libexecdir@
373localedir = @localedir@
374localstatedir = @localstatedir@
375mandir = @mandir@
376mkdir_p = @mkdir_p@
377oldincludedir = @oldincludedir@
378pdfdir = @pdfdir@
379prefix = @prefix@
380program_transform_name = @program_transform_name@
381psdir = @psdir@
382sbindir = @sbindir@
383sharedstatedir = @sharedstatedir@
384srcdir = @srcdir@
385sysconfdir = @sysconfdir@
386target_alias = @target_alias@
387top_build_prefix = @top_build_prefix@
388top_builddir = @top_builddir@
389top_srcdir = @top_srcdir@
390SUBDIRS = intl dbus util src conf debian/initramfs debian/initramfs/upstart-jobs/ man po apport
391EXTRA_DIST = config.rpath
392ACLOCAL_AMFLAGS = --install -I m4
393all: config.h
394 $(MAKE) $(AM_MAKEFLAGS) all-recursive
395
396.SUFFIXES:
397am--refresh: Makefile
398 @:
399$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
400 @for dep in $?; do \
401 case '$(am__configure_deps)' in \
402 *$$dep*) \
403 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
404 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
405 && exit 0; \
406 exit 1;; \
407 esac; \
408 done; \
409 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
410 $(am__cd) $(top_srcdir) && \
411 $(AUTOMAKE) --foreign Makefile
412.PRECIOUS: Makefile
413Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
414 @case '$?' in \
415 *config.status*) \
416 echo ' $(SHELL) ./config.status'; \
417 $(SHELL) ./config.status;; \
418 *) \
419 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
420 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
421 esac;
422
423$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
424 $(SHELL) ./config.status --recheck
425
426$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
427 $(am__cd) $(srcdir) && $(AUTOCONF)
428$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
429 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
430$(am__aclocal_m4_deps):
431
432config.h: stamp-h1
433 @if test ! -f $@; then rm -f stamp-h1; else :; fi
434 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
435
436stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
437 @rm -f stamp-h1
438 cd $(top_builddir) && $(SHELL) ./config.status config.h
439$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
440 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
441 rm -f stamp-h1
442 touch $@
443
444distclean-hdr:
445 -rm -f config.h stamp-h1
446intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
447 cd $(top_builddir) && $(SHELL) ./config.status $@
448
449mostlyclean-libtool:
450 -rm -f *.lo
451
452clean-libtool:
453 -rm -rf .libs _libs
454
455distclean-libtool:
456 -rm -f libtool config.lt
457
458# This directory's subdirectories are mostly independent; you can cd
459# into them and run 'make' without going through this Makefile.
460# To change the values of 'make' variables: instead of editing Makefiles,
461# (1) if the variable is set in 'config.status', edit 'config.status'
462# (which will cause the Makefiles to be regenerated when you run 'make');
463# (2) otherwise, pass the desired values on the 'make' command line.
464$(am__recursive_targets):
465 @fail=; \
466 if $(am__make_keepgoing); then \
467 failcom='fail=yes'; \
468 else \
469 failcom='exit 1'; \
470 fi; \
471 dot_seen=no; \
472 target=`echo $@ | sed s/-recursive//`; \
473 case "$@" in \
474 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
475 *) list='$(SUBDIRS)' ;; \
476 esac; \
477 for subdir in $$list; do \
478 echo "Making $$target in $$subdir"; \
479 if test "$$subdir" = "."; then \
480 dot_seen=yes; \
481 local_target="$$target-am"; \
482 else \
483 local_target="$$target"; \
484 fi; \
485 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
486 || eval $$failcom; \
487 done; \
488 if test "$$dot_seen" = "no"; then \
489 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
490 fi; test -z "$$fail"
491
492ID: $(am__tagged_files)
493 $(am__define_uniq_tagged_files); mkid -fID $$unique
494tags: tags-recursive
495TAGS: tags
496
497tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
498 set x; \
499 here=`pwd`; \
500 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
501 include_option=--etags-include; \
502 empty_fix=.; \
503 else \
504 include_option=--include; \
505 empty_fix=; \
506 fi; \
507 list='$(SUBDIRS)'; for subdir in $$list; do \
508 if test "$$subdir" = .; then :; else \
509 test ! -f $$subdir/TAGS || \
510 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
511 fi; \
512 done; \
513 $(am__define_uniq_tagged_files); \
514 shift; \
515 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
516 test -n "$$unique" || unique=$$empty_fix; \
517 if test $$# -gt 0; then \
518 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
519 "$$@" $$unique; \
520 else \
521 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
522 $$unique; \
523 fi; \
524 fi
525ctags: ctags-recursive
526
527CTAGS: ctags
528ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
529 $(am__define_uniq_tagged_files); \
530 test -z "$(CTAGS_ARGS)$$unique" \
531 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
532 $$unique
533
534GTAGS:
535 here=`$(am__cd) $(top_builddir) && pwd` \
536 && $(am__cd) $(top_srcdir) \
537 && gtags -i $(GTAGS_ARGS) "$$here"
538cscope: cscope.files
539 test ! -s cscope.files \
540 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
541clean-cscope:
542 -rm -f cscope.files
543cscope.files: clean-cscope cscopelist
544cscopelist: cscopelist-recursive
545
546cscopelist-am: $(am__tagged_files)
547 list='$(am__tagged_files)'; \
548 case "$(srcdir)" in \
549 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
550 *) sdir=$(subdir)/$(srcdir) ;; \
551 esac; \
552 for i in $$list; do \
553 if test -f "$$i"; then \
554 echo "$(subdir)/$$i"; \
555 else \
556 echo "$$sdir/$$i"; \
557 fi; \
558 done >> $(top_builddir)/cscope.files
559
560distclean-tags:
561 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
562 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
563
564distdir: $(DISTFILES)
565 $(am__remove_distdir)
566 test -d "$(distdir)" || mkdir "$(distdir)"
567 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
568 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
569 list='$(DISTFILES)'; \
570 dist_files=`for file in $$list; do echo $$file; done | \
571 sed -e "s|^$$srcdirstrip/||;t" \
572 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
573 case $$dist_files in \
574 */*) $(MKDIR_P) `echo "$$dist_files" | \
575 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
576 sort -u` ;; \
577 esac; \
578 for file in $$dist_files; do \
579 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
580 if test -d $$d/$$file; then \
581 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
582 if test -d "$(distdir)/$$file"; then \
583 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
584 fi; \
585 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
586 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
587 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
588 fi; \
589 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
590 else \
591 test -f "$(distdir)/$$file" \
592 || cp -p $$d/$$file "$(distdir)/$$file" \
593 || exit 1; \
594 fi; \
595 done
596 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
597 if test "$$subdir" = .; then :; else \
598 $(am__make_dryrun) \
599 || test -d "$(distdir)/$$subdir" \
600 || $(MKDIR_P) "$(distdir)/$$subdir" \
601 || exit 1; \
602 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
603 $(am__relativize); \
604 new_distdir=$$reldir; \
605 dir1=$$subdir; dir2="$(top_distdir)"; \
606 $(am__relativize); \
607 new_top_distdir=$$reldir; \
608 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
609 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
610 ($(am__cd) $$subdir && \
611 $(MAKE) $(AM_MAKEFLAGS) \
612 top_distdir="$$new_top_distdir" \
613 distdir="$$new_distdir" \
614 am__remove_distdir=: \
615 am__skip_length_check=: \
616 am__skip_mode_fix=: \
617 distdir) \
618 || exit 1; \
619 fi; \
620 done
621 -test -n "$(am__skip_mode_fix)" \
622 || find "$(distdir)" -type d ! -perm -755 \
623 -exec chmod u+rwx,go+rx {} \; -o \
624 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
625 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
626 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
627 || chmod -R a+r "$(distdir)"
628dist-gzip: distdir
629 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
630 $(am__post_remove_distdir)
631
632dist-bzip2: distdir
633 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
634 $(am__post_remove_distdir)
635
636dist-lzip: distdir
637 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
638 $(am__post_remove_distdir)
639
640dist-xz: distdir
641 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
642 $(am__post_remove_distdir)
643
644dist-tarZ: distdir
645 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
646 $(am__post_remove_distdir)
647
648dist-shar: distdir
649 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
650 $(am__post_remove_distdir)
651
652dist-zip: distdir
653 -rm -f $(distdir).zip
654 zip -rq $(distdir).zip $(distdir)
655 $(am__post_remove_distdir)
656
657dist dist-all:
658 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
659 $(am__post_remove_distdir)
660
661# This target untars the dist file and tries a VPATH configuration. Then
662# it guarantees that the distribution is self-contained by making another
663# tarfile.
664distcheck: dist
665 case '$(DIST_ARCHIVES)' in \
666 *.tar.gz*) \
667 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
668 *.tar.bz2*) \
669 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
670 *.tar.lz*) \
671 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
672 *.tar.xz*) \
673 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
674 *.tar.Z*) \
675 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
676 *.shar.gz*) \
677 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
678 *.zip*) \
679 unzip $(distdir).zip ;;\
680 esac
681 chmod -R a-w $(distdir)
682 chmod u+w $(distdir)
683 mkdir $(distdir)/_build $(distdir)/_inst
684 chmod a-w $(distdir)
685 test -d $(distdir)/_build || exit 0; \
686 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
687 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
688 && am__cwd=`pwd` \
689 && $(am__cd) $(distdir)/_build \
690 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
691 --with-included-gettext \
692 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
693 $(DISTCHECK_CONFIGURE_FLAGS) \
694 && $(MAKE) $(AM_MAKEFLAGS) \
695 && $(MAKE) $(AM_MAKEFLAGS) dvi \
696 && $(MAKE) $(AM_MAKEFLAGS) check \
697 && $(MAKE) $(AM_MAKEFLAGS) install \
698 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
699 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
700 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
701 distuninstallcheck \
702 && chmod -R a-w "$$dc_install_base" \
703 && ({ \
704 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
705 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
706 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
707 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
708 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
709 } || { rm -rf "$$dc_destdir"; exit 1; }) \
710 && rm -rf "$$dc_destdir" \
711 && $(MAKE) $(AM_MAKEFLAGS) dist \
712 && rm -rf $(DIST_ARCHIVES) \
713 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
714 && cd "$$am__cwd" \
715 || exit 1
716 $(am__post_remove_distdir)
717 @(echo "$(distdir) archives ready for distribution: "; \
718 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
719 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
720distuninstallcheck:
721 @test -n '$(distuninstallcheck_dir)' || { \
722 echo 'ERROR: trying to run $@ with an empty' \
723 '$$(distuninstallcheck_dir)' >&2; \
724 exit 1; \
725 }; \
726 $(am__cd) '$(distuninstallcheck_dir)' || { \
727 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
728 exit 1; \
729 }; \
730 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
731 || { echo "ERROR: files left after uninstall:" ; \
732 if test -n "$(DESTDIR)"; then \
733 echo " (check DESTDIR support)"; \
734 fi ; \
735 $(distuninstallcheck_listfiles) ; \
736 exit 1; } >&2
737distcleancheck: distclean
738 @if test '$(srcdir)' = . ; then \
739 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
740 exit 1 ; \
741 fi
742 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
743 || { echo "ERROR: files left in build directory after distclean:" ; \
744 $(distcleancheck_listfiles) ; \
745 exit 1; } >&2
746check-am: all-am
747check: check-recursive
748all-am: Makefile config.h
749installdirs: installdirs-recursive
750installdirs-am:
751install: install-recursive
752install-exec: install-exec-recursive
753install-data: install-data-recursive
754uninstall: uninstall-recursive
755
756install-am: all-am
757 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
758
759installcheck: installcheck-recursive
760install-strip:
761 if test -z '$(STRIP)'; then \
762 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
763 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
764 install; \
765 else \
766 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
767 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
768 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
769 fi
770mostlyclean-generic:
771
772clean-generic:
773
774distclean-generic:
775 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
776 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
777
778maintainer-clean-generic:
779 @echo "This command is intended for maintainers to use"
780 @echo "it deletes files that may require special tools to rebuild."
781clean: clean-recursive
782
783clean-am: clean-generic clean-libtool mostlyclean-am
784
785distclean: distclean-recursive
786 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
787 -rm -f Makefile
788distclean-am: clean-am distclean-generic distclean-hdr \
789 distclean-libtool distclean-tags
790
791dvi: dvi-recursive
792
793dvi-am:
794
795html: html-recursive
796
797html-am:
798
799info: info-recursive
800
801info-am:
802
803install-data-am:
804
805install-dvi: install-dvi-recursive
806
807install-dvi-am:
808
809install-exec-am:
810
811install-html: install-html-recursive
812
813install-html-am:
814
815install-info: install-info-recursive
816
817install-info-am:
818
819install-man:
820
821install-pdf: install-pdf-recursive
822
823install-pdf-am:
824
825install-ps: install-ps-recursive
826
827install-ps-am:
828
829installcheck-am:
830
831maintainer-clean: maintainer-clean-recursive
832 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
833 -rm -rf $(top_srcdir)/autom4te.cache
834 -rm -f Makefile
835maintainer-clean-am: distclean-am maintainer-clean-generic
836
837mostlyclean: mostlyclean-recursive
838
839mostlyclean-am: mostlyclean-generic mostlyclean-libtool
840
841pdf: pdf-recursive
842
843pdf-am:
844
845ps: ps-recursive
846
847ps-am:
848
849uninstall-am:
850
851.MAKE: $(am__recursive_targets) all install-am install-strip
852
853.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
854 am--refresh check check-am clean clean-cscope clean-generic \
855 clean-libtool cscope cscopelist-am ctags ctags-am dist \
856 dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
857 dist-xz dist-zip distcheck distclean distclean-generic \
858 distclean-hdr distclean-libtool distclean-tags distcleancheck \
859 distdir distuninstallcheck dvi dvi-am html html-am info \
860 info-am install install-am install-data install-data-am \
861 install-dvi install-dvi-am install-exec install-exec-am \
862 install-html install-html-am install-info install-info-am \
863 install-man install-pdf install-pdf-am install-ps \
864 install-ps-am install-strip installcheck installcheck-am \
865 installdirs installdirs-am maintainer-clean \
866 maintainer-clean-generic mostlyclean mostlyclean-generic \
867 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
868 uninstall-am
869
870
871# Tell versions [3.59,3.63) of GNU make to not export all variables.
872# Otherwise a system limit (for SysV at least) may be exceeded.
873.NOEXPORT:
8740
=== removed file 'aclocal.m4'
--- aclocal.m4 2013-07-02 23:10:21 +0000
+++ aclocal.m4 1970-01-01 00:00:00 +0000
@@ -1,1175 +0,0 @@
1# generated automatically by aclocal 1.13.3 -*- Autoconf -*-
2
3# Copyright (C) 1996-2013 Free Software Foundation, Inc.
4
5# This file is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.
8
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12# PARTICULAR PURPOSE.
13
14m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
15m4_ifndef([AC_AUTOCONF_VERSION],
16 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
18[m4_warning([this file was generated for autoconf 2.69.
19You have another version of autoconf. It may work, but is not guaranteed to.
20If you have problems, you may need to regenerate the build system entirely.
21To do so, use the procedure documented by the package, typically 'autoreconf'.])])
22
23# Copyright (C) 2002-2013 Free Software Foundation, Inc.
24#
25# This file is free software; the Free Software Foundation
26# gives unlimited permission to copy and/or distribute it,
27# with or without modifications, as long as this notice is preserved.
28
29# AM_AUTOMAKE_VERSION(VERSION)
30# ----------------------------
31# Automake X.Y traces this macro to ensure aclocal.m4 has been
32# generated from the m4 files accompanying Automake X.Y.
33# (This private macro should not be called outside this file.)
34AC_DEFUN([AM_AUTOMAKE_VERSION],
35[am__api_version='1.13'
36dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
37dnl require some minimum version. Point them to the right macro.
38m4_if([$1], [1.13.3], [],
39 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
40])
41
42# _AM_AUTOCONF_VERSION(VERSION)
43# -----------------------------
44# aclocal traces this macro to find the Autoconf version.
45# This is a private macro too. Using m4_define simplifies
46# the logic in aclocal, which can simply ignore this definition.
47m4_define([_AM_AUTOCONF_VERSION], [])
48
49# AM_SET_CURRENT_AUTOMAKE_VERSION
50# -------------------------------
51# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
52# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
53AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
54[AM_AUTOMAKE_VERSION([1.13.3])dnl
55m4_ifndef([AC_AUTOCONF_VERSION],
56 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
57_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
58
59# AM_AUX_DIR_EXPAND -*- Autoconf -*-
60
61# Copyright (C) 2001-2013 Free Software Foundation, Inc.
62#
63# This file is free software; the Free Software Foundation
64# gives unlimited permission to copy and/or distribute it,
65# with or without modifications, as long as this notice is preserved.
66
67# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
68# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
69# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
70#
71# Of course, Automake must honor this variable whenever it calls a
72# tool from the auxiliary directory. The problem is that $srcdir (and
73# therefore $ac_aux_dir as well) can be either absolute or relative,
74# depending on how configure is run. This is pretty annoying, since
75# it makes $ac_aux_dir quite unusable in subdirectories: in the top
76# source directory, any form will work fine, but in subdirectories a
77# relative path needs to be adjusted first.
78#
79# $ac_aux_dir/missing
80# fails when called from a subdirectory if $ac_aux_dir is relative
81# $top_srcdir/$ac_aux_dir/missing
82# fails if $ac_aux_dir is absolute,
83# fails when called from a subdirectory in a VPATH build with
84# a relative $ac_aux_dir
85#
86# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
87# are both prefixed by $srcdir. In an in-source build this is usually
88# harmless because $srcdir is '.', but things will broke when you
89# start a VPATH build or use an absolute $srcdir.
90#
91# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
92# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
93# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
94# and then we would define $MISSING as
95# MISSING="\${SHELL} $am_aux_dir/missing"
96# This will work as long as MISSING is not called from configure, because
97# unfortunately $(top_srcdir) has no meaning in configure.
98# However there are other variables, like CC, which are often used in
99# configure, and could therefore not use this "fixed" $ac_aux_dir.
100#
101# Another solution, used here, is to always expand $ac_aux_dir to an
102# absolute PATH. The drawback is that using absolute paths prevent a
103# configured tree to be moved without reconfiguration.
104
105AC_DEFUN([AM_AUX_DIR_EXPAND],
106[dnl Rely on autoconf to set up CDPATH properly.
107AC_PREREQ([2.50])dnl
108# expand $ac_aux_dir to an absolute path
109am_aux_dir=`cd $ac_aux_dir && pwd`
110])
111
112# AM_CONDITIONAL -*- Autoconf -*-
113
114# Copyright (C) 1997-2013 Free Software Foundation, Inc.
115#
116# This file is free software; the Free Software Foundation
117# gives unlimited permission to copy and/or distribute it,
118# with or without modifications, as long as this notice is preserved.
119
120# AM_CONDITIONAL(NAME, SHELL-CONDITION)
121# -------------------------------------
122# Define a conditional.
123AC_DEFUN([AM_CONDITIONAL],
124[AC_PREREQ([2.52])dnl
125 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
126 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
127AC_SUBST([$1_TRUE])dnl
128AC_SUBST([$1_FALSE])dnl
129_AM_SUBST_NOTMAKE([$1_TRUE])dnl
130_AM_SUBST_NOTMAKE([$1_FALSE])dnl
131m4_define([_AM_COND_VALUE_$1], [$2])dnl
132if $2; then
133 $1_TRUE=
134 $1_FALSE='#'
135else
136 $1_TRUE='#'
137 $1_FALSE=
138fi
139AC_CONFIG_COMMANDS_PRE(
140[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
141 AC_MSG_ERROR([[conditional "$1" was never defined.
142Usually this means the macro was only invoked conditionally.]])
143fi])])
144
145# Copyright (C) 1999-2013 Free Software Foundation, Inc.
146#
147# This file is free software; the Free Software Foundation
148# gives unlimited permission to copy and/or distribute it,
149# with or without modifications, as long as this notice is preserved.
150
151
152# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
153# written in clear, in which case automake, when reading aclocal.m4,
154# will think it sees a *use*, and therefore will trigger all it's
155# C support machinery. Also note that it means that autoscan, seeing
156# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
157
158
159# _AM_DEPENDENCIES(NAME)
160# ----------------------
161# See how the compiler implements dependency checking.
162# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
163# We try a few techniques and use that to set a single cache variable.
164#
165# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
166# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
167# dependency, and given that the user is not expected to run this macro,
168# just rely on AC_PROG_CC.
169AC_DEFUN([_AM_DEPENDENCIES],
170[AC_REQUIRE([AM_SET_DEPDIR])dnl
171AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
172AC_REQUIRE([AM_MAKE_INCLUDE])dnl
173AC_REQUIRE([AM_DEP_TRACK])dnl
174
175m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
176 [$1], [CXX], [depcc="$CXX" am_compiler_list=],
177 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
178 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
179 [$1], [UPC], [depcc="$UPC" am_compiler_list=],
180 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
181 [depcc="$$1" am_compiler_list=])
182
183AC_CACHE_CHECK([dependency style of $depcc],
184 [am_cv_$1_dependencies_compiler_type],
185[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
186 # We make a subdir and do the tests there. Otherwise we can end up
187 # making bogus files that we don't know about and never remove. For
188 # instance it was reported that on HP-UX the gcc test will end up
189 # making a dummy file named 'D' -- because '-MD' means "put the output
190 # in D".
191 rm -rf conftest.dir
192 mkdir conftest.dir
193 # Copy depcomp to subdir because otherwise we won't find it if we're
194 # using a relative directory.
195 cp "$am_depcomp" conftest.dir
196 cd conftest.dir
197 # We will build objects and dependencies in a subdirectory because
198 # it helps to detect inapplicable dependency modes. For instance
199 # both Tru64's cc and ICC support -MD to output dependencies as a
200 # side effect of compilation, but ICC will put the dependencies in
201 # the current directory while Tru64 will put them in the object
202 # directory.
203 mkdir sub
204
205 am_cv_$1_dependencies_compiler_type=none
206 if test "$am_compiler_list" = ""; then
207 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
208 fi
209 am__universal=false
210 m4_case([$1], [CC],
211 [case " $depcc " in #(
212 *\ -arch\ *\ -arch\ *) am__universal=true ;;
213 esac],
214 [CXX],
215 [case " $depcc " in #(
216 *\ -arch\ *\ -arch\ *) am__universal=true ;;
217 esac])
218
219 for depmode in $am_compiler_list; do
220 # Setup a source with many dependencies, because some compilers
221 # like to wrap large dependency lists on column 80 (with \), and
222 # we should not choose a depcomp mode which is confused by this.
223 #
224 # We need to recreate these files for each test, as the compiler may
225 # overwrite some of them when testing with obscure command lines.
226 # This happens at least with the AIX C compiler.
227 : > sub/conftest.c
228 for i in 1 2 3 4 5 6; do
229 echo '#include "conftst'$i'.h"' >> sub/conftest.c
230 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
231 # Solaris 10 /bin/sh.
232 echo '/* dummy */' > sub/conftst$i.h
233 done
234 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
235
236 # We check with '-c' and '-o' for the sake of the "dashmstdout"
237 # mode. It turns out that the SunPro C++ compiler does not properly
238 # handle '-M -o', and we need to detect this. Also, some Intel
239 # versions had trouble with output in subdirs.
240 am__obj=sub/conftest.${OBJEXT-o}
241 am__minus_obj="-o $am__obj"
242 case $depmode in
243 gcc)
244 # This depmode causes a compiler race in universal mode.
245 test "$am__universal" = false || continue
246 ;;
247 nosideeffect)
248 # After this tag, mechanisms are not by side-effect, so they'll
249 # only be used when explicitly requested.
250 if test "x$enable_dependency_tracking" = xyes; then
251 continue
252 else
253 break
254 fi
255 ;;
256 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
257 # This compiler won't grok '-c -o', but also, the minuso test has
258 # not run yet. These depmodes are late enough in the game, and
259 # so weak that their functioning should not be impacted.
260 am__obj=conftest.${OBJEXT-o}
261 am__minus_obj=
262 ;;
263 none) break ;;
264 esac
265 if depmode=$depmode \
266 source=sub/conftest.c object=$am__obj \
267 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
268 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
269 >/dev/null 2>conftest.err &&
270 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
271 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
272 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
273 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
274 # icc doesn't choke on unknown options, it will just issue warnings
275 # or remarks (even with -Werror). So we grep stderr for any message
276 # that says an option was ignored or not supported.
277 # When given -MP, icc 7.0 and 7.1 complain thusly:
278 # icc: Command line warning: ignoring option '-M'; no argument required
279 # The diagnosis changed in icc 8.0:
280 # icc: Command line remark: option '-MP' not supported
281 if (grep 'ignoring option' conftest.err ||
282 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
283 am_cv_$1_dependencies_compiler_type=$depmode
284 break
285 fi
286 fi
287 done
288
289 cd ..
290 rm -rf conftest.dir
291else
292 am_cv_$1_dependencies_compiler_type=none
293fi
294])
295AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
296AM_CONDITIONAL([am__fastdep$1], [
297 test "x$enable_dependency_tracking" != xno \
298 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
299])
300
301
302# AM_SET_DEPDIR
303# -------------
304# Choose a directory name for dependency files.
305# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
306AC_DEFUN([AM_SET_DEPDIR],
307[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
308AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
309])
310
311
312# AM_DEP_TRACK
313# ------------
314AC_DEFUN([AM_DEP_TRACK],
315[AC_ARG_ENABLE([dependency-tracking], [dnl
316AS_HELP_STRING(
317 [--enable-dependency-tracking],
318 [do not reject slow dependency extractors])
319AS_HELP_STRING(
320 [--disable-dependency-tracking],
321 [speeds up one-time build])])
322if test "x$enable_dependency_tracking" != xno; then
323 am_depcomp="$ac_aux_dir/depcomp"
324 AMDEPBACKSLASH='\'
325 am__nodep='_no'
326fi
327AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
328AC_SUBST([AMDEPBACKSLASH])dnl
329_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
330AC_SUBST([am__nodep])dnl
331_AM_SUBST_NOTMAKE([am__nodep])dnl
332])
333
334# Generate code to set up dependency tracking. -*- Autoconf -*-
335
336# Copyright (C) 1999-2013 Free Software Foundation, Inc.
337#
338# This file is free software; the Free Software Foundation
339# gives unlimited permission to copy and/or distribute it,
340# with or without modifications, as long as this notice is preserved.
341
342
343# _AM_OUTPUT_DEPENDENCY_COMMANDS
344# ------------------------------
345AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
346[{
347 # Older Autoconf quotes --file arguments for eval, but not when files
348 # are listed without --file. Let's play safe and only enable the eval
349 # if we detect the quoting.
350 case $CONFIG_FILES in
351 *\'*) eval set x "$CONFIG_FILES" ;;
352 *) set x $CONFIG_FILES ;;
353 esac
354 shift
355 for mf
356 do
357 # Strip MF so we end up with the name of the file.
358 mf=`echo "$mf" | sed -e 's/:.*$//'`
359 # Check whether this is an Automake generated Makefile or not.
360 # We used to match only the files named 'Makefile.in', but
361 # some people rename them; so instead we look at the file content.
362 # Grep'ing the first line is not enough: some people post-process
363 # each Makefile.in and add a new line on top of each file to say so.
364 # Grep'ing the whole file is not good either: AIX grep has a line
365 # limit of 2048, but all sed's we know have understand at least 4000.
366 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
367 dirpart=`AS_DIRNAME("$mf")`
368 else
369 continue
370 fi
371 # Extract the definition of DEPDIR, am__include, and am__quote
372 # from the Makefile without running 'make'.
373 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
374 test -z "$DEPDIR" && continue
375 am__include=`sed -n 's/^am__include = //p' < "$mf"`
376 test -z "$am__include" && continue
377 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
378 # Find all dependency output files, they are included files with
379 # $(DEPDIR) in their names. We invoke sed twice because it is the
380 # simplest approach to changing $(DEPDIR) to its actual value in the
381 # expansion.
382 for file in `sed -n "
383 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
384 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
385 # Make sure the directory exists.
386 test -f "$dirpart/$file" && continue
387 fdir=`AS_DIRNAME(["$file"])`
388 AS_MKDIR_P([$dirpart/$fdir])
389 # echo "creating $dirpart/$file"
390 echo '# dummy' > "$dirpart/$file"
391 done
392 done
393}
394])# _AM_OUTPUT_DEPENDENCY_COMMANDS
395
396
397# AM_OUTPUT_DEPENDENCY_COMMANDS
398# -----------------------------
399# This macro should only be invoked once -- use via AC_REQUIRE.
400#
401# This code is only required when automatic dependency tracking
402# is enabled. FIXME. This creates each '.P' file that we will
403# need in order to bootstrap the dependency handling code.
404AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
405[AC_CONFIG_COMMANDS([depfiles],
406 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
407 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
408])
409
410# Do all the work for Automake. -*- Autoconf -*-
411
412# Copyright (C) 1996-2013 Free Software Foundation, Inc.
413#
414# This file is free software; the Free Software Foundation
415# gives unlimited permission to copy and/or distribute it,
416# with or without modifications, as long as this notice is preserved.
417
418# This macro actually does too much. Some checks are only needed if
419# your package does certain things. But this isn't really a big deal.
420
421# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
422# AM_INIT_AUTOMAKE([OPTIONS])
423# -----------------------------------------------
424# The call with PACKAGE and VERSION arguments is the old style
425# call (pre autoconf-2.50), which is being phased out. PACKAGE
426# and VERSION should now be passed to AC_INIT and removed from
427# the call to AM_INIT_AUTOMAKE.
428# We support both call styles for the transition. After
429# the next Automake release, Autoconf can make the AC_INIT
430# arguments mandatory, and then we can depend on a new Autoconf
431# release and drop the old call support.
432AC_DEFUN([AM_INIT_AUTOMAKE],
433[AC_PREREQ([2.65])dnl
434dnl Autoconf wants to disallow AM_ names. We explicitly allow
435dnl the ones we care about.
436m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
437AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
438AC_REQUIRE([AC_PROG_INSTALL])dnl
439if test "`cd $srcdir && pwd`" != "`pwd`"; then
440 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
441 # is not polluted with repeated "-I."
442 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
443 # test to see if srcdir already configured
444 if test -f $srcdir/config.status; then
445 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
446 fi
447fi
448
449# test whether we have cygpath
450if test -z "$CYGPATH_W"; then
451 if (cygpath --version) >/dev/null 2>/dev/null; then
452 CYGPATH_W='cygpath -w'
453 else
454 CYGPATH_W=echo
455 fi
456fi
457AC_SUBST([CYGPATH_W])
458
459# Define the identity of the package.
460dnl Distinguish between old-style and new-style calls.
461m4_ifval([$2],
462[AC_DIAGNOSE([obsolete],
463 [$0: two- and three-arguments forms are deprecated.])
464m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
465 AC_SUBST([PACKAGE], [$1])dnl
466 AC_SUBST([VERSION], [$2])],
467[_AM_SET_OPTIONS([$1])dnl
468dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
469m4_if(
470 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
471 [ok:ok],,
472 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
473 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
474 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
475
476_AM_IF_OPTION([no-define],,
477[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
478 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
479
480# Some tools Automake needs.
481AC_REQUIRE([AM_SANITY_CHECK])dnl
482AC_REQUIRE([AC_ARG_PROGRAM])dnl
483AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
484AM_MISSING_PROG([AUTOCONF], [autoconf])
485AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
486AM_MISSING_PROG([AUTOHEADER], [autoheader])
487AM_MISSING_PROG([MAKEINFO], [makeinfo])
488AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
489AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
490AC_REQUIRE([AC_PROG_MKDIR_P])dnl
491# For better backward compatibility. To be removed once Automake 1.9.x
492# dies out for good. For more background, see:
493# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
494# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
495AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
496# We need awk for the "check" target. The system "awk" is bad on
497# some platforms.
498AC_REQUIRE([AC_PROG_AWK])dnl
499AC_REQUIRE([AC_PROG_MAKE_SET])dnl
500AC_REQUIRE([AM_SET_LEADING_DOT])dnl
501_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
502 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
503 [_AM_PROG_TAR([v7])])])
504_AM_IF_OPTION([no-dependencies],,
505[AC_PROVIDE_IFELSE([AC_PROG_CC],
506 [_AM_DEPENDENCIES([CC])],
507 [m4_define([AC_PROG_CC],
508 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
509AC_PROVIDE_IFELSE([AC_PROG_CXX],
510 [_AM_DEPENDENCIES([CXX])],
511 [m4_define([AC_PROG_CXX],
512 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
513AC_PROVIDE_IFELSE([AC_PROG_OBJC],
514 [_AM_DEPENDENCIES([OBJC])],
515 [m4_define([AC_PROG_OBJC],
516 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
517AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
518 [_AM_DEPENDENCIES([OBJCXX])],
519 [m4_define([AC_PROG_OBJCXX],
520 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
521])
522AC_REQUIRE([AM_SILENT_RULES])dnl
523dnl The testsuite driver may need to know about EXEEXT, so add the
524dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
525dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
526AC_CONFIG_COMMANDS_PRE(dnl
527[m4_provide_if([_AM_COMPILER_EXEEXT],
528 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
529])
530
531dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
532dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
533dnl mangled by Autoconf and run in a shell conditional statement.
534m4_define([_AC_COMPILER_EXEEXT],
535m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
536
537
538# When config.status generates a header, we must update the stamp-h file.
539# This file resides in the same directory as the config header
540# that is generated. The stamp files are numbered to have different names.
541
542# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
543# loop where config.status creates the headers, so we can generate
544# our stamp files there.
545AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
546[# Compute $1's index in $config_headers.
547_am_arg=$1
548_am_stamp_count=1
549for _am_header in $config_headers :; do
550 case $_am_header in
551 $_am_arg | $_am_arg:* )
552 break ;;
553 * )
554 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
555 esac
556done
557echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
558
559# Copyright (C) 2001-2013 Free Software Foundation, Inc.
560#
561# This file is free software; the Free Software Foundation
562# gives unlimited permission to copy and/or distribute it,
563# with or without modifications, as long as this notice is preserved.
564
565# AM_PROG_INSTALL_SH
566# ------------------
567# Define $install_sh.
568AC_DEFUN([AM_PROG_INSTALL_SH],
569[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
570if test x"${install_sh}" != xset; then
571 case $am_aux_dir in
572 *\ * | *\ *)
573 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
574 *)
575 install_sh="\${SHELL} $am_aux_dir/install-sh"
576 esac
577fi
578AC_SUBST([install_sh])])
579
580# Copyright (C) 2003-2013 Free Software Foundation, Inc.
581#
582# This file is free software; the Free Software Foundation
583# gives unlimited permission to copy and/or distribute it,
584# with or without modifications, as long as this notice is preserved.
585
586# Check whether the underlying file-system supports filenames
587# with a leading dot. For instance MS-DOS doesn't.
588AC_DEFUN([AM_SET_LEADING_DOT],
589[rm -rf .tst 2>/dev/null
590mkdir .tst 2>/dev/null
591if test -d .tst; then
592 am__leading_dot=.
593else
594 am__leading_dot=_
595fi
596rmdir .tst 2>/dev/null
597AC_SUBST([am__leading_dot])])
598
599# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
600# From Jim Meyering
601
602# Copyright (C) 1996-2013 Free Software Foundation, Inc.
603#
604# This file is free software; the Free Software Foundation
605# gives unlimited permission to copy and/or distribute it,
606# with or without modifications, as long as this notice is preserved.
607
608# AM_MAINTAINER_MODE([DEFAULT-MODE])
609# ----------------------------------
610# Control maintainer-specific portions of Makefiles.
611# Default is to disable them, unless 'enable' is passed literally.
612# For symmetry, 'disable' may be passed as well. Anyway, the user
613# can override the default with the --enable/--disable switch.
614AC_DEFUN([AM_MAINTAINER_MODE],
615[m4_case(m4_default([$1], [disable]),
616 [enable], [m4_define([am_maintainer_other], [disable])],
617 [disable], [m4_define([am_maintainer_other], [enable])],
618 [m4_define([am_maintainer_other], [enable])
619 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
620AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
621 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
622 AC_ARG_ENABLE([maintainer-mode],
623 [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
624 am_maintainer_other[ make rules and dependencies not useful
625 (and sometimes confusing) to the casual installer])],
626 [USE_MAINTAINER_MODE=$enableval],
627 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
628 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
629 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
630 MAINT=$MAINTAINER_MODE_TRUE
631 AC_SUBST([MAINT])dnl
632]
633)
634
635# Check to see how 'make' treats includes. -*- Autoconf -*-
636
637# Copyright (C) 2001-2013 Free Software Foundation, Inc.
638#
639# This file is free software; the Free Software Foundation
640# gives unlimited permission to copy and/or distribute it,
641# with or without modifications, as long as this notice is preserved.
642
643# AM_MAKE_INCLUDE()
644# -----------------
645# Check to see how make treats includes.
646AC_DEFUN([AM_MAKE_INCLUDE],
647[am_make=${MAKE-make}
648cat > confinc << 'END'
649am__doit:
650 @echo this is the am__doit target
651.PHONY: am__doit
652END
653# If we don't find an include directive, just comment out the code.
654AC_MSG_CHECKING([for style of include used by $am_make])
655am__include="#"
656am__quote=
657_am_result=none
658# First try GNU make style include.
659echo "include confinc" > confmf
660# Ignore all kinds of additional output from 'make'.
661case `$am_make -s -f confmf 2> /dev/null` in #(
662*the\ am__doit\ target*)
663 am__include=include
664 am__quote=
665 _am_result=GNU
666 ;;
667esac
668# Now try BSD make style include.
669if test "$am__include" = "#"; then
670 echo '.include "confinc"' > confmf
671 case `$am_make -s -f confmf 2> /dev/null` in #(
672 *the\ am__doit\ target*)
673 am__include=.include
674 am__quote="\""
675 _am_result=BSD
676 ;;
677 esac
678fi
679AC_SUBST([am__include])
680AC_SUBST([am__quote])
681AC_MSG_RESULT([$_am_result])
682rm -f confinc confmf
683])
684
685# Copyright (C) 1999-2013 Free Software Foundation, Inc.
686#
687# This file is free software; the Free Software Foundation
688# gives unlimited permission to copy and/or distribute it,
689# with or without modifications, as long as this notice is preserved.
690
691# AM_PROG_CC_C_O
692# --------------
693# Like AC_PROG_CC_C_O, but changed for automake.
694AC_DEFUN([AM_PROG_CC_C_O],
695[AC_REQUIRE([AC_PROG_CC_C_O])dnl
696AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
697AC_REQUIRE_AUX_FILE([compile])dnl
698# FIXME: we rely on the cache variable name because
699# there is no other way.
700set dummy $CC
701am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
702eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
703if test "$am_t" != yes; then
704 # Losing compiler, so override with the script.
705 # FIXME: It is wrong to rewrite CC.
706 # But if we don't then we get into trouble of one sort or another.
707 # A longer-term fix would be to have automake use am__CC in this case,
708 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
709 CC="$am_aux_dir/compile $CC"
710fi
711dnl Make sure AC_PROG_CC is never called again, or it will override our
712dnl setting of CC.
713m4_define([AC_PROG_CC],
714 [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
715])
716
717# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
718
719# Copyright (C) 1997-2013 Free Software Foundation, Inc.
720#
721# This file is free software; the Free Software Foundation
722# gives unlimited permission to copy and/or distribute it,
723# with or without modifications, as long as this notice is preserved.
724
725# AM_MISSING_PROG(NAME, PROGRAM)
726# ------------------------------
727AC_DEFUN([AM_MISSING_PROG],
728[AC_REQUIRE([AM_MISSING_HAS_RUN])
729$1=${$1-"${am_missing_run}$2"}
730AC_SUBST($1)])
731
732# AM_MISSING_HAS_RUN
733# ------------------
734# Define MISSING if not defined so far and test if it is modern enough.
735# If it is, set am_missing_run to use it, otherwise, to nothing.
736AC_DEFUN([AM_MISSING_HAS_RUN],
737[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
738AC_REQUIRE_AUX_FILE([missing])dnl
739if test x"${MISSING+set}" != xset; then
740 case $am_aux_dir in
741 *\ * | *\ *)
742 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
743 *)
744 MISSING="\${SHELL} $am_aux_dir/missing" ;;
745 esac
746fi
747# Use eval to expand $SHELL
748if eval "$MISSING --is-lightweight"; then
749 am_missing_run="$MISSING "
750else
751 am_missing_run=
752 AC_MSG_WARN(['missing' script is too old or missing])
753fi
754])
755
756# Copyright (C) 2003-2013 Free Software Foundation, Inc.
757#
758# This file is free software; the Free Software Foundation
759# gives unlimited permission to copy and/or distribute it,
760# with or without modifications, as long as this notice is preserved.
761
762# AM_PROG_MKDIR_P
763# ---------------
764# Check for 'mkdir -p'.
765AC_DEFUN([AM_PROG_MKDIR_P],
766[AC_PREREQ([2.60])dnl
767AC_REQUIRE([AC_PROG_MKDIR_P])dnl
768dnl FIXME we are no longer going to remove this! adjust warning
769dnl FIXME message accordingly.
770AC_DIAGNOSE([obsolete],
771[$0: this macro is deprecated, and will soon be removed.
772You should use the Autoconf-provided 'AC][_PROG_MKDIR_P' macro instead,
773and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.])
774dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
775dnl while keeping a definition of mkdir_p for backward compatibility.
776dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
777dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
778dnl Makefile.ins that do not define MKDIR_P, so we do our own
779dnl adjustment using top_builddir (which is defined more often than
780dnl MKDIR_P).
781AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
782case $mkdir_p in
783 [[\\/$]]* | ?:[[\\/]]*) ;;
784 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
785esac
786])
787
788# Helper functions for option handling. -*- Autoconf -*-
789
790# Copyright (C) 2001-2013 Free Software Foundation, Inc.
791#
792# This file is free software; the Free Software Foundation
793# gives unlimited permission to copy and/or distribute it,
794# with or without modifications, as long as this notice is preserved.
795
796# _AM_MANGLE_OPTION(NAME)
797# -----------------------
798AC_DEFUN([_AM_MANGLE_OPTION],
799[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
800
801# _AM_SET_OPTION(NAME)
802# --------------------
803# Set option NAME. Presently that only means defining a flag for this option.
804AC_DEFUN([_AM_SET_OPTION],
805[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
806
807# _AM_SET_OPTIONS(OPTIONS)
808# ------------------------
809# OPTIONS is a space-separated list of Automake options.
810AC_DEFUN([_AM_SET_OPTIONS],
811[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
812
813# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
814# -------------------------------------------
815# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
816AC_DEFUN([_AM_IF_OPTION],
817[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
818
819# Check to make sure that the build environment is sane. -*- Autoconf -*-
820
821# Copyright (C) 1996-2013 Free Software Foundation, Inc.
822#
823# This file is free software; the Free Software Foundation
824# gives unlimited permission to copy and/or distribute it,
825# with or without modifications, as long as this notice is preserved.
826
827# AM_SANITY_CHECK
828# ---------------
829AC_DEFUN([AM_SANITY_CHECK],
830[AC_MSG_CHECKING([whether build environment is sane])
831# Reject unsafe characters in $srcdir or the absolute working directory
832# name. Accept space and tab only in the latter.
833am_lf='
834'
835case `pwd` in
836 *[[\\\"\#\$\&\'\`$am_lf]]*)
837 AC_MSG_ERROR([unsafe absolute working directory name]);;
838esac
839case $srcdir in
840 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
841 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
842esac
843
844# Do 'set' in a subshell so we don't clobber the current shell's
845# arguments. Must try -L first in case configure is actually a
846# symlink; some systems play weird games with the mod time of symlinks
847# (eg FreeBSD returns the mod time of the symlink's containing
848# directory).
849if (
850 am_has_slept=no
851 for am_try in 1 2; do
852 echo "timestamp, slept: $am_has_slept" > conftest.file
853 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
854 if test "$[*]" = "X"; then
855 # -L didn't work.
856 set X `ls -t "$srcdir/configure" conftest.file`
857 fi
858 if test "$[*]" != "X $srcdir/configure conftest.file" \
859 && test "$[*]" != "X conftest.file $srcdir/configure"; then
860
861 # If neither matched, then we have a broken ls. This can happen
862 # if, for instance, CONFIG_SHELL is bash and it inherits a
863 # broken ls alias from the environment. This has actually
864 # happened. Such a system could not be considered "sane".
865 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
866 alias in your environment])
867 fi
868 if test "$[2]" = conftest.file || test $am_try -eq 2; then
869 break
870 fi
871 # Just in case.
872 sleep 1
873 am_has_slept=yes
874 done
875 test "$[2]" = conftest.file
876 )
877then
878 # Ok.
879 :
880else
881 AC_MSG_ERROR([newly created file is older than distributed files!
882Check your system clock])
883fi
884AC_MSG_RESULT([yes])
885# If we didn't sleep, we still need to ensure time stamps of config.status and
886# generated files are strictly newer.
887am_sleep_pid=
888if grep 'slept: no' conftest.file >/dev/null 2>&1; then
889 ( sleep 1 ) &
890 am_sleep_pid=$!
891fi
892AC_CONFIG_COMMANDS_PRE(
893 [AC_MSG_CHECKING([that generated files are newer than configure])
894 if test -n "$am_sleep_pid"; then
895 # Hide warnings about reused PIDs.
896 wait $am_sleep_pid 2>/dev/null
897 fi
898 AC_MSG_RESULT([done])])
899rm -f conftest.file
900])
901
902# Copyright (C) 2009-2013 Free Software Foundation, Inc.
903#
904# This file is free software; the Free Software Foundation
905# gives unlimited permission to copy and/or distribute it,
906# with or without modifications, as long as this notice is preserved.
907
908# AM_SILENT_RULES([DEFAULT])
909# --------------------------
910# Enable less verbose build rules; with the default set to DEFAULT
911# ("yes" being less verbose, "no" or empty being verbose).
912AC_DEFUN([AM_SILENT_RULES],
913[AC_ARG_ENABLE([silent-rules], [dnl
914AS_HELP_STRING(
915 [--enable-silent-rules],
916 [less verbose build output (undo: "make V=1")])
917AS_HELP_STRING(
918 [--disable-silent-rules],
919 [verbose build output (undo: "make V=0")])dnl
920])
921case $enable_silent_rules in @%:@ (((
922 yes) AM_DEFAULT_VERBOSITY=0;;
923 no) AM_DEFAULT_VERBOSITY=1;;
924 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
925esac
926dnl
927dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
928dnl do not support nested variable expansions.
929dnl See automake bug#9928 and bug#10237.
930am_make=${MAKE-make}
931AC_CACHE_CHECK([whether $am_make supports nested variables],
932 [am_cv_make_support_nested_variables],
933 [if AS_ECHO([['TRUE=$(BAR$(V))
934BAR0=false
935BAR1=true
936V=1
937am__doit:
938 @$(TRUE)
939.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
940 am_cv_make_support_nested_variables=yes
941else
942 am_cv_make_support_nested_variables=no
943fi])
944if test $am_cv_make_support_nested_variables = yes; then
945 dnl Using '$V' instead of '$(V)' breaks IRIX make.
946 AM_V='$(V)'
947 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
948else
949 AM_V=$AM_DEFAULT_VERBOSITY
950 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
951fi
952AC_SUBST([AM_V])dnl
953AM_SUBST_NOTMAKE([AM_V])dnl
954AC_SUBST([AM_DEFAULT_V])dnl
955AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
956AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
957AM_BACKSLASH='\'
958AC_SUBST([AM_BACKSLASH])dnl
959_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
960])
961
962# Copyright (C) 2001-2013 Free Software Foundation, Inc.
963#
964# This file is free software; the Free Software Foundation
965# gives unlimited permission to copy and/or distribute it,
966# with or without modifications, as long as this notice is preserved.
967
968# AM_PROG_INSTALL_STRIP
969# ---------------------
970# One issue with vendor 'install' (even GNU) is that you can't
971# specify the program used to strip binaries. This is especially
972# annoying in cross-compiling environments, where the build's strip
973# is unlikely to handle the host's binaries.
974# Fortunately install-sh will honor a STRIPPROG variable, so we
975# always use install-sh in "make install-strip", and initialize
976# STRIPPROG with the value of the STRIP variable (set by the user).
977AC_DEFUN([AM_PROG_INSTALL_STRIP],
978[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
979# Installed binaries are usually stripped using 'strip' when the user
980# run "make install-strip". However 'strip' might not be the right
981# tool to use in cross-compilation environments, therefore Automake
982# will honor the 'STRIP' environment variable to overrule this program.
983dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
984if test "$cross_compiling" != no; then
985 AC_CHECK_TOOL([STRIP], [strip], :)
986fi
987INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
988AC_SUBST([INSTALL_STRIP_PROGRAM])])
989
990# Copyright (C) 2006-2013 Free Software Foundation, Inc.
991#
992# This file is free software; the Free Software Foundation
993# gives unlimited permission to copy and/or distribute it,
994# with or without modifications, as long as this notice is preserved.
995
996# _AM_SUBST_NOTMAKE(VARIABLE)
997# ---------------------------
998# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
999# This macro is traced by Automake.
1000AC_DEFUN([_AM_SUBST_NOTMAKE])
1001
1002# AM_SUBST_NOTMAKE(VARIABLE)
1003# --------------------------
1004# Public sister of _AM_SUBST_NOTMAKE.
1005AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1006
1007# Check how to create a tarball. -*- Autoconf -*-
1008
1009# Copyright (C) 2004-2013 Free Software Foundation, Inc.
1010#
1011# This file is free software; the Free Software Foundation
1012# gives unlimited permission to copy and/or distribute it,
1013# with or without modifications, as long as this notice is preserved.
1014
1015# _AM_PROG_TAR(FORMAT)
1016# --------------------
1017# Check how to create a tarball in format FORMAT.
1018# FORMAT should be one of 'v7', 'ustar', or 'pax'.
1019#
1020# Substitute a variable $(am__tar) that is a command
1021# writing to stdout a FORMAT-tarball containing the directory
1022# $tardir.
1023# tardir=directory && $(am__tar) > result.tar
1024#
1025# Substitute a variable $(am__untar) that extract such
1026# a tarball read from stdin.
1027# $(am__untar) < result.tar
1028#
1029AC_DEFUN([_AM_PROG_TAR],
1030[# Always define AMTAR for backward compatibility. Yes, it's still used
1031# in the wild :-( We should find a proper way to deprecate it ...
1032AC_SUBST([AMTAR], ['$${TAR-tar}'])
1033
1034# We'll loop over all known methods to create a tar archive until one works.
1035_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1036
1037m4_if([$1], [v7],
1038 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1039
1040 [m4_case([$1],
1041 [ustar],
1042 [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
1043 # There is notably a 21 bits limit for the UID and the GID. In fact,
1044 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
1045 # and bug#13588).
1046 am_max_uid=2097151 # 2^21 - 1
1047 am_max_gid=$am_max_uid
1048 # The $UID and $GID variables are not portable, so we need to resort
1049 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
1050 # below are definitely unexpected, so allow the users to see them
1051 # (that is, avoid stderr redirection).
1052 am_uid=`id -u || echo unknown`
1053 am_gid=`id -g || echo unknown`
1054 AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
1055 if test $am_uid -le $am_max_uid; then
1056 AC_MSG_RESULT([yes])
1057 else
1058 AC_MSG_RESULT([no])
1059 _am_tools=none
1060 fi
1061 AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
1062 if test $am_gid -le $am_max_gid; then
1063 AC_MSG_RESULT([yes])
1064 else
1065 AC_MSG_RESULT([no])
1066 _am_tools=none
1067 fi],
1068
1069 [pax],
1070 [],
1071
1072 [m4_fatal([Unknown tar format])])
1073
1074 AC_MSG_CHECKING([how to create a $1 tar archive])
1075
1076 # Go ahead even if we have the value already cached. We do so because we
1077 # need to set the values for the 'am__tar' and 'am__untar' variables.
1078 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1079
1080 for _am_tool in $_am_tools; do
1081 case $_am_tool in
1082 gnutar)
1083 for _am_tar in tar gnutar gtar; do
1084 AM_RUN_LOG([$_am_tar --version]) && break
1085 done
1086 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1087 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1088 am__untar="$_am_tar -xf -"
1089 ;;
1090 plaintar)
1091 # Must skip GNU tar: if it does not support --format= it doesn't create
1092 # ustar tarball either.
1093 (tar --version) >/dev/null 2>&1 && continue
1094 am__tar='tar chf - "$$tardir"'
1095 am__tar_='tar chf - "$tardir"'
1096 am__untar='tar xf -'
1097 ;;
1098 pax)
1099 am__tar='pax -L -x $1 -w "$$tardir"'
1100 am__tar_='pax -L -x $1 -w "$tardir"'
1101 am__untar='pax -r'
1102 ;;
1103 cpio)
1104 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1105 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1106 am__untar='cpio -i -H $1 -d'
1107 ;;
1108 none)
1109 am__tar=false
1110 am__tar_=false
1111 am__untar=false
1112 ;;
1113 esac
1114
1115 # If the value was cached, stop now. We just wanted to have am__tar
1116 # and am__untar set.
1117 test -n "${am_cv_prog_tar_$1}" && break
1118
1119 # tar/untar a dummy directory, and stop if the command works.
1120 rm -rf conftest.dir
1121 mkdir conftest.dir
1122 echo GrepMe > conftest.dir/file
1123 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1124 rm -rf conftest.dir
1125 if test -s conftest.tar; then
1126 AM_RUN_LOG([$am__untar <conftest.tar])
1127 AM_RUN_LOG([cat conftest.dir/file])
1128 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1129 fi
1130 done
1131 rm -rf conftest.dir
1132
1133 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1134 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1135
1136AC_SUBST([am__tar])
1137AC_SUBST([am__untar])
1138]) # _AM_PROG_TAR
1139
1140m4_include([m4/codeset.m4])
1141m4_include([m4/gettext.m4])
1142m4_include([m4/glibc2.m4])
1143m4_include([m4/glibc21.m4])
1144m4_include([m4/iconv.m4])
1145m4_include([m4/intdiv0.m4])
1146m4_include([m4/intl.m4])
1147m4_include([m4/intlmacosx.m4])
1148m4_include([m4/intmax.m4])
1149m4_include([m4/inttypes-pri.m4])
1150m4_include([m4/inttypes_h.m4])
1151m4_include([m4/lcmessage.m4])
1152m4_include([m4/lib-ld.m4])
1153m4_include([m4/lib-link.m4])
1154m4_include([m4/lib-prefix.m4])
1155m4_include([m4/libnih.m4])
1156m4_include([m4/libtool.m4])
1157m4_include([m4/lock.m4])
1158m4_include([m4/longlong.m4])
1159m4_include([m4/ltoptions.m4])
1160m4_include([m4/ltsugar.m4])
1161m4_include([m4/ltversion.m4])
1162m4_include([m4/lt~obsolete.m4])
1163m4_include([m4/nls.m4])
1164m4_include([m4/pkg.m4])
1165m4_include([m4/po.m4])
1166m4_include([m4/printf-posix.m4])
1167m4_include([m4/progtest.m4])
1168m4_include([m4/size_max.m4])
1169m4_include([m4/stdint_h.m4])
1170m4_include([m4/uintmax_t.m4])
1171m4_include([m4/ulonglong.m4])
1172m4_include([m4/visibility.m4])
1173m4_include([m4/wchar_t.m4])
1174m4_include([m4/wint_t.m4])
1175m4_include([m4/xsize.m4])
11760
=== removed file 'apport/Makefile.in'
--- apport/Makefile.in 2013-07-02 23:10:21 +0000
+++ apport/Makefile.in 1970-01-01 00:00:00 +0000
@@ -1,556 +0,0 @@
1# Makefile.in generated by automake 1.13.3 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17VPATH = @srcdir@
18am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
19am__make_running_with_option = \
20 case $${target_option-} in \
21 ?) ;; \
22 *) echo "am__make_running_with_option: internal error: invalid" \
23 "target option '$${target_option-}' specified" >&2; \
24 exit 1;; \
25 esac; \
26 has_opt=no; \
27 sane_makeflags=$$MAKEFLAGS; \
28 if $(am__is_gnu_make); then \
29 sane_makeflags=$$MFLAGS; \
30 else \
31 case $$MAKEFLAGS in \
32 *\\[\ \ ]*) \
33 bs=\\; \
34 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
35 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
36 esac; \
37 fi; \
38 skip_next=no; \
39 strip_trailopt () \
40 { \
41 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
42 }; \
43 for flg in $$sane_makeflags; do \
44 test $$skip_next = yes && { skip_next=no; continue; }; \
45 case $$flg in \
46 *=*|--*) continue;; \
47 -*I) strip_trailopt 'I'; skip_next=yes;; \
48 -*I?*) strip_trailopt 'I';; \
49 -*O) strip_trailopt 'O'; skip_next=yes;; \
50 -*O?*) strip_trailopt 'O';; \
51 -*l) strip_trailopt 'l'; skip_next=yes;; \
52 -*l?*) strip_trailopt 'l';; \
53 -[dEDm]) skip_next=yes;; \
54 -[JT]) skip_next=yes;; \
55 esac; \
56 case $$flg in \
57 *$$target_option*) has_opt=yes; break;; \
58 esac; \
59 done; \
60 test $$has_opt = yes
61am__make_dryrun = (target_option=n; $(am__make_running_with_option))
62am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
63pkgdatadir = $(datadir)/@PACKAGE@
64pkgincludedir = $(includedir)/@PACKAGE@
65pkglibdir = $(libdir)/@PACKAGE@
66pkglibexecdir = $(libexecdir)/@PACKAGE@
67am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
68install_sh_DATA = $(install_sh) -c -m 644
69install_sh_PROGRAM = $(install_sh) -c
70install_sh_SCRIPT = $(install_sh) -c
71INSTALL_HEADER = $(INSTALL_DATA)
72transform = $(program_transform_name)
73NORMAL_INSTALL = :
74PRE_INSTALL = :
75POST_INSTALL = :
76NORMAL_UNINSTALL = :
77PRE_UNINSTALL = :
78POST_UNINSTALL = :
79build_triplet = @build@
80host_triplet = @host@
81subdir = apport
82DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
83ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
84am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \
85 $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc2.m4 \
86 $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/iconv.m4 \
87 $(top_srcdir)/m4/intdiv0.m4 $(top_srcdir)/m4/intl.m4 \
88 $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax.m4 \
89 $(top_srcdir)/m4/inttypes-pri.m4 \
90 $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lcmessage.m4 \
91 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
92 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libnih.m4 \
93 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/lock.m4 \
94 $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/ltoptions.m4 \
95 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
96 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
97 $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/po.m4 \
98 $(top_srcdir)/m4/printf-posix.m4 $(top_srcdir)/m4/progtest.m4 \
99 $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \
100 $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \
101 $(top_srcdir)/m4/visibility.m4 $(top_srcdir)/m4/wchar_t.m4 \
102 $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \
103 $(top_srcdir)/configure.ac
104am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
105 $(ACLOCAL_M4)
106mkinstalldirs = $(install_sh) -d
107CONFIG_HEADER = $(top_builddir)/config.h
108CONFIG_CLEAN_FILES =
109CONFIG_CLEAN_VPATH_FILES =
110AM_V_P = $(am__v_P_@AM_V@)
111am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
112am__v_P_0 = false
113am__v_P_1 = :
114AM_V_GEN = $(am__v_GEN_@AM_V@)
115am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
116am__v_GEN_0 = @echo " GEN " $@;
117am__v_GEN_1 =
118AM_V_at = $(am__v_at_@AM_V@)
119am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
120am__v_at_0 = @
121am__v_at_1 =
122SOURCES =
123DIST_SOURCES =
124am__can_run_installinfo = \
125 case $$AM_UPDATE_INFO_DIR in \
126 n|no|NO) false;; \
127 *) (install-info --version) >/dev/null 2>&1;; \
128 esac
129am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
130am__vpath_adj = case $$p in \
131 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
132 *) f=$$p;; \
133 esac;
134am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
135am__install_max = 40
136am__nobase_strip_setup = \
137 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
138am__nobase_strip = \
139 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
140am__nobase_list = $(am__nobase_strip_setup); \
141 for p in $$list; do echo "$$p $$p"; done | \
142 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
143 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
144 if (++n[$$2] == $(am__install_max)) \
145 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
146 END { for (dir in files) print dir, files[dir] }'
147am__base_list = \
148 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
149 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
150am__uninstall_files_from_dir = { \
151 test -z "$$files" \
152 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
153 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
154 $(am__cd) "$$dir" && rm -f $$files; }; \
155 }
156am__installdirs = "$(DESTDIR)$(apportdir)"
157DATA = $(apport_DATA)
158am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
159DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
160ACLOCAL = @ACLOCAL@
161ALLOCA = @ALLOCA@
162AMTAR = @AMTAR@
163AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
164AR = @AR@
165AUTOCONF = @AUTOCONF@
166AUTOHEADER = @AUTOHEADER@
167AUTOMAKE = @AUTOMAKE@
168AWK = @AWK@
169BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
170CATOBJEXT = @CATOBJEXT@
171CC = @CC@
172CCDEPMODE = @CCDEPMODE@
173CFLAGS = @CFLAGS@
174CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
175CPP = @CPP@
176CPPFLAGS = @CPPFLAGS@
177CYGPATH_W = @CYGPATH_W@
178DATADIRNAME = @DATADIRNAME@
179DBUS_CFLAGS = @DBUS_CFLAGS@
180DBUS_LIBS = @DBUS_LIBS@
181DEFS = @DEFS@
182DEPDIR = @DEPDIR@
183DLLTOOL = @DLLTOOL@
184DSYMUTIL = @DSYMUTIL@
185DUMPBIN = @DUMPBIN@
186ECHO_C = @ECHO_C@
187ECHO_N = @ECHO_N@
188ECHO_T = @ECHO_T@
189EGREP = @EGREP@
190EXEEXT = @EXEEXT@
191FGREP = @FGREP@
192GENCAT = @GENCAT@
193GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
194GLIBC2 = @GLIBC2@
195GLIBC21 = @GLIBC21@
196GMSGFMT = @GMSGFMT@
197GMSGFMT_015 = @GMSGFMT_015@
198GREP = @GREP@
199HAVE_ASPRINTF = @HAVE_ASPRINTF@
200HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
201HAVE_SNPRINTF = @HAVE_SNPRINTF@
202HAVE_VISIBILITY = @HAVE_VISIBILITY@
203HAVE_WPRINTF = @HAVE_WPRINTF@
204INSTALL = @INSTALL@
205INSTALL_DATA = @INSTALL_DATA@
206INSTALL_PROGRAM = @INSTALL_PROGRAM@
207INSTALL_SCRIPT = @INSTALL_SCRIPT@
208INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
209INSTOBJEXT = @INSTOBJEXT@
210INTLBISON = @INTLBISON@
211INTLLIBS = @INTLLIBS@
212INTLOBJS = @INTLOBJS@
213INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
214INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
215LD = @LD@
216LDFLAGS = @LDFLAGS@
217LIBICONV = @LIBICONV@
218LIBINTL = @LIBINTL@
219LIBMULTITHREAD = @LIBMULTITHREAD@
220LIBOBJS = @LIBOBJS@
221LIBPTH = @LIBPTH@
222LIBPTH_PREFIX = @LIBPTH_PREFIX@
223LIBS = @LIBS@
224LIBTHREAD = @LIBTHREAD@
225LIBTOOL = @LIBTOOL@
226LIPO = @LIPO@
227LN_S = @LN_S@
228LTLIBC = @LTLIBC@
229LTLIBICONV = @LTLIBICONV@
230LTLIBINTL = @LTLIBINTL@
231LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
232LTLIBOBJS = @LTLIBOBJS@
233LTLIBPTH = @LTLIBPTH@
234LTLIBTHREAD = @LTLIBTHREAD@
235MAINT = @MAINT@
236MAKEINFO = @MAKEINFO@
237MANIFEST_TOOL = @MANIFEST_TOOL@
238MKDIR_P = @MKDIR_P@
239MSGFMT = @MSGFMT@
240MSGFMT_015 = @MSGFMT_015@
241MSGMERGE = @MSGMERGE@
242NIH_CFLAGS = @NIH_CFLAGS@
243NIH_DBUS_CFLAGS = @NIH_DBUS_CFLAGS@
244NIH_DBUS_LIBS = @NIH_DBUS_LIBS@
245NIH_DBUS_TOOL = @NIH_DBUS_TOOL@
246NIH_LIBS = @NIH_LIBS@
247NM = @NM@
248NMEDIT = @NMEDIT@
249OBJDUMP = @OBJDUMP@
250OBJEXT = @OBJEXT@
251OTOOL = @OTOOL@
252OTOOL64 = @OTOOL64@
253PACKAGE = @PACKAGE@
254PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
255PACKAGE_NAME = @PACKAGE_NAME@
256PACKAGE_STRING = @PACKAGE_STRING@
257PACKAGE_TARNAME = @PACKAGE_TARNAME@
258PACKAGE_URL = @PACKAGE_URL@
259PACKAGE_VERSION = @PACKAGE_VERSION@
260PATH_SEPARATOR = @PATH_SEPARATOR@
261PKG_CONFIG = @PKG_CONFIG@
262PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
263PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
264PLYMOUTH_CFLAGS = @PLYMOUTH_CFLAGS@
265PLYMOUTH_LIBS = @PLYMOUTH_LIBS@
266POSUB = @POSUB@
267PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@
268RANLIB = @RANLIB@
269SED = @SED@
270SET_MAKE = @SET_MAKE@
271SHELL = @SHELL@
272STRIP = @STRIP@
273UDEV_CFLAGS = @UDEV_CFLAGS@
274UDEV_LIBS = @UDEV_LIBS@
275USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
276USE_NLS = @USE_NLS@
277VERSION = @VERSION@
278WINDRES = @WINDRES@
279WOE32 = @WOE32@
280WOE32DLL = @WOE32DLL@
281XGETTEXT = @XGETTEXT@
282XGETTEXT_015 = @XGETTEXT_015@
283XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
284abs_builddir = @abs_builddir@
285abs_srcdir = @abs_srcdir@
286abs_top_builddir = @abs_top_builddir@
287abs_top_srcdir = @abs_top_srcdir@
288ac_ct_AR = @ac_ct_AR@
289ac_ct_CC = @ac_ct_CC@
290ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
291am__include = @am__include@
292am__leading_dot = @am__leading_dot@
293am__quote = @am__quote@
294am__tar = @am__tar@
295am__untar = @am__untar@
296bindir = @bindir@
297build = @build@
298build_alias = @build_alias@
299build_cpu = @build_cpu@
300build_os = @build_os@
301build_vendor = @build_vendor@
302builddir = @builddir@
303datadir = @datadir@
304datarootdir = @datarootdir@
305docdir = @docdir@
306dvidir = @dvidir@
307exec_prefix = @exec_prefix@
308host = @host@
309host_alias = @host_alias@
310host_cpu = @host_cpu@
311host_os = @host_os@
312host_vendor = @host_vendor@
313htmldir = @htmldir@
314includedir = @includedir@
315infodir = @infodir@
316install_sh = @install_sh@
317libdir = @libdir@
318libexecdir = @libexecdir@
319localedir = @localedir@
320localstatedir = @localstatedir@
321mandir = @mandir@
322mkdir_p = @mkdir_p@
323oldincludedir = @oldincludedir@
324pdfdir = @pdfdir@
325prefix = @prefix@
326program_transform_name = @program_transform_name@
327psdir = @psdir@
328sbindir = @sbindir@
329sharedstatedir = @sharedstatedir@
330srcdir = @srcdir@
331sysconfdir = @sysconfdir@
332target_alias = @target_alias@
333top_build_prefix = @top_build_prefix@
334top_builddir = @top_builddir@
335top_srcdir = @top_srcdir@
336apportdir = /usr/share/apport/package-hooks/
337apport_DATA = mountall.py
338all: all-am
339
340.SUFFIXES:
341$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
342 @for dep in $?; do \
343 case '$(am__configure_deps)' in \
344 *$$dep*) \
345 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
346 && { if test -f $@; then exit 0; else break; fi; }; \
347 exit 1;; \
348 esac; \
349 done; \
350 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign apport/Makefile'; \
351 $(am__cd) $(top_srcdir) && \
352 $(AUTOMAKE) --foreign apport/Makefile
353.PRECIOUS: Makefile
354Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
355 @case '$?' in \
356 *config.status*) \
357 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
358 *) \
359 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
360 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
361 esac;
362
363$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
364 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
365
366$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
367 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
368$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
369 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
370$(am__aclocal_m4_deps):
371
372mostlyclean-libtool:
373 -rm -f *.lo
374
375clean-libtool:
376 -rm -rf .libs _libs
377install-apportDATA: $(apport_DATA)
378 @$(NORMAL_INSTALL)
379 @list='$(apport_DATA)'; test -n "$(apportdir)" || list=; \
380 if test -n "$$list"; then \
381 echo " $(MKDIR_P) '$(DESTDIR)$(apportdir)'"; \
382 $(MKDIR_P) "$(DESTDIR)$(apportdir)" || exit 1; \
383 fi; \
384 for p in $$list; do \
385 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
386 echo "$$d$$p"; \
387 done | $(am__base_list) | \
388 while read files; do \
389 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(apportdir)'"; \
390 $(INSTALL_DATA) $$files "$(DESTDIR)$(apportdir)" || exit $$?; \
391 done
392
393uninstall-apportDATA:
394 @$(NORMAL_UNINSTALL)
395 @list='$(apport_DATA)'; test -n "$(apportdir)" || list=; \
396 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
397 dir='$(DESTDIR)$(apportdir)'; $(am__uninstall_files_from_dir)
398tags TAGS:
399
400ctags CTAGS:
401
402cscope cscopelist:
403
404
405distdir: $(DISTFILES)
406 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
407 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
408 list='$(DISTFILES)'; \
409 dist_files=`for file in $$list; do echo $$file; done | \
410 sed -e "s|^$$srcdirstrip/||;t" \
411 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
412 case $$dist_files in \
413 */*) $(MKDIR_P) `echo "$$dist_files" | \
414 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
415 sort -u` ;; \
416 esac; \
417 for file in $$dist_files; do \
418 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
419 if test -d $$d/$$file; then \
420 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
421 if test -d "$(distdir)/$$file"; then \
422 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
423 fi; \
424 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
425 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
426 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
427 fi; \
428 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
429 else \
430 test -f "$(distdir)/$$file" \
431 || cp -p $$d/$$file "$(distdir)/$$file" \
432 || exit 1; \
433 fi; \
434 done
435check-am: all-am
436check: check-am
437all-am: Makefile $(DATA)
438installdirs:
439 for dir in "$(DESTDIR)$(apportdir)"; do \
440 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
441 done
442install: install-am
443install-exec: install-exec-am
444install-data: install-data-am
445uninstall: uninstall-am
446
447install-am: all-am
448 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
449
450installcheck: installcheck-am
451install-strip:
452 if test -z '$(STRIP)'; then \
453 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
454 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
455 install; \
456 else \
457 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
458 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
459 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
460 fi
461mostlyclean-generic:
462
463clean-generic:
464
465distclean-generic:
466 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
467 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
468
469maintainer-clean-generic:
470 @echo "This command is intended for maintainers to use"
471 @echo "it deletes files that may require special tools to rebuild."
472clean: clean-am
473
474clean-am: clean-generic clean-libtool mostlyclean-am
475
476distclean: distclean-am
477 -rm -f Makefile
478distclean-am: clean-am distclean-generic
479
480dvi: dvi-am
481
482dvi-am:
483
484html: html-am
485
486html-am:
487
488info: info-am
489
490info-am:
491
492install-data-am: install-apportDATA
493
494install-dvi: install-dvi-am
495
496install-dvi-am:
497
498install-exec-am:
499
500install-html: install-html-am
501
502install-html-am:
503
504install-info: install-info-am
505
506install-info-am:
507
508install-man:
509
510install-pdf: install-pdf-am
511
512install-pdf-am:
513
514install-ps: install-ps-am
515
516install-ps-am:
517
518installcheck-am:
519
520maintainer-clean: maintainer-clean-am
521 -rm -f Makefile
522maintainer-clean-am: distclean-am maintainer-clean-generic
523
524mostlyclean: mostlyclean-am
525
526mostlyclean-am: mostlyclean-generic mostlyclean-libtool
527
528pdf: pdf-am
529
530pdf-am:
531
532ps: ps-am
533
534ps-am:
535
536uninstall-am: uninstall-apportDATA
537
538.MAKE: install-am install-strip
539
540.PHONY: all all-am check check-am clean clean-generic clean-libtool \
541 cscopelist-am ctags-am distclean distclean-generic \
542 distclean-libtool distdir dvi dvi-am html html-am info info-am \
543 install install-am install-apportDATA install-data \
544 install-data-am install-dvi install-dvi-am install-exec \
545 install-exec-am install-html install-html-am install-info \
546 install-info-am install-man install-pdf install-pdf-am \
547 install-ps install-ps-am install-strip installcheck \
548 installcheck-am installdirs maintainer-clean \
549 maintainer-clean-generic mostlyclean mostlyclean-generic \
550 mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
551 uninstall-am uninstall-apportDATA
552
553
554# Tell versions [3.59,3.63) of GNU make to not export all variables.
555# Otherwise a system limit (for SysV at least) may be exceeded.
556.NOEXPORT:
5570
=== removed file 'conf/Makefile.in'
--- conf/Makefile.in 2013-07-02 23:10:21 +0000
+++ conf/Makefile.in 1970-01-01 00:00:00 +0000
@@ -1,579 +0,0 @@
1# Makefile.in generated by automake 1.13.3 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17VPATH = @srcdir@
18am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
19am__make_running_with_option = \
20 case $${target_option-} in \
21 ?) ;; \
22 *) echo "am__make_running_with_option: internal error: invalid" \
23 "target option '$${target_option-}' specified" >&2; \
24 exit 1;; \
25 esac; \
26 has_opt=no; \
27 sane_makeflags=$$MAKEFLAGS; \
28 if $(am__is_gnu_make); then \
29 sane_makeflags=$$MFLAGS; \
30 else \
31 case $$MAKEFLAGS in \
32 *\\[\ \ ]*) \
33 bs=\\; \
34 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
35 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
36 esac; \
37 fi; \
38 skip_next=no; \
39 strip_trailopt () \
40 { \
41 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
42 }; \
43 for flg in $$sane_makeflags; do \
44 test $$skip_next = yes && { skip_next=no; continue; }; \
45 case $$flg in \
46 *=*|--*) continue;; \
47 -*I) strip_trailopt 'I'; skip_next=yes;; \
48 -*I?*) strip_trailopt 'I';; \
49 -*O) strip_trailopt 'O'; skip_next=yes;; \
50 -*O?*) strip_trailopt 'O';; \
51 -*l) strip_trailopt 'l'; skip_next=yes;; \
52 -*l?*) strip_trailopt 'l';; \
53 -[dEDm]) skip_next=yes;; \
54 -[JT]) skip_next=yes;; \
55 esac; \
56 case $$flg in \
57 *$$target_option*) has_opt=yes; break;; \
58 esac; \
59 done; \
60 test $$has_opt = yes
61am__make_dryrun = (target_option=n; $(am__make_running_with_option))
62am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
63pkgdatadir = $(datadir)/@PACKAGE@
64pkgincludedir = $(includedir)/@PACKAGE@
65pkglibdir = $(libdir)/@PACKAGE@
66pkglibexecdir = $(libexecdir)/@PACKAGE@
67am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
68install_sh_DATA = $(install_sh) -c -m 644
69install_sh_PROGRAM = $(install_sh) -c
70install_sh_SCRIPT = $(install_sh) -c
71INSTALL_HEADER = $(INSTALL_DATA)
72transform = $(program_transform_name)
73NORMAL_INSTALL = :
74PRE_INSTALL = :
75POST_INSTALL = :
76NORMAL_UNINSTALL = :
77PRE_UNINSTALL = :
78POST_UNINSTALL = :
79build_triplet = @build@
80host_triplet = @host@
81subdir = conf
82DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
83 $(dist_init_DATA)
84ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
85am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \
86 $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc2.m4 \
87 $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/iconv.m4 \
88 $(top_srcdir)/m4/intdiv0.m4 $(top_srcdir)/m4/intl.m4 \
89 $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax.m4 \
90 $(top_srcdir)/m4/inttypes-pri.m4 \
91 $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lcmessage.m4 \
92 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
93 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libnih.m4 \
94 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/lock.m4 \
95 $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/ltoptions.m4 \
96 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
97 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
98 $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/po.m4 \
99 $(top_srcdir)/m4/printf-posix.m4 $(top_srcdir)/m4/progtest.m4 \
100 $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \
101 $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \
102 $(top_srcdir)/m4/visibility.m4 $(top_srcdir)/m4/wchar_t.m4 \
103 $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \
104 $(top_srcdir)/configure.ac
105am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
106 $(ACLOCAL_M4)
107mkinstalldirs = $(install_sh) -d
108CONFIG_HEADER = $(top_builddir)/config.h
109CONFIG_CLEAN_FILES =
110CONFIG_CLEAN_VPATH_FILES =
111AM_V_P = $(am__v_P_@AM_V@)
112am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
113am__v_P_0 = false
114am__v_P_1 = :
115AM_V_GEN = $(am__v_GEN_@AM_V@)
116am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
117am__v_GEN_0 = @echo " GEN " $@;
118am__v_GEN_1 =
119AM_V_at = $(am__v_at_@AM_V@)
120am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
121am__v_at_0 = @
122am__v_at_1 =
123SOURCES =
124DIST_SOURCES =
125am__can_run_installinfo = \
126 case $$AM_UPDATE_INFO_DIR in \
127 n|no|NO) false;; \
128 *) (install-info --version) >/dev/null 2>&1;; \
129 esac
130am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
131am__vpath_adj = case $$p in \
132 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
133 *) f=$$p;; \
134 esac;
135am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
136am__install_max = 40
137am__nobase_strip_setup = \
138 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
139am__nobase_strip = \
140 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
141am__nobase_list = $(am__nobase_strip_setup); \
142 for p in $$list; do echo "$$p $$p"; done | \
143 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
144 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
145 if (++n[$$2] == $(am__install_max)) \
146 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
147 END { for (dir in files) print dir, files[dir] }'
148am__base_list = \
149 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
150 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
151am__uninstall_files_from_dir = { \
152 test -z "$$files" \
153 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
154 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
155 $(am__cd) "$$dir" && rm -f $$files; }; \
156 }
157am__installdirs = "$(DESTDIR)$(initdir)"
158DATA = $(dist_init_DATA)
159am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
160DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
161ACLOCAL = @ACLOCAL@
162ALLOCA = @ALLOCA@
163AMTAR = @AMTAR@
164AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
165AR = @AR@
166AUTOCONF = @AUTOCONF@
167AUTOHEADER = @AUTOHEADER@
168AUTOMAKE = @AUTOMAKE@
169AWK = @AWK@
170BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
171CATOBJEXT = @CATOBJEXT@
172CC = @CC@
173CCDEPMODE = @CCDEPMODE@
174CFLAGS = @CFLAGS@
175CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
176CPP = @CPP@
177CPPFLAGS = @CPPFLAGS@
178CYGPATH_W = @CYGPATH_W@
179DATADIRNAME = @DATADIRNAME@
180DBUS_CFLAGS = @DBUS_CFLAGS@
181DBUS_LIBS = @DBUS_LIBS@
182DEFS = @DEFS@
183DEPDIR = @DEPDIR@
184DLLTOOL = @DLLTOOL@
185DSYMUTIL = @DSYMUTIL@
186DUMPBIN = @DUMPBIN@
187ECHO_C = @ECHO_C@
188ECHO_N = @ECHO_N@
189ECHO_T = @ECHO_T@
190EGREP = @EGREP@
191EXEEXT = @EXEEXT@
192FGREP = @FGREP@
193GENCAT = @GENCAT@
194GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
195GLIBC2 = @GLIBC2@
196GLIBC21 = @GLIBC21@
197GMSGFMT = @GMSGFMT@
198GMSGFMT_015 = @GMSGFMT_015@
199GREP = @GREP@
200HAVE_ASPRINTF = @HAVE_ASPRINTF@
201HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
202HAVE_SNPRINTF = @HAVE_SNPRINTF@
203HAVE_VISIBILITY = @HAVE_VISIBILITY@
204HAVE_WPRINTF = @HAVE_WPRINTF@
205INSTALL = @INSTALL@
206INSTALL_DATA = @INSTALL_DATA@
207INSTALL_PROGRAM = @INSTALL_PROGRAM@
208INSTALL_SCRIPT = @INSTALL_SCRIPT@
209INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
210INSTOBJEXT = @INSTOBJEXT@
211INTLBISON = @INTLBISON@
212INTLLIBS = @INTLLIBS@
213INTLOBJS = @INTLOBJS@
214INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
215INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
216LD = @LD@
217LDFLAGS = @LDFLAGS@
218LIBICONV = @LIBICONV@
219LIBINTL = @LIBINTL@
220LIBMULTITHREAD = @LIBMULTITHREAD@
221LIBOBJS = @LIBOBJS@
222LIBPTH = @LIBPTH@
223LIBPTH_PREFIX = @LIBPTH_PREFIX@
224LIBS = @LIBS@
225LIBTHREAD = @LIBTHREAD@
226LIBTOOL = @LIBTOOL@
227LIPO = @LIPO@
228LN_S = @LN_S@
229LTLIBC = @LTLIBC@
230LTLIBICONV = @LTLIBICONV@
231LTLIBINTL = @LTLIBINTL@
232LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
233LTLIBOBJS = @LTLIBOBJS@
234LTLIBPTH = @LTLIBPTH@
235LTLIBTHREAD = @LTLIBTHREAD@
236MAINT = @MAINT@
237MAKEINFO = @MAKEINFO@
238MANIFEST_TOOL = @MANIFEST_TOOL@
239MKDIR_P = @MKDIR_P@
240MSGFMT = @MSGFMT@
241MSGFMT_015 = @MSGFMT_015@
242MSGMERGE = @MSGMERGE@
243NIH_CFLAGS = @NIH_CFLAGS@
244NIH_DBUS_CFLAGS = @NIH_DBUS_CFLAGS@
245NIH_DBUS_LIBS = @NIH_DBUS_LIBS@
246NIH_DBUS_TOOL = @NIH_DBUS_TOOL@
247NIH_LIBS = @NIH_LIBS@
248NM = @NM@
249NMEDIT = @NMEDIT@
250OBJDUMP = @OBJDUMP@
251OBJEXT = @OBJEXT@
252OTOOL = @OTOOL@
253OTOOL64 = @OTOOL64@
254PACKAGE = @PACKAGE@
255PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
256PACKAGE_NAME = @PACKAGE_NAME@
257PACKAGE_STRING = @PACKAGE_STRING@
258PACKAGE_TARNAME = @PACKAGE_TARNAME@
259PACKAGE_URL = @PACKAGE_URL@
260PACKAGE_VERSION = @PACKAGE_VERSION@
261PATH_SEPARATOR = @PATH_SEPARATOR@
262PKG_CONFIG = @PKG_CONFIG@
263PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
264PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
265PLYMOUTH_CFLAGS = @PLYMOUTH_CFLAGS@
266PLYMOUTH_LIBS = @PLYMOUTH_LIBS@
267POSUB = @POSUB@
268PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@
269RANLIB = @RANLIB@
270SED = @SED@
271SET_MAKE = @SET_MAKE@
272SHELL = @SHELL@
273STRIP = @STRIP@
274UDEV_CFLAGS = @UDEV_CFLAGS@
275UDEV_LIBS = @UDEV_LIBS@
276USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
277USE_NLS = @USE_NLS@
278VERSION = @VERSION@
279WINDRES = @WINDRES@
280WOE32 = @WOE32@
281WOE32DLL = @WOE32DLL@
282XGETTEXT = @XGETTEXT@
283XGETTEXT_015 = @XGETTEXT_015@
284XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
285abs_builddir = @abs_builddir@
286abs_srcdir = @abs_srcdir@
287abs_top_builddir = @abs_top_builddir@
288abs_top_srcdir = @abs_top_srcdir@
289ac_ct_AR = @ac_ct_AR@
290ac_ct_CC = @ac_ct_CC@
291ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
292am__include = @am__include@
293am__leading_dot = @am__leading_dot@
294am__quote = @am__quote@
295am__tar = @am__tar@
296am__untar = @am__untar@
297bindir = @bindir@
298build = @build@
299build_alias = @build_alias@
300build_cpu = @build_cpu@
301build_os = @build_os@
302build_vendor = @build_vendor@
303builddir = @builddir@
304datadir = @datadir@
305datarootdir = @datarootdir@
306docdir = @docdir@
307dvidir = @dvidir@
308exec_prefix = @exec_prefix@
309host = @host@
310host_alias = @host_alias@
311host_cpu = @host_cpu@
312host_os = @host_os@
313host_vendor = @host_vendor@
314htmldir = @htmldir@
315includedir = @includedir@
316infodir = @infodir@
317install_sh = @install_sh@
318libdir = @libdir@
319libexecdir = @libexecdir@
320localedir = @localedir@
321localstatedir = @localstatedir@
322mandir = @mandir@
323mkdir_p = @mkdir_p@
324oldincludedir = @oldincludedir@
325pdfdir = @pdfdir@
326prefix = @prefix@
327program_transform_name = @program_transform_name@
328psdir = @psdir@
329sbindir = @sbindir@
330sharedstatedir = @sharedstatedir@
331srcdir = @srcdir@
332sysconfdir = @sysconfdir@
333target_alias = @target_alias@
334top_build_prefix = @top_build_prefix@
335top_builddir = @top_builddir@
336top_srcdir = @top_srcdir@
337initdir = $(sysconfdir)/init
338dist_init_DATA = \
339 mountall.conf \
340 mountall-net.conf \
341 mountall-reboot.conf \
342 mountall-shell.conf \
343 mounted-debugfs.conf \
344 mounted-dev.conf \
345 mounted-run.conf \
346 mounted-proc.conf \
347 mounted-tmp.conf \
348 mounted-var.conf \
349 mountall.sh.conf \
350 mountall-bootclean.sh.conf \
351 mountkernfs.sh.conf \
352 mountdevsubfs.sh.conf \
353 bootmisc.sh.conf \
354 checkfs.sh.conf \
355 checkroot-bootclean.sh.conf \
356 checkroot.sh.conf \
357 mountnfs.sh.conf \
358 mountnfs-bootclean.sh.conf \
359 mtab.sh.conf
360
361all: all-am
362
363.SUFFIXES:
364$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
365 @for dep in $?; do \
366 case '$(am__configure_deps)' in \
367 *$$dep*) \
368 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
369 && { if test -f $@; then exit 0; else break; fi; }; \
370 exit 1;; \
371 esac; \
372 done; \
373 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign conf/Makefile'; \
374 $(am__cd) $(top_srcdir) && \
375 $(AUTOMAKE) --foreign conf/Makefile
376.PRECIOUS: Makefile
377Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
378 @case '$?' in \
379 *config.status*) \
380 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
381 *) \
382 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
383 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
384 esac;
385
386$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
387 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
388
389$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
390 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
391$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
392 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
393$(am__aclocal_m4_deps):
394
395mostlyclean-libtool:
396 -rm -f *.lo
397
398clean-libtool:
399 -rm -rf .libs _libs
400install-dist_initDATA: $(dist_init_DATA)
401 @$(NORMAL_INSTALL)
402 @list='$(dist_init_DATA)'; test -n "$(initdir)" || list=; \
403 if test -n "$$list"; then \
404 echo " $(MKDIR_P) '$(DESTDIR)$(initdir)'"; \
405 $(MKDIR_P) "$(DESTDIR)$(initdir)" || exit 1; \
406 fi; \
407 for p in $$list; do \
408 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
409 echo "$$d$$p"; \
410 done | $(am__base_list) | \
411 while read files; do \
412 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(initdir)'"; \
413 $(INSTALL_DATA) $$files "$(DESTDIR)$(initdir)" || exit $$?; \
414 done
415
416uninstall-dist_initDATA:
417 @$(NORMAL_UNINSTALL)
418 @list='$(dist_init_DATA)'; test -n "$(initdir)" || list=; \
419 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
420 dir='$(DESTDIR)$(initdir)'; $(am__uninstall_files_from_dir)
421tags TAGS:
422
423ctags CTAGS:
424
425cscope cscopelist:
426
427
428distdir: $(DISTFILES)
429 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
430 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
431 list='$(DISTFILES)'; \
432 dist_files=`for file in $$list; do echo $$file; done | \
433 sed -e "s|^$$srcdirstrip/||;t" \
434 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
435 case $$dist_files in \
436 */*) $(MKDIR_P) `echo "$$dist_files" | \
437 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
438 sort -u` ;; \
439 esac; \
440 for file in $$dist_files; do \
441 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
442 if test -d $$d/$$file; then \
443 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
444 if test -d "$(distdir)/$$file"; then \
445 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
446 fi; \
447 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
448 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
449 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
450 fi; \
451 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
452 else \
453 test -f "$(distdir)/$$file" \
454 || cp -p $$d/$$file "$(distdir)/$$file" \
455 || exit 1; \
456 fi; \
457 done
458check-am: all-am
459check: check-am
460all-am: Makefile $(DATA)
461installdirs:
462 for dir in "$(DESTDIR)$(initdir)"; do \
463 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
464 done
465install: install-am
466install-exec: install-exec-am
467install-data: install-data-am
468uninstall: uninstall-am
469
470install-am: all-am
471 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
472
473installcheck: installcheck-am
474install-strip:
475 if test -z '$(STRIP)'; then \
476 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
477 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
478 install; \
479 else \
480 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
481 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
482 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
483 fi
484mostlyclean-generic:
485
486clean-generic:
487
488distclean-generic:
489 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
490 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
491
492maintainer-clean-generic:
493 @echo "This command is intended for maintainers to use"
494 @echo "it deletes files that may require special tools to rebuild."
495clean: clean-am
496
497clean-am: clean-generic clean-libtool mostlyclean-am
498
499distclean: distclean-am
500 -rm -f Makefile
501distclean-am: clean-am distclean-generic
502
503dvi: dvi-am
504
505dvi-am:
506
507html: html-am
508
509html-am:
510
511info: info-am
512
513info-am:
514
515install-data-am: install-dist_initDATA
516
517install-dvi: install-dvi-am
518
519install-dvi-am:
520
521install-exec-am:
522
523install-html: install-html-am
524
525install-html-am:
526
527install-info: install-info-am
528
529install-info-am:
530
531install-man:
532
533install-pdf: install-pdf-am
534
535install-pdf-am:
536
537install-ps: install-ps-am
538
539install-ps-am:
540
541installcheck-am:
542
543maintainer-clean: maintainer-clean-am
544 -rm -f Makefile
545maintainer-clean-am: distclean-am maintainer-clean-generic
546
547mostlyclean: mostlyclean-am
548
549mostlyclean-am: mostlyclean-generic mostlyclean-libtool
550
551pdf: pdf-am
552
553pdf-am:
554
555ps: ps-am
556
557ps-am:
558
559uninstall-am: uninstall-dist_initDATA
560
561.MAKE: install-am install-strip
562
563.PHONY: all all-am check check-am clean clean-generic clean-libtool \
564 cscopelist-am ctags-am distclean distclean-generic \
565 distclean-libtool distdir dvi dvi-am html html-am info info-am \
566 install install-am install-data install-data-am \
567 install-dist_initDATA install-dvi install-dvi-am install-exec \
568 install-exec-am install-html install-html-am install-info \
569 install-info-am install-man install-pdf install-pdf-am \
570 install-ps install-ps-am install-strip installcheck \
571 installcheck-am installdirs maintainer-clean \
572 maintainer-clean-generic mostlyclean mostlyclean-generic \
573 mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
574 uninstall-am uninstall-dist_initDATA
575
576
577# Tell versions [3.59,3.63) of GNU make to not export all variables.
578# Otherwise a system limit (for SysV at least) may be exceeded.
579.NOEXPORT:
5800
=== removed file 'config.guess'
--- config.guess 2013-07-02 23:10:21 +0000
+++ config.guess 1970-01-01 00:00:00 +0000
@@ -1,1552 +0,0 @@
1#! /bin/sh
2# Attempt to guess a canonical system name.
3# Copyright 1992-2013 Free Software Foundation, Inc.
4
5timestamp='2013-05-16'
6
7# This file is free software; you can redistribute it and/or modify it
8# under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 3 of the License, or
10# (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful, but
13# WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15# General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program; if not, see <http://www.gnu.org/licenses/>.
19#
20# As a special exception to the GNU General Public License, if you
21# distribute this file as part of a program that contains a
22# configuration script generated by Autoconf, you may include it under
23# the same distribution terms that you use for the rest of that
24# program. This Exception is an additional permission under section 7
25# of the GNU General Public License, version 3 ("GPLv3").
26#
27# Originally written by Per Bothner.
28#
29# You can get the latest version of this script from:
30# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
31#
32# Please send patches with a ChangeLog entry to config-patches@gnu.org.
33
34
35me=`echo "$0" | sed -e 's,.*/,,'`
36
37usage="\
38Usage: $0 [OPTION]
39
40Output the configuration name of the system \`$me' is run on.
41
42Operation modes:
43 -h, --help print this help, then exit
44 -t, --time-stamp print date of last modification, then exit
45 -v, --version print version number, then exit
46
47Report bugs and patches to <config-patches@gnu.org>."
48
49version="\
50GNU config.guess ($timestamp)
51
52Originally written by Per Bothner.
53Copyright 1992-2013 Free Software Foundation, Inc.
54
55This is free software; see the source for copying conditions. There is NO
56warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
57
58help="
59Try \`$me --help' for more information."
60
61# Parse command line
62while test $# -gt 0 ; do
63 case $1 in
64 --time-stamp | --time* | -t )
65 echo "$timestamp" ; exit ;;
66 --version | -v )
67 echo "$version" ; exit ;;
68 --help | --h* | -h )
69 echo "$usage"; exit ;;
70 -- ) # Stop option processing
71 shift; break ;;
72 - ) # Use stdin as input.
73 break ;;
74 -* )
75 echo "$me: invalid option $1$help" >&2
76 exit 1 ;;
77 * )
78 break ;;
79 esac
80done
81
82if test $# != 0; then
83 echo "$me: too many arguments$help" >&2
84 exit 1
85fi
86
87trap 'exit 1' 1 2 15
88
89# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
90# compiler to aid in system detection is discouraged as it requires
91# temporary files to be created and, as you can see below, it is a
92# headache to deal with in a portable fashion.
93
94# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
95# use `HOST_CC' if defined, but it is deprecated.
96
97# Portable tmp directory creation inspired by the Autoconf team.
98
99set_cc_for_build='
100trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
101trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
102: ${TMPDIR=/tmp} ;
103 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
104 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
105 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
106 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
107dummy=$tmp/dummy ;
108tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
109case $CC_FOR_BUILD,$HOST_CC,$CC in
110 ,,) echo "int x;" > $dummy.c ;
111 for c in cc gcc c89 c99 ; do
112 if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
113 CC_FOR_BUILD="$c"; break ;
114 fi ;
115 done ;
116 if test x"$CC_FOR_BUILD" = x ; then
117 CC_FOR_BUILD=no_compiler_found ;
118 fi
119 ;;
120 ,,*) CC_FOR_BUILD=$CC ;;
121 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
122esac ; set_cc_for_build= ;'
123
124# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
125# (ghazi@noc.rutgers.edu 1994-08-24)
126if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
127 PATH=$PATH:/.attbin ; export PATH
128fi
129
130UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
131UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
132UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
133UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
134
135case "${UNAME_SYSTEM}" in
136Linux|GNU|GNU/*)
137 # If the system lacks a compiler, then just pick glibc.
138 # We could probably try harder.
139 LIBC=gnu
140
141 eval $set_cc_for_build
142 cat <<-EOF > $dummy.c
143 #include <features.h>
144 #if defined(__UCLIBC__)
145 LIBC=uclibc
146 #elif defined(__dietlibc__)
147 LIBC=dietlibc
148 #else
149 LIBC=gnu
150 #endif
151 EOF
152 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
153 ;;
154esac
155
156# Note: order is significant - the case branches are not exclusive.
157
158case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
159 *:NetBSD:*:*)
160 # NetBSD (nbsd) targets should (where applicable) match one or
161 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
162 # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
163 # switched to ELF, *-*-netbsd* would select the old
164 # object file format. This provides both forward
165 # compatibility and a consistent mechanism for selecting the
166 # object file format.
167 #
168 # Note: NetBSD doesn't particularly care about the vendor
169 # portion of the name. We always set it to "unknown".
170 sysctl="sysctl -n hw.machine_arch"
171 UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
172 /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
173 case "${UNAME_MACHINE_ARCH}" in
174 armeb) machine=armeb-unknown ;;
175 arm*) machine=arm-unknown ;;
176 sh3el) machine=shl-unknown ;;
177 sh3eb) machine=sh-unknown ;;
178 sh5el) machine=sh5le-unknown ;;
179 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
180 esac
181 # The Operating System including object format, if it has switched
182 # to ELF recently, or will in the future.
183 case "${UNAME_MACHINE_ARCH}" in
184 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
185 eval $set_cc_for_build
186 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
187 | grep -q __ELF__
188 then
189 # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
190 # Return netbsd for either. FIX?
191 os=netbsd
192 else
193 os=netbsdelf
194 fi
195 ;;
196 *)
197 os=netbsd
198 ;;
199 esac
200 # The OS release
201 # Debian GNU/NetBSD machines have a different userland, and
202 # thus, need a distinct triplet. However, they do not need
203 # kernel version information, so it can be replaced with a
204 # suitable tag, in the style of linux-gnu.
205 case "${UNAME_VERSION}" in
206 Debian*)
207 release='-gnu'
208 ;;
209 *)
210 release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
211 ;;
212 esac
213 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
214 # contains redundant information, the shorter form:
215 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
216 echo "${machine}-${os}${release}"
217 exit ;;
218 *:Bitrig:*:*)
219 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
220 echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
221 exit ;;
222 *:OpenBSD:*:*)
223 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
224 echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
225 exit ;;
226 *:ekkoBSD:*:*)
227 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
228 exit ;;
229 *:SolidBSD:*:*)
230 echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
231 exit ;;
232 macppc:MirBSD:*:*)
233 echo powerpc-unknown-mirbsd${UNAME_RELEASE}
234 exit ;;
235 *:MirBSD:*:*)
236 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
237 exit ;;
238 alpha:OSF1:*:*)
239 case $UNAME_RELEASE in
240 *4.0)
241 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
242 ;;
243 *5.*)
244 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
245 ;;
246 esac
247 # According to Compaq, /usr/sbin/psrinfo has been available on
248 # OSF/1 and Tru64 systems produced since 1995. I hope that
249 # covers most systems running today. This code pipes the CPU
250 # types through head -n 1, so we only detect the type of CPU 0.
251 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
252 case "$ALPHA_CPU_TYPE" in
253 "EV4 (21064)")
254 UNAME_MACHINE="alpha" ;;
255 "EV4.5 (21064)")
256 UNAME_MACHINE="alpha" ;;
257 "LCA4 (21066/21068)")
258 UNAME_MACHINE="alpha" ;;
259 "EV5 (21164)")
260 UNAME_MACHINE="alphaev5" ;;
261 "EV5.6 (21164A)")
262 UNAME_MACHINE="alphaev56" ;;
263 "EV5.6 (21164PC)")
264 UNAME_MACHINE="alphapca56" ;;
265 "EV5.7 (21164PC)")
266 UNAME_MACHINE="alphapca57" ;;
267 "EV6 (21264)")
268 UNAME_MACHINE="alphaev6" ;;
269 "EV6.7 (21264A)")
270 UNAME_MACHINE="alphaev67" ;;
271 "EV6.8CB (21264C)")
272 UNAME_MACHINE="alphaev68" ;;
273 "EV6.8AL (21264B)")
274 UNAME_MACHINE="alphaev68" ;;
275 "EV6.8CX (21264D)")
276 UNAME_MACHINE="alphaev68" ;;
277 "EV6.9A (21264/EV69A)")
278 UNAME_MACHINE="alphaev69" ;;
279 "EV7 (21364)")
280 UNAME_MACHINE="alphaev7" ;;
281 "EV7.9 (21364A)")
282 UNAME_MACHINE="alphaev79" ;;
283 esac
284 # A Pn.n version is a patched version.
285 # A Vn.n version is a released version.
286 # A Tn.n version is a released field test version.
287 # A Xn.n version is an unreleased experimental baselevel.
288 # 1.2 uses "1.2" for uname -r.
289 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
290 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
291 exitcode=$?
292 trap '' 0
293 exit $exitcode ;;
294 Alpha\ *:Windows_NT*:*)
295 # How do we know it's Interix rather than the generic POSIX subsystem?
296 # Should we change UNAME_MACHINE based on the output of uname instead
297 # of the specific Alpha model?
298 echo alpha-pc-interix
299 exit ;;
300 21064:Windows_NT:50:3)
301 echo alpha-dec-winnt3.5
302 exit ;;
303 Amiga*:UNIX_System_V:4.0:*)
304 echo m68k-unknown-sysv4
305 exit ;;
306 *:[Aa]miga[Oo][Ss]:*:*)
307 echo ${UNAME_MACHINE}-unknown-amigaos
308 exit ;;
309 *:[Mm]orph[Oo][Ss]:*:*)
310 echo ${UNAME_MACHINE}-unknown-morphos
311 exit ;;
312 *:OS/390:*:*)
313 echo i370-ibm-openedition
314 exit ;;
315 *:z/VM:*:*)
316 echo s390-ibm-zvmoe
317 exit ;;
318 *:OS400:*:*)
319 echo powerpc-ibm-os400
320 exit ;;
321 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
322 echo arm-acorn-riscix${UNAME_RELEASE}
323 exit ;;
324 arm*:riscos:*:*|arm*:RISCOS:*:*)
325 echo arm-unknown-riscos
326 exit ;;
327 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
328 echo hppa1.1-hitachi-hiuxmpp
329 exit ;;
330 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
331 # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
332 if test "`(/bin/universe) 2>/dev/null`" = att ; then
333 echo pyramid-pyramid-sysv3
334 else
335 echo pyramid-pyramid-bsd
336 fi
337 exit ;;
338 NILE*:*:*:dcosx)
339 echo pyramid-pyramid-svr4
340 exit ;;
341 DRS?6000:unix:4.0:6*)
342 echo sparc-icl-nx6
343 exit ;;
344 DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
345 case `/usr/bin/uname -p` in
346 sparc) echo sparc-icl-nx7; exit ;;
347 esac ;;
348 s390x:SunOS:*:*)
349 echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
350 exit ;;
351 sun4H:SunOS:5.*:*)
352 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
353 exit ;;
354 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
355 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
356 exit ;;
357 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
358 echo i386-pc-auroraux${UNAME_RELEASE}
359 exit ;;
360 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
361 eval $set_cc_for_build
362 SUN_ARCH="i386"
363 # If there is a compiler, see if it is configured for 64-bit objects.
364 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
365 # This test works for both compilers.
366 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
367 if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
368 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
369 grep IS_64BIT_ARCH >/dev/null
370 then
371 SUN_ARCH="x86_64"
372 fi
373 fi
374 echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
375 exit ;;
376 sun4*:SunOS:6*:*)
377 # According to config.sub, this is the proper way to canonicalize
378 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
379 # it's likely to be more like Solaris than SunOS4.
380 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
381 exit ;;
382 sun4*:SunOS:*:*)
383 case "`/usr/bin/arch -k`" in
384 Series*|S4*)
385 UNAME_RELEASE=`uname -v`
386 ;;
387 esac
388 # Japanese Language versions have a version number like `4.1.3-JL'.
389 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
390 exit ;;
391 sun3*:SunOS:*:*)
392 echo m68k-sun-sunos${UNAME_RELEASE}
393 exit ;;
394 sun*:*:4.2BSD:*)
395 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
396 test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
397 case "`/bin/arch`" in
398 sun3)
399 echo m68k-sun-sunos${UNAME_RELEASE}
400 ;;
401 sun4)
402 echo sparc-sun-sunos${UNAME_RELEASE}
403 ;;
404 esac
405 exit ;;
406 aushp:SunOS:*:*)
407 echo sparc-auspex-sunos${UNAME_RELEASE}
408 exit ;;
409 # The situation for MiNT is a little confusing. The machine name
410 # can be virtually everything (everything which is not
411 # "atarist" or "atariste" at least should have a processor
412 # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
413 # to the lowercase version "mint" (or "freemint"). Finally
414 # the system name "TOS" denotes a system which is actually not
415 # MiNT. But MiNT is downward compatible to TOS, so this should
416 # be no problem.
417 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
418 echo m68k-atari-mint${UNAME_RELEASE}
419 exit ;;
420 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
421 echo m68k-atari-mint${UNAME_RELEASE}
422 exit ;;
423 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
424 echo m68k-atari-mint${UNAME_RELEASE}
425 exit ;;
426 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
427 echo m68k-milan-mint${UNAME_RELEASE}
428 exit ;;
429 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
430 echo m68k-hades-mint${UNAME_RELEASE}
431 exit ;;
432 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
433 echo m68k-unknown-mint${UNAME_RELEASE}
434 exit ;;
435 m68k:machten:*:*)
436 echo m68k-apple-machten${UNAME_RELEASE}
437 exit ;;
438 powerpc:machten:*:*)
439 echo powerpc-apple-machten${UNAME_RELEASE}
440 exit ;;
441 RISC*:Mach:*:*)
442 echo mips-dec-mach_bsd4.3
443 exit ;;
444 RISC*:ULTRIX:*:*)
445 echo mips-dec-ultrix${UNAME_RELEASE}
446 exit ;;
447 VAX*:ULTRIX*:*:*)
448 echo vax-dec-ultrix${UNAME_RELEASE}
449 exit ;;
450 2020:CLIX:*:* | 2430:CLIX:*:*)
451 echo clipper-intergraph-clix${UNAME_RELEASE}
452 exit ;;
453 mips:*:*:UMIPS | mips:*:*:RISCos)
454 eval $set_cc_for_build
455 sed 's/^ //' << EOF >$dummy.c
456#ifdef __cplusplus
457#include <stdio.h> /* for printf() prototype */
458 int main (int argc, char *argv[]) {
459#else
460 int main (argc, argv) int argc; char *argv[]; {
461#endif
462 #if defined (host_mips) && defined (MIPSEB)
463 #if defined (SYSTYPE_SYSV)
464 printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
465 #endif
466 #if defined (SYSTYPE_SVR4)
467 printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
468 #endif
469 #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
470 printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
471 #endif
472 #endif
473 exit (-1);
474 }
475EOF
476 $CC_FOR_BUILD -o $dummy $dummy.c &&
477 dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
478 SYSTEM_NAME=`$dummy $dummyarg` &&
479 { echo "$SYSTEM_NAME"; exit; }
480 echo mips-mips-riscos${UNAME_RELEASE}
481 exit ;;
482 Motorola:PowerMAX_OS:*:*)
483 echo powerpc-motorola-powermax
484 exit ;;
485 Motorola:*:4.3:PL8-*)
486 echo powerpc-harris-powermax
487 exit ;;
488 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
489 echo powerpc-harris-powermax
490 exit ;;
491 Night_Hawk:Power_UNIX:*:*)
492 echo powerpc-harris-powerunix
493 exit ;;
494 m88k:CX/UX:7*:*)
495 echo m88k-harris-cxux7
496 exit ;;
497 m88k:*:4*:R4*)
498 echo m88k-motorola-sysv4
499 exit ;;
500 m88k:*:3*:R3*)
501 echo m88k-motorola-sysv3
502 exit ;;
503 AViiON:dgux:*:*)
504 # DG/UX returns AViiON for all architectures
505 UNAME_PROCESSOR=`/usr/bin/uname -p`
506 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
507 then
508 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
509 [ ${TARGET_BINARY_INTERFACE}x = x ]
510 then
511 echo m88k-dg-dgux${UNAME_RELEASE}
512 else
513 echo m88k-dg-dguxbcs${UNAME_RELEASE}
514 fi
515 else
516 echo i586-dg-dgux${UNAME_RELEASE}
517 fi
518 exit ;;
519 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
520 echo m88k-dolphin-sysv3
521 exit ;;
522 M88*:*:R3*:*)
523 # Delta 88k system running SVR3
524 echo m88k-motorola-sysv3
525 exit ;;
526 XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
527 echo m88k-tektronix-sysv3
528 exit ;;
529 Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
530 echo m68k-tektronix-bsd
531 exit ;;
532 *:IRIX*:*:*)
533 echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
534 exit ;;
535 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
536 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
537 exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
538 i*86:AIX:*:*)
539 echo i386-ibm-aix
540 exit ;;
541 ia64:AIX:*:*)
542 if [ -x /usr/bin/oslevel ] ; then
543 IBM_REV=`/usr/bin/oslevel`
544 else
545 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
546 fi
547 echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
548 exit ;;
549 *:AIX:2:3)
550 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
551 eval $set_cc_for_build
552 sed 's/^ //' << EOF >$dummy.c
553 #include <sys/systemcfg.h>
554
555 main()
556 {
557 if (!__power_pc())
558 exit(1);
559 puts("powerpc-ibm-aix3.2.5");
560 exit(0);
561 }
562EOF
563 if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
564 then
565 echo "$SYSTEM_NAME"
566 else
567 echo rs6000-ibm-aix3.2.5
568 fi
569 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
570 echo rs6000-ibm-aix3.2.4
571 else
572 echo rs6000-ibm-aix3.2
573 fi
574 exit ;;
575 *:AIX:*:[4567])
576 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
577 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
578 IBM_ARCH=rs6000
579 else
580 IBM_ARCH=powerpc
581 fi
582 if [ -x /usr/bin/oslevel ] ; then
583 IBM_REV=`/usr/bin/oslevel`
584 else
585 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
586 fi
587 echo ${IBM_ARCH}-ibm-aix${IBM_REV}
588 exit ;;
589 *:AIX:*:*)
590 echo rs6000-ibm-aix
591 exit ;;
592 ibmrt:4.4BSD:*|romp-ibm:BSD:*)
593 echo romp-ibm-bsd4.4
594 exit ;;
595 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
596 echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
597 exit ;; # report: romp-ibm BSD 4.3
598 *:BOSX:*:*)
599 echo rs6000-bull-bosx
600 exit ;;
601 DPX/2?00:B.O.S.:*:*)
602 echo m68k-bull-sysv3
603 exit ;;
604 9000/[34]??:4.3bsd:1.*:*)
605 echo m68k-hp-bsd
606 exit ;;
607 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
608 echo m68k-hp-bsd4.4
609 exit ;;
610 9000/[34678]??:HP-UX:*:*)
611 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
612 case "${UNAME_MACHINE}" in
613 9000/31? ) HP_ARCH=m68000 ;;
614 9000/[34]?? ) HP_ARCH=m68k ;;
615 9000/[678][0-9][0-9])
616 if [ -x /usr/bin/getconf ]; then
617 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
618 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
619 case "${sc_cpu_version}" in
620 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
621 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
622 532) # CPU_PA_RISC2_0
623 case "${sc_kernel_bits}" in
624 32) HP_ARCH="hppa2.0n" ;;
625 64) HP_ARCH="hppa2.0w" ;;
626 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
627 esac ;;
628 esac
629 fi
630 if [ "${HP_ARCH}" = "" ]; then
631 eval $set_cc_for_build
632 sed 's/^ //' << EOF >$dummy.c
633
634 #define _HPUX_SOURCE
635 #include <stdlib.h>
636 #include <unistd.h>
637
638 int main ()
639 {
640 #if defined(_SC_KERNEL_BITS)
641 long bits = sysconf(_SC_KERNEL_BITS);
642 #endif
643 long cpu = sysconf (_SC_CPU_VERSION);
644
645 switch (cpu)
646 {
647 case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
648 case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
649 case CPU_PA_RISC2_0:
650 #if defined(_SC_KERNEL_BITS)
651 switch (bits)
652 {
653 case 64: puts ("hppa2.0w"); break;
654 case 32: puts ("hppa2.0n"); break;
655 default: puts ("hppa2.0"); break;
656 } break;
657 #else /* !defined(_SC_KERNEL_BITS) */
658 puts ("hppa2.0"); break;
659 #endif
660 default: puts ("hppa1.0"); break;
661 }
662 exit (0);
663 }
664EOF
665 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
666 test -z "$HP_ARCH" && HP_ARCH=hppa
667 fi ;;
668 esac
669 if [ ${HP_ARCH} = "hppa2.0w" ]
670 then
671 eval $set_cc_for_build
672
673 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
674 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
675 # generating 64-bit code. GNU and HP use different nomenclature:
676 #
677 # $ CC_FOR_BUILD=cc ./config.guess
678 # => hppa2.0w-hp-hpux11.23
679 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
680 # => hppa64-hp-hpux11.23
681
682 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
683 grep -q __LP64__
684 then
685 HP_ARCH="hppa2.0w"
686 else
687 HP_ARCH="hppa64"
688 fi
689 fi
690 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
691 exit ;;
692 ia64:HP-UX:*:*)
693 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
694 echo ia64-hp-hpux${HPUX_REV}
695 exit ;;
696 3050*:HI-UX:*:*)
697 eval $set_cc_for_build
698 sed 's/^ //' << EOF >$dummy.c
699 #include <unistd.h>
700 int
701 main ()
702 {
703 long cpu = sysconf (_SC_CPU_VERSION);
704 /* The order matters, because CPU_IS_HP_MC68K erroneously returns
705 true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
706 results, however. */
707 if (CPU_IS_PA_RISC (cpu))
708 {
709 switch (cpu)
710 {
711 case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
712 case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
713 case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
714 default: puts ("hppa-hitachi-hiuxwe2"); break;
715 }
716 }
717 else if (CPU_IS_HP_MC68K (cpu))
718 puts ("m68k-hitachi-hiuxwe2");
719 else puts ("unknown-hitachi-hiuxwe2");
720 exit (0);
721 }
722EOF
723 $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
724 { echo "$SYSTEM_NAME"; exit; }
725 echo unknown-hitachi-hiuxwe2
726 exit ;;
727 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
728 echo hppa1.1-hp-bsd
729 exit ;;
730 9000/8??:4.3bsd:*:*)
731 echo hppa1.0-hp-bsd
732 exit ;;
733 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
734 echo hppa1.0-hp-mpeix
735 exit ;;
736 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
737 echo hppa1.1-hp-osf
738 exit ;;
739 hp8??:OSF1:*:*)
740 echo hppa1.0-hp-osf
741 exit ;;
742 i*86:OSF1:*:*)
743 if [ -x /usr/sbin/sysversion ] ; then
744 echo ${UNAME_MACHINE}-unknown-osf1mk
745 else
746 echo ${UNAME_MACHINE}-unknown-osf1
747 fi
748 exit ;;
749 parisc*:Lites*:*:*)
750 echo hppa1.1-hp-lites
751 exit ;;
752 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
753 echo c1-convex-bsd
754 exit ;;
755 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
756 if getsysinfo -f scalar_acc
757 then echo c32-convex-bsd
758 else echo c2-convex-bsd
759 fi
760 exit ;;
761 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
762 echo c34-convex-bsd
763 exit ;;
764 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
765 echo c38-convex-bsd
766 exit ;;
767 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
768 echo c4-convex-bsd
769 exit ;;
770 CRAY*Y-MP:*:*:*)
771 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
772 exit ;;
773 CRAY*[A-Z]90:*:*:*)
774 echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
775 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
776 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
777 -e 's/\.[^.]*$/.X/'
778 exit ;;
779 CRAY*TS:*:*:*)
780 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
781 exit ;;
782 CRAY*T3E:*:*:*)
783 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
784 exit ;;
785 CRAY*SV1:*:*:*)
786 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
787 exit ;;
788 *:UNICOS/mp:*:*)
789 echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
790 exit ;;
791 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
792 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
793 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
794 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
795 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
796 exit ;;
797 5000:UNIX_System_V:4.*:*)
798 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
799 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
800 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
801 exit ;;
802 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
803 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
804 exit ;;
805 sparc*:BSD/OS:*:*)
806 echo sparc-unknown-bsdi${UNAME_RELEASE}
807 exit ;;
808 *:BSD/OS:*:*)
809 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
810 exit ;;
811 *:FreeBSD:*:*)
812 UNAME_PROCESSOR=`/usr/bin/uname -p`
813 case ${UNAME_PROCESSOR} in
814 amd64)
815 echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
816 *)
817 echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
818 esac
819 exit ;;
820 i*:CYGWIN*:*)
821 echo ${UNAME_MACHINE}-pc-cygwin
822 exit ;;
823 *:MINGW64*:*)
824 echo ${UNAME_MACHINE}-pc-mingw64
825 exit ;;
826 *:MINGW*:*)
827 echo ${UNAME_MACHINE}-pc-mingw32
828 exit ;;
829 i*:MSYS*:*)
830 echo ${UNAME_MACHINE}-pc-msys
831 exit ;;
832 i*:windows32*:*)
833 # uname -m includes "-pc" on this system.
834 echo ${UNAME_MACHINE}-mingw32
835 exit ;;
836 i*:PW*:*)
837 echo ${UNAME_MACHINE}-pc-pw32
838 exit ;;
839 *:Interix*:*)
840 case ${UNAME_MACHINE} in
841 x86)
842 echo i586-pc-interix${UNAME_RELEASE}
843 exit ;;
844 authenticamd | genuineintel | EM64T)
845 echo x86_64-unknown-interix${UNAME_RELEASE}
846 exit ;;
847 IA64)
848 echo ia64-unknown-interix${UNAME_RELEASE}
849 exit ;;
850 esac ;;
851 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
852 echo i${UNAME_MACHINE}-pc-mks
853 exit ;;
854 8664:Windows_NT:*)
855 echo x86_64-pc-mks
856 exit ;;
857 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
858 # How do we know it's Interix rather than the generic POSIX subsystem?
859 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
860 # UNAME_MACHINE based on the output of uname instead of i386?
861 echo i586-pc-interix
862 exit ;;
863 i*:UWIN*:*)
864 echo ${UNAME_MACHINE}-pc-uwin
865 exit ;;
866 amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
867 echo x86_64-unknown-cygwin
868 exit ;;
869 p*:CYGWIN*:*)
870 echo powerpcle-unknown-cygwin
871 exit ;;
872 prep*:SunOS:5.*:*)
873 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
874 exit ;;
875 *:GNU:*:*)
876 # the GNU system
877 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
878 exit ;;
879 *:GNU/*:*:*)
880 # other systems with GNU libc and userland
881 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
882 exit ;;
883 i*86:Minix:*:*)
884 echo ${UNAME_MACHINE}-pc-minix
885 exit ;;
886 aarch64:Linux:*:*)
887 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
888 exit ;;
889 aarch64_be:Linux:*:*)
890 UNAME_MACHINE=aarch64_be
891 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
892 exit ;;
893 alpha:Linux:*:*)
894 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
895 EV5) UNAME_MACHINE=alphaev5 ;;
896 EV56) UNAME_MACHINE=alphaev56 ;;
897 PCA56) UNAME_MACHINE=alphapca56 ;;
898 PCA57) UNAME_MACHINE=alphapca56 ;;
899 EV6) UNAME_MACHINE=alphaev6 ;;
900 EV67) UNAME_MACHINE=alphaev67 ;;
901 EV68*) UNAME_MACHINE=alphaev68 ;;
902 esac
903 objdump --private-headers /bin/sh | grep -q ld.so.1
904 if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
905 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
906 exit ;;
907 arc:Linux:*:* | arceb:Linux:*:*)
908 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
909 exit ;;
910 arm*:Linux:*:*)
911 eval $set_cc_for_build
912 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
913 | grep -q __ARM_EABI__
914 then
915 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
916 else
917 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
918 | grep -q __ARM_PCS_VFP
919 then
920 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
921 else
922 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
923 fi
924 fi
925 exit ;;
926 avr32*:Linux:*:*)
927 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
928 exit ;;
929 cris:Linux:*:*)
930 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
931 exit ;;
932 crisv32:Linux:*:*)
933 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
934 exit ;;
935 frv:Linux:*:*)
936 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
937 exit ;;
938 hexagon:Linux:*:*)
939 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
940 exit ;;
941 i*86:Linux:*:*)
942 echo ${UNAME_MACHINE}-pc-linux-${LIBC}
943 exit ;;
944 ia64:Linux:*:*)
945 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
946 exit ;;
947 m32r*:Linux:*:*)
948 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
949 exit ;;
950 m68*:Linux:*:*)
951 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
952 exit ;;
953 mips:Linux:*:* | mips64:Linux:*:*)
954 eval $set_cc_for_build
955 sed 's/^ //' << EOF >$dummy.c
956 #undef CPU
957 #undef ${UNAME_MACHINE}
958 #undef ${UNAME_MACHINE}el
959 #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
960 CPU=${UNAME_MACHINE}el
961 #else
962 #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
963 CPU=${UNAME_MACHINE}
964 #else
965 CPU=
966 #endif
967 #endif
968EOF
969 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
970 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
971 ;;
972 or1k:Linux:*:*)
973 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
974 exit ;;
975 or32:Linux:*:*)
976 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
977 exit ;;
978 padre:Linux:*:*)
979 echo sparc-unknown-linux-${LIBC}
980 exit ;;
981 parisc64:Linux:*:* | hppa64:Linux:*:*)
982 echo hppa64-unknown-linux-${LIBC}
983 exit ;;
984 parisc:Linux:*:* | hppa:Linux:*:*)
985 # Look for CPU level
986 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
987 PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
988 PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
989 *) echo hppa-unknown-linux-${LIBC} ;;
990 esac
991 exit ;;
992 ppc64:Linux:*:*)
993 echo powerpc64-unknown-linux-${LIBC}
994 exit ;;
995 ppc:Linux:*:*)
996 echo powerpc-unknown-linux-${LIBC}
997 exit ;;
998 s390:Linux:*:* | s390x:Linux:*:*)
999 echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
1000 exit ;;
1001 sh64*:Linux:*:*)
1002 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1003 exit ;;
1004 sh*:Linux:*:*)
1005 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1006 exit ;;
1007 sparc:Linux:*:* | sparc64:Linux:*:*)
1008 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1009 exit ;;
1010 tile*:Linux:*:*)
1011 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1012 exit ;;
1013 vax:Linux:*:*)
1014 echo ${UNAME_MACHINE}-dec-linux-${LIBC}
1015 exit ;;
1016 x86_64:Linux:*:*)
1017 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1018 exit ;;
1019 xtensa*:Linux:*:*)
1020 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1021 exit ;;
1022 i*86:DYNIX/ptx:4*:*)
1023 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
1024 # earlier versions are messed up and put the nodename in both
1025 # sysname and nodename.
1026 echo i386-sequent-sysv4
1027 exit ;;
1028 i*86:UNIX_SV:4.2MP:2.*)
1029 # Unixware is an offshoot of SVR4, but it has its own version
1030 # number series starting with 2...
1031 # I am not positive that other SVR4 systems won't match this,
1032 # I just have to hope. -- rms.
1033 # Use sysv4.2uw... so that sysv4* matches it.
1034 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
1035 exit ;;
1036 i*86:OS/2:*:*)
1037 # If we were able to find `uname', then EMX Unix compatibility
1038 # is probably installed.
1039 echo ${UNAME_MACHINE}-pc-os2-emx
1040 exit ;;
1041 i*86:XTS-300:*:STOP)
1042 echo ${UNAME_MACHINE}-unknown-stop
1043 exit ;;
1044 i*86:atheos:*:*)
1045 echo ${UNAME_MACHINE}-unknown-atheos
1046 exit ;;
1047 i*86:syllable:*:*)
1048 echo ${UNAME_MACHINE}-pc-syllable
1049 exit ;;
1050 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
1051 echo i386-unknown-lynxos${UNAME_RELEASE}
1052 exit ;;
1053 i*86:*DOS:*:*)
1054 echo ${UNAME_MACHINE}-pc-msdosdjgpp
1055 exit ;;
1056 i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
1057 UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
1058 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
1059 echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
1060 else
1061 echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
1062 fi
1063 exit ;;
1064 i*86:*:5:[678]*)
1065 # UnixWare 7.x, OpenUNIX and OpenServer 6.
1066 case `/bin/uname -X | grep "^Machine"` in
1067 *486*) UNAME_MACHINE=i486 ;;
1068 *Pentium) UNAME_MACHINE=i586 ;;
1069 *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
1070 esac
1071 echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
1072 exit ;;
1073 i*86:*:3.2:*)
1074 if test -f /usr/options/cb.name; then
1075 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
1076 echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
1077 elif /bin/uname -X 2>/dev/null >/dev/null ; then
1078 UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
1079 (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
1080 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
1081 && UNAME_MACHINE=i586
1082 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
1083 && UNAME_MACHINE=i686
1084 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
1085 && UNAME_MACHINE=i686
1086 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
1087 else
1088 echo ${UNAME_MACHINE}-pc-sysv32
1089 fi
1090 exit ;;
1091 pc:*:*:*)
1092 # Left here for compatibility:
1093 # uname -m prints for DJGPP always 'pc', but it prints nothing about
1094 # the processor, so we play safe by assuming i586.
1095 # Note: whatever this is, it MUST be the same as what config.sub
1096 # prints for the "djgpp" host, or else GDB configury will decide that
1097 # this is a cross-build.
1098 echo i586-pc-msdosdjgpp
1099 exit ;;
1100 Intel:Mach:3*:*)
1101 echo i386-pc-mach3
1102 exit ;;
1103 paragon:*:*:*)
1104 echo i860-intel-osf1
1105 exit ;;
1106 i860:*:4.*:*) # i860-SVR4
1107 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
1108 echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
1109 else # Add other i860-SVR4 vendors below as they are discovered.
1110 echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
1111 fi
1112 exit ;;
1113 mini*:CTIX:SYS*5:*)
1114 # "miniframe"
1115 echo m68010-convergent-sysv
1116 exit ;;
1117 mc68k:UNIX:SYSTEM5:3.51m)
1118 echo m68k-convergent-sysv
1119 exit ;;
1120 M680?0:D-NIX:5.3:*)
1121 echo m68k-diab-dnix
1122 exit ;;
1123 M68*:*:R3V[5678]*:*)
1124 test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
1125 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
1126 OS_REL=''
1127 test -r /etc/.relid \
1128 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1129 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1130 && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1131 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1132 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1133 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1134 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1135 && { echo i486-ncr-sysv4; exit; } ;;
1136 NCR*:*:4.2:* | MPRAS*:*:4.2:*)
1137 OS_REL='.3'
1138 test -r /etc/.relid \
1139 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1140 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1141 && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1142 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1143 && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
1144 /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
1145 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1146 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1147 echo m68k-unknown-lynxos${UNAME_RELEASE}
1148 exit ;;
1149 mc68030:UNIX_System_V:4.*:*)
1150 echo m68k-atari-sysv4
1151 exit ;;
1152 TSUNAMI:LynxOS:2.*:*)
1153 echo sparc-unknown-lynxos${UNAME_RELEASE}
1154 exit ;;
1155 rs6000:LynxOS:2.*:*)
1156 echo rs6000-unknown-lynxos${UNAME_RELEASE}
1157 exit ;;
1158 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
1159 echo powerpc-unknown-lynxos${UNAME_RELEASE}
1160 exit ;;
1161 SM[BE]S:UNIX_SV:*:*)
1162 echo mips-dde-sysv${UNAME_RELEASE}
1163 exit ;;
1164 RM*:ReliantUNIX-*:*:*)
1165 echo mips-sni-sysv4
1166 exit ;;
1167 RM*:SINIX-*:*:*)
1168 echo mips-sni-sysv4
1169 exit ;;
1170 *:SINIX-*:*:*)
1171 if uname -p 2>/dev/null >/dev/null ; then
1172 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1173 echo ${UNAME_MACHINE}-sni-sysv4
1174 else
1175 echo ns32k-sni-sysv
1176 fi
1177 exit ;;
1178 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1179 # says <Richard.M.Bartel@ccMail.Census.GOV>
1180 echo i586-unisys-sysv4
1181 exit ;;
1182 *:UNIX_System_V:4*:FTX*)
1183 # From Gerald Hewes <hewes@openmarket.com>.
1184 # How about differentiating between stratus architectures? -djm
1185 echo hppa1.1-stratus-sysv4
1186 exit ;;
1187 *:*:*:FTX*)
1188 # From seanf@swdc.stratus.com.
1189 echo i860-stratus-sysv4
1190 exit ;;
1191 i*86:VOS:*:*)
1192 # From Paul.Green@stratus.com.
1193 echo ${UNAME_MACHINE}-stratus-vos
1194 exit ;;
1195 *:VOS:*:*)
1196 # From Paul.Green@stratus.com.
1197 echo hppa1.1-stratus-vos
1198 exit ;;
1199 mc68*:A/UX:*:*)
1200 echo m68k-apple-aux${UNAME_RELEASE}
1201 exit ;;
1202 news*:NEWS-OS:6*:*)
1203 echo mips-sony-newsos6
1204 exit ;;
1205 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1206 if [ -d /usr/nec ]; then
1207 echo mips-nec-sysv${UNAME_RELEASE}
1208 else
1209 echo mips-unknown-sysv${UNAME_RELEASE}
1210 fi
1211 exit ;;
1212 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
1213 echo powerpc-be-beos
1214 exit ;;
1215 BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
1216 echo powerpc-apple-beos
1217 exit ;;
1218 BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
1219 echo i586-pc-beos
1220 exit ;;
1221 BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
1222 echo i586-pc-haiku
1223 exit ;;
1224 x86_64:Haiku:*:*)
1225 echo x86_64-unknown-haiku
1226 exit ;;
1227 SX-4:SUPER-UX:*:*)
1228 echo sx4-nec-superux${UNAME_RELEASE}
1229 exit ;;
1230 SX-5:SUPER-UX:*:*)
1231 echo sx5-nec-superux${UNAME_RELEASE}
1232 exit ;;
1233 SX-6:SUPER-UX:*:*)
1234 echo sx6-nec-superux${UNAME_RELEASE}
1235 exit ;;
1236 SX-7:SUPER-UX:*:*)
1237 echo sx7-nec-superux${UNAME_RELEASE}
1238 exit ;;
1239 SX-8:SUPER-UX:*:*)
1240 echo sx8-nec-superux${UNAME_RELEASE}
1241 exit ;;
1242 SX-8R:SUPER-UX:*:*)
1243 echo sx8r-nec-superux${UNAME_RELEASE}
1244 exit ;;
1245 Power*:Rhapsody:*:*)
1246 echo powerpc-apple-rhapsody${UNAME_RELEASE}
1247 exit ;;
1248 *:Rhapsody:*:*)
1249 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
1250 exit ;;
1251 *:Darwin:*:*)
1252 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1253 eval $set_cc_for_build
1254 if test "$UNAME_PROCESSOR" = unknown ; then
1255 UNAME_PROCESSOR=powerpc
1256 fi
1257 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1258 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1259 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1260 grep IS_64BIT_ARCH >/dev/null
1261 then
1262 case $UNAME_PROCESSOR in
1263 i386) UNAME_PROCESSOR=x86_64 ;;
1264 powerpc) UNAME_PROCESSOR=powerpc64 ;;
1265 esac
1266 fi
1267 fi
1268 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1269 exit ;;
1270 *:procnto*:*:* | *:QNX:[0123456789]*:*)
1271 UNAME_PROCESSOR=`uname -p`
1272 if test "$UNAME_PROCESSOR" = "x86"; then
1273 UNAME_PROCESSOR=i386
1274 UNAME_MACHINE=pc
1275 fi
1276 echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
1277 exit ;;
1278 *:QNX:*:4*)
1279 echo i386-pc-qnx
1280 exit ;;
1281 NEO-?:NONSTOP_KERNEL:*:*)
1282 echo neo-tandem-nsk${UNAME_RELEASE}
1283 exit ;;
1284 NSE-*:NONSTOP_KERNEL:*:*)
1285 echo nse-tandem-nsk${UNAME_RELEASE}
1286 exit ;;
1287 NSR-?:NONSTOP_KERNEL:*:*)
1288 echo nsr-tandem-nsk${UNAME_RELEASE}
1289 exit ;;
1290 *:NonStop-UX:*:*)
1291 echo mips-compaq-nonstopux
1292 exit ;;
1293 BS2000:POSIX*:*:*)
1294 echo bs2000-siemens-sysv
1295 exit ;;
1296 DS/*:UNIX_System_V:*:*)
1297 echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
1298 exit ;;
1299 *:Plan9:*:*)
1300 # "uname -m" is not consistent, so use $cputype instead. 386
1301 # is converted to i386 for consistency with other x86
1302 # operating systems.
1303 if test "$cputype" = "386"; then
1304 UNAME_MACHINE=i386
1305 else
1306 UNAME_MACHINE="$cputype"
1307 fi
1308 echo ${UNAME_MACHINE}-unknown-plan9
1309 exit ;;
1310 *:TOPS-10:*:*)
1311 echo pdp10-unknown-tops10
1312 exit ;;
1313 *:TENEX:*:*)
1314 echo pdp10-unknown-tenex
1315 exit ;;
1316 KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
1317 echo pdp10-dec-tops20
1318 exit ;;
1319 XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
1320 echo pdp10-xkl-tops20
1321 exit ;;
1322 *:TOPS-20:*:*)
1323 echo pdp10-unknown-tops20
1324 exit ;;
1325 *:ITS:*:*)
1326 echo pdp10-unknown-its
1327 exit ;;
1328 SEI:*:*:SEIUX)
1329 echo mips-sei-seiux${UNAME_RELEASE}
1330 exit ;;
1331 *:DragonFly:*:*)
1332 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1333 exit ;;
1334 *:*VMS:*:*)
1335 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1336 case "${UNAME_MACHINE}" in
1337 A*) echo alpha-dec-vms ; exit ;;
1338 I*) echo ia64-dec-vms ; exit ;;
1339 V*) echo vax-dec-vms ; exit ;;
1340 esac ;;
1341 *:XENIX:*:SysV)
1342 echo i386-pc-xenix
1343 exit ;;
1344 i*86:skyos:*:*)
1345 echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
1346 exit ;;
1347 i*86:rdos:*:*)
1348 echo ${UNAME_MACHINE}-pc-rdos
1349 exit ;;
1350 i*86:AROS:*:*)
1351 echo ${UNAME_MACHINE}-pc-aros
1352 exit ;;
1353 x86_64:VMkernel:*:*)
1354 echo ${UNAME_MACHINE}-unknown-esx
1355 exit ;;
1356esac
1357
1358eval $set_cc_for_build
1359cat >$dummy.c <<EOF
1360#ifdef _SEQUENT_
1361# include <sys/types.h>
1362# include <sys/utsname.h>
1363#endif
1364main ()
1365{
1366#if defined (sony)
1367#if defined (MIPSEB)
1368 /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
1369 I don't know.... */
1370 printf ("mips-sony-bsd\n"); exit (0);
1371#else
1372#include <sys/param.h>
1373 printf ("m68k-sony-newsos%s\n",
1374#ifdef NEWSOS4
1375 "4"
1376#else
1377 ""
1378#endif
1379 ); exit (0);
1380#endif
1381#endif
1382
1383#if defined (__arm) && defined (__acorn) && defined (__unix)
1384 printf ("arm-acorn-riscix\n"); exit (0);
1385#endif
1386
1387#if defined (hp300) && !defined (hpux)
1388 printf ("m68k-hp-bsd\n"); exit (0);
1389#endif
1390
1391#if defined (NeXT)
1392#if !defined (__ARCHITECTURE__)
1393#define __ARCHITECTURE__ "m68k"
1394#endif
1395 int version;
1396 version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
1397 if (version < 4)
1398 printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
1399 else
1400 printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
1401 exit (0);
1402#endif
1403
1404#if defined (MULTIMAX) || defined (n16)
1405#if defined (UMAXV)
1406 printf ("ns32k-encore-sysv\n"); exit (0);
1407#else
1408#if defined (CMU)
1409 printf ("ns32k-encore-mach\n"); exit (0);
1410#else
1411 printf ("ns32k-encore-bsd\n"); exit (0);
1412#endif
1413#endif
1414#endif
1415
1416#if defined (__386BSD__)
1417 printf ("i386-pc-bsd\n"); exit (0);
1418#endif
1419
1420#if defined (sequent)
1421#if defined (i386)
1422 printf ("i386-sequent-dynix\n"); exit (0);
1423#endif
1424#if defined (ns32000)
1425 printf ("ns32k-sequent-dynix\n"); exit (0);
1426#endif
1427#endif
1428
1429#if defined (_SEQUENT_)
1430 struct utsname un;
1431
1432 uname(&un);
1433
1434 if (strncmp(un.version, "V2", 2) == 0) {
1435 printf ("i386-sequent-ptx2\n"); exit (0);
1436 }
1437 if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
1438 printf ("i386-sequent-ptx1\n"); exit (0);
1439 }
1440 printf ("i386-sequent-ptx\n"); exit (0);
1441
1442#endif
1443
1444#if defined (vax)
1445# if !defined (ultrix)
1446# include <sys/param.h>
1447# if defined (BSD)
1448# if BSD == 43
1449 printf ("vax-dec-bsd4.3\n"); exit (0);
1450# else
1451# if BSD == 199006
1452 printf ("vax-dec-bsd4.3reno\n"); exit (0);
1453# else
1454 printf ("vax-dec-bsd\n"); exit (0);
1455# endif
1456# endif
1457# else
1458 printf ("vax-dec-bsd\n"); exit (0);
1459# endif
1460# else
1461 printf ("vax-dec-ultrix\n"); exit (0);
1462# endif
1463#endif
1464
1465#if defined (alliant) && defined (i860)
1466 printf ("i860-alliant-bsd\n"); exit (0);
1467#endif
1468
1469 exit (1);
1470}
1471EOF
1472
1473$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
1474 { echo "$SYSTEM_NAME"; exit; }
1475
1476# Apollos put the system type in the environment.
1477
1478test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
1479
1480# Convex versions that predate uname can use getsysinfo(1)
1481
1482if [ -x /usr/convex/getsysinfo ]
1483then
1484 case `getsysinfo -f cpu_type` in
1485 c1*)
1486 echo c1-convex-bsd
1487 exit ;;
1488 c2*)
1489 if getsysinfo -f scalar_acc
1490 then echo c32-convex-bsd
1491 else echo c2-convex-bsd
1492 fi
1493 exit ;;
1494 c34*)
1495 echo c34-convex-bsd
1496 exit ;;
1497 c38*)
1498 echo c38-convex-bsd
1499 exit ;;
1500 c4*)
1501 echo c4-convex-bsd
1502 exit ;;
1503 esac
1504fi
1505
1506cat >&2 <<EOF
1507$0: unable to guess system type
1508
1509This script, last modified $timestamp, has failed to recognize
1510the operating system you are using. It is advised that you
1511download the most up to date version of the config scripts from
1512
1513 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
1514and
1515 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
1516
1517If the version you run ($0) is already up to date, please
1518send the following data and any information you think might be
1519pertinent to <config-patches@gnu.org> in order to provide the needed
1520information to handle your system.
1521
1522config.guess timestamp = $timestamp
1523
1524uname -m = `(uname -m) 2>/dev/null || echo unknown`
1525uname -r = `(uname -r) 2>/dev/null || echo unknown`
1526uname -s = `(uname -s) 2>/dev/null || echo unknown`
1527uname -v = `(uname -v) 2>/dev/null || echo unknown`
1528
1529/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
1530/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
1531
1532hostinfo = `(hostinfo) 2>/dev/null`
1533/bin/universe = `(/bin/universe) 2>/dev/null`
1534/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
1535/bin/arch = `(/bin/arch) 2>/dev/null`
1536/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
1537/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
1538
1539UNAME_MACHINE = ${UNAME_MACHINE}
1540UNAME_RELEASE = ${UNAME_RELEASE}
1541UNAME_SYSTEM = ${UNAME_SYSTEM}
1542UNAME_VERSION = ${UNAME_VERSION}
1543EOF
1544
1545exit 1
1546
1547# Local variables:
1548# eval: (add-hook 'write-file-hooks 'time-stamp)
1549# time-stamp-start: "timestamp='"
1550# time-stamp-format: "%:y-%02m-%02d"
1551# time-stamp-end: "'"
1552# End:
15530
=== removed file 'config.h.in'
--- config.h.in 2012-08-31 15:07:35 +0000
+++ config.h.in 1970-01-01 00:00:00 +0000
@@ -1,401 +0,0 @@
1/* config.h.in. Generated from configure.ac by autoheader. */
2
3/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
4 systems. This function is required for `alloca.c' support on those systems.
5 */
6#undef CRAY_STACKSEG_END
7
8/* Define to 1 if using `alloca.c'. */
9#undef C_ALLOCA
10
11/* Define to 1 if translation of program messages to the user's native
12 language is requested. */
13#undef ENABLE_NLS
14
15/* Define to 1 if you have `alloca', as a function or macro. */
16#undef HAVE_ALLOCA
17
18/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
19 */
20#undef HAVE_ALLOCA_H
21
22/* Define to 1 if you have the `argz_count' function. */
23#undef HAVE_ARGZ_COUNT
24
25/* Define to 1 if you have the <argz.h> header file. */
26#undef HAVE_ARGZ_H
27
28/* Define to 1 if you have the `argz_next' function. */
29#undef HAVE_ARGZ_NEXT
30
31/* Define to 1 if you have the `argz_stringify' function. */
32#undef HAVE_ARGZ_STRINGIFY
33
34/* Define to 1 if you have the `asprintf' function. */
35#undef HAVE_ASPRINTF
36
37/* Define to 1 if the compiler understands __builtin_expect. */
38#undef HAVE_BUILTIN_EXPECT
39
40/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
41 CoreFoundation framework. */
42#undef HAVE_CFLOCALECOPYCURRENT
43
44/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
45 the CoreFoundation framework. */
46#undef HAVE_CFPREFERENCESCOPYAPPVALUE
47
48/* Define if the GNU dcgettext() function is already present or preinstalled.
49 */
50#undef HAVE_DCGETTEXT
51
52/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
53 don't. */
54#undef HAVE_DECL_FEOF_UNLOCKED
55
56/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
57 you don't. */
58#undef HAVE_DECL_FGETS_UNLOCKED
59
60/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
61 don't. */
62#undef HAVE_DECL_GETC_UNLOCKED
63
64/* Define to 1 if you have the declaration of `_snprintf', and to 0 if you
65 don't. */
66#undef HAVE_DECL__SNPRINTF
67
68/* Define to 1 if you have the declaration of `_snwprintf', and to 0 if you
69 don't. */
70#undef HAVE_DECL__SNWPRINTF
71
72/* Define to 1 if you have the <dlfcn.h> header file. */
73#undef HAVE_DLFCN_H
74
75/* Define to 1 if you have the `fwprintf' function. */
76#undef HAVE_FWPRINTF
77
78/* Define to 1 if you have the `getcwd' function. */
79#undef HAVE_GETCWD
80
81/* Define to 1 if you have the `getegid' function. */
82#undef HAVE_GETEGID
83
84/* Define to 1 if you have the `geteuid' function. */
85#undef HAVE_GETEUID
86
87/* Define to 1 if you have the `getgid' function. */
88#undef HAVE_GETGID
89
90/* Define to 1 if you have the `getpagesize' function. */
91#undef HAVE_GETPAGESIZE
92
93/* Define if the GNU gettext() function is already present or preinstalled. */
94#undef HAVE_GETTEXT
95
96/* Define to 1 if you have the `getuid' function. */
97#undef HAVE_GETUID
98
99/* Define if you have the iconv() function and it works. */
100#undef HAVE_ICONV
101
102/* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
103#undef HAVE_INTMAX_T
104
105/* Define to 1 if you have the <inttypes.h> header file. */
106#undef HAVE_INTTYPES_H
107
108/* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
109 declares uintmax_t. */
110#undef HAVE_INTTYPES_H_WITH_UINTMAX
111
112/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
113#undef HAVE_LANGINFO_CODESET
114
115/* Define if your <locale.h> file defines LC_MESSAGES. */
116#undef HAVE_LC_MESSAGES
117
118/* Define to 1 if you have the <limits.h> header file. */
119#undef HAVE_LIMITS_H
120
121/* Define to 1 if the system has the type `long long int'. */
122#undef HAVE_LONG_LONG_INT
123
124/* Define to 1 if you have the <memory.h> header file. */
125#undef HAVE_MEMORY_H
126
127/* Define to 1 if you have the `mempcpy' function. */
128#undef HAVE_MEMPCPY
129
130/* Define to 1 if you have a working `mmap' system call. */
131#undef HAVE_MMAP
132
133/* Define to 1 if you have the `munmap' function. */
134#undef HAVE_MUNMAP
135
136/* Define if you have <langinfo.h> and it defines the NL_LOCALE_NAME macro if
137 _GNU_SOURCE is defined. */
138#undef HAVE_NL_LOCALE_NAME
139
140/* Define if your printf() function supports format strings with positions. */
141#undef HAVE_POSIX_PRINTF
142
143/* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */
144#undef HAVE_PTHREAD_MUTEX_RECURSIVE
145
146/* Define if the POSIX multithreading library has read/write locks. */
147#undef HAVE_PTHREAD_RWLOCK
148
149/* Define to 1 if you have the `putenv' function. */
150#undef HAVE_PUTENV
151
152/* Define to 1 if you have the `setenv' function. */
153#undef HAVE_SETENV
154
155/* Define to 1 if you have the `setlocale' function. */
156#undef HAVE_SETLOCALE
157
158/* Define to 1 if you have the `snprintf' function. */
159#undef HAVE_SNPRINTF
160
161/* Define to 1 if you have the <stddef.h> header file. */
162#undef HAVE_STDDEF_H
163
164/* Define to 1 if you have the <stdint.h> header file. */
165#undef HAVE_STDINT_H
166
167/* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
168 uintmax_t. */
169#undef HAVE_STDINT_H_WITH_UINTMAX
170
171/* Define to 1 if you have the <stdlib.h> header file. */
172#undef HAVE_STDLIB_H
173
174/* Define to 1 if you have the `stpcpy' function. */
175#undef HAVE_STPCPY
176
177/* Define to 1 if you have the `strcasecmp' function. */
178#undef HAVE_STRCASECMP
179
180/* Define to 1 if you have the `strdup' function. */
181#undef HAVE_STRDUP
182
183/* Define to 1 if you have the <strings.h> header file. */
184#undef HAVE_STRINGS_H
185
186/* Define to 1 if you have the <string.h> header file. */
187#undef HAVE_STRING_H
188
189/* Define to 1 if you have the `strtoul' function. */
190#undef HAVE_STRTOUL
191
192/* Define to 1 if you have the <sys/param.h> header file. */
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches