Merge lp:~ari-tczew/ubuntu/utopic/sendmail/merge into lp:ubuntu/utopic/sendmail

Proposed by Artur Rona
Status: Merged
Merge reported by: Artur Rona
Merged at revision: not available
Proposed branch: lp:~ari-tczew/ubuntu/utopic/sendmail/merge
Merge into: lp:ubuntu/utopic/sendmail
Diff against target: 12668 lines (+5160/-4577)
111 files modified
debian/Makefile.am (+28/-0)
debian/Makefile.in (+323/-277)
debian/aclocal.m4 (+0/-1011)
debian/bug-control.in (+1/-0)
debian/bug-script.in (+48/-0)
debian/build/compile (+347/-0)
debian/build/config.guess (+342/-300)
debian/build/config.sub (+277/-108)
debian/build/debian/control.m4.in (+78/-21)
debian/build/debian/libmilter-dev.dirs.in (+0/-5)
debian/build/debian/libmilter-dev.links.in (+0/-2)
debian/build/debian/libmilter-dev.lintian-overrides (+0/-1)
debian/build/debian/libmilter-dev.preinst.in (+0/-14)
debian/build/debian/libmilter.dirs.in (+0/-3)
debian/build/debian/libmilter.lintian-overrides.in (+0/-1)
debian/build/debian/libmilter.preinst.in (+0/-14)
debian/build/debian/rmail.dirs.in (+0/-4)
debian/build/debian/rmail.lintian-overrides (+0/-1)
debian/build/debian/rmail.preinst.in (+0/-14)
debian/build/debian/sendmail-base.dirs.in (+0/-57)
debian/build/debian/sendmail-base.lintian-overrides (+0/-1)
debian/build/debian/sendmail-base.postinst.in (+0/-116)
debian/build/debian/sendmail-base.postrm.in (+0/-113)
debian/build/debian/sendmail-base.preinst.in (+0/-59)
debian/build/debian/sendmail-base.prerm.in (+0/-138)
debian/build/debian/sendmail-bin.dirs.in (+0/-13)
debian/build/debian/sendmail-bin.lintian-overrides (+0/-15)
debian/build/debian/sendmail-bin.postinst.in (+0/-320)
debian/build/debian/sendmail-bin.postrm.in (+0/-88)
debian/build/debian/sendmail-bin.preinst.in (+0/-52)
debian/build/debian/sendmail-bin.prerm.in (+0/-90)
debian/build/debian/sendmail-bin.suid.in (+0/-2)
debian/build/debian/sendmail-cf.dirs.in (+0/-11)
debian/build/debian/sendmail-cf.postrm.in (+0/-52)
debian/build/debian/sendmail-cf.preinst.in (+0/-14)
debian/build/debian/sendmail-doc.dirs.in (+0/-5)
debian/build/debian/sendmail-doc.preinst.in (+0/-28)
debian/build/debian/sendmail.cron.daily.in (+0/-101)
debian/build/debian/sendmail.dirs.in (+0/-1)
debian/build/debian/sendmail.init.d.in (+0/-39)
debian/build/debian/sensible-mda.dirs.in (+0/-4)
debian/build/debian/sensible-mda.lintian-overrides (+0/-2)
debian/build/debian/sensible-mda.preinst.in (+0/-14)
debian/build/depcomp (+508/-181)
debian/build/install-sh (+480/-247)
debian/build/missing (+173/-294)
debian/build/mkinstalldirs (+72/-21)
debian/build/site.config.m4.in (+1/-0)
debian/cf/Makefile.am (+60/-0)
debian/cf/Makefile.in (+92/-23)
debian/changelog (+45/-1)
debian/compat (+1/-1)
debian/configure (+319/-173)
debian/configure.ac (+35/-55)
debian/control (+79/-22)
debian/examples/Makefile.am (+135/-0)
debian/examples/Makefile.in (+129/-59)
debian/examples/logcheck/ignore.d.paranoid/sendmail (+21/-21)
debian/examples/logcheck/ignore.d.server/sendmail (+27/-27)
debian/examples/logcheck/ignore.d.workstation/sendmail (+21/-21)
debian/examples/logcheck/violations.ignore.d/local.sendmail (+1/-1)
debian/examples/logcheck/violations.ignore.d/logcheck-sendmail (+13/-13)
debian/libmilter-dev.dirs.in (+1/-0)
debian/libmilter-dev.links.in (+1/-0)
debian/libmilter-dev.lintian-overrides (+1/-0)
debian/libmilter-dev.preinst.in (+14/-0)
debian/libmilter.dirs.in (+1/-0)
debian/libmilter.lintian-overrides.in (+1/-0)
debian/libmilter.preinst.in (+14/-0)
debian/local/Makefile.am (+76/-0)
debian/local/Makefile.in (+138/-101)
debian/local/bug/sendmail/control (+0/-1)
debian/local/bug/sendmail/script.in (+0/-48)
debian/local/sendmailconfig.8 (+3/-3)
debian/local/update_sys.in (+2/-2)
debian/patches/8.14/8.14.4/hurd.patch (+72/-0)
debian/patches/8.14/8.14.4/kfreebsd (+5/-2)
debian/patches/8.14/8.14.4/manpage-section.patch (+11/-0)
debian/patches/8.14/8.14.4/series (+2/-0)
debian/rmail.dirs.in (+2/-0)
debian/rmail.lintian-overrides (+1/-0)
debian/rmail.preinst.in (+14/-0)
debian/rules (+10/-57)
debian/sendmail-base.dirs.in (+29/-0)
debian/sendmail-base.lintian-overrides (+1/-0)
debian/sendmail-base.postinst.in (+71/-0)
debian/sendmail-base.postrm.in (+57/-0)
debian/sendmail-base.preinst.in (+33/-0)
debian/sendmail-base.prerm.in (+85/-0)
debian/sendmail-bin.dirs.in (+7/-0)
debian/sendmail-bin.links (+25/-0)
debian/sendmail-bin.lintian-overrides (+15/-0)
debian/sendmail-bin.postinst.in (+294/-0)
debian/sendmail-bin.postrm.in (+35/-0)
debian/sendmail-bin.preinst.in (+22/-0)
debian/sendmail-bin.prerm.in (+36/-0)
debian/sendmail-bin.suid.in (+2/-0)
debian/sendmail-cf.lintian-overrides (+3/-0)
debian/sendmail-cf.postrm.in (+9/-0)
debian/sendmail-cf.preinst.in (+14/-0)
debian/sendmail-doc.dirs.in (+3/-0)
debian/sendmail-doc.preinst.in (+28/-0)
debian/sendmail.cron.daily.in (+101/-0)
debian/sendmail.init.d.in (+41/-0)
debian/sensible-mda.lintian-overrides (+2/-0)
debian/sensible-mda.preinst.in (+14/-0)
debian/sensible_mda/Makefile.am (+19/-0)
debian/sensible_mda/Makefile.in (+186/-87)
debian/source/format (+1/-1)
debian/watch (+2/-2)
sendmail.8.14.4.tar.gz.cdbs-config_list (+0/-2)
To merge this branch: bzr merge lp:~ari-tczew/ubuntu/utopic/sendmail/merge
Reviewer Review Type Date Requested Status
Daniel Holbach (community) Approve
Review via email: mp+219089@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks. Uploaded.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file 'debian/Makefile.am'
--- debian/Makefile.am 1970-01-01 00:00:00 +0000
+++ debian/Makefile.am 2014-05-10 06:44:29 +0000
@@ -0,0 +1,28 @@
1#
2# AutoMake
3#
4ACLOCAL_AMFLAGS = -I build
5#
6# Subdirectories to process
7#
8SUBDIRS = cf examples local sensible_mda
9#
10# Kluge to get my own targets include as recursive
11#
12RECURSIVE_TARGETS = build-arch-recursive build-indep-recursive \
13 install-arch-recursive install-indep-recursive
14#
15# Debian targets, phase out
16#
17.PHONY: build-indep build-indep-am
18.PHONY: build-arch build-arch-am
19.PHONY: install-indep install-indep-am
20.PHONY: install-arch install-arch-am
21build-indep: build-indep-recursive
22build-indep-am:
23build-arch: build-arch-recursive
24build-arch-am:
25install-indep: install-indep-recursive
26install-indep-am:
27install-arch: install-arch-recursive
28install-arch-am:
029
=== modified file 'debian/Makefile.in'
--- debian/Makefile.in 2010-11-03 22:05:00 +0000
+++ debian/Makefile.in 2014-05-10 06:44:29 +0000
@@ -1,9 +1,8 @@
1# Makefile.in generated by automake 1.11.1 from Makefile.am.1# Makefile.in generated by automake 1.14.1 from Makefile.am.
2# @configure_input@2# @configure_input@
33
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,4# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,5
6# Inc.
7# This Makefile.in is free software; the Free Software Foundation6# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,7# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.8# with or without modifications, as long as this notice is preserved.
@@ -15,6 +14,51 @@
1514
16@SET_MAKE@15@SET_MAKE@
17VPATH = @srcdir@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))
18pkgdatadir = $(datadir)/@PACKAGE@62pkgdatadir = $(datadir)/@PACKAGE@
19pkgincludedir = $(includedir)/@PACKAGE@63pkgincludedir = $(includedir)/@PACKAGE@
20pkglibdir = $(libdir)/@PACKAGE@64pkglibdir = $(libdir)/@PACKAGE@
@@ -35,60 +79,48 @@
35host_triplet = @host@79host_triplet = @host@
36target_triplet = @target@80target_triplet = @target@
37subdir = .81subdir = .
38DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \82DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
39 $(srcdir)/Makefile.in \83 $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
40 $(top_srcdir)/./build/debian/libmilter-dev.dirs.in \84 $(top_srcdir)/configure $(am__configure_deps) \
41 $(top_srcdir)/./build/debian/libmilter-dev.links.in \85 $(top_srcdir)/./build/mkinstalldirs \
42 $(top_srcdir)/./build/debian/libmilter-dev.postrm.in \
43 $(top_srcdir)/./build/debian/libmilter-dev.preinst.in \
44 $(top_srcdir)/./build/debian/libmilter.dirs.in \
45 $(top_srcdir)/./build/debian/libmilter.links.in \
46 $(top_srcdir)/./build/debian/libmilter.lintian-overrides.in \
47 $(top_srcdir)/./build/debian/libmilter.postrm.in \
48 $(top_srcdir)/./build/debian/libmilter.preinst.in \
49 $(top_srcdir)/./build/debian/rmail.dirs.in \
50 $(top_srcdir)/./build/debian/rmail.postrm.in \
51 $(top_srcdir)/./build/debian/rmail.preinst.in \
52 $(top_srcdir)/./build/debian/sendmail-base.dirs.in \
53 $(top_srcdir)/./build/debian/sendmail-base.postinst.in \
54 $(top_srcdir)/./build/debian/sendmail-base.postrm.in \
55 $(top_srcdir)/./build/debian/sendmail-base.preinst.in \
56 $(top_srcdir)/./build/debian/sendmail-base.prerm.in \
57 $(top_srcdir)/./build/debian/sendmail-bin.dirs.in \
58 $(top_srcdir)/./build/debian/sendmail-bin.postinst.in \
59 $(top_srcdir)/./build/debian/sendmail-bin.postrm.in \
60 $(top_srcdir)/./build/debian/sendmail-bin.preinst.in \
61 $(top_srcdir)/./build/debian/sendmail-bin.prerm.in \
62 $(top_srcdir)/./build/debian/sendmail-bin.suid.in \
63 $(top_srcdir)/./build/debian/sendmail-cf.dirs.in \
64 $(top_srcdir)/./build/debian/sendmail-cf.postrm.in \
65 $(top_srcdir)/./build/debian/sendmail-cf.preinst.in \
66 $(top_srcdir)/./build/debian/sendmail-doc.dirs.in \
67 $(top_srcdir)/./build/debian/sendmail-doc.postrm.in \
68 $(top_srcdir)/./build/debian/sendmail-doc.preinst.in \
69 $(top_srcdir)/./build/debian/sendmail.cron.daily.in \
70 $(top_srcdir)/./build/debian/sendmail.dirs.in \
71 $(top_srcdir)/./build/debian/sendmail.init.d.in \
72 $(top_srcdir)/./build/debian/sensible-mda.dirs.in \
73 $(top_srcdir)/./build/debian/sensible-mda.postrm.in \
74 $(top_srcdir)/./build/debian/sensible-mda.preinst.in \
75 $(top_srcdir)/./local/sendmail.in \
76 $(top_srcdir)/build/autoconf.mk.in \86 $(top_srcdir)/build/autoconf.mk.in \
77 $(top_srcdir)/build/autoconf.pl.in \87 $(top_srcdir)/build/autoconf.pl.in \
78 $(top_srcdir)/build/autoconf.sh.in \88 $(top_srcdir)/build/autoconf.sh.in \
89 $(top_srcdir)/build/debian/changelog.sh.in \
79 $(top_srcdir)/build/debian/changelog.in \90 $(top_srcdir)/build/debian/changelog.in \
80 $(top_srcdir)/build/debian/changelog.sh.in \91 $(top_srcdir)/build/update_chaos.in \
92 $(top_srcdir)/build/site.config.m4.in \
81 $(top_srcdir)/build/debian/control.m4.in \93 $(top_srcdir)/build/debian/control.m4.in \
82 $(top_srcdir)/build/site.config.m4.in \94 $(srcdir)/libmilter.dirs.in \
83 $(top_srcdir)/build/update_chaos.in \95 $(srcdir)/libmilter.lintian-overrides.in \
84 $(top_srcdir)/cf/debian/autoconf.m4.in \96 $(srcdir)/libmilter.preinst.in $(srcdir)/libmilter-dev.dirs.in \
97 $(srcdir)/libmilter-dev.links.in \
98 $(srcdir)/libmilter-dev.preinst.in $(srcdir)/rmail.dirs.in \
99 $(srcdir)/rmail.preinst.in $(srcdir)/sendmail-base.dirs.in \
100 $(srcdir)/sendmail-base.postinst.in \
101 $(srcdir)/sendmail-base.postrm.in \
102 $(srcdir)/sendmail-base.preinst.in \
103 $(srcdir)/sendmail-base.prerm.in \
104 $(srcdir)/sendmail-doc.dirs.in \
105 $(srcdir)/sendmail-doc.preinst.in \
106 $(srcdir)/sendmail-cf.postrm.in \
107 $(srcdir)/sendmail-cf.preinst.in \
108 $(srcdir)/sendmail.cron.daily.in \
109 $(srcdir)/sendmail-bin.dirs.in $(srcdir)/sendmail.init.d.in \
110 $(top_srcdir)/local/sendmail.in \
111 $(srcdir)/sendmail-bin.postinst.in \
112 $(srcdir)/sendmail-bin.postrm.in \
113 $(srcdir)/sendmail-bin.preinst.in \
114 $(srcdir)/sendmail-bin.prerm.in $(srcdir)/sendmail-bin.suid.in \
115 $(srcdir)/sensible-mda.preinst.in $(srcdir)/bug-control.in \
116 $(srcdir)/bug-script.in $(top_srcdir)/cf/debian/autoconf.m4.in \
85 $(top_srcdir)/cf/debian/sendmail.mc.in \117 $(top_srcdir)/cf/debian/sendmail.mc.in \
86 $(top_srcdir)/cf/debian/submit.mc.in \118 $(top_srcdir)/cf/debian/submit.mc.in \
87 $(top_srcdir)/cf/domain/debian-msp.m4.in \119 $(top_srcdir)/cf/domain/debian-msp.m4.in \
88 $(top_srcdir)/cf/domain/debian-mta.m4.in \120 $(top_srcdir)/cf/domain/debian-mta.m4.in \
89 $(top_srcdir)/cf/hack/debian_auth.m4.in \121 $(top_srcdir)/cf/hack/debian_auth.m4.in \
90 $(top_srcdir)/cf/hack/virthost_by_ip.m4.in \122 $(top_srcdir)/cf/hack/virthost_by_ip.m4.in \
91 $(top_srcdir)/cf/ostype/debian.m4.in $(top_srcdir)/configure \123 $(top_srcdir)/cf/ostype/debian.m4.in \
92 $(top_srcdir)/examples/dhcp/dhclient-exit-hooks.d/sendmail.in \124 $(top_srcdir)/examples/dhcp/dhclient-exit-hooks.d/sendmail.in \
93 $(top_srcdir)/examples/network/if-down.d/sendmail.in \125 $(top_srcdir)/examples/network/if-down.d/sendmail.in \
94 $(top_srcdir)/examples/network/if-up.d/sendmail.in \126 $(top_srcdir)/examples/network/if-up.d/sendmail.in \
@@ -96,11 +128,13 @@
96 $(top_srcdir)/examples/ppp/ip-up.d/sendmail.in \128 $(top_srcdir)/examples/ppp/ip-up.d/sendmail.in \
97 $(top_srcdir)/examples/resolvconf/update-libc.d/sendmail.in \129 $(top_srcdir)/examples/resolvconf/update-libc.d/sendmail.in \
98 $(top_srcdir)/examples/sasl/sasl.m4.in \130 $(top_srcdir)/examples/sasl/sasl.m4.in \
99 $(top_srcdir)/examples/tls/starttls.m4.in \131 $(top_srcdir)/examples/tls/starttls.m4.in COPYING TODO \
100 $(top_srcdir)/local/bug/sendmail/script.in \132 ./build/compile ./build/config.guess ./build/config.sub \
101 ./build/config.guess ./build/config.sub ./build/depcomp \133 ./build/depcomp ./build/install-sh ./build/missing \
102 ./build/install-sh ./build/missing ./build/mkinstalldirs \134 ./build/mkinstalldirs $(top_srcdir)/./build/compile \
103 AUTHORS COPYING ChangeLog INSTALL NEWS TODO135 $(top_srcdir)/./build/config.guess \
136 $(top_srcdir)/./build/config.sub \
137 $(top_srcdir)/./build/install-sh $(top_srcdir)/./build/missing
104ACLOCAL_M4 = $(top_srcdir)/aclocal.m4138ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
105am__aclocal_m4_deps = $(top_srcdir)/configure.ac139am__aclocal_m4_deps = $(top_srcdir)/configure.ac
106am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \140am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
@@ -112,49 +146,85 @@
112 build/autoconf.sh build/debian/changelog.sh \146 build/autoconf.sh build/debian/changelog.sh \
113 build/debian/changelog build/update_chaos build/site.config.m4 \147 build/debian/changelog build/update_chaos build/site.config.m4 \
114 build/debian/control.m4 libmilter${sm_libmilter_version}.dirs \148 build/debian/control.m4 libmilter${sm_libmilter_version}.dirs \
115 libmilter${sm_libmilter_version}.links \
116 libmilter${sm_libmilter_version}.lintian-overrides \149 libmilter${sm_libmilter_version}.lintian-overrides \
117 libmilter${sm_libmilter_version}.postrm \
118 libmilter${sm_libmilter_version}.preinst libmilter-dev.dirs \150 libmilter${sm_libmilter_version}.preinst libmilter-dev.dirs \
119 libmilter-dev.links libmilter-dev.postrm libmilter-dev.preinst \151 libmilter-dev.links libmilter-dev.preinst rmail.dirs \
120 rmail.dirs rmail.postrm rmail.preinst sendmail.dirs \152 rmail.preinst sendmail-base.dirs sendmail-base.postinst \
121 sendmail-base.dirs sendmail-base.postinst sendmail-base.postrm \153 sendmail-base.postrm sendmail-base.preinst sendmail-base.prerm \
122 sendmail-base.preinst sendmail-base.prerm sendmail-doc.dirs \154 sendmail-doc.dirs sendmail-doc.preinst sendmail-cf.postrm \
123 sendmail-doc.postrm sendmail-doc.preinst sendmail-cf.dirs \155 sendmail-cf.preinst sendmail.cron.daily sendmail-bin.dirs \
124 sendmail-cf.postrm sendmail-cf.preinst sendmail.cron.daily \156 sendmail.init.d sendmail-bin.postinst sendmail-bin.postrm \
125 sendmail-bin.dirs sendmail.init.d sendmail-bin.postinst \157 sendmail-bin.preinst sendmail-bin.prerm sendmail-bin.suid \
126 sendmail-bin.postrm sendmail-bin.preinst sendmail-bin.prerm \158 sensible-mda.preinst bug-control bug-script \
127 sendmail-bin.suid sensible-mda.dirs sensible-mda.postrm \159 cf/debian/autoconf.m4 cf/debian/sendmail.mc \
128 sensible-mda.preinst cf/debian/autoconf.m4 \160 cf/debian/submit.mc cf/domain/debian-msp.m4 \
129 cf/debian/sendmail.mc cf/debian/submit.mc \161 cf/domain/debian-mta.m4 cf/hack/debian_auth.m4 \
130 cf/domain/debian-msp.m4 cf/domain/debian-mta.m4 \162 cf/hack/virthost_by_ip.m4 cf/ostype/debian.m4 \
131 cf/hack/debian_auth.m4 cf/hack/virthost_by_ip.m4 \
132 cf/ostype/debian.m4 \
133 examples/dhcp/dhclient-exit-hooks.d/sendmail \163 examples/dhcp/dhclient-exit-hooks.d/sendmail \
134 examples/network/if-down.d/sendmail \164 examples/network/if-down.d/sendmail \
135 examples/network/if-up.d/sendmail \165 examples/network/if-up.d/sendmail \
136 examples/ppp/ip-down.d/sendmail examples/ppp/ip-up.d/sendmail \166 examples/ppp/ip-down.d/sendmail examples/ppp/ip-up.d/sendmail \
137 examples/resolvconf/update-libc.d/sendmail \167 examples/resolvconf/update-libc.d/sendmail \
138 examples/sasl/sasl.m4 examples/tls/starttls.m4 \168 examples/sasl/sasl.m4 examples/tls/starttls.m4
139 local/bug/sendmail/script
140CONFIG_CLEAN_VPATH_FILES =169CONFIG_CLEAN_VPATH_FILES =
170AM_V_P = $(am__v_P_@AM_V@)
171am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
172am__v_P_0 = false
173am__v_P_1 = :
174AM_V_GEN = $(am__v_GEN_@AM_V@)
175am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
176am__v_GEN_0 = @echo " GEN " $@;
177am__v_GEN_1 =
178AM_V_at = $(am__v_at_@AM_V@)
179am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
180am__v_at_0 = @
181am__v_at_1 =
141SOURCES =182SOURCES =
142DIST_SOURCES =183DIST_SOURCES =
184am__can_run_installinfo = \
185 case $$AM_UPDATE_INFO_DIR in \
186 n|no|NO) false;; \
187 *) (install-info --version) >/dev/null 2>&1;; \
188 esac
143RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \189RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
144 distclean-recursive maintainer-clean-recursive190 distclean-recursive maintainer-clean-recursive
145AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \191am__recursive_targets = \
146 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \192 $(RECURSIVE_TARGETS) \
147 distdir dist dist-all distcheck193 $(RECURSIVE_CLEAN_TARGETS) \
194 $(am__extra_recursive_targets)
195AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
196 cscope distdir dist dist-all distcheck
197am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
198# Read a list of newline-separated strings from the standard input,
199# and print each of them once, without duplicates. Input order is
200# *not* preserved.
201am__uniquify_input = $(AWK) '\
202 BEGIN { nonempty = 0; } \
203 { items[$$0] = 1; nonempty = 1; } \
204 END { if (nonempty) { for (i in items) print i; }; } \
205'
206# Make sure the list of sources is unique. This is necessary because,
207# e.g., the same source file might be shared among _SOURCES variables
208# for different programs/libraries.
209am__define_uniq_tagged_files = \
210 list='$(am__tagged_files)'; \
211 unique=`for i in $$list; do \
212 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
213 done | $(am__uniquify_input)`
148ETAGS = etags214ETAGS = etags
149CTAGS = ctags215CTAGS = ctags
216CSCOPE = cscope
150DIST_SUBDIRS = $(SUBDIRS)217DIST_SUBDIRS = $(SUBDIRS)
151DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)218DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
152distdir = $(PACKAGE)-$(VERSION)219distdir = $(PACKAGE)-$(VERSION)
153top_distdir = $(distdir)220top_distdir = $(distdir)
154am__remove_distdir = \221am__remove_distdir = \
155 { test ! -d "$(distdir)" \222 if test -d "$(distdir)"; then \
156 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \223 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
157 && rm -fr "$(distdir)"; }; }224 && rm -rf "$(distdir)" \
225 || { sleep 5 && rm -rf "$(distdir)"; }; \
226 else :; fi
227am__post_remove_distdir = $(am__remove_distdir)
158am__relativize = \228am__relativize = \
159 dir0=`pwd`; \229 dir0=`pwd`; \
160 sed_first='s,^\([^/]*\)/.*$$,\1,'; \230 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
@@ -182,10 +252,14 @@
182 reldir="$$dir2"252 reldir="$$dir2"
183DIST_ARCHIVES = $(distdir).tar.gz253DIST_ARCHIVES = $(distdir).tar.gz
184GZIP_ENV = --best254GZIP_ENV = --best
255DIST_TARGETS = dist-gzip
185distuninstallcheck_listfiles = find . -type f -print256distuninstallcheck_listfiles = find . -type f -print
257am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
258 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
186distcleancheck_listfiles = find . -type f -print259distcleancheck_listfiles = find . -type f -print
187ACLOCAL = @ACLOCAL@260ACLOCAL = @ACLOCAL@
188AMTAR = @AMTAR@261AMTAR = @AMTAR@
262AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
189AUTOCONF = @AUTOCONF@263AUTOCONF = @AUTOCONF@
190AUTOHEADER = @AUTOHEADER@264AUTOHEADER = @AUTOHEADER@
191AUTOMAKE = @AUTOMAKE@265AUTOMAKE = @AUTOMAKE@
@@ -395,7 +469,7 @@
395all: all-recursive469all: all-recursive
396470
397.SUFFIXES:471.SUFFIXES:
398am--refresh:472am--refresh: Makefile
399 @:473 @:
400$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)474$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
401 @for dep in $?; do \475 @for dep in $?; do \
@@ -445,75 +519,61 @@
445 cd $(top_builddir) && $(SHELL) ./config.status $@519 cd $(top_builddir) && $(SHELL) ./config.status $@
446build/debian/control.m4: $(top_builddir)/config.status $(top_srcdir)/build/debian/control.m4.in520build/debian/control.m4: $(top_builddir)/config.status $(top_srcdir)/build/debian/control.m4.in
447 cd $(top_builddir) && $(SHELL) ./config.status $@521 cd $(top_builddir) && $(SHELL) ./config.status $@
448libmilter${sm_libmilter_version}.dirs: $(top_builddir)/config.status $(top_srcdir)/./build/debian/libmilter.dirs.in522libmilter${sm_libmilter_version}.dirs: $(top_builddir)/config.status $(srcdir)/libmilter.dirs.in
449 cd $(top_builddir) && $(SHELL) ./config.status $@523 cd $(top_builddir) && $(SHELL) ./config.status $@
450libmilter${sm_libmilter_version}.links: $(top_builddir)/config.status $(top_srcdir)/./build/debian/libmilter.links.in524libmilter${sm_libmilter_version}.lintian-overrides: $(top_builddir)/config.status $(srcdir)/libmilter.lintian-overrides.in
451 cd $(top_builddir) && $(SHELL) ./config.status $@525 cd $(top_builddir) && $(SHELL) ./config.status $@
452libmilter${sm_libmilter_version}.lintian-overrides: $(top_builddir)/config.status $(top_srcdir)/./build/debian/libmilter.lintian-overrides.in526libmilter${sm_libmilter_version}.preinst: $(top_builddir)/config.status $(srcdir)/libmilter.preinst.in
453 cd $(top_builddir) && $(SHELL) ./config.status $@527 cd $(top_builddir) && $(SHELL) ./config.status $@
454libmilter${sm_libmilter_version}.postrm: $(top_builddir)/config.status $(top_srcdir)/./build/debian/libmilter.postrm.in528libmilter-dev.dirs: $(top_builddir)/config.status $(srcdir)/libmilter-dev.dirs.in
455 cd $(top_builddir) && $(SHELL) ./config.status $@529 cd $(top_builddir) && $(SHELL) ./config.status $@
456libmilter${sm_libmilter_version}.preinst: $(top_builddir)/config.status $(top_srcdir)/./build/debian/libmilter.preinst.in530libmilter-dev.links: $(top_builddir)/config.status $(srcdir)/libmilter-dev.links.in
457 cd $(top_builddir) && $(SHELL) ./config.status $@531 cd $(top_builddir) && $(SHELL) ./config.status $@
458libmilter-dev.dirs: $(top_builddir)/config.status $(top_srcdir)/./build/debian/libmilter-dev.dirs.in532libmilter-dev.preinst: $(top_builddir)/config.status $(srcdir)/libmilter-dev.preinst.in
459 cd $(top_builddir) && $(SHELL) ./config.status $@533 cd $(top_builddir) && $(SHELL) ./config.status $@
460libmilter-dev.links: $(top_builddir)/config.status $(top_srcdir)/./build/debian/libmilter-dev.links.in534rmail.dirs: $(top_builddir)/config.status $(srcdir)/rmail.dirs.in
461 cd $(top_builddir) && $(SHELL) ./config.status $@535 cd $(top_builddir) && $(SHELL) ./config.status $@
462libmilter-dev.postrm: $(top_builddir)/config.status $(top_srcdir)/./build/debian/libmilter-dev.postrm.in536rmail.preinst: $(top_builddir)/config.status $(srcdir)/rmail.preinst.in
463 cd $(top_builddir) && $(SHELL) ./config.status $@537 cd $(top_builddir) && $(SHELL) ./config.status $@
464libmilter-dev.preinst: $(top_builddir)/config.status $(top_srcdir)/./build/debian/libmilter-dev.preinst.in538sendmail-base.dirs: $(top_builddir)/config.status $(srcdir)/sendmail-base.dirs.in
465 cd $(top_builddir) && $(SHELL) ./config.status $@539 cd $(top_builddir) && $(SHELL) ./config.status $@
466rmail.dirs: $(top_builddir)/config.status $(top_srcdir)/./build/debian/rmail.dirs.in540sendmail-base.postinst: $(top_builddir)/config.status $(srcdir)/sendmail-base.postinst.in
467 cd $(top_builddir) && $(SHELL) ./config.status $@541 cd $(top_builddir) && $(SHELL) ./config.status $@
468rmail.postrm: $(top_builddir)/config.status $(top_srcdir)/./build/debian/rmail.postrm.in542sendmail-base.postrm: $(top_builddir)/config.status $(srcdir)/sendmail-base.postrm.in
469 cd $(top_builddir) && $(SHELL) ./config.status $@543 cd $(top_builddir) && $(SHELL) ./config.status $@
470rmail.preinst: $(top_builddir)/config.status $(top_srcdir)/./build/debian/rmail.preinst.in544sendmail-base.preinst: $(top_builddir)/config.status $(srcdir)/sendmail-base.preinst.in
471 cd $(top_builddir) && $(SHELL) ./config.status $@545 cd $(top_builddir) && $(SHELL) ./config.status $@
472sendmail.dirs: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail.dirs.in546sendmail-base.prerm: $(top_builddir)/config.status $(srcdir)/sendmail-base.prerm.in
473 cd $(top_builddir) && $(SHELL) ./config.status $@547 cd $(top_builddir) && $(SHELL) ./config.status $@
474sendmail-base.dirs: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-base.dirs.in548sendmail-doc.dirs: $(top_builddir)/config.status $(srcdir)/sendmail-doc.dirs.in
475 cd $(top_builddir) && $(SHELL) ./config.status $@549 cd $(top_builddir) && $(SHELL) ./config.status $@
476sendmail-base.postinst: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-base.postinst.in550sendmail-doc.preinst: $(top_builddir)/config.status $(srcdir)/sendmail-doc.preinst.in
477 cd $(top_builddir) && $(SHELL) ./config.status $@551 cd $(top_builddir) && $(SHELL) ./config.status $@
478sendmail-base.postrm: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-base.postrm.in552sendmail-cf.postrm: $(top_builddir)/config.status $(srcdir)/sendmail-cf.postrm.in
479 cd $(top_builddir) && $(SHELL) ./config.status $@553 cd $(top_builddir) && $(SHELL) ./config.status $@
480sendmail-base.preinst: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-base.preinst.in554sendmail-cf.preinst: $(top_builddir)/config.status $(srcdir)/sendmail-cf.preinst.in
481 cd $(top_builddir) && $(SHELL) ./config.status $@555 cd $(top_builddir) && $(SHELL) ./config.status $@
482sendmail-base.prerm: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-base.prerm.in556sendmail.cron.daily: $(top_builddir)/config.status $(srcdir)/sendmail.cron.daily.in
483 cd $(top_builddir) && $(SHELL) ./config.status $@557 cd $(top_builddir) && $(SHELL) ./config.status $@
484sendmail-doc.dirs: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-doc.dirs.in558sendmail-bin.dirs: $(top_builddir)/config.status $(srcdir)/sendmail-bin.dirs.in
485 cd $(top_builddir) && $(SHELL) ./config.status $@559 cd $(top_builddir) && $(SHELL) ./config.status $@
486sendmail-doc.postrm: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-doc.postrm.in560sendmail.init.d: $(top_builddir)/config.status $(srcdir)/sendmail.init.d.in $(top_srcdir)/local/sendmail.in
487 cd $(top_builddir) && $(SHELL) ./config.status $@561 cd $(top_builddir) && $(SHELL) ./config.status $@
488sendmail-doc.preinst: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-doc.preinst.in562sendmail-bin.postinst: $(top_builddir)/config.status $(srcdir)/sendmail-bin.postinst.in
489 cd $(top_builddir) && $(SHELL) ./config.status $@563 cd $(top_builddir) && $(SHELL) ./config.status $@
490sendmail-cf.dirs: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-cf.dirs.in564sendmail-bin.postrm: $(top_builddir)/config.status $(srcdir)/sendmail-bin.postrm.in
491 cd $(top_builddir) && $(SHELL) ./config.status $@565 cd $(top_builddir) && $(SHELL) ./config.status $@
492sendmail-cf.postrm: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-cf.postrm.in566sendmail-bin.preinst: $(top_builddir)/config.status $(srcdir)/sendmail-bin.preinst.in
493 cd $(top_builddir) && $(SHELL) ./config.status $@567 cd $(top_builddir) && $(SHELL) ./config.status $@
494sendmail-cf.preinst: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-cf.preinst.in568sendmail-bin.prerm: $(top_builddir)/config.status $(srcdir)/sendmail-bin.prerm.in
495 cd $(top_builddir) && $(SHELL) ./config.status $@569 cd $(top_builddir) && $(SHELL) ./config.status $@
496sendmail.cron.daily: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail.cron.daily.in570sendmail-bin.suid: $(top_builddir)/config.status $(srcdir)/sendmail-bin.suid.in
497 cd $(top_builddir) && $(SHELL) ./config.status $@571 cd $(top_builddir) && $(SHELL) ./config.status $@
498sendmail-bin.dirs: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-bin.dirs.in572sensible-mda.preinst: $(top_builddir)/config.status $(srcdir)/sensible-mda.preinst.in
499 cd $(top_builddir) && $(SHELL) ./config.status $@573 cd $(top_builddir) && $(SHELL) ./config.status $@
500sendmail.init.d: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail.init.d.in $(top_srcdir)/./local/sendmail.in574bug-control: $(top_builddir)/config.status $(srcdir)/bug-control.in
501 cd $(top_builddir) && $(SHELL) ./config.status $@575 cd $(top_builddir) && $(SHELL) ./config.status $@
502sendmail-bin.postinst: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-bin.postinst.in576bug-script: $(top_builddir)/config.status $(srcdir)/bug-script.in
503 cd $(top_builddir) && $(SHELL) ./config.status $@
504sendmail-bin.postrm: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-bin.postrm.in
505 cd $(top_builddir) && $(SHELL) ./config.status $@
506sendmail-bin.preinst: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-bin.preinst.in
507 cd $(top_builddir) && $(SHELL) ./config.status $@
508sendmail-bin.prerm: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-bin.prerm.in
509 cd $(top_builddir) && $(SHELL) ./config.status $@
510sendmail-bin.suid: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-bin.suid.in
511 cd $(top_builddir) && $(SHELL) ./config.status $@
512sensible-mda.dirs: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sensible-mda.dirs.in
513 cd $(top_builddir) && $(SHELL) ./config.status $@
514sensible-mda.postrm: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sensible-mda.postrm.in
515 cd $(top_builddir) && $(SHELL) ./config.status $@
516sensible-mda.preinst: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sensible-mda.preinst.in
517 cd $(top_builddir) && $(SHELL) ./config.status $@577 cd $(top_builddir) && $(SHELL) ./config.status $@
518cf/debian/autoconf.m4: $(top_builddir)/config.status $(top_srcdir)/cf/debian/autoconf.m4.in578cf/debian/autoconf.m4: $(top_builddir)/config.status $(top_srcdir)/cf/debian/autoconf.m4.in
519 cd $(top_builddir) && $(SHELL) ./config.status $@579 cd $(top_builddir) && $(SHELL) ./config.status $@
@@ -547,26 +607,27 @@
547 cd $(top_builddir) && $(SHELL) ./config.status $@607 cd $(top_builddir) && $(SHELL) ./config.status $@
548examples/tls/starttls.m4: $(top_builddir)/config.status $(top_srcdir)/examples/tls/starttls.m4.in608examples/tls/starttls.m4: $(top_builddir)/config.status $(top_srcdir)/examples/tls/starttls.m4.in
549 cd $(top_builddir) && $(SHELL) ./config.status $@609 cd $(top_builddir) && $(SHELL) ./config.status $@
550local/bug/sendmail/script: $(top_builddir)/config.status $(top_srcdir)/local/bug/sendmail/script.in
551 cd $(top_builddir) && $(SHELL) ./config.status $@
552610
553# This directory's subdirectories are mostly independent; you can cd611# This directory's subdirectories are mostly independent; you can cd
554# into them and run `make' without going through this Makefile.612# into them and run 'make' without going through this Makefile.
555# To change the values of `make' variables: instead of editing Makefiles,613# To change the values of 'make' variables: instead of editing Makefiles,
556# (1) if the variable is set in `config.status', edit `config.status'614# (1) if the variable is set in 'config.status', edit 'config.status'
557# (which will cause the Makefiles to be regenerated when you run `make');615# (which will cause the Makefiles to be regenerated when you run 'make');
558# (2) otherwise, pass the desired values on the `make' command line.616# (2) otherwise, pass the desired values on the 'make' command line.
559$(RECURSIVE_TARGETS):617$(am__recursive_targets):
560 @fail= failcom='exit 1'; \618 @fail=; \
561 for f in x $$MAKEFLAGS; do \619 if $(am__make_keepgoing); then \
562 case $$f in \620 failcom='fail=yes'; \
563 *=* | --[!k]*);; \621 else \
564 *k*) failcom='fail=yes';; \622 failcom='exit 1'; \
565 esac; \623 fi; \
566 done; \
567 dot_seen=no; \624 dot_seen=no; \
568 target=`echo $@ | sed s/-recursive//`; \625 target=`echo $@ | sed s/-recursive//`; \
569 list='$(SUBDIRS)'; for subdir in $$list; do \626 case "$@" in \
627 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
628 *) list='$(SUBDIRS)' ;; \
629 esac; \
630 for subdir in $$list; do \
570 echo "Making $$target in $$subdir"; \631 echo "Making $$target in $$subdir"; \
571 if test "$$subdir" = "."; then \632 if test "$$subdir" = "."; then \
572 dot_seen=yes; \633 dot_seen=yes; \
@@ -581,57 +642,12 @@
581 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \642 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
582 fi; test -z "$$fail"643 fi; test -z "$$fail"
583644
584$(RECURSIVE_CLEAN_TARGETS):645ID: $(am__tagged_files)
585 @fail= failcom='exit 1'; \646 $(am__define_uniq_tagged_files); mkid -fID $$unique
586 for f in x $$MAKEFLAGS; do \647tags: tags-recursive
587 case $$f in \648TAGS: tags
588 *=* | --[!k]*);; \649
589 *k*) failcom='fail=yes';; \650tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
590 esac; \
591 done; \
592 dot_seen=no; \
593 case "$@" in \
594 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
595 *) list='$(SUBDIRS)' ;; \
596 esac; \
597 rev=''; for subdir in $$list; do \
598 if test "$$subdir" = "."; then :; else \
599 rev="$$subdir $$rev"; \
600 fi; \
601 done; \
602 rev="$$rev ."; \
603 target=`echo $@ | sed s/-recursive//`; \
604 for subdir in $$rev; do \
605 echo "Making $$target in $$subdir"; \
606 if test "$$subdir" = "."; then \
607 local_target="$$target-am"; \
608 else \
609 local_target="$$target"; \
610 fi; \
611 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
612 || eval $$failcom; \
613 done && test -z "$$fail"
614tags-recursive:
615 list='$(SUBDIRS)'; for subdir in $$list; do \
616 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
617 done
618ctags-recursive:
619 list='$(SUBDIRS)'; for subdir in $$list; do \
620 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
621 done
622
623ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
624 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
625 unique=`for i in $$list; do \
626 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
627 done | \
628 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
629 END { if (nonempty) { for (i in files) print i; }; }'`; \
630 mkid -fID $$unique
631tags: TAGS
632
633TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
634 $(TAGS_FILES) $(LISP)
635 set x; \651 set x; \
636 here=`pwd`; \652 here=`pwd`; \
637 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \653 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -647,12 +663,7 @@
647 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \663 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
648 fi; \664 fi; \
649 done; \665 done; \
650 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \666 $(am__define_uniq_tagged_files); \
651 unique=`for i in $$list; do \
652 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
653 done | \
654 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
655 END { if (nonempty) { for (i in files) print i; }; }'`; \
656 shift; \667 shift; \
657 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \668 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
658 test -n "$$unique" || unique=$$empty_fix; \669 test -n "$$unique" || unique=$$empty_fix; \
@@ -664,15 +675,11 @@
664 $$unique; \675 $$unique; \
665 fi; \676 fi; \
666 fi677 fi
667ctags: CTAGS678ctags: ctags-recursive
668CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \679
669 $(TAGS_FILES) $(LISP)680CTAGS: ctags
670 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \681ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
671 unique=`for i in $$list; do \682 $(am__define_uniq_tagged_files); \
672 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
673 done | \
674 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
675 END { if (nonempty) { for (i in files) print i; }; }'`; \
676 test -z "$(CTAGS_ARGS)$$unique" \683 test -z "$(CTAGS_ARGS)$$unique" \
677 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \684 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
678 $$unique685 $$unique
@@ -681,9 +688,31 @@
681 here=`$(am__cd) $(top_builddir) && pwd` \688 here=`$(am__cd) $(top_builddir) && pwd` \
682 && $(am__cd) $(top_srcdir) \689 && $(am__cd) $(top_srcdir) \
683 && gtags -i $(GTAGS_ARGS) "$$here"690 && gtags -i $(GTAGS_ARGS) "$$here"
691cscope: cscope.files
692 test ! -s cscope.files \
693 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
694clean-cscope:
695 -rm -f cscope.files
696cscope.files: clean-cscope cscopelist
697cscopelist: cscopelist-recursive
698
699cscopelist-am: $(am__tagged_files)
700 list='$(am__tagged_files)'; \
701 case "$(srcdir)" in \
702 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
703 *) sdir=$(subdir)/$(srcdir) ;; \
704 esac; \
705 for i in $$list; do \
706 if test -f "$$i"; then \
707 echo "$(subdir)/$$i"; \
708 else \
709 echo "$$sdir/$$i"; \
710 fi; \
711 done >> $(top_builddir)/cscope.files
684712
685distclean-tags:713distclean-tags:
686 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags714 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
715 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
687716
688distdir: $(DISTFILES)717distdir: $(DISTFILES)
689 $(am__remove_distdir)718 $(am__remove_distdir)
@@ -719,13 +748,10 @@
719 done748 done
720 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \749 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
721 if test "$$subdir" = .; then :; else \750 if test "$$subdir" = .; then :; else \
722 test -d "$(distdir)/$$subdir" \751 $(am__make_dryrun) \
723 || $(MKDIR_P) "$(distdir)/$$subdir" \752 || test -d "$(distdir)/$$subdir" \
724 || exit 1; \753 || $(MKDIR_P) "$(distdir)/$$subdir" \
725 fi; \754 || exit 1; \
726 done
727 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
728 if test "$$subdir" = .; then :; else \
729 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \755 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
730 $(am__relativize); \756 $(am__relativize); \
731 new_distdir=$$reldir; \757 new_distdir=$$reldir; \
@@ -754,36 +780,42 @@
754 || chmod -R a+r "$(distdir)"780 || chmod -R a+r "$(distdir)"
755dist-gzip: distdir781dist-gzip: distdir
756 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz782 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
757 $(am__remove_distdir)783 $(am__post_remove_distdir)
758784
759dist-bzip2: distdir785dist-bzip2: distdir
760 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2786 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
761 $(am__remove_distdir)787 $(am__post_remove_distdir)
762788
763dist-lzma: distdir789dist-lzip: distdir
764 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma790 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
765 $(am__remove_distdir)791 $(am__post_remove_distdir)
766792
767dist-xz: distdir793dist-xz: distdir
768 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz794 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
769 $(am__remove_distdir)795 $(am__post_remove_distdir)
770796
771dist-tarZ: distdir797dist-tarZ: distdir
798 @echo WARNING: "Support for shar distribution archives is" \
799 "deprecated." >&2
800 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
772 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z801 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
773 $(am__remove_distdir)802 $(am__post_remove_distdir)
774803
775dist-shar: distdir804dist-shar: distdir
805 @echo WARNING: "Support for distribution archives compressed with" \
806 "legacy program 'compress' is deprecated." >&2
807 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
776 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz808 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
777 $(am__remove_distdir)809 $(am__post_remove_distdir)
778810
779dist-zip: distdir811dist-zip: distdir
780 -rm -f $(distdir).zip812 -rm -f $(distdir).zip
781 zip -rq $(distdir).zip $(distdir)813 zip -rq $(distdir).zip $(distdir)
782 $(am__remove_distdir)814 $(am__post_remove_distdir)
783815
784dist dist-all: distdir816dist dist-all:
785 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz817 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
786 $(am__remove_distdir)818 $(am__post_remove_distdir)
787819
788# This target untars the dist file and tries a VPATH configuration. Then820# This target untars the dist file and tries a VPATH configuration. Then
789# it guarantees that the distribution is self-contained by making another821# it guarantees that the distribution is self-contained by making another
@@ -794,8 +826,8 @@
794 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\826 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
795 *.tar.bz2*) \827 *.tar.bz2*) \
796 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\828 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
797 *.tar.lzma*) \829 *.tar.lz*) \
798 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\830 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
799 *.tar.xz*) \831 *.tar.xz*) \
800 xz -dc $(distdir).tar.xz | $(am__untar) ;;\832 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
801 *.tar.Z*) \833 *.tar.Z*) \
@@ -805,17 +837,19 @@
805 *.zip*) \837 *.zip*) \
806 unzip $(distdir).zip ;;\838 unzip $(distdir).zip ;;\
807 esac839 esac
808 chmod -R a-w $(distdir); chmod a+w $(distdir)840 chmod -R a-w $(distdir)
809 mkdir $(distdir)/_build841 chmod u+w $(distdir)
810 mkdir $(distdir)/_inst842 mkdir $(distdir)/_build $(distdir)/_inst
811 chmod a-w $(distdir)843 chmod a-w $(distdir)
812 test -d $(distdir)/_build || exit 0; \844 test -d $(distdir)/_build || exit 0; \
813 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \845 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
814 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \846 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
815 && am__cwd=`pwd` \847 && am__cwd=`pwd` \
816 && $(am__cd) $(distdir)/_build \848 && $(am__cd) $(distdir)/_build \
817 && ../configure --srcdir=.. --prefix="$$dc_install_base" \849 && ../configure \
850 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
818 $(DISTCHECK_CONFIGURE_FLAGS) \851 $(DISTCHECK_CONFIGURE_FLAGS) \
852 --srcdir=.. --prefix="$$dc_install_base" \
819 && $(MAKE) $(AM_MAKEFLAGS) \853 && $(MAKE) $(AM_MAKEFLAGS) \
820 && $(MAKE) $(AM_MAKEFLAGS) dvi \854 && $(MAKE) $(AM_MAKEFLAGS) dvi \
821 && $(MAKE) $(AM_MAKEFLAGS) check \855 && $(MAKE) $(AM_MAKEFLAGS) check \
@@ -838,13 +872,21 @@
838 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \872 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
839 && cd "$$am__cwd" \873 && cd "$$am__cwd" \
840 || exit 1874 || exit 1
841 $(am__remove_distdir)875 $(am__post_remove_distdir)
842 @(echo "$(distdir) archives ready for distribution: "; \876 @(echo "$(distdir) archives ready for distribution: "; \
843 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \877 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
844 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'878 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
845distuninstallcheck:879distuninstallcheck:
846 @$(am__cd) '$(distuninstallcheck_dir)' \880 @test -n '$(distuninstallcheck_dir)' || { \
847 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \881 echo 'ERROR: trying to run $@ with an empty' \
882 '$$(distuninstallcheck_dir)' >&2; \
883 exit 1; \
884 }; \
885 $(am__cd) '$(distuninstallcheck_dir)' || { \
886 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
887 exit 1; \
888 }; \
889 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
848 || { echo "ERROR: files left after uninstall:" ; \890 || { echo "ERROR: files left after uninstall:" ; \
849 if test -n "$(DESTDIR)"; then \891 if test -n "$(DESTDIR)"; then \
850 echo " (check DESTDIR support)"; \892 echo " (check DESTDIR support)"; \
@@ -875,10 +917,15 @@
875917
876installcheck: installcheck-recursive918installcheck: installcheck-recursive
877install-strip:919install-strip:
878 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \920 if test -z '$(STRIP)'; then \
879 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \921 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
880 `test -z '$(STRIP)' || \922 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
881 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install923 install; \
924 else \
925 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
926 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
927 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
928 fi
882mostlyclean-generic:929mostlyclean-generic:
883930
884clean-generic:931clean-generic:
@@ -959,23 +1006,22 @@
9591006
960uninstall-am:1007uninstall-am:
9611008
962.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \1009.MAKE: $(am__recursive_targets) install-am install-strip
963 install-am install-strip tags-recursive
9641010
965.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \1011.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
966 all all-am am--refresh check check-am clean clean-generic \1012 am--refresh check check-am clean clean-cscope clean-generic \
967 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \1013 cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
968 dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \1014 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
969 distclean distclean-generic distclean-tags distcleancheck \1015 distcheck distclean distclean-generic distclean-tags \
970 distdir distuninstallcheck dvi dvi-am html html-am info \1016 distcleancheck distdir distuninstallcheck dvi dvi-am html \
971 info-am install install-am install-data install-data-am \1017 html-am info info-am install install-am install-data \
972 install-dvi install-dvi-am install-exec install-exec-am \1018 install-data-am install-dvi install-dvi-am install-exec \
973 install-html install-html-am install-info install-info-am \1019 install-exec-am install-html install-html-am install-info \
974 install-man install-pdf install-pdf-am install-ps \1020 install-info-am install-man install-pdf install-pdf-am \
975 install-ps-am install-strip installcheck installcheck-am \1021 install-ps install-ps-am install-strip installcheck \
976 installdirs installdirs-am maintainer-clean \1022 installcheck-am installdirs installdirs-am maintainer-clean \
977 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \1023 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
978 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am1024 pdf-am ps ps-am tags tags-am uninstall uninstall-am
9791025
980#1026#
981# Debian targets, phase out1027# Debian targets, phase out
9821028
=== removed file 'debian/aclocal.m4'
--- debian/aclocal.m4 2013-01-29 03:37:54 +0000
+++ debian/aclocal.m4 1970-01-01 00:00:00 +0000
@@ -1,1011 +0,0 @@
1# generated automatically by aclocal 1.11.6 -*- Autoconf -*-
2
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
5# Inc.
6# This file 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
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, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
24# Foundation, Inc.
25#
26# This file is free software; the Free Software Foundation
27# gives unlimited permission to copy and/or distribute it,
28# with or without modifications, as long as this notice is preserved.
29
30# serial 1
31
32# AM_AUTOMAKE_VERSION(VERSION)
33# ----------------------------
34# Automake X.Y traces this macro to ensure aclocal.m4 has been
35# generated from the m4 files accompanying Automake X.Y.
36# (This private macro should not be called outside this file.)
37AC_DEFUN([AM_AUTOMAKE_VERSION],
38[am__api_version='1.11'
39dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
40dnl require some minimum version. Point them to the right macro.
41m4_if([$1], [1.11.6], [],
42 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
43])
44
45# _AM_AUTOCONF_VERSION(VERSION)
46# -----------------------------
47# aclocal traces this macro to find the Autoconf version.
48# This is a private macro too. Using m4_define simplifies
49# the logic in aclocal, which can simply ignore this definition.
50m4_define([_AM_AUTOCONF_VERSION], [])
51
52# AM_SET_CURRENT_AUTOMAKE_VERSION
53# -------------------------------
54# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
55# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
56AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
57[AM_AUTOMAKE_VERSION([1.11.6])dnl
58m4_ifndef([AC_AUTOCONF_VERSION],
59 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
60_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
61
62# AM_AUX_DIR_EXPAND -*- Autoconf -*-
63
64# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
65#
66# This file is free software; the Free Software Foundation
67# gives unlimited permission to copy and/or distribute it,
68# with or without modifications, as long as this notice is preserved.
69
70# serial 1
71
72# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
73# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
74# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
75#
76# Of course, Automake must honor this variable whenever it calls a
77# tool from the auxiliary directory. The problem is that $srcdir (and
78# therefore $ac_aux_dir as well) can be either absolute or relative,
79# depending on how configure is run. This is pretty annoying, since
80# it makes $ac_aux_dir quite unusable in subdirectories: in the top
81# source directory, any form will work fine, but in subdirectories a
82# relative path needs to be adjusted first.
83#
84# $ac_aux_dir/missing
85# fails when called from a subdirectory if $ac_aux_dir is relative
86# $top_srcdir/$ac_aux_dir/missing
87# fails if $ac_aux_dir is absolute,
88# fails when called from a subdirectory in a VPATH build with
89# a relative $ac_aux_dir
90#
91# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
92# are both prefixed by $srcdir. In an in-source build this is usually
93# harmless because $srcdir is `.', but things will broke when you
94# start a VPATH build or use an absolute $srcdir.
95#
96# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
97# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
98# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
99# and then we would define $MISSING as
100# MISSING="\${SHELL} $am_aux_dir/missing"
101# This will work as long as MISSING is not called from configure, because
102# unfortunately $(top_srcdir) has no meaning in configure.
103# However there are other variables, like CC, which are often used in
104# configure, and could therefore not use this "fixed" $ac_aux_dir.
105#
106# Another solution, used here, is to always expand $ac_aux_dir to an
107# absolute PATH. The drawback is that using absolute paths prevent a
108# configured tree to be moved without reconfiguration.
109
110AC_DEFUN([AM_AUX_DIR_EXPAND],
111[dnl Rely on autoconf to set up CDPATH properly.
112AC_PREREQ([2.50])dnl
113# expand $ac_aux_dir to an absolute path
114am_aux_dir=`cd $ac_aux_dir && pwd`
115])
116
117# AM_CONDITIONAL -*- Autoconf -*-
118
119# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
120# Free Software Foundation, Inc.
121#
122# This file is free software; the Free Software Foundation
123# gives unlimited permission to copy and/or distribute it,
124# with or without modifications, as long as this notice is preserved.
125
126# serial 9
127
128# AM_CONDITIONAL(NAME, SHELL-CONDITION)
129# -------------------------------------
130# Define a conditional.
131AC_DEFUN([AM_CONDITIONAL],
132[AC_PREREQ(2.52)dnl
133 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
134 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
135AC_SUBST([$1_TRUE])dnl
136AC_SUBST([$1_FALSE])dnl
137_AM_SUBST_NOTMAKE([$1_TRUE])dnl
138_AM_SUBST_NOTMAKE([$1_FALSE])dnl
139m4_define([_AM_COND_VALUE_$1], [$2])dnl
140if $2; then
141 $1_TRUE=
142 $1_FALSE='#'
143else
144 $1_TRUE='#'
145 $1_FALSE=
146fi
147AC_CONFIG_COMMANDS_PRE(
148[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
149 AC_MSG_ERROR([[conditional "$1" was never defined.
150Usually this means the macro was only invoked conditionally.]])
151fi])])
152
153# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
154# 2010, 2011 Free Software Foundation, Inc.
155#
156# This file is free software; the Free Software Foundation
157# gives unlimited permission to copy and/or distribute it,
158# with or without modifications, as long as this notice is preserved.
159
160# serial 12
161
162# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
163# written in clear, in which case automake, when reading aclocal.m4,
164# will think it sees a *use*, and therefore will trigger all it's
165# C support machinery. Also note that it means that autoscan, seeing
166# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
167
168
169# _AM_DEPENDENCIES(NAME)
170# ----------------------
171# See how the compiler implements dependency checking.
172# NAME is "CC", "CXX", "GCJ", or "OBJC".
173# We try a few techniques and use that to set a single cache variable.
174#
175# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
176# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
177# dependency, and given that the user is not expected to run this macro,
178# just rely on AC_PROG_CC.
179AC_DEFUN([_AM_DEPENDENCIES],
180[AC_REQUIRE([AM_SET_DEPDIR])dnl
181AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
182AC_REQUIRE([AM_MAKE_INCLUDE])dnl
183AC_REQUIRE([AM_DEP_TRACK])dnl
184
185ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
186 [$1], CXX, [depcc="$CXX" am_compiler_list=],
187 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
188 [$1], UPC, [depcc="$UPC" am_compiler_list=],
189 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
190 [depcc="$$1" am_compiler_list=])
191
192AC_CACHE_CHECK([dependency style of $depcc],
193 [am_cv_$1_dependencies_compiler_type],
194[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
195 # We make a subdir and do the tests there. Otherwise we can end up
196 # making bogus files that we don't know about and never remove. For
197 # instance it was reported that on HP-UX the gcc test will end up
198 # making a dummy file named `D' -- because `-MD' means `put the output
199 # in D'.
200 rm -rf conftest.dir
201 mkdir conftest.dir
202 # Copy depcomp to subdir because otherwise we won't find it if we're
203 # using a relative directory.
204 cp "$am_depcomp" conftest.dir
205 cd conftest.dir
206 # We will build objects and dependencies in a subdirectory because
207 # it helps to detect inapplicable dependency modes. For instance
208 # both Tru64's cc and ICC support -MD to output dependencies as a
209 # side effect of compilation, but ICC will put the dependencies in
210 # the current directory while Tru64 will put them in the object
211 # directory.
212 mkdir sub
213
214 am_cv_$1_dependencies_compiler_type=none
215 if test "$am_compiler_list" = ""; then
216 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
217 fi
218 am__universal=false
219 m4_case([$1], [CC],
220 [case " $depcc " in #(
221 *\ -arch\ *\ -arch\ *) am__universal=true ;;
222 esac],
223 [CXX],
224 [case " $depcc " in #(
225 *\ -arch\ *\ -arch\ *) am__universal=true ;;
226 esac])
227
228 for depmode in $am_compiler_list; do
229 # Setup a source with many dependencies, because some compilers
230 # like to wrap large dependency lists on column 80 (with \), and
231 # we should not choose a depcomp mode which is confused by this.
232 #
233 # We need to recreate these files for each test, as the compiler may
234 # overwrite some of them when testing with obscure command lines.
235 # This happens at least with the AIX C compiler.
236 : > sub/conftest.c
237 for i in 1 2 3 4 5 6; do
238 echo '#include "conftst'$i'.h"' >> sub/conftest.c
239 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
240 # Solaris 8's {/usr,}/bin/sh.
241 touch sub/conftst$i.h
242 done
243 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
244
245 # We check with `-c' and `-o' for the sake of the "dashmstdout"
246 # mode. It turns out that the SunPro C++ compiler does not properly
247 # handle `-M -o', and we need to detect this. Also, some Intel
248 # versions had trouble with output in subdirs
249 am__obj=sub/conftest.${OBJEXT-o}
250 am__minus_obj="-o $am__obj"
251 case $depmode in
252 gcc)
253 # This depmode causes a compiler race in universal mode.
254 test "$am__universal" = false || continue
255 ;;
256 nosideeffect)
257 # after this tag, mechanisms are not by side-effect, so they'll
258 # only be used when explicitly requested
259 if test "x$enable_dependency_tracking" = xyes; then
260 continue
261 else
262 break
263 fi
264 ;;
265 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
266 # This compiler won't grok `-c -o', but also, the minuso test has
267 # not run yet. These depmodes are late enough in the game, and
268 # so weak that their functioning should not be impacted.
269 am__obj=conftest.${OBJEXT-o}
270 am__minus_obj=
271 ;;
272 none) break ;;
273 esac
274 if depmode=$depmode \
275 source=sub/conftest.c object=$am__obj \
276 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
277 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
278 >/dev/null 2>conftest.err &&
279 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
280 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
281 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
282 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
283 # icc doesn't choke on unknown options, it will just issue warnings
284 # or remarks (even with -Werror). So we grep stderr for any message
285 # that says an option was ignored or not supported.
286 # When given -MP, icc 7.0 and 7.1 complain thusly:
287 # icc: Command line warning: ignoring option '-M'; no argument required
288 # The diagnosis changed in icc 8.0:
289 # icc: Command line remark: option '-MP' not supported
290 if (grep 'ignoring option' conftest.err ||
291 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
292 am_cv_$1_dependencies_compiler_type=$depmode
293 break
294 fi
295 fi
296 done
297
298 cd ..
299 rm -rf conftest.dir
300else
301 am_cv_$1_dependencies_compiler_type=none
302fi
303])
304AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
305AM_CONDITIONAL([am__fastdep$1], [
306 test "x$enable_dependency_tracking" != xno \
307 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
308])
309
310
311# AM_SET_DEPDIR
312# -------------
313# Choose a directory name for dependency files.
314# This macro is AC_REQUIREd in _AM_DEPENDENCIES
315AC_DEFUN([AM_SET_DEPDIR],
316[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
317AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
318])
319
320
321# AM_DEP_TRACK
322# ------------
323AC_DEFUN([AM_DEP_TRACK],
324[AC_ARG_ENABLE(dependency-tracking,
325[ --disable-dependency-tracking speeds up one-time build
326 --enable-dependency-tracking do not reject slow dependency extractors])
327if test "x$enable_dependency_tracking" != xno; then
328 am_depcomp="$ac_aux_dir/depcomp"
329 AMDEPBACKSLASH='\'
330 am__nodep='_no'
331fi
332AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
333AC_SUBST([AMDEPBACKSLASH])dnl
334_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
335AC_SUBST([am__nodep])dnl
336_AM_SUBST_NOTMAKE([am__nodep])dnl
337])
338
339# Generate code to set up dependency tracking. -*- Autoconf -*-
340
341# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
342# Free Software Foundation, Inc.
343#
344# This file is free software; the Free Software Foundation
345# gives unlimited permission to copy and/or distribute it,
346# with or without modifications, as long as this notice is preserved.
347
348#serial 5
349
350# _AM_OUTPUT_DEPENDENCY_COMMANDS
351# ------------------------------
352AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
353[{
354 # Autoconf 2.62 quotes --file arguments for eval, but not when files
355 # are listed without --file. Let's play safe and only enable the eval
356 # if we detect the quoting.
357 case $CONFIG_FILES in
358 *\'*) eval set x "$CONFIG_FILES" ;;
359 *) set x $CONFIG_FILES ;;
360 esac
361 shift
362 for mf
363 do
364 # Strip MF so we end up with the name of the file.
365 mf=`echo "$mf" | sed -e 's/:.*$//'`
366 # Check whether this is an Automake generated Makefile or not.
367 # We used to match only the files named `Makefile.in', but
368 # some people rename them; so instead we look at the file content.
369 # Grep'ing the first line is not enough: some people post-process
370 # each Makefile.in and add a new line on top of each file to say so.
371 # Grep'ing the whole file is not good either: AIX grep has a line
372 # limit of 2048, but all sed's we know have understand at least 4000.
373 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
374 dirpart=`AS_DIRNAME("$mf")`
375 else
376 continue
377 fi
378 # Extract the definition of DEPDIR, am__include, and am__quote
379 # from the Makefile without running `make'.
380 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
381 test -z "$DEPDIR" && continue
382 am__include=`sed -n 's/^am__include = //p' < "$mf"`
383 test -z "am__include" && continue
384 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
385 # When using ansi2knr, U may be empty or an underscore; expand it
386 U=`sed -n 's/^U = //p' < "$mf"`
387 # Find all dependency output files, they are included files with
388 # $(DEPDIR) in their names. We invoke sed twice because it is the
389 # simplest approach to changing $(DEPDIR) to its actual value in the
390 # expansion.
391 for file in `sed -n "
392 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
393 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
394 # Make sure the directory exists.
395 test -f "$dirpart/$file" && continue
396 fdir=`AS_DIRNAME(["$file"])`
397 AS_MKDIR_P([$dirpart/$fdir])
398 # echo "creating $dirpart/$file"
399 echo '# dummy' > "$dirpart/$file"
400 done
401 done
402}
403])# _AM_OUTPUT_DEPENDENCY_COMMANDS
404
405
406# AM_OUTPUT_DEPENDENCY_COMMANDS
407# -----------------------------
408# This macro should only be invoked once -- use via AC_REQUIRE.
409#
410# This code is only required when automatic dependency tracking
411# is enabled. FIXME. This creates each `.P' file that we will
412# need in order to bootstrap the dependency handling code.
413AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
414[AC_CONFIG_COMMANDS([depfiles],
415 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
416 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
417])
418
419# Do all the work for Automake. -*- Autoconf -*-
420
421# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
422# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
423#
424# This file is free software; the Free Software Foundation
425# gives unlimited permission to copy and/or distribute it,
426# with or without modifications, as long as this notice is preserved.
427
428# serial 16
429
430# This macro actually does too much. Some checks are only needed if
431# your package does certain things. But this isn't really a big deal.
432
433# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
434# AM_INIT_AUTOMAKE([OPTIONS])
435# -----------------------------------------------
436# The call with PACKAGE and VERSION arguments is the old style
437# call (pre autoconf-2.50), which is being phased out. PACKAGE
438# and VERSION should now be passed to AC_INIT and removed from
439# the call to AM_INIT_AUTOMAKE.
440# We support both call styles for the transition. After
441# the next Automake release, Autoconf can make the AC_INIT
442# arguments mandatory, and then we can depend on a new Autoconf
443# release and drop the old call support.
444AC_DEFUN([AM_INIT_AUTOMAKE],
445[AC_PREREQ([2.62])dnl
446dnl Autoconf wants to disallow AM_ names. We explicitly allow
447dnl the ones we care about.
448m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
449AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
450AC_REQUIRE([AC_PROG_INSTALL])dnl
451if test "`cd $srcdir && pwd`" != "`pwd`"; then
452 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
453 # is not polluted with repeated "-I."
454 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
455 # test to see if srcdir already configured
456 if test -f $srcdir/config.status; then
457 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
458 fi
459fi
460
461# test whether we have cygpath
462if test -z "$CYGPATH_W"; then
463 if (cygpath --version) >/dev/null 2>/dev/null; then
464 CYGPATH_W='cygpath -w'
465 else
466 CYGPATH_W=echo
467 fi
468fi
469AC_SUBST([CYGPATH_W])
470
471# Define the identity of the package.
472dnl Distinguish between old-style and new-style calls.
473m4_ifval([$2],
474[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
475 AC_SUBST([PACKAGE], [$1])dnl
476 AC_SUBST([VERSION], [$2])],
477[_AM_SET_OPTIONS([$1])dnl
478dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
479m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
480 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
481 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
482 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
483
484_AM_IF_OPTION([no-define],,
485[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
486 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
487
488# Some tools Automake needs.
489AC_REQUIRE([AM_SANITY_CHECK])dnl
490AC_REQUIRE([AC_ARG_PROGRAM])dnl
491AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
492AM_MISSING_PROG(AUTOCONF, autoconf)
493AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
494AM_MISSING_PROG(AUTOHEADER, autoheader)
495AM_MISSING_PROG(MAKEINFO, makeinfo)
496AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
497AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
498AC_REQUIRE([AM_PROG_MKDIR_P])dnl
499# We need awk for the "check" target. The system "awk" is bad on
500# some platforms.
501AC_REQUIRE([AC_PROG_AWK])dnl
502AC_REQUIRE([AC_PROG_MAKE_SET])dnl
503AC_REQUIRE([AM_SET_LEADING_DOT])dnl
504_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
505 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
506 [_AM_PROG_TAR([v7])])])
507_AM_IF_OPTION([no-dependencies],,
508[AC_PROVIDE_IFELSE([AC_PROG_CC],
509 [_AM_DEPENDENCIES(CC)],
510 [define([AC_PROG_CC],
511 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
512AC_PROVIDE_IFELSE([AC_PROG_CXX],
513 [_AM_DEPENDENCIES(CXX)],
514 [define([AC_PROG_CXX],
515 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
516AC_PROVIDE_IFELSE([AC_PROG_OBJC],
517 [_AM_DEPENDENCIES(OBJC)],
518 [define([AC_PROG_OBJC],
519 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
520])
521_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
522dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
523dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
524dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
525AC_CONFIG_COMMANDS_PRE(dnl
526[m4_provide_if([_AM_COMPILER_EXEEXT],
527 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
528])
529
530dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
531dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
532dnl mangled by Autoconf and run in a shell conditional statement.
533m4_define([_AC_COMPILER_EXEEXT],
534m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
535
536
537# When config.status generates a header, we must update the stamp-h file.
538# This file resides in the same directory as the config header
539# that is generated. The stamp files are numbered to have different names.
540
541# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
542# loop where config.status creates the headers, so we can generate
543# our stamp files there.
544AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
545[# Compute $1's index in $config_headers.
546_am_arg=$1
547_am_stamp_count=1
548for _am_header in $config_headers :; do
549 case $_am_header in
550 $_am_arg | $_am_arg:* )
551 break ;;
552 * )
553 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
554 esac
555done
556echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
557
558# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
559# 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# serial 1
566
567# AM_PROG_INSTALL_SH
568# ------------------
569# Define $install_sh.
570AC_DEFUN([AM_PROG_INSTALL_SH],
571[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
572if test x"${install_sh}" != xset; then
573 case $am_aux_dir in
574 *\ * | *\ *)
575 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
576 *)
577 install_sh="\${SHELL} $am_aux_dir/install-sh"
578 esac
579fi
580AC_SUBST(install_sh)])
581
582# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
583#
584# This file is free software; the Free Software Foundation
585# gives unlimited permission to copy and/or distribute it,
586# with or without modifications, as long as this notice is preserved.
587
588# serial 2
589
590# Check whether the underlying file-system supports filenames
591# with a leading dot. For instance MS-DOS doesn't.
592AC_DEFUN([AM_SET_LEADING_DOT],
593[rm -rf .tst 2>/dev/null
594mkdir .tst 2>/dev/null
595if test -d .tst; then
596 am__leading_dot=.
597else
598 am__leading_dot=_
599fi
600rmdir .tst 2>/dev/null
601AC_SUBST([am__leading_dot])])
602
603# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
604# From Jim Meyering
605
606# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
607# 2011 Free Software Foundation, Inc.
608#
609# This file is free software; the Free Software Foundation
610# gives unlimited permission to copy and/or distribute it,
611# with or without modifications, as long as this notice is preserved.
612
613# serial 5
614
615# AM_MAINTAINER_MODE([DEFAULT-MODE])
616# ----------------------------------
617# Control maintainer-specific portions of Makefiles.
618# Default is to disable them, unless `enable' is passed literally.
619# For symmetry, `disable' may be passed as well. Anyway, the user
620# can override the default with the --enable/--disable switch.
621AC_DEFUN([AM_MAINTAINER_MODE],
622[m4_case(m4_default([$1], [disable]),
623 [enable], [m4_define([am_maintainer_other], [disable])],
624 [disable], [m4_define([am_maintainer_other], [enable])],
625 [m4_define([am_maintainer_other], [enable])
626 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
627AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
628 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
629 AC_ARG_ENABLE([maintainer-mode],
630[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
631 (and sometimes confusing) to the casual installer],
632 [USE_MAINTAINER_MODE=$enableval],
633 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
634 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
635 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
636 MAINT=$MAINTAINER_MODE_TRUE
637 AC_SUBST([MAINT])dnl
638]
639)
640
641AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
642
643# Check to see how 'make' treats includes. -*- Autoconf -*-
644
645# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
646#
647# This file is free software; the Free Software Foundation
648# gives unlimited permission to copy and/or distribute it,
649# with or without modifications, as long as this notice is preserved.
650
651# serial 4
652
653# AM_MAKE_INCLUDE()
654# -----------------
655# Check to see how make treats includes.
656AC_DEFUN([AM_MAKE_INCLUDE],
657[am_make=${MAKE-make}
658cat > confinc << 'END'
659am__doit:
660 @echo this is the am__doit target
661.PHONY: am__doit
662END
663# If we don't find an include directive, just comment out the code.
664AC_MSG_CHECKING([for style of include used by $am_make])
665am__include="#"
666am__quote=
667_am_result=none
668# First try GNU make style include.
669echo "include confinc" > confmf
670# Ignore all kinds of additional output from `make'.
671case `$am_make -s -f confmf 2> /dev/null` in #(
672*the\ am__doit\ target*)
673 am__include=include
674 am__quote=
675 _am_result=GNU
676 ;;
677esac
678# Now try BSD make style include.
679if test "$am__include" = "#"; then
680 echo '.include "confinc"' > confmf
681 case `$am_make -s -f confmf 2> /dev/null` in #(
682 *the\ am__doit\ target*)
683 am__include=.include
684 am__quote="\""
685 _am_result=BSD
686 ;;
687 esac
688fi
689AC_SUBST([am__include])
690AC_SUBST([am__quote])
691AC_MSG_RESULT([$_am_result])
692rm -f confinc confmf
693])
694
695# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
696
697# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
698# Free Software Foundation, Inc.
699#
700# This file is free software; the Free Software Foundation
701# gives unlimited permission to copy and/or distribute it,
702# with or without modifications, as long as this notice is preserved.
703
704# serial 6
705
706# AM_MISSING_PROG(NAME, PROGRAM)
707# ------------------------------
708AC_DEFUN([AM_MISSING_PROG],
709[AC_REQUIRE([AM_MISSING_HAS_RUN])
710$1=${$1-"${am_missing_run}$2"}
711AC_SUBST($1)])
712
713
714# AM_MISSING_HAS_RUN
715# ------------------
716# Define MISSING if not defined so far and test if it supports --run.
717# If it does, set am_missing_run to use it, otherwise, to nothing.
718AC_DEFUN([AM_MISSING_HAS_RUN],
719[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
720AC_REQUIRE_AUX_FILE([missing])dnl
721if test x"${MISSING+set}" != xset; then
722 case $am_aux_dir in
723 *\ * | *\ *)
724 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
725 *)
726 MISSING="\${SHELL} $am_aux_dir/missing" ;;
727 esac
728fi
729# Use eval to expand $SHELL
730if eval "$MISSING --run true"; then
731 am_missing_run="$MISSING --run "
732else
733 am_missing_run=
734 AC_MSG_WARN([`missing' script is too old or missing])
735fi
736])
737
738# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
739# Inc.
740#
741# This file is free software; the Free Software Foundation
742# gives unlimited permission to copy and/or distribute it,
743# with or without modifications, as long as this notice is preserved.
744
745# serial 1
746
747# AM_PROG_MKDIR_P
748# ---------------
749# Check for `mkdir -p'.
750AC_DEFUN([AM_PROG_MKDIR_P],
751[AC_PREREQ([2.60])dnl
752AC_REQUIRE([AC_PROG_MKDIR_P])dnl
753dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
754dnl while keeping a definition of mkdir_p for backward compatibility.
755dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
756dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
757dnl Makefile.ins that do not define MKDIR_P, so we do our own
758dnl adjustment using top_builddir (which is defined more often than
759dnl MKDIR_P).
760AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
761case $mkdir_p in
762 [[\\/$]]* | ?:[[\\/]]*) ;;
763 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
764esac
765])
766
767# Helper functions for option handling. -*- Autoconf -*-
768
769# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
770# Foundation, Inc.
771#
772# This file is free software; the Free Software Foundation
773# gives unlimited permission to copy and/or distribute it,
774# with or without modifications, as long as this notice is preserved.
775
776# serial 5
777
778# _AM_MANGLE_OPTION(NAME)
779# -----------------------
780AC_DEFUN([_AM_MANGLE_OPTION],
781[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
782
783# _AM_SET_OPTION(NAME)
784# --------------------
785# Set option NAME. Presently that only means defining a flag for this option.
786AC_DEFUN([_AM_SET_OPTION],
787[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
788
789# _AM_SET_OPTIONS(OPTIONS)
790# ------------------------
791# OPTIONS is a space-separated list of Automake options.
792AC_DEFUN([_AM_SET_OPTIONS],
793[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
794
795# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
796# -------------------------------------------
797# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
798AC_DEFUN([_AM_IF_OPTION],
799[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
800
801# Check to make sure that the build environment is sane. -*- Autoconf -*-
802
803# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
804# Free Software Foundation, Inc.
805#
806# This file is free software; the Free Software Foundation
807# gives unlimited permission to copy and/or distribute it,
808# with or without modifications, as long as this notice is preserved.
809
810# serial 5
811
812# AM_SANITY_CHECK
813# ---------------
814AC_DEFUN([AM_SANITY_CHECK],
815[AC_MSG_CHECKING([whether build environment is sane])
816# Just in case
817sleep 1
818echo timestamp > conftest.file
819# Reject unsafe characters in $srcdir or the absolute working directory
820# name. Accept space and tab only in the latter.
821am_lf='
822'
823case `pwd` in
824 *[[\\\"\#\$\&\'\`$am_lf]]*)
825 AC_MSG_ERROR([unsafe absolute working directory name]);;
826esac
827case $srcdir in
828 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
829 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
830esac
831
832# Do `set' in a subshell so we don't clobber the current shell's
833# arguments. Must try -L first in case configure is actually a
834# symlink; some systems play weird games with the mod time of symlinks
835# (eg FreeBSD returns the mod time of the symlink's containing
836# directory).
837if (
838 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
839 if test "$[*]" = "X"; then
840 # -L didn't work.
841 set X `ls -t "$srcdir/configure" conftest.file`
842 fi
843 rm -f conftest.file
844 if test "$[*]" != "X $srcdir/configure conftest.file" \
845 && test "$[*]" != "X conftest.file $srcdir/configure"; then
846
847 # If neither matched, then we have a broken ls. This can happen
848 # if, for instance, CONFIG_SHELL is bash and it inherits a
849 # broken ls alias from the environment. This has actually
850 # happened. Such a system could not be considered "sane".
851 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
852alias in your environment])
853 fi
854
855 test "$[2]" = conftest.file
856 )
857then
858 # Ok.
859 :
860else
861 AC_MSG_ERROR([newly created file is older than distributed files!
862Check your system clock])
863fi
864AC_MSG_RESULT(yes)])
865
866# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
867#
868# This file is free software; the Free Software Foundation
869# gives unlimited permission to copy and/or distribute it,
870# with or without modifications, as long as this notice is preserved.
871
872# serial 1
873
874# AM_PROG_INSTALL_STRIP
875# ---------------------
876# One issue with vendor `install' (even GNU) is that you can't
877# specify the program used to strip binaries. This is especially
878# annoying in cross-compiling environments, where the build's strip
879# is unlikely to handle the host's binaries.
880# Fortunately install-sh will honor a STRIPPROG variable, so we
881# always use install-sh in `make install-strip', and initialize
882# STRIPPROG with the value of the STRIP variable (set by the user).
883AC_DEFUN([AM_PROG_INSTALL_STRIP],
884[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
885# Installed binaries are usually stripped using `strip' when the user
886# run `make install-strip'. However `strip' might not be the right
887# tool to use in cross-compilation environments, therefore Automake
888# will honor the `STRIP' environment variable to overrule this program.
889dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
890if test "$cross_compiling" != no; then
891 AC_CHECK_TOOL([STRIP], [strip], :)
892fi
893INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
894AC_SUBST([INSTALL_STRIP_PROGRAM])])
895
896# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
897#
898# This file is free software; the Free Software Foundation
899# gives unlimited permission to copy and/or distribute it,
900# with or without modifications, as long as this notice is preserved.
901
902# serial 3
903
904# _AM_SUBST_NOTMAKE(VARIABLE)
905# ---------------------------
906# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
907# This macro is traced by Automake.
908AC_DEFUN([_AM_SUBST_NOTMAKE])
909
910# AM_SUBST_NOTMAKE(VARIABLE)
911# --------------------------
912# Public sister of _AM_SUBST_NOTMAKE.
913AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
914
915# Check how to create a tarball. -*- Autoconf -*-
916
917# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
918#
919# This file is free software; the Free Software Foundation
920# gives unlimited permission to copy and/or distribute it,
921# with or without modifications, as long as this notice is preserved.
922
923# serial 2
924
925# _AM_PROG_TAR(FORMAT)
926# --------------------
927# Check how to create a tarball in format FORMAT.
928# FORMAT should be one of `v7', `ustar', or `pax'.
929#
930# Substitute a variable $(am__tar) that is a command
931# writing to stdout a FORMAT-tarball containing the directory
932# $tardir.
933# tardir=directory && $(am__tar) > result.tar
934#
935# Substitute a variable $(am__untar) that extract such
936# a tarball read from stdin.
937# $(am__untar) < result.tar
938AC_DEFUN([_AM_PROG_TAR],
939[# Always define AMTAR for backward compatibility. Yes, it's still used
940# in the wild :-( We should find a proper way to deprecate it ...
941AC_SUBST([AMTAR], ['$${TAR-tar}'])
942m4_if([$1], [v7],
943 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
944 [m4_case([$1], [ustar],, [pax],,
945 [m4_fatal([Unknown tar format])])
946AC_MSG_CHECKING([how to create a $1 tar archive])
947# Loop over all known methods to create a tar archive until one works.
948_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
949_am_tools=${am_cv_prog_tar_$1-$_am_tools}
950# Do not fold the above two line into one, because Tru64 sh and
951# Solaris sh will not grok spaces in the rhs of `-'.
952for _am_tool in $_am_tools
953do
954 case $_am_tool in
955 gnutar)
956 for _am_tar in tar gnutar gtar;
957 do
958 AM_RUN_LOG([$_am_tar --version]) && break
959 done
960 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
961 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
962 am__untar="$_am_tar -xf -"
963 ;;
964 plaintar)
965 # Must skip GNU tar: if it does not support --format= it doesn't create
966 # ustar tarball either.
967 (tar --version) >/dev/null 2>&1 && continue
968 am__tar='tar chf - "$$tardir"'
969 am__tar_='tar chf - "$tardir"'
970 am__untar='tar xf -'
971 ;;
972 pax)
973 am__tar='pax -L -x $1 -w "$$tardir"'
974 am__tar_='pax -L -x $1 -w "$tardir"'
975 am__untar='pax -r'
976 ;;
977 cpio)
978 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
979 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
980 am__untar='cpio -i -H $1 -d'
981 ;;
982 none)
983 am__tar=false
984 am__tar_=false
985 am__untar=false
986 ;;
987 esac
988
989 # If the value was cached, stop now. We just wanted to have am__tar
990 # and am__untar set.
991 test -n "${am_cv_prog_tar_$1}" && break
992
993 # tar/untar a dummy directory, and stop if the command works
994 rm -rf conftest.dir
995 mkdir conftest.dir
996 echo GrepMe > conftest.dir/file
997 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
998 rm -rf conftest.dir
999 if test -s conftest.tar; then
1000 AM_RUN_LOG([$am__untar <conftest.tar])
1001 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1002 fi
1003done
1004rm -rf conftest.dir
1005
1006AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1007AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1008AC_SUBST([am__tar])
1009AC_SUBST([am__untar])
1010]) # _AM_PROG_TAR
1011
10120
=== added file 'debian/bug-control.in'
--- debian/bug-control.in 1970-01-01 00:00:00 +0000
+++ debian/bug-control.in 2014-05-10 06:44:29 +0000
@@ -0,0 +1,1 @@
1report-with: sensible-mda rmail libmilter@sm_libmilter_version@ sendmail sendmail-bin
02
=== added file 'debian/bug-script.in'
--- debian/bug-script.in 1970-01-01 00:00:00 +0000
+++ debian/bug-script.in 2014-05-10 06:44:29 +0000
@@ -0,0 +1,48 @@
1#!/bin/sh
2#-----------------------------------------------------------------------------
3# $Sendmail: sendmail.bug,v @sm_version@ @sm_date@ @sm_time@ cowboy Exp $
4#
5# Copyright (c) 1998-@SM_CPYRT@ Richard Nelson. All Rights Reserved.
6#
7# Debian helper function script for Debian Sendmail bug reporting
8# Note: this file supports @SM_MINVERS@ - @SM_MAXVERS@
9#
10# Notes (to all):
11# *
12#
13# Notes (to self):
14# *
15#
16#-----------------------------------------------------------------------------
17#
18#set -e;
19DEBUG=0;
20
21# Announce
22printf "Output of $0:\n" >&3;
23
24# Show files in /etc/mail
25printf "\nls -alR /etc/mail:\n" >&3;
26ls -alR /etc/mail | grep -Eve '~$' >&3;
27
28# Extract the relevant portion of sendmail.conf
29if [ -e @sysconfdir@/mail/sendmail.conf ]; then
30 printf "\nsendmail.conf:\n" >&3;
31 grep -ve '^#' "@sysconfdir@/mail/sendmail.conf" >&3;
32 fi;
33
34# Extract the relevant portion of sendmail.mc
35if [ -e @sysconfdir@/mail/sendmail.mc ]; then
36 printf "\nsendmail.mc:\n" >&3;
37 grep -Eve '^(#|dnl|$)' "@sysconfdir@/mail/sendmail.mc" >&3;
38 fi;
39
40# Extract the relevant portion of submit.mc
41if [ -e @sysconfdir@/mail/submit.mc ]; then
42 printf "\nsubmit.mc...\n" >&3;
43 grep -Eve '^(#|dnl|$)' "@sysconfdir@/mail/submit.mc" >&3;
44 fi;
45
46printf "\n" >&3;
47
48# vim:set ai et sts=4 sw=4 tw=0:
049
=== added file 'debian/build/compile'
--- debian/build/compile 1970-01-01 00:00:00 +0000
+++ debian/build/compile 2014-05-10 06:44:29 +0000
@@ -0,0 +1,347 @@
1#! /bin/sh
2# Wrapper for compilers which do not understand '-c -o'.
3
4scriptversion=2012-10-14.11; # UTC
5
6# Copyright (C) 1999-2013 Free Software Foundation, Inc.
7# Written by Tom Tromey <tromey@cygnus.com>.
8#
9# This program is free software; you can redistribute it and/or modify
10# it under the terms of the GNU General Public License as published by
11# the Free Software Foundation; either version 2, or (at your option)
12# any later version.
13#
14# This program is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17# GNU General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with this program. If not, see <http://www.gnu.org/licenses/>.
21
22# As a special exception to the GNU General Public License, if you
23# distribute this file as part of a program that contains a
24# configuration script generated by Autoconf, you may include it under
25# the same distribution terms that you use for the rest of that program.
26
27# This file is maintained in Automake, please report
28# bugs to <bug-automake@gnu.org> or send patches to
29# <automake-patches@gnu.org>.
30
31nl='
32'
33
34# We need space, tab and new line, in precisely that order. Quoting is
35# there to prevent tools from complaining about whitespace usage.
36IFS=" "" $nl"
37
38file_conv=
39
40# func_file_conv build_file lazy
41# Convert a $build file to $host form and store it in $file
42# Currently only supports Windows hosts. If the determined conversion
43# type is listed in (the comma separated) LAZY, no conversion will
44# take place.
45func_file_conv ()
46{
47 file=$1
48 case $file in
49 / | /[!/]*) # absolute file, and not a UNC file
50 if test -z "$file_conv"; then
51 # lazily determine how to convert abs files
52 case `uname -s` in
53 MINGW*)
54 file_conv=mingw
55 ;;
56 CYGWIN*)
57 file_conv=cygwin
58 ;;
59 *)
60 file_conv=wine
61 ;;
62 esac
63 fi
64 case $file_conv/,$2, in
65 *,$file_conv,*)
66 ;;
67 mingw/*)
68 file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
69 ;;
70 cygwin/*)
71 file=`cygpath -m "$file" || echo "$file"`
72 ;;
73 wine/*)
74 file=`winepath -w "$file" || echo "$file"`
75 ;;
76 esac
77 ;;
78 esac
79}
80
81# func_cl_dashL linkdir
82# Make cl look for libraries in LINKDIR
83func_cl_dashL ()
84{
85 func_file_conv "$1"
86 if test -z "$lib_path"; then
87 lib_path=$file
88 else
89 lib_path="$lib_path;$file"
90 fi
91 linker_opts="$linker_opts -LIBPATH:$file"
92}
93
94# func_cl_dashl library
95# Do a library search-path lookup for cl
96func_cl_dashl ()
97{
98 lib=$1
99 found=no
100 save_IFS=$IFS
101 IFS=';'
102 for dir in $lib_path $LIB
103 do
104 IFS=$save_IFS
105 if $shared && test -f "$dir/$lib.dll.lib"; then
106 found=yes
107 lib=$dir/$lib.dll.lib
108 break
109 fi
110 if test -f "$dir/$lib.lib"; then
111 found=yes
112 lib=$dir/$lib.lib
113 break
114 fi
115 if test -f "$dir/lib$lib.a"; then
116 found=yes
117 lib=$dir/lib$lib.a
118 break
119 fi
120 done
121 IFS=$save_IFS
122
123 if test "$found" != yes; then
124 lib=$lib.lib
125 fi
126}
127
128# func_cl_wrapper cl arg...
129# Adjust compile command to suit cl
130func_cl_wrapper ()
131{
132 # Assume a capable shell
133 lib_path=
134 shared=:
135 linker_opts=
136 for arg
137 do
138 if test -n "$eat"; then
139 eat=
140 else
141 case $1 in
142 -o)
143 # configure might choose to run compile as 'compile cc -o foo foo.c'.
144 eat=1
145 case $2 in
146 *.o | *.[oO][bB][jJ])
147 func_file_conv "$2"
148 set x "$@" -Fo"$file"
149 shift
150 ;;
151 *)
152 func_file_conv "$2"
153 set x "$@" -Fe"$file"
154 shift
155 ;;
156 esac
157 ;;
158 -I)
159 eat=1
160 func_file_conv "$2" mingw
161 set x "$@" -I"$file"
162 shift
163 ;;
164 -I*)
165 func_file_conv "${1#-I}" mingw
166 set x "$@" -I"$file"
167 shift
168 ;;
169 -l)
170 eat=1
171 func_cl_dashl "$2"
172 set x "$@" "$lib"
173 shift
174 ;;
175 -l*)
176 func_cl_dashl "${1#-l}"
177 set x "$@" "$lib"
178 shift
179 ;;
180 -L)
181 eat=1
182 func_cl_dashL "$2"
183 ;;
184 -L*)
185 func_cl_dashL "${1#-L}"
186 ;;
187 -static)
188 shared=false
189 ;;
190 -Wl,*)
191 arg=${1#-Wl,}
192 save_ifs="$IFS"; IFS=','
193 for flag in $arg; do
194 IFS="$save_ifs"
195 linker_opts="$linker_opts $flag"
196 done
197 IFS="$save_ifs"
198 ;;
199 -Xlinker)
200 eat=1
201 linker_opts="$linker_opts $2"
202 ;;
203 -*)
204 set x "$@" "$1"
205 shift
206 ;;
207 *.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
208 func_file_conv "$1"
209 set x "$@" -Tp"$file"
210 shift
211 ;;
212 *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
213 func_file_conv "$1" mingw
214 set x "$@" "$file"
215 shift
216 ;;
217 *)
218 set x "$@" "$1"
219 shift
220 ;;
221 esac
222 fi
223 shift
224 done
225 if test -n "$linker_opts"; then
226 linker_opts="-link$linker_opts"
227 fi
228 exec "$@" $linker_opts
229 exit 1
230}
231
232eat=
233
234case $1 in
235 '')
236 echo "$0: No command. Try '$0 --help' for more information." 1>&2
237 exit 1;
238 ;;
239 -h | --h*)
240 cat <<\EOF
241Usage: compile [--help] [--version] PROGRAM [ARGS]
242
243Wrapper for compilers which do not understand '-c -o'.
244Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
245arguments, and rename the output as expected.
246
247If you are trying to build a whole package this is not the
248right script to run: please start by reading the file 'INSTALL'.
249
250Report bugs to <bug-automake@gnu.org>.
251EOF
252 exit $?
253 ;;
254 -v | --v*)
255 echo "compile $scriptversion"
256 exit $?
257 ;;
258 cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
259 func_cl_wrapper "$@" # Doesn't return...
260 ;;
261esac
262
263ofile=
264cfile=
265
266for arg
267do
268 if test -n "$eat"; then
269 eat=
270 else
271 case $1 in
272 -o)
273 # configure might choose to run compile as 'compile cc -o foo foo.c'.
274 # So we strip '-o arg' only if arg is an object.
275 eat=1
276 case $2 in
277 *.o | *.obj)
278 ofile=$2
279 ;;
280 *)
281 set x "$@" -o "$2"
282 shift
283 ;;
284 esac
285 ;;
286 *.c)
287 cfile=$1
288 set x "$@" "$1"
289 shift
290 ;;
291 *)
292 set x "$@" "$1"
293 shift
294 ;;
295 esac
296 fi
297 shift
298done
299
300if test -z "$ofile" || test -z "$cfile"; then
301 # If no '-o' option was seen then we might have been invoked from a
302 # pattern rule where we don't need one. That is ok -- this is a
303 # normal compilation that the losing compiler can handle. If no
304 # '.c' file was seen then we are probably linking. That is also
305 # ok.
306 exec "$@"
307fi
308
309# Name of file we expect compiler to create.
310cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
311
312# Create the lock directory.
313# Note: use '[/\\:.-]' here to ensure that we don't use the same name
314# that we are using for the .o file. Also, base the name on the expected
315# object file name, since that is what matters with a parallel build.
316lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
317while true; do
318 if mkdir "$lockdir" >/dev/null 2>&1; then
319 break
320 fi
321 sleep 1
322done
323# FIXME: race condition here if user kills between mkdir and trap.
324trap "rmdir '$lockdir'; exit 1" 1 2 15
325
326# Run the compile.
327"$@"
328ret=$?
329
330if test -f "$cofile"; then
331 test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
332elif test -f "${cofile}bj"; then
333 test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
334fi
335
336rmdir "$lockdir"
337exit $ret
338
339# Local Variables:
340# mode: shell-script
341# sh-indentation: 2
342# eval: (add-hook 'write-file-hooks 'time-stamp)
343# time-stamp-start: "scriptversion="
344# time-stamp-format: "%:y-%02m-%02d.%02H"
345# time-stamp-time-zone: "UTC"
346# time-stamp-end: "; # UTC"
347# End:
0348
=== modified file 'debian/build/config.guess'
--- debian/build/config.guess 2007-05-05 20:10:00 +0000
+++ debian/build/config.guess 2014-05-10 06:44:29 +0000
@@ -1,14 +1,12 @@
1#! /bin/sh1#! /bin/sh
2# Attempt to guess a canonical system name.2# Attempt to guess a canonical system name.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,3# Copyright 1992-2013 Free Software Foundation, Inc.
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
5# Inc.
64
7timestamp='2007-03-06'5timestamp='2013-06-10'
86
9# This file is free software; you can redistribute it and/or modify it7# This file is free software; you can redistribute it and/or modify it
10# under the terms of the GNU General Public License as published by8# under the terms of the GNU General Public License as published by
11# the Free Software Foundation; either version 2 of the License, or9# the Free Software Foundation; either version 3 of the License, or
12# (at your option) any later version.10# (at your option) any later version.
13#11#
14# This program is distributed in the hope that it will be useful, but12# This program is distributed in the hope that it will be useful, but
@@ -17,26 +15,22 @@
17# General Public License for more details.15# General Public License for more details.
18#16#
19# You should have received a copy of the GNU General Public License17# You should have received a copy of the GNU General Public License
20# along with this program; if not, write to the Free Software18# along with this program; if not, see <http://www.gnu.org/licenses/>.
21# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
22# 02110-1301, USA.
23#19#
24# As a special exception to the GNU General Public License, if you20# As a special exception to the GNU General Public License, if you
25# distribute this file as part of a program that contains a21# distribute this file as part of a program that contains a
26# configuration script generated by Autoconf, you may include it under22# configuration script generated by Autoconf, you may include it under
27# the same distribution terms that you use for the rest of that program.23# the same distribution terms that you use for the rest of that
2824# program. This Exception is an additional permission under section 7
2925# of the GNU General Public License, version 3 ("GPLv3").
30# Originally written by Per Bothner <per@bothner.com>.26#
31# Please send patches to <config-patches@gnu.org>. Submit a context27# Originally written by Per Bothner.
32# diff and a properly formatted ChangeLog entry.28#
33#29# You can get the latest version of this script from:
34# This script attempts to guess a canonical system name similar to30# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
35# config.sub. If it succeeds, it prints the system name on stdout, and31#
36# exits with 0. Otherwise, it exits with 1.32# Please send patches with a ChangeLog entry to config-patches@gnu.org.
37#33
38# The plan is that this can be called by configure scripts if you
39# don't specify an explicit build system type.
4034
41me=`echo "$0" | sed -e 's,.*/,,'`35me=`echo "$0" | sed -e 's,.*/,,'`
4236
@@ -56,8 +50,7 @@
56GNU config.guess ($timestamp)50GNU config.guess ($timestamp)
5751
58Originally written by Per Bothner.52Originally written by Per Bothner.
59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 200553Copyright 1992-2013 Free Software Foundation, Inc.
60Free Software Foundation, Inc.
6154
62This is free software; see the source for copying conditions. There is NO55This is free software; see the source for copying conditions. There is NO
63warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."56warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -139,12 +132,33 @@
139UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown132UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
140UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown133UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
141134
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
142# Note: order is significant - the case branches are not exclusive.156# Note: order is significant - the case branches are not exclusive.
143157
144case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in158case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
145 *:NetBSD:*:*)159 *:NetBSD:*:*)
146 # NetBSD (nbsd) targets should (where applicable) match one or160 # NetBSD (nbsd) targets should (where applicable) match one or
147 # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,161 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
148 # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently162 # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
149 # switched to ELF, *-*-netbsd* would select the old163 # switched to ELF, *-*-netbsd* would select the old
150 # object file format. This provides both forward164 # object file format. This provides both forward
@@ -170,7 +184,7 @@
170 arm*|i386|m68k|ns32k|sh3*|sparc|vax)184 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
171 eval $set_cc_for_build185 eval $set_cc_for_build
172 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \186 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
173 | grep __ELF__ >/dev/null187 | grep -q __ELF__
174 then188 then
175 # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).189 # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
176 # Return netbsd for either. FIX?190 # Return netbsd for either. FIX?
@@ -180,7 +194,7 @@
180 fi194 fi
181 ;;195 ;;
182 *)196 *)
183 os=netbsd197 os=netbsd
184 ;;198 ;;
185 esac199 esac
186 # The OS release200 # The OS release
@@ -201,6 +215,10 @@
201 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.215 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
202 echo "${machine}-${os}${release}"216 echo "${machine}-${os}${release}"
203 exit ;;217 exit ;;
218 *:Bitrig:*:*)
219 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
220 echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
221 exit ;;
204 *:OpenBSD:*:*)222 *:OpenBSD:*:*)
205 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`223 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
206 echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}224 echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
@@ -223,7 +241,7 @@
223 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`241 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
224 ;;242 ;;
225 *5.*)243 *5.*)
226 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`244 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
227 ;;245 ;;
228 esac246 esac
229 # According to Compaq, /usr/sbin/psrinfo has been available on247 # According to Compaq, /usr/sbin/psrinfo has been available on
@@ -269,7 +287,10 @@
269 # A Xn.n version is an unreleased experimental baselevel.287 # A Xn.n version is an unreleased experimental baselevel.
270 # 1.2 uses "1.2" for uname -r.288 # 1.2 uses "1.2" for uname -r.
271 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`289 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
272 exit ;;290 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
291 exitcode=$?
292 trap '' 0
293 exit $exitcode ;;
273 Alpha\ *:Windows_NT*:*)294 Alpha\ *:Windows_NT*:*)
274 # How do we know it's Interix rather than the generic POSIX subsystem?295 # How do we know it's Interix rather than the generic POSIX subsystem?
275 # Should we change UNAME_MACHINE based on the output of uname instead296 # Should we change UNAME_MACHINE based on the output of uname instead
@@ -295,12 +316,12 @@
295 echo s390-ibm-zvmoe316 echo s390-ibm-zvmoe
296 exit ;;317 exit ;;
297 *:OS400:*:*)318 *:OS400:*:*)
298 echo powerpc-ibm-os400319 echo powerpc-ibm-os400
299 exit ;;320 exit ;;
300 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)321 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
301 echo arm-acorn-riscix${UNAME_RELEASE}322 echo arm-acorn-riscix${UNAME_RELEASE}
302 exit ;;323 exit ;;
303 arm:riscos:*:*|arm:RISCOS:*:*)324 arm*:riscos:*:*|arm*:RISCOS:*:*)
304 echo arm-unknown-riscos325 echo arm-unknown-riscos
305 exit ;;326 exit ;;
306 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)327 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
@@ -324,14 +345,33 @@
324 case `/usr/bin/uname -p` in345 case `/usr/bin/uname -p` in
325 sparc) echo sparc-icl-nx7; exit ;;346 sparc) echo sparc-icl-nx7; exit ;;
326 esac ;;347 esac ;;
348 s390x:SunOS:*:*)
349 echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
350 exit ;;
327 sun4H:SunOS:5.*:*)351 sun4H:SunOS:5.*:*)
328 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`352 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
329 exit ;;353 exit ;;
330 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)354 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
331 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`355 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
332 exit ;;356 exit ;;
333 i86pc:SunOS:5.*:*)357 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
334 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`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/[^.]*//'`
335 exit ;;375 exit ;;
336 sun4*:SunOS:6*:*)376 sun4*:SunOS:6*:*)
337 # According to config.sub, this is the proper way to canonicalize377 # According to config.sub, this is the proper way to canonicalize
@@ -375,23 +415,23 @@
375 # MiNT. But MiNT is downward compatible to TOS, so this should415 # MiNT. But MiNT is downward compatible to TOS, so this should
376 # be no problem.416 # be no problem.
377 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)417 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
378 echo m68k-atari-mint${UNAME_RELEASE}418 echo m68k-atari-mint${UNAME_RELEASE}
379 exit ;;419 exit ;;
380 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)420 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
381 echo m68k-atari-mint${UNAME_RELEASE}421 echo m68k-atari-mint${UNAME_RELEASE}
382 exit ;;422 exit ;;
383 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)423 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
384 echo m68k-atari-mint${UNAME_RELEASE}424 echo m68k-atari-mint${UNAME_RELEASE}
385 exit ;;425 exit ;;
386 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)426 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
387 echo m68k-milan-mint${UNAME_RELEASE}427 echo m68k-milan-mint${UNAME_RELEASE}
388 exit ;;428 exit ;;
389 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)429 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
390 echo m68k-hades-mint${UNAME_RELEASE}430 echo m68k-hades-mint${UNAME_RELEASE}
391 exit ;;431 exit ;;
392 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)432 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
393 echo m68k-unknown-mint${UNAME_RELEASE}433 echo m68k-unknown-mint${UNAME_RELEASE}
394 exit ;;434 exit ;;
395 m68k:machten:*:*)435 m68k:machten:*:*)
396 echo m68k-apple-machten${UNAME_RELEASE}436 echo m68k-apple-machten${UNAME_RELEASE}
397 exit ;;437 exit ;;
@@ -461,8 +501,8 @@
461 echo m88k-motorola-sysv3501 echo m88k-motorola-sysv3
462 exit ;;502 exit ;;
463 AViiON:dgux:*:*)503 AViiON:dgux:*:*)
464 # DG/UX returns AViiON for all architectures504 # DG/UX returns AViiON for all architectures
465 UNAME_PROCESSOR=`/usr/bin/uname -p`505 UNAME_PROCESSOR=`/usr/bin/uname -p`
466 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]506 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
467 then507 then
468 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \508 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
@@ -475,7 +515,7 @@
475 else515 else
476 echo i586-dg-dgux${UNAME_RELEASE}516 echo i586-dg-dgux${UNAME_RELEASE}
477 fi517 fi
478 exit ;;518 exit ;;
479 M88*:DolphinOS:*:*) # DolphinOS (SVR3)519 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
480 echo m88k-dolphin-sysv3520 echo m88k-dolphin-sysv3
481 exit ;;521 exit ;;
@@ -532,7 +572,7 @@
532 echo rs6000-ibm-aix3.2572 echo rs6000-ibm-aix3.2
533 fi573 fi
534 exit ;;574 exit ;;
535 *:AIX:*:[45])575 *:AIX:*:[4567])
536 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`576 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
537 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then577 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
538 IBM_ARCH=rs6000578 IBM_ARCH=rs6000
@@ -575,52 +615,52 @@
575 9000/[678][0-9][0-9])615 9000/[678][0-9][0-9])
576 if [ -x /usr/bin/getconf ]; then616 if [ -x /usr/bin/getconf ]; then
577 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`617 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
578 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`618 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
579 case "${sc_cpu_version}" in619 case "${sc_cpu_version}" in
580 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0620 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
581 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1621 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
582 532) # CPU_PA_RISC2_0622 532) # CPU_PA_RISC2_0
583 case "${sc_kernel_bits}" in623 case "${sc_kernel_bits}" in
584 32) HP_ARCH="hppa2.0n" ;;624 32) HP_ARCH="hppa2.0n" ;;
585 64) HP_ARCH="hppa2.0w" ;;625 64) HP_ARCH="hppa2.0w" ;;
586 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20626 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
587 esac ;;627 esac ;;
588 esac628 esac
589 fi629 fi
590 if [ "${HP_ARCH}" = "" ]; then630 if [ "${HP_ARCH}" = "" ]; then
591 eval $set_cc_for_build631 eval $set_cc_for_build
592 sed 's/^ //' << EOF >$dummy.c632 sed 's/^ //' << EOF >$dummy.c
593633
594 #define _HPUX_SOURCE634 #define _HPUX_SOURCE
595 #include <stdlib.h>635 #include <stdlib.h>
596 #include <unistd.h>636 #include <unistd.h>
597637
598 int main ()638 int main ()
599 {639 {
600 #if defined(_SC_KERNEL_BITS)640 #if defined(_SC_KERNEL_BITS)
601 long bits = sysconf(_SC_KERNEL_BITS);641 long bits = sysconf(_SC_KERNEL_BITS);
602 #endif642 #endif
603 long cpu = sysconf (_SC_CPU_VERSION);643 long cpu = sysconf (_SC_CPU_VERSION);
604644
605 switch (cpu)645 switch (cpu)
606 {646 {
607 case CPU_PA_RISC1_0: puts ("hppa1.0"); break;647 case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
608 case CPU_PA_RISC1_1: puts ("hppa1.1"); break;648 case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
609 case CPU_PA_RISC2_0:649 case CPU_PA_RISC2_0:
610 #if defined(_SC_KERNEL_BITS)650 #if defined(_SC_KERNEL_BITS)
611 switch (bits)651 switch (bits)
612 {652 {
613 case 64: puts ("hppa2.0w"); break;653 case 64: puts ("hppa2.0w"); break;
614 case 32: puts ("hppa2.0n"); break;654 case 32: puts ("hppa2.0n"); break;
615 default: puts ("hppa2.0"); break;655 default: puts ("hppa2.0"); break;
616 } break;656 } break;
617 #else /* !defined(_SC_KERNEL_BITS) */657 #else /* !defined(_SC_KERNEL_BITS) */
618 puts ("hppa2.0"); break;658 puts ("hppa2.0"); break;
619 #endif659 #endif
620 default: puts ("hppa1.0"); break;660 default: puts ("hppa1.0"); break;
621 }661 }
622 exit (0);662 exit (0);
623 }663 }
624EOF664EOF
625 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`665 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
626 test -z "$HP_ARCH" && HP_ARCH=hppa666 test -z "$HP_ARCH" && HP_ARCH=hppa
@@ -640,7 +680,7 @@
640 # => hppa64-hp-hpux11.23680 # => hppa64-hp-hpux11.23
641681
642 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |682 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
643 grep __LP64__ >/dev/null683 grep -q __LP64__
644 then684 then
645 HP_ARCH="hppa2.0w"685 HP_ARCH="hppa2.0w"
646 else686 else
@@ -711,22 +751,22 @@
711 exit ;;751 exit ;;
712 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)752 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
713 echo c1-convex-bsd753 echo c1-convex-bsd
714 exit ;;754 exit ;;
715 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)755 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
716 if getsysinfo -f scalar_acc756 if getsysinfo -f scalar_acc
717 then echo c32-convex-bsd757 then echo c32-convex-bsd
718 else echo c2-convex-bsd758 else echo c2-convex-bsd
719 fi759 fi
720 exit ;;760 exit ;;
721 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)761 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
722 echo c34-convex-bsd762 echo c34-convex-bsd
723 exit ;;763 exit ;;
724 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)764 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
725 echo c38-convex-bsd765 echo c38-convex-bsd
726 exit ;;766 exit ;;
727 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)767 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
728 echo c4-convex-bsd768 echo c4-convex-bsd
729 exit ;;769 exit ;;
730 CRAY*Y-MP:*:*:*)770 CRAY*Y-MP:*:*:*)
731 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'771 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
732 exit ;;772 exit ;;
@@ -750,14 +790,14 @@
750 exit ;;790 exit ;;
751 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)791 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
752 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`792 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
753 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`793 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
754 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`794 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
755 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"795 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
756 exit ;;796 exit ;;
757 5000:UNIX_System_V:4.*:*)797 5000:UNIX_System_V:4.*:*)
758 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`798 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
759 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`799 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
760 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"800 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
761 exit ;;801 exit ;;
762 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)802 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
763 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}803 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
@@ -769,40 +809,51 @@
769 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}809 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
770 exit ;;810 exit ;;
771 *:FreeBSD:*:*)811 *:FreeBSD:*:*)
772 case ${UNAME_MACHINE} in812 UNAME_PROCESSOR=`/usr/bin/uname -p`
773 pc98)813 case ${UNAME_PROCESSOR} in
774 echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
775 amd64)814 amd64)
776 echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;815 echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
777 *)816 *)
778 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;817 echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
779 esac818 esac
780 exit ;;819 exit ;;
781 i*:CYGWIN*:*)820 i*:CYGWIN*:*)
782 echo ${UNAME_MACHINE}-pc-cygwin821 echo ${UNAME_MACHINE}-pc-cygwin
783 exit ;;822 exit ;;
823 *:MINGW64*:*)
824 echo ${UNAME_MACHINE}-pc-mingw64
825 exit ;;
784 *:MINGW*:*)826 *:MINGW*:*)
785 echo ${UNAME_MACHINE}-pc-mingw32827 echo ${UNAME_MACHINE}-pc-mingw32
786 exit ;;828 exit ;;
829 i*:MSYS*:*)
830 echo ${UNAME_MACHINE}-pc-msys
831 exit ;;
787 i*:windows32*:*)832 i*:windows32*:*)
788 # uname -m includes "-pc" on this system.833 # uname -m includes "-pc" on this system.
789 echo ${UNAME_MACHINE}-mingw32834 echo ${UNAME_MACHINE}-mingw32
790 exit ;;835 exit ;;
791 i*:PW*:*)836 i*:PW*:*)
792 echo ${UNAME_MACHINE}-pc-pw32837 echo ${UNAME_MACHINE}-pc-pw32
793 exit ;;838 exit ;;
794 *:Interix*:[3456]*)839 *:Interix*:*)
795 case ${UNAME_MACHINE} in840 case ${UNAME_MACHINE} in
796 x86) 841 x86)
797 echo i586-pc-interix${UNAME_RELEASE}842 echo i586-pc-interix${UNAME_RELEASE}
798 exit ;;843 exit ;;
799 EM64T | authenticamd)844 authenticamd | genuineintel | EM64T)
800 echo x86_64-unknown-interix${UNAME_RELEASE}845 echo x86_64-unknown-interix${UNAME_RELEASE}
801 exit ;;846 exit ;;
847 IA64)
848 echo ia64-unknown-interix${UNAME_RELEASE}
849 exit ;;
802 esac ;;850 esac ;;
803 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)851 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
804 echo i${UNAME_MACHINE}-pc-mks852 echo i${UNAME_MACHINE}-pc-mks
805 exit ;;853 exit ;;
854 8664:Windows_NT:*)
855 echo x86_64-pc-mks
856 exit ;;
806 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)857 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
807 # How do we know it's Interix rather than the generic POSIX subsystem?858 # How do we know it's Interix rather than the generic POSIX subsystem?
808 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we859 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
@@ -823,203 +874,157 @@
823 exit ;;874 exit ;;
824 *:GNU:*:*)875 *:GNU:*:*)
825 # the GNU system876 # the GNU system
826 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`877 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
827 exit ;;878 exit ;;
828 *:GNU/*:*:*)879 *:GNU/*:*:*)
829 # other systems with GNU libc and userland880 # other systems with GNU libc and userland
830 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu881 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
831 exit ;;882 exit ;;
832 i*86:Minix:*:*)883 i*86:Minix:*:*)
833 echo ${UNAME_MACHINE}-pc-minix884 echo ${UNAME_MACHINE}-pc-minix
834 exit ;;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 ;;
835 arm*:Linux:*:*)910 arm*:Linux:*:*)
836 echo ${UNAME_MACHINE}-unknown-linux-gnu911 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
837 exit ;;925 exit ;;
838 avr32*:Linux:*:*)926 avr32*:Linux:*:*)
839 echo ${UNAME_MACHINE}-unknown-linux-gnu927 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
840 exit ;;928 exit ;;
841 cris:Linux:*:*)929 cris:Linux:*:*)
842 echo cris-axis-linux-gnu930 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
843 exit ;;931 exit ;;
844 crisv32:Linux:*:*)932 crisv32:Linux:*:*)
845 echo crisv32-axis-linux-gnu933 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
846 exit ;;934 exit ;;
847 frv:Linux:*:*)935 frv:Linux:*:*)
848 echo frv-unknown-linux-gnu936 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}
849 exit ;;943 exit ;;
850 ia64:Linux:*:*)944 ia64:Linux:*:*)
851 echo ${UNAME_MACHINE}-unknown-linux-gnu945 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
852 exit ;;946 exit ;;
853 m32r*:Linux:*:*)947 m32r*:Linux:*:*)
854 echo ${UNAME_MACHINE}-unknown-linux-gnu948 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
855 exit ;;949 exit ;;
856 m68*:Linux:*:*)950 m68*:Linux:*:*)
857 echo ${UNAME_MACHINE}-unknown-linux-gnu951 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
858 exit ;;952 exit ;;
859 mips:Linux:*:*)953 mips:Linux:*:* | mips64:Linux:*:*)
860 eval $set_cc_for_build954 eval $set_cc_for_build
861 sed 's/^ //' << EOF >$dummy.c955 sed 's/^ //' << EOF >$dummy.c
862 #undef CPU956 #undef CPU
863 #undef mips957 #undef ${UNAME_MACHINE}
864 #undef mipsel958 #undef ${UNAME_MACHINE}el
865 #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)959 #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
866 CPU=mipsel960 CPU=${UNAME_MACHINE}el
867 #else961 #else
868 #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)962 #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
869 CPU=mips963 CPU=${UNAME_MACHINE}
870 #else964 #else
871 CPU=965 CPU=
872 #endif966 #endif
873 #endif967 #endif
874EOF968EOF
875 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '969 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
876 /^CPU/{970 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
877 s: ::g971 ;;
878 p972 or1k:Linux:*:*)
879 }'`"973 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
880 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }974 exit ;;
881 ;;
882 mips64:Linux:*:*)
883 eval $set_cc_for_build
884 sed 's/^ //' << EOF >$dummy.c
885 #undef CPU
886 #undef mips64
887 #undef mips64el
888 #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
889 CPU=mips64el
890 #else
891 #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
892 CPU=mips64
893 #else
894 CPU=
895 #endif
896 #endif
897EOF
898 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
899 /^CPU/{
900 s: ::g
901 p
902 }'`"
903 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
904 ;;
905 or32:Linux:*:*)975 or32:Linux:*:*)
906 echo or32-unknown-linux-gnu976 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
907 exit ;;977 exit ;;
908 ppc:Linux:*:*)978 padre:Linux:*:*)
909 echo powerpc-unknown-linux-gnu979 echo sparc-unknown-linux-${LIBC}
910 exit ;;980 exit ;;
911 ppc64:Linux:*:*)981 parisc64:Linux:*:* | hppa64:Linux:*:*)
912 echo powerpc64-unknown-linux-gnu982 echo hppa64-unknown-linux-${LIBC}
913 exit ;;
914 alpha:Linux:*:*)
915 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
916 EV5) UNAME_MACHINE=alphaev5 ;;
917 EV56) UNAME_MACHINE=alphaev56 ;;
918 PCA56) UNAME_MACHINE=alphapca56 ;;
919 PCA57) UNAME_MACHINE=alphapca56 ;;
920 EV6) UNAME_MACHINE=alphaev6 ;;
921 EV67) UNAME_MACHINE=alphaev67 ;;
922 EV68*) UNAME_MACHINE=alphaev68 ;;
923 esac
924 objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
925 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
926 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
927 exit ;;983 exit ;;
928 parisc:Linux:*:* | hppa:Linux:*:*)984 parisc:Linux:*:* | hppa:Linux:*:*)
929 # Look for CPU level985 # Look for CPU level
930 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in986 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
931 PA7*) echo hppa1.1-unknown-linux-gnu ;;987 PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
932 PA8*) echo hppa2.0-unknown-linux-gnu ;;988 PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
933 *) echo hppa-unknown-linux-gnu ;;989 *) echo hppa-unknown-linux-${LIBC} ;;
934 esac990 esac
935 exit ;;991 exit ;;
936 parisc64:Linux:*:* | hppa64:Linux:*:*)992 ppc64:Linux:*:*)
937 echo hppa64-unknown-linux-gnu993 echo powerpc64-unknown-linux-${LIBC}
994 exit ;;
995 ppc:Linux:*:*)
996 echo powerpc-unknown-linux-${LIBC}
997 exit ;;
998 ppc64le:Linux:*:*)
999 echo powerpc64le-unknown-linux-${LIBC}
1000 exit ;;
1001 ppcle:Linux:*:*)
1002 echo powerpcle-unknown-linux-${LIBC}
938 exit ;;1003 exit ;;
939 s390:Linux:*:* | s390x:Linux:*:*)1004 s390:Linux:*:* | s390x:Linux:*:*)
940 echo ${UNAME_MACHINE}-ibm-linux1005 echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
941 exit ;;1006 exit ;;
942 sh64*:Linux:*:*)1007 sh64*:Linux:*:*)
943 echo ${UNAME_MACHINE}-unknown-linux-gnu1008 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
944 exit ;;1009 exit ;;
945 sh*:Linux:*:*)1010 sh*:Linux:*:*)
946 echo ${UNAME_MACHINE}-unknown-linux-gnu1011 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
947 exit ;;1012 exit ;;
948 sparc:Linux:*:* | sparc64:Linux:*:*)1013 sparc:Linux:*:* | sparc64:Linux:*:*)
949 echo ${UNAME_MACHINE}-unknown-linux-gnu1014 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1015 exit ;;
1016 tile*:Linux:*:*)
1017 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
950 exit ;;1018 exit ;;
951 vax:Linux:*:*)1019 vax:Linux:*:*)
952 echo ${UNAME_MACHINE}-dec-linux-gnu1020 echo ${UNAME_MACHINE}-dec-linux-${LIBC}
953 exit ;;1021 exit ;;
954 x86_64:Linux:*:*)1022 x86_64:Linux:*:*)
955 echo x86_64-unknown-linux-gnu1023 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
956 exit ;;1024 exit ;;
957 xtensa:Linux:*:*)1025 xtensa*:Linux:*:*)
958 echo xtensa-unknown-linux-gnu1026 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
959 exit ;;1027 exit ;;
960 i*86:Linux:*:*)
961 # The BFD linker knows what the default object file format is, so
962 # first see if it will tell us. cd to the root directory to prevent
963 # problems with other programs or directories called `ld' in the path.
964 # Set LC_ALL=C to ensure ld outputs messages in English.
965 ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
966 | sed -ne '/supported targets:/!d
967 s/[ ][ ]*/ /g
968 s/.*supported targets: *//
969 s/ .*//
970 p'`
971 case "$ld_supported_targets" in
972 elf32-i386)
973 TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
974 ;;
975 a.out-i386-linux)
976 echo "${UNAME_MACHINE}-pc-linux-gnuaout"
977 exit ;;
978 coff-i386)
979 echo "${UNAME_MACHINE}-pc-linux-gnucoff"
980 exit ;;
981 "")
982 # Either a pre-BFD a.out linker (linux-gnuoldld) or
983 # one that does not give us useful --help.
984 echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
985 exit ;;
986 esac
987 # Determine whether the default compiler is a.out or elf
988 eval $set_cc_for_build
989 sed 's/^ //' << EOF >$dummy.c
990 #include <features.h>
991 #ifdef __ELF__
992 # ifdef __GLIBC__
993 # if __GLIBC__ >= 2
994 LIBC=gnu
995 # else
996 LIBC=gnulibc1
997 # endif
998 # else
999 LIBC=gnulibc1
1000 # endif
1001 #else
1002 #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
1003 LIBC=gnu
1004 #else
1005 LIBC=gnuaout
1006 #endif
1007 #endif
1008 #ifdef __dietlibc__
1009 LIBC=dietlibc
1010 #endif
1011EOF
1012 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
1013 /^LIBC/{
1014 s: ::g
1015 p
1016 }'`"
1017 test x"${LIBC}" != x && {
1018 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
1019 exit
1020 }
1021 test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
1022 ;;
1023 i*86:DYNIX/ptx:4*:*)1028 i*86:DYNIX/ptx:4*:*)
1024 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.1029 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
1025 # earlier versions are messed up and put the nodename in both1030 # earlier versions are messed up and put the nodename in both
@@ -1027,11 +1032,11 @@
1027 echo i386-sequent-sysv41032 echo i386-sequent-sysv4
1028 exit ;;1033 exit ;;
1029 i*86:UNIX_SV:4.2MP:2.*)1034 i*86:UNIX_SV:4.2MP:2.*)
1030 # Unixware is an offshoot of SVR4, but it has its own version1035 # Unixware is an offshoot of SVR4, but it has its own version
1031 # number series starting with 2...1036 # number series starting with 2...
1032 # I am not positive that other SVR4 systems won't match this,1037 # I am not positive that other SVR4 systems won't match this,
1033 # I just have to hope. -- rms.1038 # I just have to hope. -- rms.
1034 # Use sysv4.2uw... so that sysv4* matches it.1039 # Use sysv4.2uw... so that sysv4* matches it.
1035 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}1040 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
1036 exit ;;1041 exit ;;
1037 i*86:OS/2:*:*)1042 i*86:OS/2:*:*)
@@ -1048,7 +1053,7 @@
1048 i*86:syllable:*:*)1053 i*86:syllable:*:*)
1049 echo ${UNAME_MACHINE}-pc-syllable1054 echo ${UNAME_MACHINE}-pc-syllable
1050 exit ;;1055 exit ;;
1051 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)1056 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
1052 echo i386-unknown-lynxos${UNAME_RELEASE}1057 echo i386-unknown-lynxos${UNAME_RELEASE}
1053 exit ;;1058 exit ;;
1054 i*86:*DOS:*:*)1059 i*86:*DOS:*:*)
@@ -1063,7 +1068,7 @@
1063 fi1068 fi
1064 exit ;;1069 exit ;;
1065 i*86:*:5:[678]*)1070 i*86:*:5:[678]*)
1066 # UnixWare 7.x, OpenUNIX and OpenServer 6.1071 # UnixWare 7.x, OpenUNIX and OpenServer 6.
1067 case `/bin/uname -X | grep "^Machine"` in1072 case `/bin/uname -X | grep "^Machine"` in
1068 *486*) UNAME_MACHINE=i486 ;;1073 *486*) UNAME_MACHINE=i486 ;;
1069 *Pentium) UNAME_MACHINE=i586 ;;1074 *Pentium) UNAME_MACHINE=i586 ;;
@@ -1091,10 +1096,13 @@
1091 exit ;;1096 exit ;;
1092 pc:*:*:*)1097 pc:*:*:*)
1093 # Left here for compatibility:1098 # Left here for compatibility:
1094 # uname -m prints for DJGPP always 'pc', but it prints nothing about1099 # uname -m prints for DJGPP always 'pc', but it prints nothing about
1095 # the processor, so we play safe by assuming i386.1100 # the processor, so we play safe by assuming i586.
1096 echo i386-pc-msdosdjgpp1101 # Note: whatever this is, it MUST be the same as what config.sub
1097 exit ;;1102 # prints for the "djgpp" host, or else GDB configury will decide that
1103 # this is a cross-build.
1104 echo i586-pc-msdosdjgpp
1105 exit ;;
1098 Intel:Mach:3*:*)1106 Intel:Mach:3*:*)
1099 echo i386-pc-mach31107 echo i386-pc-mach3
1100 exit ;;1108 exit ;;
@@ -1129,8 +1137,18 @@
1129 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \1137 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1130 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;1138 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1131 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)1139 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1132 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \1140 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1133 && { echo i486-ncr-sysv4; exit; } ;;1141 && { echo i486-ncr-sysv4; exit; } ;;
1142 NCR*:*:4.2:* | MPRAS*:*:4.2:*)
1143 OS_REL='.3'
1144 test -r /etc/.relid \
1145 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1146 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1147 && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1148 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1149 && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
1150 /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
1151 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1134 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)1152 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1135 echo m68k-unknown-lynxos${UNAME_RELEASE}1153 echo m68k-unknown-lynxos${UNAME_RELEASE}
1136 exit ;;1154 exit ;;
@@ -1143,7 +1161,7 @@
1143 rs6000:LynxOS:2.*:*)1161 rs6000:LynxOS:2.*:*)
1144 echo rs6000-unknown-lynxos${UNAME_RELEASE}1162 echo rs6000-unknown-lynxos${UNAME_RELEASE}
1145 exit ;;1163 exit ;;
1146 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)1164 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
1147 echo powerpc-unknown-lynxos${UNAME_RELEASE}1165 echo powerpc-unknown-lynxos${UNAME_RELEASE}
1148 exit ;;1166 exit ;;
1149 SM[BE]S:UNIX_SV:*:*)1167 SM[BE]S:UNIX_SV:*:*)
@@ -1163,10 +1181,10 @@
1163 echo ns32k-sni-sysv1181 echo ns32k-sni-sysv
1164 fi1182 fi
1165 exit ;;1183 exit ;;
1166 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort1184 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1167 # says <Richard.M.Bartel@ccMail.Census.GOV>1185 # says <Richard.M.Bartel@ccMail.Census.GOV>
1168 echo i586-unisys-sysv41186 echo i586-unisys-sysv4
1169 exit ;;1187 exit ;;
1170 *:UNIX_System_V:4*:FTX*)1188 *:UNIX_System_V:4*:FTX*)
1171 # From Gerald Hewes <hewes@openmarket.com>.1189 # From Gerald Hewes <hewes@openmarket.com>.
1172 # How about differentiating between stratus architectures? -djm1190 # How about differentiating between stratus architectures? -djm
@@ -1192,11 +1210,11 @@
1192 exit ;;1210 exit ;;
1193 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)1211 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1194 if [ -d /usr/nec ]; then1212 if [ -d /usr/nec ]; then
1195 echo mips-nec-sysv${UNAME_RELEASE}1213 echo mips-nec-sysv${UNAME_RELEASE}
1196 else1214 else
1197 echo mips-unknown-sysv${UNAME_RELEASE}1215 echo mips-unknown-sysv${UNAME_RELEASE}
1198 fi1216 fi
1199 exit ;;1217 exit ;;
1200 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.1218 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
1201 echo powerpc-be-beos1219 echo powerpc-be-beos
1202 exit ;;1220 exit ;;
@@ -1206,6 +1224,12 @@
1206 BePC:BeOS:*:*) # BeOS running on Intel PC compatible.1224 BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
1207 echo i586-pc-beos1225 echo i586-pc-beos
1208 exit ;;1226 exit ;;
1227 BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
1228 echo i586-pc-haiku
1229 exit ;;
1230 x86_64:Haiku:*:*)
1231 echo x86_64-unknown-haiku
1232 exit ;;
1209 SX-4:SUPER-UX:*:*)1233 SX-4:SUPER-UX:*:*)
1210 echo sx4-nec-superux${UNAME_RELEASE}1234 echo sx4-nec-superux${UNAME_RELEASE}
1211 exit ;;1235 exit ;;
@@ -1232,9 +1256,21 @@
1232 exit ;;1256 exit ;;
1233 *:Darwin:*:*)1257 *:Darwin:*:*)
1234 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown1258 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1235 case $UNAME_PROCESSOR in1259 eval $set_cc_for_build
1236 unknown) UNAME_PROCESSOR=powerpc ;;1260 if test "$UNAME_PROCESSOR" = unknown ; then
1237 esac1261 UNAME_PROCESSOR=powerpc
1262 fi
1263 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1264 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1265 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1266 grep IS_64BIT_ARCH >/dev/null
1267 then
1268 case $UNAME_PROCESSOR in
1269 i386) UNAME_PROCESSOR=x86_64 ;;
1270 powerpc) UNAME_PROCESSOR=powerpc64 ;;
1271 esac
1272 fi
1273 fi
1238 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}1274 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1239 exit ;;1275 exit ;;
1240 *:procnto*:*:* | *:QNX:[0123456789]*:*)1276 *:procnto*:*:* | *:QNX:[0123456789]*:*)
@@ -1248,7 +1284,10 @@
1248 *:QNX:*:4*)1284 *:QNX:*:4*)
1249 echo i386-pc-qnx1285 echo i386-pc-qnx
1250 exit ;;1286 exit ;;
1251 NSE-?:NONSTOP_KERNEL:*:*)1287 NEO-?:NONSTOP_KERNEL:*:*)
1288 echo neo-tandem-nsk${UNAME_RELEASE}
1289 exit ;;
1290 NSE-*:NONSTOP_KERNEL:*:*)
1252 echo nse-tandem-nsk${UNAME_RELEASE}1291 echo nse-tandem-nsk${UNAME_RELEASE}
1253 exit ;;1292 exit ;;
1254 NSR-?:NONSTOP_KERNEL:*:*)1293 NSR-?:NONSTOP_KERNEL:*:*)
@@ -1293,13 +1332,13 @@
1293 echo pdp10-unknown-its1332 echo pdp10-unknown-its
1294 exit ;;1333 exit ;;
1295 SEI:*:*:SEIUX)1334 SEI:*:*:SEIUX)
1296 echo mips-sei-seiux${UNAME_RELEASE}1335 echo mips-sei-seiux${UNAME_RELEASE}
1297 exit ;;1336 exit ;;
1298 *:DragonFly:*:*)1337 *:DragonFly:*:*)
1299 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`1338 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1300 exit ;;1339 exit ;;
1301 *:*VMS:*:*)1340 *:*VMS:*:*)
1302 UNAME_MACHINE=`(uname -p) 2>/dev/null`1341 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1303 case "${UNAME_MACHINE}" in1342 case "${UNAME_MACHINE}" in
1304 A*) echo alpha-dec-vms ; exit ;;1343 A*) echo alpha-dec-vms ; exit ;;
1305 I*) echo ia64-dec-vms ; exit ;;1344 I*) echo ia64-dec-vms ; exit ;;
@@ -1314,11 +1353,14 @@
1314 i*86:rdos:*:*)1353 i*86:rdos:*:*)
1315 echo ${UNAME_MACHINE}-pc-rdos1354 echo ${UNAME_MACHINE}-pc-rdos
1316 exit ;;1355 exit ;;
1356 i*86:AROS:*:*)
1357 echo ${UNAME_MACHINE}-pc-aros
1358 exit ;;
1359 x86_64:VMkernel:*:*)
1360 echo ${UNAME_MACHINE}-unknown-esx
1361 exit ;;
1317esac1362esac
13181363
1319#echo '(No uname command or uname output not recognized.)' 1>&2
1320#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
1321
1322eval $set_cc_for_build1364eval $set_cc_for_build
1323cat >$dummy.c <<EOF1365cat >$dummy.c <<EOF
1324#ifdef _SEQUENT_1366#ifdef _SEQUENT_
@@ -1336,11 +1378,11 @@
1336#include <sys/param.h>1378#include <sys/param.h>
1337 printf ("m68k-sony-newsos%s\n",1379 printf ("m68k-sony-newsos%s\n",
1338#ifdef NEWSOS41380#ifdef NEWSOS4
1339 "4"1381 "4"
1340#else1382#else
1341 ""1383 ""
1342#endif1384#endif
1343 ); exit (0);1385 ); exit (0);
1344#endif1386#endif
1345#endif1387#endif
13461388
@@ -1474,9 +1516,9 @@
1474the operating system you are using. It is advised that you1516the operating system you are using. It is advised that you
1475download the most up to date version of the config scripts from1517download the most up to date version of the config scripts from
14761518
1477 http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess1519 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
1478and1520and
1479 http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub1521 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
14801522
1481If the version you run ($0) is already up to date, please1523If the version you run ($0) is already up to date, please
1482send the following data and any information you think might be1524send the following data and any information you think might be
14831525
=== modified file 'debian/build/config.sub'
--- debian/build/config.sub 2007-05-05 20:10:00 +0000
+++ debian/build/config.sub 2014-05-10 06:44:29 +0000
@@ -1,44 +1,40 @@
1#! /bin/sh1#! /bin/sh
2# Configuration validation subroutine script.2# Configuration validation subroutine script.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,3# Copyright 1992-2013 Free Software Foundation, Inc.
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,4
5# Inc.5timestamp='2013-08-10'
66
7timestamp='2007-01-18'7# This file is free software; you can redistribute it and/or modify it
88# under the terms of the GNU General Public License as published by
9# This file is (in principle) common to ALL GNU software.9# the Free Software Foundation; either version 3 of the License, or
10# The presence of a machine in this file suggests that SOME GNU software
11# can handle that machine. It does not imply ALL GNU software can.
12#
13# This file is free software; you can redistribute it and/or modify
14# it under the terms of the GNU General Public License as published by
15# the Free Software Foundation; either version 2 of the License, or
16# (at your option) any later version.10# (at your option) any later version.
17#11#
18# This program is distributed in the hope that it will be useful,12# This program is distributed in the hope that it will be useful, but
19# but WITHOUT ANY WARRANTY; without even the implied warranty of13# WITHOUT ANY WARRANTY; without even the implied warranty of
20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21# GNU General Public License for more details.15# General Public License for more details.
22#16#
23# You should have received a copy of the GNU General Public License17# You should have received a copy of the GNU General Public License
24# along with this program; if not, write to the Free Software18# along with this program; if not, see <http://www.gnu.org/licenses/>.
25# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
26# 02110-1301, USA.
27#19#
28# As a special exception to the GNU General Public License, if you20# As a special exception to the GNU General Public License, if you
29# distribute this file as part of a program that contains a21# distribute this file as part of a program that contains a
30# configuration script generated by Autoconf, you may include it under22# configuration script generated by Autoconf, you may include it under
31# the same distribution terms that you use for the rest of that program.23# the same distribution terms that you use for the rest of that
3224# program. This Exception is an additional permission under section 7
3325# of the GNU General Public License, version 3 ("GPLv3").
34# Please send patches to <config-patches@gnu.org>. Submit a context26
35# diff and a properly formatted ChangeLog entry.27
28# Please send patches with a ChangeLog entry to config-patches@gnu.org.
36#29#
37# Configuration subroutine to validate and canonicalize a configuration type.30# Configuration subroutine to validate and canonicalize a configuration type.
38# Supply the specified configuration type as an argument.31# Supply the specified configuration type as an argument.
39# If it is invalid, we print an error message on stderr and exit with code 1.32# If it is invalid, we print an error message on stderr and exit with code 1.
40# Otherwise, we print the canonical config type on stdout and succeed.33# Otherwise, we print the canonical config type on stdout and succeed.
4134
35# You can get the latest version of this script from:
36# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
37
42# This file is supposed to be the same for all GNU packages38# This file is supposed to be the same for all GNU packages
43# and recognize all the CPU types, system types and aliases39# and recognize all the CPU types, system types and aliases
44# that are meaningful with *any* GNU software.40# that are meaningful with *any* GNU software.
@@ -72,8 +68,7 @@
72version="\68version="\
73GNU config.sub ($timestamp)69GNU config.sub ($timestamp)
7470
75Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 200571Copyright 1992-2013 Free Software Foundation, Inc.
76Free Software Foundation, Inc.
7772
78This is free software; see the source for copying conditions. There is NO73This is free software; see the source for copying conditions. There is NO
79warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."74warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -120,12 +115,18 @@
120# Here we must recognize all the valid KERNEL-OS combinations.115# Here we must recognize all the valid KERNEL-OS combinations.
121maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`116maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
122case $maybe_os in117case $maybe_os in
123 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \118 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
124 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \119 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
120 knetbsd*-gnu* | netbsd*-gnu* | \
121 kopensolaris*-gnu* | \
125 storm-chaos* | os2-emx* | rtmk-nova*)122 storm-chaos* | os2-emx* | rtmk-nova*)
126 os=-$maybe_os123 os=-$maybe_os
127 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`124 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
128 ;;125 ;;
126 android-linux)
127 os=-linux-android
128 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
129 ;;
129 *)130 *)
130 basic_machine=`echo $1 | sed 's/-[^-]*$//'`131 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
131 if [ $basic_machine != $1 ]132 if [ $basic_machine != $1 ]
@@ -148,10 +149,13 @@
148 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\149 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
149 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \150 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
150 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \151 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
151 -apple | -axis | -knuth | -cray)152 -apple | -axis | -knuth | -cray | -microblaze*)
152 os=153 os=
153 basic_machine=$1154 basic_machine=$1
154 ;;155 ;;
156 -bluegene*)
157 os=-cnk
158 ;;
155 -sim | -cisco | -oki | -wec | -winbond)159 -sim | -cisco | -oki | -wec | -winbond)
156 os=160 os=
157 basic_machine=$1161 basic_machine=$1
@@ -166,10 +170,10 @@
166 os=-chorusos170 os=-chorusos
167 basic_machine=$1171 basic_machine=$1
168 ;;172 ;;
169 -chorusrdb)173 -chorusrdb)
170 os=-chorusrdb174 os=-chorusrdb
171 basic_machine=$1175 basic_machine=$1
172 ;;176 ;;
173 -hiux*)177 -hiux*)
174 os=-hiuxwe2178 os=-hiuxwe2
175 ;;179 ;;
@@ -214,6 +218,12 @@
214 -isc*)218 -isc*)
215 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`219 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
216 ;;220 ;;
221 -lynx*178)
222 os=-lynxos178
223 ;;
224 -lynx*5)
225 os=-lynxos5
226 ;;
217 -lynx*)227 -lynx*)
218 os=-lynxos228 os=-lynxos
219 ;;229 ;;
@@ -238,24 +248,34 @@
238 # Some are omitted here because they have special meanings below.248 # Some are omitted here because they have special meanings below.
239 1750a | 580 \249 1750a | 580 \
240 | a29k \250 | a29k \
251 | aarch64 | aarch64_be \
241 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \252 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
242 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \253 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
243 | am33_2.0 \254 | am33_2.0 \
244 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \255 | arc | arceb \
256 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
257 | avr | avr32 \
258 | be32 | be64 \
245 | bfin \259 | bfin \
246 | c4x | clipper \260 | c4x | c8051 | clipper \
247 | d10v | d30v | dlx | dsp16xx \261 | d10v | d30v | dlx | dsp16xx \
262 | epiphany \
248 | fido | fr30 | frv \263 | fido | fr30 | frv \
249 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \264 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
265 | hexagon \
250 | i370 | i860 | i960 | ia64 \266 | i370 | i860 | i960 | ia64 \
251 | ip2k | iq2000 \267 | ip2k | iq2000 \
268 | le32 | le64 \
269 | lm32 \
252 | m32c | m32r | m32rle | m68000 | m68k | m88k \270 | m32c | m32r | m32rle | m68000 | m68k | m88k \
253 | maxq | mb | microblaze | mcore | mep \271 | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
254 | mips | mipsbe | mipseb | mipsel | mipsle \272 | mips | mipsbe | mipseb | mipsel | mipsle \
255 | mips16 \273 | mips16 \
256 | mips64 | mips64el \274 | mips64 | mips64el \
275 | mips64octeon | mips64octeonel \
276 | mips64orion | mips64orionel \
277 | mips64r5900 | mips64r5900el \
257 | mips64vr | mips64vrel \278 | mips64vr | mips64vrel \
258 | mips64orion | mips64orionel \
259 | mips64vr4100 | mips64vr4100el \279 | mips64vr4100 | mips64vr4100el \
260 | mips64vr4300 | mips64vr4300el \280 | mips64vr4300 | mips64vr4300el \
261 | mips64vr5000 | mips64vr5000el \281 | mips64vr5000 | mips64vr5000el \
@@ -266,31 +286,45 @@
266 | mipsisa64r2 | mipsisa64r2el \286 | mipsisa64r2 | mipsisa64r2el \
267 | mipsisa64sb1 | mipsisa64sb1el \287 | mipsisa64sb1 | mipsisa64sb1el \
268 | mipsisa64sr71k | mipsisa64sr71kel \288 | mipsisa64sr71k | mipsisa64sr71kel \
289 | mipsr5900 | mipsr5900el \
269 | mipstx39 | mipstx39el \290 | mipstx39 | mipstx39el \
270 | mn10200 | mn10300 \291 | mn10200 | mn10300 \
292 | moxie \
271 | mt \293 | mt \
272 | msp430 \294 | msp430 \
273 | nios | nios2 \295 | nds32 | nds32le | nds32be \
296 | nios | nios2 | nios2eb | nios2el \
274 | ns16k | ns32k \297 | ns16k | ns32k \
275 | or32 \298 | open8 \
299 | or1k | or32 \
276 | pdp10 | pdp11 | pj | pjl \300 | pdp10 | pdp11 | pj | pjl \
277 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \301 | powerpc | powerpc64 | powerpc64le | powerpcle \
278 | pyramid \302 | pyramid \
303 | rl78 | rx \
279 | score \304 | score \
280 | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \305 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
281 | sh64 | sh64le \306 | sh64 | sh64le \
282 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \307 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
283 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \308 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
284 | spu | strongarm \309 | spu \
285 | tahoe | thumb | tic4x | tic80 | tron \310 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
286 | v850 | v850e \311 | ubicom32 \
312 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
287 | we32k \313 | we32k \
288 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \314 | x86 | xc16x | xstormy16 | xtensa \
289 | z8k)315 | z8k | z80)
290 basic_machine=$basic_machine-unknown316 basic_machine=$basic_machine-unknown
291 ;;317 ;;
292 m6811 | m68hc11 | m6812 | m68hc12)318 c54x)
293 # Motorola 68HC11/12.319 basic_machine=tic54x-unknown
320 ;;
321 c55x)
322 basic_machine=tic55x-unknown
323 ;;
324 c6x)
325 basic_machine=tic6x-unknown
326 ;;
327 m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
294 basic_machine=$basic_machine-unknown328 basic_machine=$basic_machine-unknown
295 os=-none329 os=-none
296 ;;330 ;;
@@ -300,6 +334,21 @@
300 basic_machine=mt-unknown334 basic_machine=mt-unknown
301 ;;335 ;;
302336
337 strongarm | thumb | xscale)
338 basic_machine=arm-unknown
339 ;;
340 xgate)
341 basic_machine=$basic_machine-unknown
342 os=-none
343 ;;
344 xscaleeb)
345 basic_machine=armeb-unknown
346 ;;
347
348 xscaleel)
349 basic_machine=armel-unknown
350 ;;
351
303 # We use `pc' rather than `unknown'352 # We use `pc' rather than `unknown'
304 # because (1) that's what they normally are, and353 # because (1) that's what they normally are, and
305 # (2) the word "unknown" tends to confuse beginning users.354 # (2) the word "unknown" tends to confuse beginning users.
@@ -314,29 +363,37 @@
314 # Recognize the basic CPU types with company name.363 # Recognize the basic CPU types with company name.
315 580-* \364 580-* \
316 | a29k-* \365 | a29k-* \
366 | aarch64-* | aarch64_be-* \
317 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \367 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
318 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \368 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
319 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \369 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
320 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \370 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
321 | avr-* | avr32-* \371 | avr-* | avr32-* \
372 | be32-* | be64-* \
322 | bfin-* | bs2000-* \373 | bfin-* | bs2000-* \
323 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \374 | c[123]* | c30-* | [cjt]90-* | c4x-* \
324 | clipper-* | craynv-* | cydra-* \375 | c8051-* | clipper-* | craynv-* | cydra-* \
325 | d10v-* | d30v-* | dlx-* \376 | d10v-* | d30v-* | dlx-* \
326 | elxsi-* \377 | elxsi-* \
327 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \378 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
328 | h8300-* | h8500-* \379 | h8300-* | h8500-* \
329 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \380 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
381 | hexagon-* \
330 | i*86-* | i860-* | i960-* | ia64-* \382 | i*86-* | i860-* | i960-* | ia64-* \
331 | ip2k-* | iq2000-* \383 | ip2k-* | iq2000-* \
384 | le32-* | le64-* \
385 | lm32-* \
332 | m32c-* | m32r-* | m32rle-* \386 | m32c-* | m32r-* | m32rle-* \
333 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \387 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
334 | m88110-* | m88k-* | maxq-* | mcore-* \388 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
389 | microblaze-* | microblazeel-* \
335 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \390 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
336 | mips16-* \391 | mips16-* \
337 | mips64-* | mips64el-* \392 | mips64-* | mips64el-* \
393 | mips64octeon-* | mips64octeonel-* \
394 | mips64orion-* | mips64orionel-* \
395 | mips64r5900-* | mips64r5900el-* \
338 | mips64vr-* | mips64vrel-* \396 | mips64vr-* | mips64vrel-* \
339 | mips64orion-* | mips64orionel-* \
340 | mips64vr4100-* | mips64vr4100el-* \397 | mips64vr4100-* | mips64vr4100el-* \
341 | mips64vr4300-* | mips64vr4300el-* \398 | mips64vr4300-* | mips64vr4300el-* \
342 | mips64vr5000-* | mips64vr5000el-* \399 | mips64vr5000-* | mips64vr5000el-* \
@@ -347,31 +404,41 @@
347 | mipsisa64r2-* | mipsisa64r2el-* \404 | mipsisa64r2-* | mipsisa64r2el-* \
348 | mipsisa64sb1-* | mipsisa64sb1el-* \405 | mipsisa64sb1-* | mipsisa64sb1el-* \
349 | mipsisa64sr71k-* | mipsisa64sr71kel-* \406 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
407 | mipsr5900-* | mipsr5900el-* \
350 | mipstx39-* | mipstx39el-* \408 | mipstx39-* | mipstx39el-* \
351 | mmix-* \409 | mmix-* \
352 | mt-* \410 | mt-* \
353 | msp430-* \411 | msp430-* \
354 | nios-* | nios2-* \412 | nds32-* | nds32le-* | nds32be-* \
413 | nios-* | nios2-* | nios2eb-* | nios2el-* \
355 | none-* | np1-* | ns16k-* | ns32k-* \414 | none-* | np1-* | ns16k-* | ns32k-* \
415 | open8-* \
356 | orion-* \416 | orion-* \
357 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \417 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
358 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \418 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
359 | pyramid-* \419 | pyramid-* \
360 | romp-* | rs6000-* \420 | rl78-* | romp-* | rs6000-* | rx-* \
361 | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \421 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
362 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \422 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
363 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \423 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
364 | sparclite-* \424 | sparclite-* \
365 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \425 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
366 | tahoe-* | thumb-* \426 | tahoe-* \
367 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \427 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
428 | tile*-* \
368 | tron-* \429 | tron-* \
369 | v850-* | v850e-* | vax-* \430 | ubicom32-* \
431 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
432 | vax-* \
370 | we32k-* \433 | we32k-* \
371 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \434 | x86-* | x86_64-* | xc16x-* | xps100-* \
372 | xstormy16-* | xtensa-* \435 | xstormy16-* | xtensa*-* \
373 | ymp-* \436 | ymp-* \
374 | z8k-*)437 | z8k-* | z80-*)
438 ;;
439 # Recognize the basic CPU types without company name, with glob match.
440 xtensa*)
441 basic_machine=$basic_machine-unknown
375 ;;442 ;;
376 # Recognize the various machine names and aliases which stand443 # Recognize the various machine names and aliases which stand
377 # for a CPU type and a company and sometimes even an OS.444 # for a CPU type and a company and sometimes even an OS.
@@ -389,7 +456,7 @@
389 basic_machine=a29k-amd456 basic_machine=a29k-amd
390 os=-udi457 os=-udi
391 ;;458 ;;
392 abacus)459 abacus)
393 basic_machine=abacus-unknown460 basic_machine=abacus-unknown
394 ;;461 ;;
395 adobe68k)462 adobe68k)
@@ -435,6 +502,10 @@
435 basic_machine=m68k-apollo502 basic_machine=m68k-apollo
436 os=-bsd503 os=-bsd
437 ;;504 ;;
505 aros)
506 basic_machine=i386-pc
507 os=-aros
508 ;;
438 aux)509 aux)
439 basic_machine=m68k-apple510 basic_machine=m68k-apple
440 os=-aux511 os=-aux
@@ -443,10 +514,35 @@
443 basic_machine=ns32k-sequent514 basic_machine=ns32k-sequent
444 os=-dynix515 os=-dynix
445 ;;516 ;;
517 blackfin)
518 basic_machine=bfin-unknown
519 os=-linux
520 ;;
521 blackfin-*)
522 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
523 os=-linux
524 ;;
525 bluegene*)
526 basic_machine=powerpc-ibm
527 os=-cnk
528 ;;
529 c54x-*)
530 basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
531 ;;
532 c55x-*)
533 basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
534 ;;
535 c6x-*)
536 basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
537 ;;
446 c90)538 c90)
447 basic_machine=c90-cray539 basic_machine=c90-cray
448 os=-unicos540 os=-unicos
449 ;;541 ;;
542 cegcc)
543 basic_machine=arm-unknown
544 os=-cegcc
545 ;;
450 convex-c1)546 convex-c1)
451 basic_machine=c1-convex547 basic_machine=c1-convex
452 os=-bsd548 os=-bsd
@@ -475,8 +571,8 @@
475 basic_machine=craynv-cray571 basic_machine=craynv-cray
476 os=-unicosmp572 os=-unicosmp
477 ;;573 ;;
478 cr16c)574 cr16 | cr16-*)
479 basic_machine=cr16c-unknown575 basic_machine=cr16-unknown
480 os=-elf576 os=-elf
481 ;;577 ;;
482 crds | unos)578 crds | unos)
@@ -514,6 +610,10 @@
514 basic_machine=m88k-motorola610 basic_machine=m88k-motorola
515 os=-sysv3611 os=-sysv3
516 ;;612 ;;
613 dicos)
614 basic_machine=i686-pc
615 os=-dicos
616 ;;
517 djgpp)617 djgpp)
518 basic_machine=i586-pc618 basic_machine=i586-pc
519 os=-msdosdjgpp619 os=-msdosdjgpp
@@ -629,7 +729,6 @@
629 i370-ibm* | ibm*)729 i370-ibm* | ibm*)
630 basic_machine=i370-ibm730 basic_machine=i370-ibm
631 ;;731 ;;
632# I'm not sure what "Sysv32" means. Should this be sysv3.2?
633 i*86v32)732 i*86v32)
634 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`733 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
635 os=-sysv32734 os=-sysv32
@@ -668,6 +767,14 @@
668 basic_machine=m68k-isi767 basic_machine=m68k-isi
669 os=-sysv768 os=-sysv
670 ;;769 ;;
770 m68knommu)
771 basic_machine=m68k-unknown
772 os=-linux
773 ;;
774 m68knommu-*)
775 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
776 os=-linux
777 ;;
671 m88k-omron*)778 m88k-omron*)
672 basic_machine=m88k-omron779 basic_machine=m88k-omron
673 ;;780 ;;
@@ -679,10 +786,21 @@
679 basic_machine=ns32k-utek786 basic_machine=ns32k-utek
680 os=-sysv787 os=-sysv
681 ;;788 ;;
789 microblaze*)
790 basic_machine=microblaze-xilinx
791 ;;
792 mingw64)
793 basic_machine=x86_64-pc
794 os=-mingw64
795 ;;
682 mingw32)796 mingw32)
683 basic_machine=i386-pc797 basic_machine=i686-pc
684 os=-mingw32798 os=-mingw32
685 ;;799 ;;
800 mingw32ce)
801 basic_machine=arm-unknown
802 os=-mingw32ce
803 ;;
686 miniframe)804 miniframe)
687 basic_machine=m68000-convergent805 basic_machine=m68000-convergent
688 ;;806 ;;
@@ -711,10 +829,18 @@
711 ms1-*)829 ms1-*)
712 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`830 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
713 ;;831 ;;
832 msys)
833 basic_machine=i686-pc
834 os=-msys
835 ;;
714 mvs)836 mvs)
715 basic_machine=i370-ibm837 basic_machine=i370-ibm
716 os=-mvs838 os=-mvs
717 ;;839 ;;
840 nacl)
841 basic_machine=le32-unknown
842 os=-nacl
843 ;;
718 ncr3000)844 ncr3000)
719 basic_machine=i486-ncr845 basic_machine=i486-ncr
720 os=-sysv4846 os=-sysv4
@@ -779,6 +905,12 @@
779 np1)905 np1)
780 basic_machine=np1-gould906 basic_machine=np1-gould
781 ;;907 ;;
908 neo-tandem)
909 basic_machine=neo-tandem
910 ;;
911 nse-tandem)
912 basic_machine=nse-tandem
913 ;;
782 nsr-tandem)914 nsr-tandem)
783 basic_machine=nsr-tandem915 basic_machine=nsr-tandem
784 ;;916 ;;
@@ -809,6 +941,14 @@
809 basic_machine=i860-intel941 basic_machine=i860-intel
810 os=-osf942 os=-osf
811 ;;943 ;;
944 parisc)
945 basic_machine=hppa-unknown
946 os=-linux
947 ;;
948 parisc-*)
949 basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
950 os=-linux
951 ;;
812 pbd)952 pbd)
813 basic_machine=sparc-tti953 basic_machine=sparc-tti
814 ;;954 ;;
@@ -853,9 +993,10 @@
853 ;;993 ;;
854 power) basic_machine=power-ibm994 power) basic_machine=power-ibm
855 ;;995 ;;
856 ppc) basic_machine=powerpc-unknown996 ppc | ppcbe) basic_machine=powerpc-unknown
857 ;;997 ;;
858 ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`998 ppc-* | ppcbe-*)
999 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
859 ;;1000 ;;
860 ppcle | powerpclittle | ppc-le | powerpc-little)1001 ppcle | powerpclittle | ppc-le | powerpc-little)
861 basic_machine=powerpcle-unknown1002 basic_machine=powerpcle-unknown
@@ -880,7 +1021,11 @@
880 basic_machine=i586-unknown1021 basic_machine=i586-unknown
881 os=-pw321022 os=-pw32
882 ;;1023 ;;
883 rdos)1024 rdos | rdos64)
1025 basic_machine=x86_64-pc
1026 os=-rdos
1027 ;;
1028 rdos32)
884 basic_machine=i386-pc1029 basic_machine=i386-pc
885 os=-rdos1030 os=-rdos
886 ;;1031 ;;
@@ -949,6 +1094,9 @@
949 basic_machine=i860-stratus1094 basic_machine=i860-stratus
950 os=-sysv41095 os=-sysv4
951 ;;1096 ;;
1097 strongarm-* | thumb-*)
1098 basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
1099 ;;
952 sun2)1100 sun2)
953 basic_machine=m68000-sun1101 basic_machine=m68000-sun
954 ;;1102 ;;
@@ -1005,17 +1153,9 @@
1005 basic_machine=t90-cray1153 basic_machine=t90-cray
1006 os=-unicos1154 os=-unicos
1007 ;;1155 ;;
1008 tic54x | c54x*)1156 tile*)
1009 basic_machine=tic54x-unknown1157 basic_machine=$basic_machine-unknown
1010 os=-coff1158 os=-linux-gnu
1011 ;;
1012 tic55x | c55x*)
1013 basic_machine=tic55x-unknown
1014 os=-coff
1015 ;;
1016 tic6x | c6x*)
1017 basic_machine=tic6x-unknown
1018 os=-coff
1019 ;;1159 ;;
1020 tx39)1160 tx39)
1021 basic_machine=mipstx39-unknown1161 basic_machine=mipstx39-unknown
@@ -1084,6 +1224,9 @@
1084 xps | xps100)1224 xps | xps100)
1085 basic_machine=xps100-honeywell1225 basic_machine=xps100-honeywell
1086 ;;1226 ;;
1227 xscale-* | xscalee[bl]-*)
1228 basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
1229 ;;
1087 ymp)1230 ymp)
1088 basic_machine=ymp-cray1231 basic_machine=ymp-cray
1089 os=-unicos1232 os=-unicos
@@ -1092,6 +1235,10 @@
1092 basic_machine=z8k-unknown1235 basic_machine=z8k-unknown
1093 os=-sim1236 os=-sim
1094 ;;1237 ;;
1238 z80-*-coff)
1239 basic_machine=z80-unknown
1240 os=-sim
1241 ;;
1095 none)1242 none)
1096 basic_machine=none-none1243 basic_machine=none-none
1097 os=-none1244 os=-none
@@ -1130,7 +1277,7 @@
1130 we32k)1277 we32k)
1131 basic_machine=we32k-att1278 basic_machine=we32k-att
1132 ;;1279 ;;
1133 sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)1280 sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
1134 basic_machine=sh-unknown1281 basic_machine=sh-unknown
1135 ;;1282 ;;
1136 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)1283 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
@@ -1177,9 +1324,12 @@
1177if [ x"$os" != x"" ]1324if [ x"$os" != x"" ]
1178then1325then
1179case $os in1326case $os in
1180 # First match some system type aliases1327 # First match some system type aliases
1181 # that might get confused with valid system types.1328 # that might get confused with valid system types.
1182 # -solaris* is a basic system type, with this one exception.1329 # -solaris* is a basic system type, with this one exception.
1330 -auroraux)
1331 os=-auroraux
1332 ;;
1183 -solaris1 | -solaris1.*)1333 -solaris1 | -solaris1.*)
1184 os=`echo $os | sed -e 's|solaris1|sunos4|'`1334 os=`echo $os | sed -e 's|solaris1|sunos4|'`
1185 ;;1335 ;;
@@ -1200,21 +1350,23 @@
1200 # Each alternative MUST END IN A *, to match a version number.1350 # Each alternative MUST END IN A *, to match a version number.
1201 # -sysv* is not here because it comes later, after sysvr4.1351 # -sysv* is not here because it comes later, after sysvr4.
1202 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \1352 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1203 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\1353 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1204 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \1354 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1355 | -sym* | -kopensolaris* | -plan9* \
1205 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \1356 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1206 | -aos* \1357 | -aos* | -aros* \
1207 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \1358 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1208 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \1359 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1209 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \1360 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1210 | -openbsd* | -solidbsd* \1361 | -bitrig* | -openbsd* | -solidbsd* \
1211 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \1362 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1212 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \1363 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1213 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \1364 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1214 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \1365 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1215 | -chorusos* | -chorusrdb* \1366 | -chorusos* | -chorusrdb* | -cegcc* \
1216 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \1367 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1217 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \1368 | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1369 | -linux-newlib* | -linux-musl* | -linux-uclibc* \
1218 | -uxpv* | -beos* | -mpeix* | -udk* \1370 | -uxpv* | -beos* | -mpeix* | -udk* \
1219 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \1371 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1220 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \1372 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
@@ -1222,7 +1374,7 @@
1222 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \1374 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1223 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \1375 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1224 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \1376 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1225 | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)1377 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1226 # Remember, each alternative MUST END IN *, to match a version number.1378 # Remember, each alternative MUST END IN *, to match a version number.
1227 ;;1379 ;;
1228 -qnx*)1380 -qnx*)
@@ -1261,7 +1413,7 @@
1261 -opened*)1413 -opened*)
1262 os=-openedition1414 os=-openedition
1263 ;;1415 ;;
1264 -os400*)1416 -os400*)
1265 os=-os4001417 os=-os400
1266 ;;1418 ;;
1267 -wince*)1419 -wince*)
@@ -1310,7 +1462,7 @@
1310 -sinix*)1462 -sinix*)
1311 os=-sysv41463 os=-sysv4
1312 ;;1464 ;;
1313 -tpf*)1465 -tpf*)
1314 os=-tpf1466 os=-tpf
1315 ;;1467 ;;
1316 -triton*)1468 -triton*)
@@ -1346,12 +1498,14 @@
1346 -aros*)1498 -aros*)
1347 os=-aros1499 os=-aros
1348 ;;1500 ;;
1349 -kaos*)
1350 os=-kaos
1351 ;;
1352 -zvmoe)1501 -zvmoe)
1353 os=-zvmoe1502 os=-zvmoe
1354 ;;1503 ;;
1504 -dicos*)
1505 os=-dicos
1506 ;;
1507 -nacl*)
1508 ;;
1355 -none)1509 -none)
1356 ;;1510 ;;
1357 *)1511 *)
@@ -1374,10 +1528,10 @@
1374# system, and we'll never get to this point.1528# system, and we'll never get to this point.
13751529
1376case $basic_machine in1530case $basic_machine in
1377 score-*)1531 score-*)
1378 os=-elf1532 os=-elf
1379 ;;1533 ;;
1380 spu-*)1534 spu-*)
1381 os=-elf1535 os=-elf
1382 ;;1536 ;;
1383 *-acorn)1537 *-acorn)
@@ -1389,8 +1543,23 @@
1389 arm*-semi)1543 arm*-semi)
1390 os=-aout1544 os=-aout
1391 ;;1545 ;;
1392 c4x-* | tic4x-*)1546 c4x-* | tic4x-*)
1393 os=-coff1547 os=-coff
1548 ;;
1549 c8051-*)
1550 os=-elf
1551 ;;
1552 hexagon-*)
1553 os=-elf
1554 ;;
1555 tic54x-*)
1556 os=-coff
1557 ;;
1558 tic55x-*)
1559 os=-coff
1560 ;;
1561 tic6x-*)
1562 os=-coff
1394 ;;1563 ;;
1395 # This must come before the *-dec entry.1564 # This must come before the *-dec entry.
1396 pdp10-*)1565 pdp10-*)
@@ -1410,14 +1579,11 @@
1410 ;;1579 ;;
1411 m68000-sun)1580 m68000-sun)
1412 os=-sunos31581 os=-sunos3
1413 # This also exists in the configure program, but was not the
1414 # default.
1415 # os=-sunos4
1416 ;;1582 ;;
1417 m68*-cisco)1583 m68*-cisco)
1418 os=-aout1584 os=-aout
1419 ;;1585 ;;
1420 mep-*)1586 mep-*)
1421 os=-elf1587 os=-elf
1422 ;;1588 ;;
1423 mips*-cisco)1589 mips*-cisco)
@@ -1426,6 +1592,9 @@
1426 mips*-*)1592 mips*-*)
1427 os=-elf1593 os=-elf
1428 ;;1594 ;;
1595 or1k-*)
1596 os=-elf
1597 ;;
1429 or32-*)1598 or32-*)
1430 os=-coff1599 os=-coff
1431 ;;1600 ;;
@@ -1444,7 +1613,7 @@
1444 *-ibm)1613 *-ibm)
1445 os=-aix1614 os=-aix
1446 ;;1615 ;;
1447 *-knuth)1616 *-knuth)
1448 os=-mmixware1617 os=-mmixware
1449 ;;1618 ;;
1450 *-wec)1619 *-wec)
@@ -1549,7 +1718,7 @@
1549 -sunos*)1718 -sunos*)
1550 vendor=sun1719 vendor=sun
1551 ;;1720 ;;
1552 -aix*)1721 -cnk*|-aix*)
1553 vendor=ibm1722 vendor=ibm
1554 ;;1723 ;;
1555 -beos*)1724 -beos*)
15561725
=== modified file 'debian/build/debian/control.m4.in'
--- debian/build/debian/control.m4.in 2013-09-13 09:58:41 +0000
+++ debian/build/debian/control.m4.in 2014-05-10 06:44:29 +0000
@@ -24,9 +24,23 @@
24Maintainer: Jakub Safarik <jsafarik@ymail.com>24Maintainer: Jakub Safarik <jsafarik@ymail.com>
25Standards-Version: 3.8.325Standards-Version: 3.8.3
26]]dnl # Sigh... build daemons ignore B-D-I, so replicate in B-D :(26]]dnl # Sigh... build daemons ignore B-D-I, so replicate in B-D :(
27[[Build-Depends-Indep: groff, bsdmainutils27[[Build-Depends-Indep:
28Build-Depends: make (>> 3.79.1-14), m4, cdbs, quilt, patchutils, dh-buildinfo, debhelper (>= 5), linux-libc-dev (>= 2.6.21-3) [linux-any], groff, bsdmainutils, libdb-dev @sm_badepends@28 groff,
29Build-Conflicts: libbind-dev, bind-dev, fakeroot (<< 0.4.5)29 bsdmainutils,
30Build-Depends:
31 make (>> 3.79.1-14),
32 m4,
33 cdbs,
34 quilt,
35 patchutils,
36 dh-buildinfo,
37 debhelper (>= 9),
38 linux-libc-dev (>= 2.6.21-3) [linux-any],
39 @sm_badepends@
40Build-Conflicts:
41 libbind-dev,
42 bind-dev,
43 fakeroot (<< 0.4.5),
30Homepage: http://www.sendmail.org44Homepage: http://www.sendmail.org
31Vcs-Git: git://anonscm.debian.org/collab-maint/sendmail.git45Vcs-Git: git://anonscm.debian.org/collab-maint/sendmail.git
32Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/sendmail.git]]dnl46Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/sendmail.git]]dnl
@@ -43,10 +57,19 @@
43Conflicts: mail-transport-agent57Conflicts: mail-transport-agent
44Pre-Depends:58Pre-Depends:
45 debconf,59 debconf,
46Depends: sendmail-base, sendmail-cf, procps, ${shlibs:Depends}, ${perl:Depends} @sm_depends@,60Depends:
61 sendmail-base,
62 sendmail-cf,
63 procps,
64 @sm_depends@,
65 ${shlibs:Depends},
66 ${perl:Depends},
47 ${misc:Depends}67 ${misc:Depends}
48Recommends: @sm_recommends@68Recommends:
49Suggests: sendmail-doc, @sm_suggests@69 @sm_recommends@,
70Suggests:
71 sendmail-doc,
72 @sm_suggests@,
50Description: powerful, efficient, and scalable Mail Transport Agent73Description: powerful, efficient, and scalable Mail Transport Agent
51 Sendmail is an alternative Mail Transport Agent (MTA) for Debian.74 Sendmail is an alternative Mail Transport Agent (MTA) for Debian.
52 It is suitable for handling sophisticated mail configurations,75 It is suitable for handling sophisticated mail configurations,
@@ -71,8 +94,19 @@
7194
72Package: rmail95Package: rmail
73Architecture: any96Architecture: any
74Conflicts: postfix, exim, exim-tls, exim4-daemon-custom, exim4-daemon-heavy, exim4-daemon-light, courier-mta, smail, zmailer, masqmail97Conflicts:
75Depends: sendmail-bin | mail-transport-agent,98 postfix,
99 exim,
100 exim-tls,
101 exim4-daemon-custom,
102 exim4-daemon-heavy,
103 exim4-daemon-light,
104 courier-mta,
105 smail,
106 zmailer,
107 masqmail,
108Depends:
109 sendmail-bin | mail-transport-agent,
76 ${shlibs:Depends},110 ${shlibs:Depends},
77 ${misc:Depends}111 ${misc:Depends}
78Description: MTA->UUCP remote mail handler112Description: MTA->UUCP remote mail handler
@@ -89,7 +123,9 @@
89123
90Package: sensible-mda124Package: sensible-mda
91Architecture: any125Architecture: any
92Depends: sendmail-bin | mail-transport-agent, procmail | maildrop | deliver,126Depends:
127 sendmail-bin | mail-transport-agent,
128 procmail | maildrop | deliver,
93 ${shlibs:Depends},129 ${shlibs:Depends},
94 ${misc:Depends}130 ${misc:Depends}
95Description: Mail Delivery Agent wrapper131Description: Mail Delivery Agent wrapper
@@ -123,7 +159,8 @@
123Package: libmilter@sm_libmilter_version@-dbg159Package: libmilter@sm_libmilter_version@-dbg
124Architecture: any160Architecture: any
125Section: debug161Section: debug
126Depends: libmilter@sm_libmilter_version@ (= ${binary:Version}),162Depends:
163 libmilter@sm_libmilter_version@ (= ${binary:Version}),
127 ${shlibs:Depends},164 ${shlibs:Depends},
128 ${misc:Depends}165 ${misc:Depends}
129Description: Sendmail Mail Filter API (Milter)166Description: Sendmail Mail Filter API (Milter)
@@ -143,9 +180,11 @@
143Package: libmilter-dev180Package: libmilter-dev
144Architecture: any181Architecture: any
145Section: libdevel182Section: libdevel
146Depends: libmilter@sm_libmilter_version@ (= ${binary:Version}),183Depends:
184 libmilter@sm_libmilter_version@ (= ${binary:Version}),
147 ${misc:Depends}185 ${misc:Depends}
148Suggests: sendmail-doc186Suggests:
187 sendmail-doc,
149Description: Sendmail Mail Filter API (Milter)188Description: Sendmail Mail Filter API (Milter)
150 The Sendmail Mail Filter API (Milter) is designed to allow third-party189 The Sendmail Mail Filter API (Milter) is designed to allow third-party
151 programs access to mail messages as they are being processed in order190 programs access to mail messages as they are being processed in order
@@ -190,11 +229,20 @@
190229
191Package: sendmail230Package: sendmail
192Architecture: all231Architecture: all
193Replaces: sendmail-tls, sendmail-base (<< 8.14.4-2.2~)232Depends:
194Depends: sendmail-base, sendmail-bin, sendmail-cf, sensible-mda,233 sendmail-base,
234 sendmail-bin,
235 sendmail-cf,
236 sensible-mda,
195 ${misc:Depends}237 ${misc:Depends}
196Breaks: sendmail-base (<< 8.14.4-2.2~)238Suggests:
197Suggests: sendmail-doc, rmail239 sendmail-doc,
240 rmail,
241Breaks:
242 sendmail-base (<< 8.14.4-2.2~),
243Replaces:
244 sendmail-tls,
245 sendmail-base (<< 8.14.4-2.2~),
198Description: powerful, efficient, and scalable Mail Transport Agent246Description: powerful, efficient, and scalable Mail Transport Agent
199 Sendmail is an alternative Mail Transport Agent (MTA) for Debian.247 Sendmail is an alternative Mail Transport Agent (MTA) for Debian.
200 It is suitable for handling sophisticated mail configurations,248 It is suitable for handling sophisticated mail configurations,
@@ -221,10 +269,18 @@
221269
222Package: sendmail-base270Package: sendmail-base
223Architecture: all271Architecture: all
224Depends: m4, make, adduser,272Depends:
273 m4,
274 make,
275 adduser,
225 ${perl:Depends},276 ${perl:Depends},
226 ${misc:Depends}277 ${misc:Depends}
227Suggests: sendmail-doc, ca-certificates, logcheck, logrotate, resolvconf278Suggests:
279 sendmail-doc,
280 ca-certificates,
281 logcheck,
282 logrotate,
283 resolvconf,
228Description: powerful, efficient, and scalable Mail Transport Agent284Description: powerful, efficient, and scalable Mail Transport Agent
229 Sendmail is an alternative Mail Transport Agent (MTA) for285 Sendmail is an alternative Mail Transport Agent (MTA) for
230 Debian. It is suitable for handling sophisticated mail286 Debian. It is suitable for handling sophisticated mail
@@ -241,9 +297,11 @@
241297
242Package: sendmail-cf298Package: sendmail-cf
243Architecture: all299Architecture: all
244Suggests: sendmail-doc300Depends:
245Depends: m4,301 m4,
246 ${misc:Depends}302 ${misc:Depends}
303Suggests:
304 sendmail-doc,
247Description: powerful, efficient, and scalable Mail Transport Agent305Description: powerful, efficient, and scalable Mail Transport Agent
248 Sendmail is an alternative Mail Transport Agent (MTA) for306 Sendmail is an alternative Mail Transport Agent (MTA) for
249 Debian. It is suitable for handling sophisticated mail307 Debian. It is suitable for handling sophisticated mail
@@ -256,4 +314,3 @@
256dnl # Provide the requisite trailing newline314dnl # Provide the requisite trailing newline
257dnl #315dnl #
258316
259
260317
=== removed file 'debian/build/debian/libmilter-dev.dirs.in'
--- debian/build/debian/libmilter-dev.dirs.in 2013-01-29 03:37:54 +0000
+++ debian/build/debian/libmilter-dev.dirs.in 1970-01-01 00:00:00 +0000
@@ -1,5 +0,0 @@
1.@includedir@/libmilter
2.@libdir@
3.@libdir@/libmilter
4.@docdir@/libmilter-dev
5.@datadir@/lintian/overrides
60
=== removed file 'debian/build/debian/libmilter-dev.links.in'
--- debian/build/debian/libmilter-dev.links.in 2013-01-29 03:37:54 +0000
+++ debian/build/debian/libmilter-dev.links.in 1970-01-01 00:00:00 +0000
@@ -1,2 +0,0 @@
1usr/lib/libmilter.so.@sm_libmilter_version@ usr/lib/libmilter/libmilter.so.@sm_libmilter_version@
2usr/lib/libmilter/libmilter.so.@sm_libmilter_version@ usr/lib/libmilter/libmilter.so
30
=== removed file 'debian/build/debian/libmilter-dev.lintian-overrides'
--- debian/build/debian/libmilter-dev.lintian-overrides 2005-06-03 16:00:00 +0000
+++ debian/build/debian/libmilter-dev.lintian-overrides 1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
1libmilter-dev: description-synopsis-starts-with-a-capital-letter
20
=== removed file 'debian/build/debian/libmilter-dev.preinst.in'
--- debian/build/debian/libmilter-dev.preinst.in 2013-01-29 03:37:54 +0000
+++ debian/build/debian/libmilter-dev.preinst.in 1970-01-01 00:00:00 +0000
@@ -1,14 +0,0 @@
1#!/bin/sh
2set -e
3
4PACKAGE=libmilter-dev;
5
6if [ -L @docdir@/$PACKAGE ]; then
7 # /usr/share/doc/$PACKAGE was a symlink to /usr/share/doc/sendmail
8 rm @docdir@/$PACKAGE
9fi
10if [ -L /usr/share/bug/$PACKAGE ]; then
11 rm /usr/share/bug/$PACKAGE
12fi
13
14#DEBHELPER#
150
=== removed file 'debian/build/debian/libmilter.dirs.in'
--- debian/build/debian/libmilter.dirs.in 2013-01-29 03:37:54 +0000
+++ debian/build/debian/libmilter.dirs.in 1970-01-01 00:00:00 +0000
@@ -1,3 +0,0 @@
1.@libdir@/libmilter
2.@docdir@/libmilter@sm_libmilter_version@
3.@datadir@/lintian/overrides
40
=== removed file 'debian/build/debian/libmilter.lintian-overrides.in'
--- debian/build/debian/libmilter.lintian-overrides.in 2013-09-13 09:58:41 +0000
+++ debian/build/debian/libmilter.lintian-overrides.in 1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
1libmilter@sm_libmilter_version@: description-synopsis-starts-with-a-capital-letter
20
=== removed file 'debian/build/debian/libmilter.preinst.in'
--- debian/build/debian/libmilter.preinst.in 2013-01-29 03:37:54 +0000
+++ debian/build/debian/libmilter.preinst.in 1970-01-01 00:00:00 +0000
@@ -1,14 +0,0 @@
1#!/bin/sh
2set -e
3
4PACKAGE=libmilter@sm_libmilter_version@;
5
6if [ -L @docdir@/$PACKAGE ]; then
7 # /usr/share/doc/$PACKAGE was a symlink to /usr/share/doc/sendmail
8 rm @docdir@/$PACKAGE
9fi
10if [ -L /usr/share/bug/$PACKAGE ]; then
11 rm /usr/share/bug/$PACKAGE
12fi
13
14#DEBHELPER#
150
=== removed file 'debian/build/debian/rmail.dirs.in'
--- debian/build/debian/rmail.dirs.in 2013-01-29 03:37:54 +0000
+++ debian/build/debian/rmail.dirs.in 1970-01-01 00:00:00 +0000
@@ -1,4 +0,0 @@
1.@sbindir@
2.@mandir@
3.@mandir@/man8
4.@datadir@/lintian/overrides
50
=== removed file 'debian/build/debian/rmail.lintian-overrides'
--- debian/build/debian/rmail.lintian-overrides 2005-06-03 16:00:00 +0000
+++ debian/build/debian/rmail.lintian-overrides 1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
1rmail: description-synopsis-starts-with-a-capital-letter
20
=== removed file 'debian/build/debian/rmail.preinst.in'
--- debian/build/debian/rmail.preinst.in 2013-01-29 03:37:54 +0000
+++ debian/build/debian/rmail.preinst.in 1970-01-01 00:00:00 +0000
@@ -1,14 +0,0 @@
1#!/bin/sh
2set -e
3
4PACKAGE=rmail;
5
6if [ -L @docdir@/$PACKAGE ]; then
7 # /usr/share/doc/$PACKAGE was a symlink to /usr/share/doc/sendmail
8 rm @docdir@/$PACKAGE
9fi
10if [ -L /usr/share/bug/$PACKAGE ]; then
11 rm /usr/share/bug/$PACKAGE
12fi
13
14#DEBHELPER#
150
=== removed file 'debian/build/debian/sendmail-base.dirs.in'
--- debian/build/debian/sendmail-base.dirs.in 2013-01-29 03:37:54 +0000
+++ debian/build/debian/sendmail-base.dirs.in 1970-01-01 00:00:00 +0000
@@ -1,57 +0,0 @@
1.@sysconfdir@/cron.d
2.@sysconfdir@/cron.daily
3.@sysconfdir@/default
4.@sysconfdir@/dhcp
5.@sysconfdir@/dhcp/dhclient-exit-hooks.d
6.@sysconfdir@/logcheck
7.@sysconfdir@/logcheck/ignore.d.paranoid
8.@sysconfdir@/logcheck/ignore.d.server
9.@sysconfdir@/logcheck/ignore.d.workstation
10.@sysconfdir@/logcheck/violations.ignore.d
11.@sysconfdir@/logrotate.d
12.@sysconfdir@/mail
13.@sysconfdir@/mail/m4
14.@sysconfdir@/mail/peers
15.@sysconfdir@/mail/smrsh
16.@sysconfdir@/mail/sasl
17.@sysconfdir@/mail/tls
18.@sysconfdir@/network
19.@sysconfdir@/network/if-down.d
20.@sysconfdir@/network/if-post-down.d
21.@sysconfdir@/network/if-up.d
22.@sysconfdir@/pam.d
23.@sysconfdir@/ppp/ip-down.d
24.@sysconfdir@/ppp/ip-up.d
25.@sysconfdir@/resolvconf
26.@sysconfdir@/resolvconf/update-libc.d
27.@bindir@
28.@sbindir@
29.@docdir@/sendmail-base
30.@mandir@
31.@mandir@/man1
32.@mandir@/man8
33.@datadir@/sendmail
34.@datadir@/sendmail/examples
35.@datadir@/sendmail/examples/db
36.@datadir@/sendmail/examples/dhcp
37.@datadir@/sendmail/examples/dhcp/dhclient-exit-hooks.d
38.@datadir@/sendmail/examples/ppp
39.@datadir@/sendmail/examples/ppp/ip-down.d
40.@datadir@/sendmail/examples/ppp/ip-up.d
41.@datadir@/sendmail/examples/ldap
42.@datadir@/sendmail/examples/logcheck
43.@datadir@/sendmail/examples/logcheck/ignore.d.paranoid
44.@datadir@/sendmail/examples/logcheck/ignore.d.server
45.@datadir@/sendmail/examples/logcheck/ignore.d.workstation
46.@datadir@/sendmail/examples/logcheck/violations.ignore.d
47.@datadir@/sendmail/examples/milter
48.@datadir@/sendmail/examples/network
49.@datadir@/sendmail/examples/network/if-down.d
50.@datadir@/sendmail/examples/network/if-post-down.d
51.@datadir@/sendmail/examples/network/if-up.d
52.@datadir@/sendmail/examples/pam.d
53.@datadir@/sendmail/examples/resolvconf
54.@datadir@/sendmail/examples/resolvconf/update-libc.d
55.@datadir@/sendmail/examples/sasl
56.@datadir@/sendmail/examples/tls
57.@datadir@/lintian/overrides
580
=== removed file 'debian/build/debian/sendmail-base.lintian-overrides'
--- debian/build/debian/sendmail-base.lintian-overrides 2004-12-15 19:30:00 +0000
+++ debian/build/debian/sendmail-base.lintian-overrides 1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
1sendmail-base: manpage-has-bad-whatis-entry usr/share/man/man8/etrn.8.gz
20
=== removed file 'debian/build/debian/sendmail-base.postinst.in'
--- debian/build/debian/sendmail-base.postinst.in 2008-04-21 18:04:00 +0000
+++ debian/build/debian/sendmail-base.postinst.in 1970-01-01 00:00:00 +0000
@@ -1,116 +0,0 @@
1#!/bin/sh -e
2#
3# Debian post installation script
4#
5# Install of already installed package:
6# 1) old-prerm upgrade new-version
7# *) new-prerm failed-upgrade old-version
8# *) old-postinst abort-upgrade new-version
9#
10# If a `conflicting' package is being removed at the same time:
11# 1) forall packages depending on conflicting package and --auto-deconfigure
12# deconfigured's-prerm deconfigure \
13# in-favour package-being-installed version \
14# removing conflicting-package version
15# *) deconfigured's-postinst abort-deconfigure \
16# in-favour package-being-installed-but-failed version \
17# removing conflicting-package version
18# 2) To prepare for removal of the conflicting package
19# conflictor's-prerm remove \
20# in-favour package new-version
21# *) conflictor's-postinst abort-remove \
22# in-favour package new-version
23#
24# Configuration of package:
25# postinst configure most-recently-configured-version
26#
27set -e;
28
29PACKAGE=sendmail-base;
30
31# do we have debconf?
32if [ -f /usr/share/debconf/confmodule ]; then
33 DEBCONF=true;
34 #. /usr/share/debconf/confmodule;
35 #db_stop; # For testing
36else
37 DEBCONF='';
38 fi;
39
40case "$1" in
41 configure)
42 #-----------------------------------------------------------
43 if [ "$2" = "" ]; then
44 :;
45 #echo " ";
46 #echo "A new sendmail user, welcome!";
47 fi;
48
49 #-----------------------------------------------------------
50 # Tell users about new and interesting things...
51 if [ -x @datadir@/sendmail/update_notices ]; then
52 @datadir@/sendmail/update_notices $2;
53 fi;
54
55 #-----------------------------------------------------------
56 # Create group/user smmta/smmsp iff needed
57 touch @sysconfdir@/mail/tsmmta;
58 if ! chown root:smmta @sysconfdir@/mail/tsmmta 2>/dev/null; then
59 addgroup --system --quiet smmta;
60 fi;
61 if ! chown smmta:smmta @sysconfdir@/mail/tsmmta 2>/dev/null; then
62 adduser --system --ingroup smmta --home "/var/lib/sendmail" \
63 --disabled-password \
64 --quiet --gecos 'Mail Transfer Agent' smmta;
65 fi;
66 rm @sysconfdir@/mail/tsmmta;
67 touch @sysconfdir@/mail/tsmmsp;
68 if ! chown root:smmsp @sysconfdir@/mail/tsmmsp 2>/dev/null; then
69 addgroup --system --quiet smmsp;
70 fi;
71 if ! chown smmsp:smmsp @sysconfdir@/mail/tsmmsp 2>/dev/null; then
72 adduser --system --ingroup smmsp --home "/var/lib/sendmail" \
73 --disabled-password \
74 --quiet --gecos 'Mail Submission Program' smmsp;
75 fi;
76 rm @sysconfdir@/mail/tsmmsp;
77
78 #-----------------------------------------------------------
79 # With a dynamic uid/gid, have to set appropriate ownership herein
80 chown root:smmsp @sysconfdir@/mail/sasl;
81 chown root:smmsp @sysconfdir@/mail/tls;
82
83 #-----------------------------------------------------------
84 # Save the current configuration files in safe place...
85 if [ -x @sysconfdir@/cron.daily/sendmail ]; then
86 echo "Saving current /etc/mail/sendmail.mc,cf to /var/backups";
87 @sysconfdir@/cron.daily/sendmail || true;
88 fi;
89
90 #-----------------------------------------------------------
91 # Make sure inetd.conf has sendmail in it (but disabled)
92 if [ -x /usr/sbin/update-inetd ]; then
93 update-inetd --remove "^587";
94 update-inetd --group MAIL --add \
95 "smtp\tstream\ttcp\tnowait\troot\t@sbindir@/sendmail sendmail -Am -bs";
96 update-inetd --group MAIL --add \
97 "submission\tstream\ttcp\tnowait\troot\t@sbindir@/sendmail sendmail -Am -bs";
98 update-inetd --group MAIL --add \
99 "smtps\tstream\ttcp\tnowait\troot\t@sbindir@/sendmail sendmail -Am -bs";
100 update-inetd --group MAIL --multi --disable smtp,smtps,submission;
101 fi;
102
103 ;;
104
105 abort-upgrade|abort-remove|abort-deconfigure)
106 exit 0;
107 ;;
108
109 *)
110 echo "$PACKAGE postinst called with unknown argument \`$1'" >&2;
111 exit 1;
112 ;;
113 esac;
114
115#DEBHELPER#
116exit 0;
1170
=== removed file 'debian/build/debian/sendmail-base.postrm.in'
--- debian/build/debian/sendmail-base.postrm.in 2013-01-29 03:37:54 +0000
+++ debian/build/debian/sendmail-base.postrm.in 1970-01-01 00:00:00 +0000
@@ -1,113 +0,0 @@
1#!/bin/sh -e
2#
3# Debian post removal script
4#
5# Install of already installed package:
6# 1) Upgrade of package:
7# new-preinst upgrade old-version
8# *) new-postrm abort-upgrade old-version
9# 2) package had some configuration files from a previous version installed
10# new-preinst install old-version
11# *) new-postrm abort-install old-version
12# 3) Otherwise (i.e., the package was completely purged)
13# new-preinst install
14# *) new-postrm abort-install
15#
16# Removal of a package:
17# 1) prerm remove
18# 2) The package's files are removed (except conffiles).
19# 3) postrm remove
20# 4) All the maintainer scripts except the postrm are removed.
21# 5) The conffiles and any backup files
22# (~-files, #*# files, %-files, .dpkg-{old,new,tmp}, etc.) are removed.
23# 6) postrm purge
24# 7) The package's file list is removed
25#
26set -e;
27
28PACKAGE=sendmail-base;
29
30case "$1" in
31 remove)
32 if [ ! -z "$2" ]; then
33 echo "Removing $PACKAGE $2 $3($4)";
34 fi;
35
36 if [ -x /usr/sbin/update-inetd ]; then
37 update-inetd --remove "^smtp";
38 update-inetd --remove "^smtps";
39 update-inetd --remove "^submission";
40 fi;
41 ;;
42
43 purge)
44 # Currently, dh_installdebconf doesn't do db_stop... ensure it is done!
45 if [ "$1" = "purge" ] && [ -e /usr/share/debconf/confmodule ]; then
46 # Source debconf library.
47 . /usr/share/debconf/confmodule;
48 # Make sure we're done
49 #db_stop;
50 # Remove my changes to the db.
51 db_purge;
52 fi;
53
54 # Remove user/group smmsp
55 if [ -x /usr/sbin/deluser ]; then
56 deluser --quiet smmta || true;
57 deluser --quiet smmsp || true;
58 fi;
59 userdel smmta 2>/dev/null || true;
60 groupdel smmta 2>/dev/null || true;
61 userdel smmsp 2>/dev/null || true;
62 groupdel smmsp 2>/dev/null || true;
63
64 # Purge those files installed in other package directories
65 rm -f @libdir@/lib/sasl/Sendmail.conf;
66 rm -f @sysconfdir@/certs/sendmail.pem;
67 rm -f @datadir@/bug/sendmail*;
68 rmdir --ignore-fail-on-non-empty @datadir@/bug;
69 rm -f @sysconfdir@/logrotate.d/sendmail;
70 rmdir --ignore-fail-on-non-empty @sysconfdir@/logrotate.d;
71 rm -f @sysconfdir@/logcheck/violations.ignore.d/sendmail;
72 rmdir --ignore-fail-on-non-empty @sysconfdir@/logcheck/violations.ignore.d;
73 rmdir --ignore-fail-on-non-empty @sysconfdir@/logcheck;
74 # Can't touch these as they may be included in slapd.conf
75 #rm -rf @sysconfdir@/ldap/schema/sendmail.schema;
76 #rm -rf @sysconfdir@/openldap/sendmail.schema;
77 #rm -rf @sysconfdir@/umich-ldap/sendmail.schema;
78 # Purge psuedo conffiles (managed by sendmail)
79 rm -f @sysconfdir@/mail/sendmail.conf;
80 # Purge sendmail configuration files
81 rm -f @sysconfdir@/mail/sendmail.mc \
82 @sysconfdir@/mail/submit.mc \
83 @sysconfdir@/mail/m4/dialup.m4 \
84 @sysconfdir@/mail/m4/provider.m4 \
85 @sysconfdir@/mail/local-host-names \
86 @sysconfdir@/mail/relay-domains \
87 @sysconfdir@/mail/trusted-users \
88 @sysconfdir@/mail/default-auth-info \
89 @sysconfdir@/mail/access \
90 ;
91 rmdir @sysconfdir@/mail/peers 2>/dev/null || true;
92 rmdir @sysconfdir@/mail 2>/dev/null || true;
93
94 ;;
95
96 upgrade)
97 ;;
98
99 failed-upgrade|abort-install|abort-upgrade|disappear)
100 echo "$1 of $PACKAGE $2";
101 ;;
102
103 *)
104 echo "$PACKAGE postrm called with unknown argument \`$1'" >&2;
105 exit 1;
106 ;;
107 esac;
108
109# NOTE WELL: If we fall through here during purge, update-rc.d will be
110# called with remove... and /etc/init.d/$PACKAGE goes away!
111#DEBHELPER#
112
113exit 0;
1140
=== removed file 'debian/build/debian/sendmail-base.preinst.in'
--- debian/build/debian/sendmail-base.preinst.in 2013-01-29 03:37:54 +0000
+++ debian/build/debian/sendmail-base.preinst.in 1970-01-01 00:00:00 +0000
@@ -1,59 +0,0 @@
1#!/bin/sh -e
2#
3# Debian pre install script
4#
5# Install of already installed package:
6# 1) Upgrade of package:
7# new-preinst upgrade old-version
8# *) new-postrm abort-upgrade old-version
9# 2) package had some configuration files from a previous version installed
10# new-preinst install old-version
11# *) new-postrm abort-install old-version
12# 3) Otherwise (i.e., the package was completely purged)
13# new-preinst install
14# *) new-postrm abort-install
15#
16set -e;
17
18PACKAGE=sendmail-base;
19
20if [ -L @docdir@/$PACKAGE ]; then
21 # /usr/share/doc/$PACKAGE was a symlink to /usr/share/doc/sendmail
22 rm @docdir@/$PACKAGE
23fi
24if [ -L /usr/share/bug/$PACKAGE ]; then
25 rm /usr/share/bug/$PACKAGE
26fi
27
28if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt "8.14.4-2.2~"; then
29 # /usr/share/doc/$PACKAGE was a symlink to /usr/share/doc/sendmail
30 rm -rf @docdir@/sendmail/examples
31 rm -f @docdir@/sendmail/Debian-specific.gz
32 rm -f @docdir@/sendmail/site.config.m4.gz
33fi
34
35
36case "$1" in
37 upgrade)
38 # Prevent cronjob from running during upgrade...
39 if [ -f @sysconfdir@/cron.d/sendmail ]; then
40 echo "#preinst" > @sysconfdir@/cron.d/sendmail;
41 fi;
42
43 # Move files to new home
44 if [ -d @sysconfdir@/mail/ssl ]; then
45 mv -f @sysconfdir@/mail/ssl @sysconfdir@/mail/tls;
46 fi;
47 ;;
48
49 install|abort-upgrade)
50 ;;
51
52 *)
53 echo "$PACKAGE preinst called with unknown argument \`$1'" >&2;
54 exit 1;
55 ;;
56 esac;
57
58#DEBHELPER#
59exit 0;
600
=== removed file 'debian/build/debian/sendmail-base.prerm.in'
--- debian/build/debian/sendmail-base.prerm.in 2004-12-15 19:30:00 +0000
+++ debian/build/debian/sendmail-base.prerm.in 1970-01-01 00:00:00 +0000
@@ -1,138 +0,0 @@
1#!/bin/sh -e
2#
3# Debian pre removal script
4#
5# Install of already installed package:
6# 1) old-prerm upgrade new-version
7# *) new-prerm failed-upgrade old-version
8# *) old-postinst abort-upgrade new-version
9#
10# If a `conflicting' package is being removed at the same time:
11# 1) forall packages depending on conflicting package and --auto-deconfigure
12# deconfigured's-prerm deconfigure \
13# in-favour package-being-installed version \
14# removing conflicting-package version
15# *) deconfigured's-postinst abort-deconfigure \
16# in-favour package-being-installed-but-failed version \
17# removing conflicting-package version
18# 2) To prepare for removal of the conflicting package
19# conflictor's-prerm remove \
20# in-favour package new-version
21# *) conflictor's-postinst abort-remove \
22# in-favour package new-version
23#
24# Removal of a package:
25# 1) prerm remove
26# 2) The package's files are removed (except conffiles).
27# 3) postrm remove
28# 4) All the maintainer scripts except the postrm are removed.
29#
30set -e;
31
32PACKAGE=sendmail-base;
33
34case "$1" in
35 remove)
36 if [ ! -z "$2" ]; then
37 echo "Removing $PACKAGE $2 $3($4)";
38 fi;
39
40 if [ -x /usr/sbin/update-inetd ]; then
41 update-inetd --group MAIL --disable smtp,smtps,submission;
42 fi;
43
44 # Make sure /etc/aliases is left (move it from /etc/mail if needed)
45 if [ -L @sysconfdir@/mail/aliases ]; then
46 rm -f @sysconfdir@/mail/aliases;
47 elif [ -f @sysconfdir@/mail/aliases ] \
48 && [ -L /etc/aliases ]; then
49 mv @sysconfdir@/mail/aliases /etc/aliases;
50 fi;
51
52 # Remove psuedo conffiles (managed by sendmail)
53 rm -f @sysconfdir@/cron.d/sendmail;
54
55 # Remove files scattered across the system that
56 # happened to be created by sendmail
57 rm -f @libdir@/sasl/Sendmail.conf;
58
59 # Remove those files created by sendmail
60 rm -rf @localstatedir@/lib/sendmail;
61 rm -rf @localstatedir@/run/sendmail;
62 # Note: syslog really owns these files
63 #rm -f @localstatedir@/log/mail/*;
64 #rm -f @localstatedir@/log/mail.log;
65 # Note: these can lead to a loss of mail!!!!
66 if [ -x @sysconfdir@/init.d/sendmail ]; then
67 @sysconfdir@/init.d/sendmail clean;
68 fi;
69 if [ -L @localstatedir@/spool/mqueue ]; then
70 rmdir --ignore-fail-on-non-empty \
71 `readlink -fn @localstatedir@/spool/mqueue`;
72 elif [ -d @localstatedir@/spool/mqueue ]; then
73 rmdir --ignore-fail-on-non-empty \
74 @localstatedir@/spool/mqueue;
75 fi;
76 if [ -L @localstatedir@/spool/mqueue-client ]; then
77 rmdir --ignore-fail-on-non-empty \
78 `readlink -fn @localstatedir@/spool/mqueue-client`;
79 elif [ -d @localstatedir@/spool/mqueue-client ]; then
80 rmdir --ignore-fail-on-non-empty \
81 @localstatedir@/spool/mqueue-client;
82 fi;
83
84 # Remove sendmail built configuration files
85 rm -f @sysconfdir@/mail/*.db \
86 @sysconfdir@/mail/*.dir \
87 @sysconfdir@/mail/*.pag;
88 rm -f @sysconfdir@/mail/sendmail.cf \
89 @sysconfdir@/mail/sendmail.cf.old \
90 @sysconfdir@/mail/sendmail.cf.errors \
91 @sysconfdir@/mail/sendmail.mc.old \
92 @sysconfdir@/mail/submit.cf \
93 @sysconfdir@/mail/submit.cf.errors \
94 @sysconfdir@/mail/submit.mc.old \
95 @sysconfdir@/mail/databases \
96 @sysconfdir@/mail/Makefile \
97 ;
98 rm -rf @sysconfdir@/mail/smrsh \
99 @sysconfdir@/mail/sasl \
100 @sysconfdir@/mail/tls;
101
102 # Remove empty files (probably touched databases)
103 find @sysconfdir@/mail -maxdepth 1 -size 0 | xargs -r rm;
104 ;;
105
106 upgrade)
107 # Potentially move the old configuration file to the new name -
108 # before it gets deleted (for not existing in the new package)
109 mv -f @sysconfdir@/default/sendmail \
110 @sysconfdir@/mail/sendmail.conf 2>/dev/null || true;
111
112 # Prevent cronjob from running during upgrade...
113 if [ -f /etc/cron.d/sendmail ]; then
114 echo "#prerm" > @sysconfdir@/cron.d/sendmail;
115 fi;
116 ;;
117
118 failed-upgrade)
119 ;;
120
121 deconfigure)
122 echo "Deconfigure of $PACKAGE $2 $3($4) $5 $6($7) ";
123 ;;
124
125 *)
126 echo "$PACKAGE prerm called with unknown argument \`$1'" >&2;
127 exit 1;
128 ;;
129 esac;
130
131# The @DEBHELPER@ stuff causes problems with upgrades because of the
132# length of time that Sendmail is stopped...
133
134#
135# Included for sanity checks
136#
137#DEBHELPER#
138exit 0;
1390
=== removed file 'debian/build/debian/sendmail-bin.dirs.in'
--- debian/build/debian/sendmail-bin.dirs.in 2013-01-29 03:37:54 +0000
+++ debian/build/debian/sendmail-bin.dirs.in 1970-01-01 00:00:00 +0000
@@ -1,13 +0,0 @@
1.@sysconfdir@/cron.daily
2.@sysconfdir@/init.d
3.@bindir@
4.@sbindir@
5.@libexecdir@
6.@docdir@/sendmail-bin
7.@mandir@
8.@mandir@/man1
9.@mandir@/man5
10.@mandir@/man8
11.@localstatedir@/spool/mqueue
12.@localstatedir@/spool/mqueue-client
13.@datadir@/lintian/overrides
140
=== removed file 'debian/build/debian/sendmail-bin.lintian-overrides'
--- debian/build/debian/sendmail-bin.lintian-overrides 2013-09-13 09:58:41 +0000
+++ debian/build/debian/sendmail-bin.lintian-overrides 1970-01-01 00:00:00 +0000
@@ -1,15 +0,0 @@
1sendmail-bin: duplicate-updaterc.d-calls-in-postinst sendmail
2sendmail-bin: suidregister-used-in-maintainer-script postinst
3sendmail-bin: suidregister-used-in-maintainer-script postinst
4sendmail-bin: duplicate-updaterc.d-calls-in-postinst sendmail
5sendmail-bin: setgid-binary usr/lib/sm.bin/sendmail 2755 root/mail
6sendmail-bin: setgid-binary usr/lib/sm.bin/mailstats 2755 root/mail
7sendmail-bin: manpage-section-mismatch usr/share/man/man8/newaliases.sendmail.8.gz:14 8 != 1
8# sendmail-mta is managed via alternatives
9package-contains-broken-symlink usr/sbin/hoststat sendmail-mta
10package-contains-broken-symlink usr/sbin/newaliases sendmail-mta
11package-contains-broken-symlink usr/sbin/purgestat sendmail-mta
12package-contains-broken-symlink usr/share/man/man8/hoststat.8.gz sendmail-mta.8.gz
13package-contains-broken-symlink usr/share/man/man8/purgestat.8.gz sendmail-mta.8.gz
14binary-without-manpage usr/bin/mailq
15binary-without-manpage usr/sbin/newaliases
160
=== removed file 'debian/build/debian/sendmail-bin.postinst.in'
--- debian/build/debian/sendmail-bin.postinst.in 2008-04-21 18:04:00 +0000
+++ debian/build/debian/sendmail-bin.postinst.in 1970-01-01 00:00:00 +0000
@@ -1,320 +0,0 @@
1#!/bin/sh -e
2#
3# Debian post installation script
4#
5# Install of already installed package:
6# 1) old-prerm upgrade new-version
7# *) new-prerm failed-upgrade old-version
8# *) old-postinst abort-upgrade new-version
9#
10# If a `conflicting' package is being removed at the same time:
11# 1) forall packages depending on conflicting package and --auto-deconfigure
12# deconfigured's-prerm deconfigure \
13# in-favour package-being-installed version \
14# removing conflicting-package version
15# *) deconfigured's-postinst abort-deconfigure \
16# in-favour package-being-installed-but-failed version \
17# removing conflicting-package version
18# 2) To prepare for removal of the conflicting package
19# conflictor's-prerm remove \
20# in-favour package new-version
21# *) conflictor's-postinst abort-remove \
22# in-favour package new-version
23#
24# Configuration of package:
25# postinst configure most-recently-configured-version
26#
27set -e;
28
29PACKAGE=sendmail-bin;
30
31#-----------------------------------------------------------
32#stop(): stop sendmail
33stop_mta () {
34 # Account for varying PIDfile locations of older sendmail packages
35 if [ -f /var/run/sendmail/mta/sendmail.pid ]; then
36 start-stop-daemon --stop --oknodo --quiet \
37 --pidfile /var/run/sendmail/msp/sendmail.pid > /dev/null;
38 start-stop-daemon --stop --oknodo --quiet \
39 -pidfile /var/run/sendmail/mta/sendmail.pid > /dev/null;
40 elif [ -f /var/run/sendmail/sendmail.pid ]; then
41 start-stop-daemon --stop --oknodo --quiet \
42 --pidfile /var/run/sendmail/sendmail.pid > /dev/null;
43 elif [ -f /var/run/sendmail.pid ]; then
44 start-stop-daemon --stop --oknodo --quiet \
45 --pidfile /var/run/sendmail.pid > /dev/null;
46 fi;
47 # Since we changed the executable, do one more try - using the old name
48 if [ -f /var/run/sendmail/mta/sendmail.pid ]; then
49 start-stop-daemon --stop --oknodo --quiet \
50 --pidfile /var/run/sendmail/mta/sendmail.pid > /dev/null;
51 fi;
52 start-stop-daemon --stop --oknodo --quiet \
53 --name sendmail > /dev/null;
54 if [ -x @sysconfdir@/init.d/sendmail ]; then
55 if [ -x /usr/sbin/invoke-rc.d ]; then
56 /usr/sbin/invoke-rc.d --quiet --force sendmail stop;
57 else
58 @sysconfdir@/init.d/sendmail stop;
59 fi;
60 fi;
61 };
62
63#-----------------------------------------------------------
64#start(): start sendmail
65start_mta () {
66 if [ -x /usr/sbin/invoke-rc.d ]; then
67 /usr/sbin/invoke-rc.d sendmail start;
68 else
69 @sysconfdir@/init.d/sendmail start;
70 fi;
71 };
72
73#-----------------------------------------------------------
74# configure(): save sendmail.cf, call sendmailconfig
75configure_mta () {
76 local enter;
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: