Merge lp:~ari-tczew/ubuntu/utopic/sendmail/merge into lp:ubuntu/utopic/sendmail
- Utopic (14.10)
- merge
- Merge into utopic
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 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Holbach (community) | Approve | ||
Review via email: mp+219089@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added file 'debian/Makefile.am' | |||
2 | --- debian/Makefile.am 1970-01-01 00:00:00 +0000 | |||
3 | +++ debian/Makefile.am 2014-05-10 06:44:29 +0000 | |||
4 | @@ -0,0 +1,28 @@ | |||
5 | 1 | # | ||
6 | 2 | # AutoMake | ||
7 | 3 | # | ||
8 | 4 | ACLOCAL_AMFLAGS = -I build | ||
9 | 5 | # | ||
10 | 6 | # Subdirectories to process | ||
11 | 7 | # | ||
12 | 8 | SUBDIRS = cf examples local sensible_mda | ||
13 | 9 | # | ||
14 | 10 | # Kluge to get my own targets include as recursive | ||
15 | 11 | # | ||
16 | 12 | RECURSIVE_TARGETS = build-arch-recursive build-indep-recursive \ | ||
17 | 13 | install-arch-recursive install-indep-recursive | ||
18 | 14 | # | ||
19 | 15 | # Debian targets, phase out | ||
20 | 16 | # | ||
21 | 17 | .PHONY: build-indep build-indep-am | ||
22 | 18 | .PHONY: build-arch build-arch-am | ||
23 | 19 | .PHONY: install-indep install-indep-am | ||
24 | 20 | .PHONY: install-arch install-arch-am | ||
25 | 21 | build-indep: build-indep-recursive | ||
26 | 22 | build-indep-am: | ||
27 | 23 | build-arch: build-arch-recursive | ||
28 | 24 | build-arch-am: | ||
29 | 25 | install-indep: install-indep-recursive | ||
30 | 26 | install-indep-am: | ||
31 | 27 | install-arch: install-arch-recursive | ||
32 | 28 | install-arch-am: | ||
33 | 0 | 29 | ||
34 | === modified file 'debian/Makefile.in' | |||
35 | --- debian/Makefile.in 2010-11-03 22:05:00 +0000 | |||
36 | +++ debian/Makefile.in 2014-05-10 06:44:29 +0000 | |||
37 | @@ -1,9 +1,8 @@ | |||
39 | 1 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | 1 | # Makefile.in generated by automake 1.14.1 from Makefile.am. |
40 | 2 | # @configure_input@ | 2 | # @configure_input@ |
41 | 3 | 3 | ||
45 | 4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | 4 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. |
46 | 5 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | 5 | |
44 | 6 | # Inc. | ||
47 | 7 | # This Makefile.in is free software; the Free Software Foundation | 6 | # This Makefile.in is free software; the Free Software Foundation |
48 | 8 | # gives unlimited permission to copy and/or distribute it, | 7 | # gives unlimited permission to copy and/or distribute it, |
49 | 9 | # with or without modifications, as long as this notice is preserved. | 8 | # with or without modifications, as long as this notice is preserved. |
50 | @@ -15,6 +14,51 @@ | |||
51 | 15 | 14 | ||
52 | 16 | @SET_MAKE@ | 15 | @SET_MAKE@ |
53 | 17 | VPATH = @srcdir@ | 16 | VPATH = @srcdir@ |
54 | 17 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | ||
55 | 18 | am__make_running_with_option = \ | ||
56 | 19 | case $${target_option-} in \ | ||
57 | 20 | ?) ;; \ | ||
58 | 21 | *) echo "am__make_running_with_option: internal error: invalid" \ | ||
59 | 22 | "target option '$${target_option-}' specified" >&2; \ | ||
60 | 23 | exit 1;; \ | ||
61 | 24 | esac; \ | ||
62 | 25 | has_opt=no; \ | ||
63 | 26 | sane_makeflags=$$MAKEFLAGS; \ | ||
64 | 27 | if $(am__is_gnu_make); then \ | ||
65 | 28 | sane_makeflags=$$MFLAGS; \ | ||
66 | 29 | else \ | ||
67 | 30 | case $$MAKEFLAGS in \ | ||
68 | 31 | *\\[\ \ ]*) \ | ||
69 | 32 | bs=\\; \ | ||
70 | 33 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | ||
71 | 34 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | ||
72 | 35 | esac; \ | ||
73 | 36 | fi; \ | ||
74 | 37 | skip_next=no; \ | ||
75 | 38 | strip_trailopt () \ | ||
76 | 39 | { \ | ||
77 | 40 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | ||
78 | 41 | }; \ | ||
79 | 42 | for flg in $$sane_makeflags; do \ | ||
80 | 43 | test $$skip_next = yes && { skip_next=no; continue; }; \ | ||
81 | 44 | case $$flg in \ | ||
82 | 45 | *=*|--*) continue;; \ | ||
83 | 46 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | ||
84 | 47 | -*I?*) strip_trailopt 'I';; \ | ||
85 | 48 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | ||
86 | 49 | -*O?*) strip_trailopt 'O';; \ | ||
87 | 50 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | ||
88 | 51 | -*l?*) strip_trailopt 'l';; \ | ||
89 | 52 | -[dEDm]) skip_next=yes;; \ | ||
90 | 53 | -[JT]) skip_next=yes;; \ | ||
91 | 54 | esac; \ | ||
92 | 55 | case $$flg in \ | ||
93 | 56 | *$$target_option*) has_opt=yes; break;; \ | ||
94 | 57 | esac; \ | ||
95 | 58 | done; \ | ||
96 | 59 | test $$has_opt = yes | ||
97 | 60 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | ||
98 | 61 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | ||
99 | 18 | pkgdatadir = $(datadir)/@PACKAGE@ | 62 | pkgdatadir = $(datadir)/@PACKAGE@ |
100 | 19 | pkgincludedir = $(includedir)/@PACKAGE@ | 63 | pkgincludedir = $(includedir)/@PACKAGE@ |
101 | 20 | pkglibdir = $(libdir)/@PACKAGE@ | 64 | pkglibdir = $(libdir)/@PACKAGE@ |
102 | @@ -35,60 +79,48 @@ | |||
103 | 35 | host_triplet = @host@ | 79 | host_triplet = @host@ |
104 | 36 | target_triplet = @target@ | 80 | target_triplet = @target@ |
105 | 37 | subdir = . | 81 | subdir = . |
144 | 38 | DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ | 82 | DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \ |
145 | 39 | $(srcdir)/Makefile.in \ | 83 | $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ |
146 | 40 | $(top_srcdir)/./build/debian/libmilter-dev.dirs.in \ | 84 | $(top_srcdir)/configure $(am__configure_deps) \ |
147 | 41 | $(top_srcdir)/./build/debian/libmilter-dev.links.in \ | 85 | $(top_srcdir)/./build/mkinstalldirs \ |
110 | 42 | $(top_srcdir)/./build/debian/libmilter-dev.postrm.in \ | ||
111 | 43 | $(top_srcdir)/./build/debian/libmilter-dev.preinst.in \ | ||
112 | 44 | $(top_srcdir)/./build/debian/libmilter.dirs.in \ | ||
113 | 45 | $(top_srcdir)/./build/debian/libmilter.links.in \ | ||
114 | 46 | $(top_srcdir)/./build/debian/libmilter.lintian-overrides.in \ | ||
115 | 47 | $(top_srcdir)/./build/debian/libmilter.postrm.in \ | ||
116 | 48 | $(top_srcdir)/./build/debian/libmilter.preinst.in \ | ||
117 | 49 | $(top_srcdir)/./build/debian/rmail.dirs.in \ | ||
118 | 50 | $(top_srcdir)/./build/debian/rmail.postrm.in \ | ||
119 | 51 | $(top_srcdir)/./build/debian/rmail.preinst.in \ | ||
120 | 52 | $(top_srcdir)/./build/debian/sendmail-base.dirs.in \ | ||
121 | 53 | $(top_srcdir)/./build/debian/sendmail-base.postinst.in \ | ||
122 | 54 | $(top_srcdir)/./build/debian/sendmail-base.postrm.in \ | ||
123 | 55 | $(top_srcdir)/./build/debian/sendmail-base.preinst.in \ | ||
124 | 56 | $(top_srcdir)/./build/debian/sendmail-base.prerm.in \ | ||
125 | 57 | $(top_srcdir)/./build/debian/sendmail-bin.dirs.in \ | ||
126 | 58 | $(top_srcdir)/./build/debian/sendmail-bin.postinst.in \ | ||
127 | 59 | $(top_srcdir)/./build/debian/sendmail-bin.postrm.in \ | ||
128 | 60 | $(top_srcdir)/./build/debian/sendmail-bin.preinst.in \ | ||
129 | 61 | $(top_srcdir)/./build/debian/sendmail-bin.prerm.in \ | ||
130 | 62 | $(top_srcdir)/./build/debian/sendmail-bin.suid.in \ | ||
131 | 63 | $(top_srcdir)/./build/debian/sendmail-cf.dirs.in \ | ||
132 | 64 | $(top_srcdir)/./build/debian/sendmail-cf.postrm.in \ | ||
133 | 65 | $(top_srcdir)/./build/debian/sendmail-cf.preinst.in \ | ||
134 | 66 | $(top_srcdir)/./build/debian/sendmail-doc.dirs.in \ | ||
135 | 67 | $(top_srcdir)/./build/debian/sendmail-doc.postrm.in \ | ||
136 | 68 | $(top_srcdir)/./build/debian/sendmail-doc.preinst.in \ | ||
137 | 69 | $(top_srcdir)/./build/debian/sendmail.cron.daily.in \ | ||
138 | 70 | $(top_srcdir)/./build/debian/sendmail.dirs.in \ | ||
139 | 71 | $(top_srcdir)/./build/debian/sendmail.init.d.in \ | ||
140 | 72 | $(top_srcdir)/./build/debian/sensible-mda.dirs.in \ | ||
141 | 73 | $(top_srcdir)/./build/debian/sensible-mda.postrm.in \ | ||
142 | 74 | $(top_srcdir)/./build/debian/sensible-mda.preinst.in \ | ||
143 | 75 | $(top_srcdir)/./local/sendmail.in \ | ||
148 | 76 | $(top_srcdir)/build/autoconf.mk.in \ | 86 | $(top_srcdir)/build/autoconf.mk.in \ |
149 | 77 | $(top_srcdir)/build/autoconf.pl.in \ | 87 | $(top_srcdir)/build/autoconf.pl.in \ |
150 | 78 | $(top_srcdir)/build/autoconf.sh.in \ | 88 | $(top_srcdir)/build/autoconf.sh.in \ |
151 | 89 | $(top_srcdir)/build/debian/changelog.sh.in \ | ||
152 | 79 | $(top_srcdir)/build/debian/changelog.in \ | 90 | $(top_srcdir)/build/debian/changelog.in \ |
154 | 80 | $(top_srcdir)/build/debian/changelog.sh.in \ | 91 | $(top_srcdir)/build/update_chaos.in \ |
155 | 92 | $(top_srcdir)/build/site.config.m4.in \ | ||
156 | 81 | $(top_srcdir)/build/debian/control.m4.in \ | 93 | $(top_srcdir)/build/debian/control.m4.in \ |
160 | 82 | $(top_srcdir)/build/site.config.m4.in \ | 94 | $(srcdir)/libmilter.dirs.in \ |
161 | 83 | $(top_srcdir)/build/update_chaos.in \ | 95 | $(srcdir)/libmilter.lintian-overrides.in \ |
162 | 84 | $(top_srcdir)/cf/debian/autoconf.m4.in \ | 96 | $(srcdir)/libmilter.preinst.in $(srcdir)/libmilter-dev.dirs.in \ |
163 | 97 | $(srcdir)/libmilter-dev.links.in \ | ||
164 | 98 | $(srcdir)/libmilter-dev.preinst.in $(srcdir)/rmail.dirs.in \ | ||
165 | 99 | $(srcdir)/rmail.preinst.in $(srcdir)/sendmail-base.dirs.in \ | ||
166 | 100 | $(srcdir)/sendmail-base.postinst.in \ | ||
167 | 101 | $(srcdir)/sendmail-base.postrm.in \ | ||
168 | 102 | $(srcdir)/sendmail-base.preinst.in \ | ||
169 | 103 | $(srcdir)/sendmail-base.prerm.in \ | ||
170 | 104 | $(srcdir)/sendmail-doc.dirs.in \ | ||
171 | 105 | $(srcdir)/sendmail-doc.preinst.in \ | ||
172 | 106 | $(srcdir)/sendmail-cf.postrm.in \ | ||
173 | 107 | $(srcdir)/sendmail-cf.preinst.in \ | ||
174 | 108 | $(srcdir)/sendmail.cron.daily.in \ | ||
175 | 109 | $(srcdir)/sendmail-bin.dirs.in $(srcdir)/sendmail.init.d.in \ | ||
176 | 110 | $(top_srcdir)/local/sendmail.in \ | ||
177 | 111 | $(srcdir)/sendmail-bin.postinst.in \ | ||
178 | 112 | $(srcdir)/sendmail-bin.postrm.in \ | ||
179 | 113 | $(srcdir)/sendmail-bin.preinst.in \ | ||
180 | 114 | $(srcdir)/sendmail-bin.prerm.in $(srcdir)/sendmail-bin.suid.in \ | ||
181 | 115 | $(srcdir)/sensible-mda.preinst.in $(srcdir)/bug-control.in \ | ||
182 | 116 | $(srcdir)/bug-script.in $(top_srcdir)/cf/debian/autoconf.m4.in \ | ||
183 | 85 | $(top_srcdir)/cf/debian/sendmail.mc.in \ | 117 | $(top_srcdir)/cf/debian/sendmail.mc.in \ |
184 | 86 | $(top_srcdir)/cf/debian/submit.mc.in \ | 118 | $(top_srcdir)/cf/debian/submit.mc.in \ |
185 | 87 | $(top_srcdir)/cf/domain/debian-msp.m4.in \ | 119 | $(top_srcdir)/cf/domain/debian-msp.m4.in \ |
186 | 88 | $(top_srcdir)/cf/domain/debian-mta.m4.in \ | 120 | $(top_srcdir)/cf/domain/debian-mta.m4.in \ |
187 | 89 | $(top_srcdir)/cf/hack/debian_auth.m4.in \ | 121 | $(top_srcdir)/cf/hack/debian_auth.m4.in \ |
188 | 90 | $(top_srcdir)/cf/hack/virthost_by_ip.m4.in \ | 122 | $(top_srcdir)/cf/hack/virthost_by_ip.m4.in \ |
190 | 91 | $(top_srcdir)/cf/ostype/debian.m4.in $(top_srcdir)/configure \ | 123 | $(top_srcdir)/cf/ostype/debian.m4.in \ |
191 | 92 | $(top_srcdir)/examples/dhcp/dhclient-exit-hooks.d/sendmail.in \ | 124 | $(top_srcdir)/examples/dhcp/dhclient-exit-hooks.d/sendmail.in \ |
192 | 93 | $(top_srcdir)/examples/network/if-down.d/sendmail.in \ | 125 | $(top_srcdir)/examples/network/if-down.d/sendmail.in \ |
193 | 94 | $(top_srcdir)/examples/network/if-up.d/sendmail.in \ | 126 | $(top_srcdir)/examples/network/if-up.d/sendmail.in \ |
194 | @@ -96,11 +128,13 @@ | |||
195 | 96 | $(top_srcdir)/examples/ppp/ip-up.d/sendmail.in \ | 128 | $(top_srcdir)/examples/ppp/ip-up.d/sendmail.in \ |
196 | 97 | $(top_srcdir)/examples/resolvconf/update-libc.d/sendmail.in \ | 129 | $(top_srcdir)/examples/resolvconf/update-libc.d/sendmail.in \ |
197 | 98 | $(top_srcdir)/examples/sasl/sasl.m4.in \ | 130 | $(top_srcdir)/examples/sasl/sasl.m4.in \ |
203 | 99 | $(top_srcdir)/examples/tls/starttls.m4.in \ | 131 | $(top_srcdir)/examples/tls/starttls.m4.in COPYING TODO \ |
204 | 100 | $(top_srcdir)/local/bug/sendmail/script.in \ | 132 | ./build/compile ./build/config.guess ./build/config.sub \ |
205 | 101 | ./build/config.guess ./build/config.sub ./build/depcomp \ | 133 | ./build/depcomp ./build/install-sh ./build/missing \ |
206 | 102 | ./build/install-sh ./build/missing ./build/mkinstalldirs \ | 134 | ./build/mkinstalldirs $(top_srcdir)/./build/compile \ |
207 | 103 | AUTHORS COPYING ChangeLog INSTALL NEWS TODO | 135 | $(top_srcdir)/./build/config.guess \ |
208 | 136 | $(top_srcdir)/./build/config.sub \ | ||
209 | 137 | $(top_srcdir)/./build/install-sh $(top_srcdir)/./build/missing | ||
210 | 104 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | 138 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
211 | 105 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac | 139 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
212 | 106 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | 140 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
213 | @@ -112,49 +146,85 @@ | |||
214 | 112 | build/autoconf.sh build/debian/changelog.sh \ | 146 | build/autoconf.sh build/debian/changelog.sh \ |
215 | 113 | build/debian/changelog build/update_chaos build/site.config.m4 \ | 147 | build/debian/changelog build/update_chaos build/site.config.m4 \ |
216 | 114 | build/debian/control.m4 libmilter${sm_libmilter_version}.dirs \ | 148 | build/debian/control.m4 libmilter${sm_libmilter_version}.dirs \ |
217 | 115 | libmilter${sm_libmilter_version}.links \ | ||
218 | 116 | libmilter${sm_libmilter_version}.lintian-overrides \ | 149 | libmilter${sm_libmilter_version}.lintian-overrides \ |
219 | 117 | libmilter${sm_libmilter_version}.postrm \ | ||
220 | 118 | libmilter${sm_libmilter_version}.preinst libmilter-dev.dirs \ | 150 | libmilter${sm_libmilter_version}.preinst libmilter-dev.dirs \ |
235 | 119 | libmilter-dev.links libmilter-dev.postrm libmilter-dev.preinst \ | 151 | libmilter-dev.links libmilter-dev.preinst rmail.dirs \ |
236 | 120 | rmail.dirs rmail.postrm rmail.preinst sendmail.dirs \ | 152 | rmail.preinst sendmail-base.dirs sendmail-base.postinst \ |
237 | 121 | sendmail-base.dirs sendmail-base.postinst sendmail-base.postrm \ | 153 | sendmail-base.postrm sendmail-base.preinst sendmail-base.prerm \ |
238 | 122 | sendmail-base.preinst sendmail-base.prerm sendmail-doc.dirs \ | 154 | sendmail-doc.dirs sendmail-doc.preinst sendmail-cf.postrm \ |
239 | 123 | sendmail-doc.postrm sendmail-doc.preinst sendmail-cf.dirs \ | 155 | sendmail-cf.preinst sendmail.cron.daily sendmail-bin.dirs \ |
240 | 124 | sendmail-cf.postrm sendmail-cf.preinst sendmail.cron.daily \ | 156 | sendmail.init.d sendmail-bin.postinst sendmail-bin.postrm \ |
241 | 125 | sendmail-bin.dirs sendmail.init.d sendmail-bin.postinst \ | 157 | sendmail-bin.preinst sendmail-bin.prerm sendmail-bin.suid \ |
242 | 126 | sendmail-bin.postrm sendmail-bin.preinst sendmail-bin.prerm \ | 158 | sensible-mda.preinst bug-control bug-script \ |
243 | 127 | sendmail-bin.suid sensible-mda.dirs sensible-mda.postrm \ | 159 | cf/debian/autoconf.m4 cf/debian/sendmail.mc \ |
244 | 128 | sensible-mda.preinst cf/debian/autoconf.m4 \ | 160 | cf/debian/submit.mc cf/domain/debian-msp.m4 \ |
245 | 129 | cf/debian/sendmail.mc cf/debian/submit.mc \ | 161 | cf/domain/debian-mta.m4 cf/hack/debian_auth.m4 \ |
246 | 130 | cf/domain/debian-msp.m4 cf/domain/debian-mta.m4 \ | 162 | cf/hack/virthost_by_ip.m4 cf/ostype/debian.m4 \ |
233 | 131 | cf/hack/debian_auth.m4 cf/hack/virthost_by_ip.m4 \ | ||
234 | 132 | cf/ostype/debian.m4 \ | ||
247 | 133 | examples/dhcp/dhclient-exit-hooks.d/sendmail \ | 163 | examples/dhcp/dhclient-exit-hooks.d/sendmail \ |
248 | 134 | examples/network/if-down.d/sendmail \ | 164 | examples/network/if-down.d/sendmail \ |
249 | 135 | examples/network/if-up.d/sendmail \ | 165 | examples/network/if-up.d/sendmail \ |
250 | 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 \ |
251 | 137 | examples/resolvconf/update-libc.d/sendmail \ | 167 | examples/resolvconf/update-libc.d/sendmail \ |
254 | 138 | examples/sasl/sasl.m4 examples/tls/starttls.m4 \ | 168 | examples/sasl/sasl.m4 examples/tls/starttls.m4 |
253 | 139 | local/bug/sendmail/script | ||
255 | 140 | CONFIG_CLEAN_VPATH_FILES = | 169 | CONFIG_CLEAN_VPATH_FILES = |
256 | 170 | AM_V_P = $(am__v_P_@AM_V@) | ||
257 | 171 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | ||
258 | 172 | am__v_P_0 = false | ||
259 | 173 | am__v_P_1 = : | ||
260 | 174 | AM_V_GEN = $(am__v_GEN_@AM_V@) | ||
261 | 175 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | ||
262 | 176 | am__v_GEN_0 = @echo " GEN " $@; | ||
263 | 177 | am__v_GEN_1 = | ||
264 | 178 | AM_V_at = $(am__v_at_@AM_V@) | ||
265 | 179 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | ||
266 | 180 | am__v_at_0 = @ | ||
267 | 181 | am__v_at_1 = | ||
268 | 141 | SOURCES = | 182 | SOURCES = |
269 | 142 | DIST_SOURCES = | 183 | DIST_SOURCES = |
270 | 184 | am__can_run_installinfo = \ | ||
271 | 185 | case $$AM_UPDATE_INFO_DIR in \ | ||
272 | 186 | n|no|NO) false;; \ | ||
273 | 187 | *) (install-info --version) >/dev/null 2>&1;; \ | ||
274 | 188 | esac | ||
275 | 143 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ | 189 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
276 | 144 | distclean-recursive maintainer-clean-recursive | 190 | distclean-recursive maintainer-clean-recursive |
280 | 145 | AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ | 191 | am__recursive_targets = \ |
281 | 146 | $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ | 192 | $(RECURSIVE_TARGETS) \ |
282 | 147 | distdir dist dist-all distcheck | 193 | $(RECURSIVE_CLEAN_TARGETS) \ |
283 | 194 | $(am__extra_recursive_targets) | ||
284 | 195 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ | ||
285 | 196 | cscope distdir dist dist-all distcheck | ||
286 | 197 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | ||
287 | 198 | # Read a list of newline-separated strings from the standard input, | ||
288 | 199 | # and print each of them once, without duplicates. Input order is | ||
289 | 200 | # *not* preserved. | ||
290 | 201 | am__uniquify_input = $(AWK) '\ | ||
291 | 202 | BEGIN { nonempty = 0; } \ | ||
292 | 203 | { items[$$0] = 1; nonempty = 1; } \ | ||
293 | 204 | END { if (nonempty) { for (i in items) print i; }; } \ | ||
294 | 205 | ' | ||
295 | 206 | # Make sure the list of sources is unique. This is necessary because, | ||
296 | 207 | # e.g., the same source file might be shared among _SOURCES variables | ||
297 | 208 | # for different programs/libraries. | ||
298 | 209 | am__define_uniq_tagged_files = \ | ||
299 | 210 | list='$(am__tagged_files)'; \ | ||
300 | 211 | unique=`for i in $$list; do \ | ||
301 | 212 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
302 | 213 | done | $(am__uniquify_input)` | ||
303 | 148 | ETAGS = etags | 214 | ETAGS = etags |
304 | 149 | CTAGS = ctags | 215 | CTAGS = ctags |
305 | 216 | CSCOPE = cscope | ||
306 | 150 | DIST_SUBDIRS = $(SUBDIRS) | 217 | DIST_SUBDIRS = $(SUBDIRS) |
307 | 151 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | 218 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
308 | 152 | distdir = $(PACKAGE)-$(VERSION) | 219 | distdir = $(PACKAGE)-$(VERSION) |
309 | 153 | top_distdir = $(distdir) | 220 | top_distdir = $(distdir) |
310 | 154 | am__remove_distdir = \ | 221 | am__remove_distdir = \ |
314 | 155 | { test ! -d "$(distdir)" \ | 222 | if test -d "$(distdir)"; then \ |
315 | 156 | || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ | 223 | find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ |
316 | 157 | && rm -fr "$(distdir)"; }; } | 224 | && rm -rf "$(distdir)" \ |
317 | 225 | || { sleep 5 && rm -rf "$(distdir)"; }; \ | ||
318 | 226 | else :; fi | ||
319 | 227 | am__post_remove_distdir = $(am__remove_distdir) | ||
320 | 158 | am__relativize = \ | 228 | am__relativize = \ |
321 | 159 | dir0=`pwd`; \ | 229 | dir0=`pwd`; \ |
322 | 160 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ | 230 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ |
323 | @@ -182,10 +252,14 @@ | |||
324 | 182 | reldir="$$dir2" | 252 | reldir="$$dir2" |
325 | 183 | DIST_ARCHIVES = $(distdir).tar.gz | 253 | DIST_ARCHIVES = $(distdir).tar.gz |
326 | 184 | GZIP_ENV = --best | 254 | GZIP_ENV = --best |
327 | 255 | DIST_TARGETS = dist-gzip | ||
328 | 185 | distuninstallcheck_listfiles = find . -type f -print | 256 | distuninstallcheck_listfiles = find . -type f -print |
329 | 257 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | ||
330 | 258 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' | ||
331 | 186 | distcleancheck_listfiles = find . -type f -print | 259 | distcleancheck_listfiles = find . -type f -print |
332 | 187 | ACLOCAL = @ACLOCAL@ | 260 | ACLOCAL = @ACLOCAL@ |
333 | 188 | AMTAR = @AMTAR@ | 261 | AMTAR = @AMTAR@ |
334 | 262 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
335 | 189 | AUTOCONF = @AUTOCONF@ | 263 | AUTOCONF = @AUTOCONF@ |
336 | 190 | AUTOHEADER = @AUTOHEADER@ | 264 | AUTOHEADER = @AUTOHEADER@ |
337 | 191 | AUTOMAKE = @AUTOMAKE@ | 265 | AUTOMAKE = @AUTOMAKE@ |
338 | @@ -395,7 +469,7 @@ | |||
339 | 395 | all: all-recursive | 469 | all: all-recursive |
340 | 396 | 470 | ||
341 | 397 | .SUFFIXES: | 471 | .SUFFIXES: |
343 | 398 | am--refresh: | 472 | am--refresh: Makefile |
344 | 399 | @: | 473 | @: |
345 | 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) |
346 | 401 | @for dep in $?; do \ | 475 | @for dep in $?; do \ |
347 | @@ -445,75 +519,61 @@ | |||
348 | 445 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 519 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
349 | 446 | build/debian/control.m4: $(top_builddir)/config.status $(top_srcdir)/build/debian/control.m4.in | 520 | build/debian/control.m4: $(top_builddir)/config.status $(top_srcdir)/build/debian/control.m4.in |
350 | 447 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 521 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
420 | 448 | libmilter${sm_libmilter_version}.dirs: $(top_builddir)/config.status $(top_srcdir)/./build/debian/libmilter.dirs.in | 522 | libmilter${sm_libmilter_version}.dirs: $(top_builddir)/config.status $(srcdir)/libmilter.dirs.in |
421 | 449 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 523 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
422 | 450 | libmilter${sm_libmilter_version}.links: $(top_builddir)/config.status $(top_srcdir)/./build/debian/libmilter.links.in | 524 | libmilter${sm_libmilter_version}.lintian-overrides: $(top_builddir)/config.status $(srcdir)/libmilter.lintian-overrides.in |
423 | 451 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 525 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
424 | 452 | libmilter${sm_libmilter_version}.lintian-overrides: $(top_builddir)/config.status $(top_srcdir)/./build/debian/libmilter.lintian-overrides.in | 526 | libmilter${sm_libmilter_version}.preinst: $(top_builddir)/config.status $(srcdir)/libmilter.preinst.in |
425 | 453 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 527 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
426 | 454 | libmilter${sm_libmilter_version}.postrm: $(top_builddir)/config.status $(top_srcdir)/./build/debian/libmilter.postrm.in | 528 | libmilter-dev.dirs: $(top_builddir)/config.status $(srcdir)/libmilter-dev.dirs.in |
427 | 455 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 529 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
428 | 456 | libmilter${sm_libmilter_version}.preinst: $(top_builddir)/config.status $(top_srcdir)/./build/debian/libmilter.preinst.in | 530 | libmilter-dev.links: $(top_builddir)/config.status $(srcdir)/libmilter-dev.links.in |
429 | 457 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 531 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
430 | 458 | libmilter-dev.dirs: $(top_builddir)/config.status $(top_srcdir)/./build/debian/libmilter-dev.dirs.in | 532 | libmilter-dev.preinst: $(top_builddir)/config.status $(srcdir)/libmilter-dev.preinst.in |
431 | 459 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 533 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
432 | 460 | libmilter-dev.links: $(top_builddir)/config.status $(top_srcdir)/./build/debian/libmilter-dev.links.in | 534 | rmail.dirs: $(top_builddir)/config.status $(srcdir)/rmail.dirs.in |
433 | 461 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 535 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
434 | 462 | libmilter-dev.postrm: $(top_builddir)/config.status $(top_srcdir)/./build/debian/libmilter-dev.postrm.in | 536 | rmail.preinst: $(top_builddir)/config.status $(srcdir)/rmail.preinst.in |
435 | 463 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 537 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
436 | 464 | libmilter-dev.preinst: $(top_builddir)/config.status $(top_srcdir)/./build/debian/libmilter-dev.preinst.in | 538 | sendmail-base.dirs: $(top_builddir)/config.status $(srcdir)/sendmail-base.dirs.in |
437 | 465 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 539 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
438 | 466 | rmail.dirs: $(top_builddir)/config.status $(top_srcdir)/./build/debian/rmail.dirs.in | 540 | sendmail-base.postinst: $(top_builddir)/config.status $(srcdir)/sendmail-base.postinst.in |
439 | 467 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 541 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
440 | 468 | rmail.postrm: $(top_builddir)/config.status $(top_srcdir)/./build/debian/rmail.postrm.in | 542 | sendmail-base.postrm: $(top_builddir)/config.status $(srcdir)/sendmail-base.postrm.in |
441 | 469 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 543 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
442 | 470 | rmail.preinst: $(top_builddir)/config.status $(top_srcdir)/./build/debian/rmail.preinst.in | 544 | sendmail-base.preinst: $(top_builddir)/config.status $(srcdir)/sendmail-base.preinst.in |
443 | 471 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 545 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
444 | 472 | sendmail.dirs: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail.dirs.in | 546 | sendmail-base.prerm: $(top_builddir)/config.status $(srcdir)/sendmail-base.prerm.in |
445 | 473 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 547 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
446 | 474 | sendmail-base.dirs: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-base.dirs.in | 548 | sendmail-doc.dirs: $(top_builddir)/config.status $(srcdir)/sendmail-doc.dirs.in |
447 | 475 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 549 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
448 | 476 | sendmail-base.postinst: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-base.postinst.in | 550 | sendmail-doc.preinst: $(top_builddir)/config.status $(srcdir)/sendmail-doc.preinst.in |
449 | 477 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 551 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
450 | 478 | sendmail-base.postrm: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-base.postrm.in | 552 | sendmail-cf.postrm: $(top_builddir)/config.status $(srcdir)/sendmail-cf.postrm.in |
451 | 479 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 553 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
452 | 480 | sendmail-base.preinst: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-base.preinst.in | 554 | sendmail-cf.preinst: $(top_builddir)/config.status $(srcdir)/sendmail-cf.preinst.in |
453 | 481 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 555 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
454 | 482 | sendmail-base.prerm: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-base.prerm.in | 556 | sendmail.cron.daily: $(top_builddir)/config.status $(srcdir)/sendmail.cron.daily.in |
455 | 483 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 557 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
456 | 484 | sendmail-doc.dirs: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-doc.dirs.in | 558 | sendmail-bin.dirs: $(top_builddir)/config.status $(srcdir)/sendmail-bin.dirs.in |
457 | 485 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 559 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
458 | 486 | sendmail-doc.postrm: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-doc.postrm.in | 560 | sendmail.init.d: $(top_builddir)/config.status $(srcdir)/sendmail.init.d.in $(top_srcdir)/local/sendmail.in |
459 | 487 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 561 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
460 | 488 | sendmail-doc.preinst: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-doc.preinst.in | 562 | sendmail-bin.postinst: $(top_builddir)/config.status $(srcdir)/sendmail-bin.postinst.in |
461 | 489 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 563 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
462 | 490 | sendmail-cf.dirs: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-cf.dirs.in | 564 | sendmail-bin.postrm: $(top_builddir)/config.status $(srcdir)/sendmail-bin.postrm.in |
463 | 491 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 565 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
464 | 492 | sendmail-cf.postrm: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-cf.postrm.in | 566 | sendmail-bin.preinst: $(top_builddir)/config.status $(srcdir)/sendmail-bin.preinst.in |
465 | 493 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 567 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
466 | 494 | sendmail-cf.preinst: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-cf.preinst.in | 568 | sendmail-bin.prerm: $(top_builddir)/config.status $(srcdir)/sendmail-bin.prerm.in |
467 | 495 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 569 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
468 | 496 | sendmail.cron.daily: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail.cron.daily.in | 570 | sendmail-bin.suid: $(top_builddir)/config.status $(srcdir)/sendmail-bin.suid.in |
469 | 497 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 571 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
470 | 498 | sendmail-bin.dirs: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-bin.dirs.in | 572 | sensible-mda.preinst: $(top_builddir)/config.status $(srcdir)/sensible-mda.preinst.in |
471 | 499 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 573 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
472 | 500 | sendmail.init.d: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail.init.d.in $(top_srcdir)/./local/sendmail.in | 574 | bug-control: $(top_builddir)/config.status $(srcdir)/bug-control.in |
473 | 501 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 575 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
474 | 502 | sendmail-bin.postinst: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-bin.postinst.in | 576 | bug-script: $(top_builddir)/config.status $(srcdir)/bug-script.in |
406 | 503 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
407 | 504 | sendmail-bin.postrm: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-bin.postrm.in | ||
408 | 505 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
409 | 506 | sendmail-bin.preinst: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-bin.preinst.in | ||
410 | 507 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
411 | 508 | sendmail-bin.prerm: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-bin.prerm.in | ||
412 | 509 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
413 | 510 | sendmail-bin.suid: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sendmail-bin.suid.in | ||
414 | 511 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
415 | 512 | sensible-mda.dirs: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sensible-mda.dirs.in | ||
416 | 513 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
417 | 514 | sensible-mda.postrm: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sensible-mda.postrm.in | ||
418 | 515 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
419 | 516 | sensible-mda.preinst: $(top_builddir)/config.status $(top_srcdir)/./build/debian/sensible-mda.preinst.in | ||
475 | 517 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 577 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
476 | 518 | cf/debian/autoconf.m4: $(top_builddir)/config.status $(top_srcdir)/cf/debian/autoconf.m4.in | 578 | cf/debian/autoconf.m4: $(top_builddir)/config.status $(top_srcdir)/cf/debian/autoconf.m4.in |
477 | 519 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 579 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
478 | @@ -547,26 +607,27 @@ | |||
479 | 547 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 607 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
480 | 548 | examples/tls/starttls.m4: $(top_builddir)/config.status $(top_srcdir)/examples/tls/starttls.m4.in | 608 | examples/tls/starttls.m4: $(top_builddir)/config.status $(top_srcdir)/examples/tls/starttls.m4.in |
481 | 549 | cd $(top_builddir) && $(SHELL) ./config.status $@ | 609 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
482 | 550 | local/bug/sendmail/script: $(top_builddir)/config.status $(top_srcdir)/local/bug/sendmail/script.in | ||
483 | 551 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
484 | 552 | 610 | ||
485 | 553 | # This directory's subdirectories are mostly independent; you can cd | 611 | # This directory's subdirectories are mostly independent; you can cd |
499 | 554 | # into them and run `make' without going through this Makefile. | 612 | # into them and run 'make' without going through this Makefile. |
500 | 555 | # To change the values of `make' variables: instead of editing Makefiles, | 613 | # To change the values of 'make' variables: instead of editing Makefiles, |
501 | 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' |
502 | 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'); |
503 | 558 | # (2) otherwise, pass the desired values on the `make' command line. | 616 | # (2) otherwise, pass the desired values on the 'make' command line. |
504 | 559 | $(RECURSIVE_TARGETS): | 617 | $(am__recursive_targets): |
505 | 560 | @fail= failcom='exit 1'; \ | 618 | @fail=; \ |
506 | 561 | for f in x $$MAKEFLAGS; do \ | 619 | if $(am__make_keepgoing); then \ |
507 | 562 | case $$f in \ | 620 | failcom='fail=yes'; \ |
508 | 563 | *=* | --[!k]*);; \ | 621 | else \ |
509 | 564 | *k*) failcom='fail=yes';; \ | 622 | failcom='exit 1'; \ |
510 | 565 | esac; \ | 623 | fi; \ |
498 | 566 | done; \ | ||
511 | 567 | dot_seen=no; \ | 624 | dot_seen=no; \ |
512 | 568 | target=`echo $@ | sed s/-recursive//`; \ | 625 | target=`echo $@ | sed s/-recursive//`; \ |
514 | 569 | list='$(SUBDIRS)'; for subdir in $$list; do \ | 626 | case "$@" in \ |
515 | 627 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | ||
516 | 628 | *) list='$(SUBDIRS)' ;; \ | ||
517 | 629 | esac; \ | ||
518 | 630 | for subdir in $$list; do \ | ||
519 | 570 | echo "Making $$target in $$subdir"; \ | 631 | echo "Making $$target in $$subdir"; \ |
520 | 571 | if test "$$subdir" = "."; then \ | 632 | if test "$$subdir" = "."; then \ |
521 | 572 | dot_seen=yes; \ | 633 | dot_seen=yes; \ |
522 | @@ -581,57 +642,12 @@ | |||
523 | 581 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ | 642 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
524 | 582 | fi; test -z "$$fail" | 643 | fi; test -z "$$fail" |
525 | 583 | 644 | ||
577 | 584 | $(RECURSIVE_CLEAN_TARGETS): | 645 | ID: $(am__tagged_files) |
578 | 585 | @fail= failcom='exit 1'; \ | 646 | $(am__define_uniq_tagged_files); mkid -fID $$unique |
579 | 586 | for f in x $$MAKEFLAGS; do \ | 647 | tags: tags-recursive |
580 | 587 | case $$f in \ | 648 | TAGS: tags |
581 | 588 | *=* | --[!k]*);; \ | 649 | |
582 | 589 | *k*) failcom='fail=yes';; \ | 650 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
532 | 590 | esac; \ | ||
533 | 591 | done; \ | ||
534 | 592 | dot_seen=no; \ | ||
535 | 593 | case "$@" in \ | ||
536 | 594 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | ||
537 | 595 | *) list='$(SUBDIRS)' ;; \ | ||
538 | 596 | esac; \ | ||
539 | 597 | rev=''; for subdir in $$list; do \ | ||
540 | 598 | if test "$$subdir" = "."; then :; else \ | ||
541 | 599 | rev="$$subdir $$rev"; \ | ||
542 | 600 | fi; \ | ||
543 | 601 | done; \ | ||
544 | 602 | rev="$$rev ."; \ | ||
545 | 603 | target=`echo $@ | sed s/-recursive//`; \ | ||
546 | 604 | for subdir in $$rev; do \ | ||
547 | 605 | echo "Making $$target in $$subdir"; \ | ||
548 | 606 | if test "$$subdir" = "."; then \ | ||
549 | 607 | local_target="$$target-am"; \ | ||
550 | 608 | else \ | ||
551 | 609 | local_target="$$target"; \ | ||
552 | 610 | fi; \ | ||
553 | 611 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | ||
554 | 612 | || eval $$failcom; \ | ||
555 | 613 | done && test -z "$$fail" | ||
556 | 614 | tags-recursive: | ||
557 | 615 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
558 | 616 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ | ||
559 | 617 | done | ||
560 | 618 | ctags-recursive: | ||
561 | 619 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
562 | 620 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ | ||
563 | 621 | done | ||
564 | 622 | |||
565 | 623 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
566 | 624 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
567 | 625 | unique=`for i in $$list; do \ | ||
568 | 626 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
569 | 627 | done | \ | ||
570 | 628 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
571 | 629 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
572 | 630 | mkid -fID $$unique | ||
573 | 631 | tags: TAGS | ||
574 | 632 | |||
575 | 633 | TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | ||
576 | 634 | $(TAGS_FILES) $(LISP) | ||
583 | 635 | set x; \ | 651 | set x; \ |
584 | 636 | here=`pwd`; \ | 652 | here=`pwd`; \ |
585 | 637 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ | 653 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ |
586 | @@ -647,12 +663,7 @@ | |||
587 | 647 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ | 663 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
588 | 648 | fi; \ | 664 | fi; \ |
589 | 649 | done; \ | 665 | done; \ |
596 | 650 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | 666 | $(am__define_uniq_tagged_files); \ |
591 | 651 | unique=`for i in $$list; do \ | ||
592 | 652 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
593 | 653 | done | \ | ||
594 | 654 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
595 | 655 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
597 | 656 | shift; \ | 667 | shift; \ |
598 | 657 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | 668 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
599 | 658 | test -n "$$unique" || unique=$$empty_fix; \ | 669 | test -n "$$unique" || unique=$$empty_fix; \ |
600 | @@ -664,15 +675,11 @@ | |||
601 | 664 | $$unique; \ | 675 | $$unique; \ |
602 | 665 | fi; \ | 676 | fi; \ |
603 | 666 | fi | 677 | fi |
613 | 667 | ctags: CTAGS | 678 | ctags: ctags-recursive |
614 | 668 | CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ | 679 | |
615 | 669 | $(TAGS_FILES) $(LISP) | 680 | CTAGS: ctags |
616 | 670 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | 681 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
617 | 671 | unique=`for i in $$list; do \ | 682 | $(am__define_uniq_tagged_files); \ |
609 | 672 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
610 | 673 | done | \ | ||
611 | 674 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
612 | 675 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
618 | 676 | test -z "$(CTAGS_ARGS)$$unique" \ | 683 | test -z "$(CTAGS_ARGS)$$unique" \ |
619 | 677 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | 684 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
620 | 678 | $$unique | 685 | $$unique |
621 | @@ -681,9 +688,31 @@ | |||
622 | 681 | here=`$(am__cd) $(top_builddir) && pwd` \ | 688 | here=`$(am__cd) $(top_builddir) && pwd` \ |
623 | 682 | && $(am__cd) $(top_srcdir) \ | 689 | && $(am__cd) $(top_srcdir) \ |
624 | 683 | && gtags -i $(GTAGS_ARGS) "$$here" | 690 | && gtags -i $(GTAGS_ARGS) "$$here" |
625 | 691 | cscope: cscope.files | ||
626 | 692 | test ! -s cscope.files \ | ||
627 | 693 | || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) | ||
628 | 694 | clean-cscope: | ||
629 | 695 | -rm -f cscope.files | ||
630 | 696 | cscope.files: clean-cscope cscopelist | ||
631 | 697 | cscopelist: cscopelist-recursive | ||
632 | 698 | |||
633 | 699 | cscopelist-am: $(am__tagged_files) | ||
634 | 700 | list='$(am__tagged_files)'; \ | ||
635 | 701 | case "$(srcdir)" in \ | ||
636 | 702 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | ||
637 | 703 | *) sdir=$(subdir)/$(srcdir) ;; \ | ||
638 | 704 | esac; \ | ||
639 | 705 | for i in $$list; do \ | ||
640 | 706 | if test -f "$$i"; then \ | ||
641 | 707 | echo "$(subdir)/$$i"; \ | ||
642 | 708 | else \ | ||
643 | 709 | echo "$$sdir/$$i"; \ | ||
644 | 710 | fi; \ | ||
645 | 711 | done >> $(top_builddir)/cscope.files | ||
646 | 684 | 712 | ||
647 | 685 | distclean-tags: | 713 | distclean-tags: |
648 | 686 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | 714 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
649 | 715 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files | ||
650 | 687 | 716 | ||
651 | 688 | distdir: $(DISTFILES) | 717 | distdir: $(DISTFILES) |
652 | 689 | $(am__remove_distdir) | 718 | $(am__remove_distdir) |
653 | @@ -719,13 +748,10 @@ | |||
654 | 719 | done | 748 | done |
655 | 720 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | 749 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
656 | 721 | if test "$$subdir" = .; then :; else \ | 750 | if test "$$subdir" = .; then :; else \ |
664 | 722 | test -d "$(distdir)/$$subdir" \ | 751 | $(am__make_dryrun) \ |
665 | 723 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | 752 | || test -d "$(distdir)/$$subdir" \ |
666 | 724 | || exit 1; \ | 753 | || $(MKDIR_P) "$(distdir)/$$subdir" \ |
667 | 725 | fi; \ | 754 | || exit 1; \ |
661 | 726 | done | ||
662 | 727 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | ||
663 | 728 | if test "$$subdir" = .; then :; else \ | ||
668 | 729 | dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ | 755 | dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ |
669 | 730 | $(am__relativize); \ | 756 | $(am__relativize); \ |
670 | 731 | new_distdir=$$reldir; \ | 757 | new_distdir=$$reldir; \ |
671 | @@ -754,36 +780,42 @@ | |||
672 | 754 | || chmod -R a+r "$(distdir)" | 780 | || chmod -R a+r "$(distdir)" |
673 | 755 | dist-gzip: distdir | 781 | dist-gzip: distdir |
674 | 756 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | 782 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
676 | 757 | $(am__remove_distdir) | 783 | $(am__post_remove_distdir) |
677 | 758 | 784 | ||
678 | 759 | dist-bzip2: distdir | 785 | dist-bzip2: distdir |
681 | 760 | tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 | 786 | tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 |
682 | 761 | $(am__remove_distdir) | 787 | $(am__post_remove_distdir) |
683 | 762 | 788 | ||
687 | 763 | dist-lzma: distdir | 789 | dist-lzip: distdir |
688 | 764 | tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma | 790 | tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz |
689 | 765 | $(am__remove_distdir) | 791 | $(am__post_remove_distdir) |
690 | 766 | 792 | ||
691 | 767 | dist-xz: distdir | 793 | dist-xz: distdir |
694 | 768 | tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz | 794 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz |
695 | 769 | $(am__remove_distdir) | 795 | $(am__post_remove_distdir) |
696 | 770 | 796 | ||
697 | 771 | dist-tarZ: distdir | 797 | dist-tarZ: distdir |
698 | 798 | @echo WARNING: "Support for shar distribution archives is" \ | ||
699 | 799 | "deprecated." >&2 | ||
700 | 800 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 | ||
701 | 772 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z | 801 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
703 | 773 | $(am__remove_distdir) | 802 | $(am__post_remove_distdir) |
704 | 774 | 803 | ||
705 | 775 | dist-shar: distdir | 804 | dist-shar: distdir |
706 | 805 | @echo WARNING: "Support for distribution archives compressed with" \ | ||
707 | 806 | "legacy program 'compress' is deprecated." >&2 | ||
708 | 807 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 | ||
709 | 776 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz | 808 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
711 | 777 | $(am__remove_distdir) | 809 | $(am__post_remove_distdir) |
712 | 778 | 810 | ||
713 | 779 | dist-zip: distdir | 811 | dist-zip: distdir |
714 | 780 | -rm -f $(distdir).zip | 812 | -rm -f $(distdir).zip |
715 | 781 | zip -rq $(distdir).zip $(distdir) | 813 | zip -rq $(distdir).zip $(distdir) |
717 | 782 | $(am__remove_distdir) | 814 | $(am__post_remove_distdir) |
718 | 783 | 815 | ||
722 | 784 | dist dist-all: distdir | 816 | dist dist-all: |
723 | 785 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | 817 | $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' |
724 | 786 | $(am__remove_distdir) | 818 | $(am__post_remove_distdir) |
725 | 787 | 819 | ||
726 | 788 | # This target untars the dist file and tries a VPATH configuration. Then | 820 | # This target untars the dist file and tries a VPATH configuration. Then |
727 | 789 | # it guarantees that the distribution is self-contained by making another | 821 | # it guarantees that the distribution is self-contained by making another |
728 | @@ -794,8 +826,8 @@ | |||
729 | 794 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ | 826 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
730 | 795 | *.tar.bz2*) \ | 827 | *.tar.bz2*) \ |
731 | 796 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ | 828 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
734 | 797 | *.tar.lzma*) \ | 829 | *.tar.lz*) \ |
735 | 798 | lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ | 830 | lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ |
736 | 799 | *.tar.xz*) \ | 831 | *.tar.xz*) \ |
737 | 800 | xz -dc $(distdir).tar.xz | $(am__untar) ;;\ | 832 | xz -dc $(distdir).tar.xz | $(am__untar) ;;\ |
738 | 801 | *.tar.Z*) \ | 833 | *.tar.Z*) \ |
739 | @@ -805,17 +837,19 @@ | |||
740 | 805 | *.zip*) \ | 837 | *.zip*) \ |
741 | 806 | unzip $(distdir).zip ;;\ | 838 | unzip $(distdir).zip ;;\ |
742 | 807 | esac | 839 | esac |
746 | 808 | chmod -R a-w $(distdir); chmod a+w $(distdir) | 840 | chmod -R a-w $(distdir) |
747 | 809 | mkdir $(distdir)/_build | 841 | chmod u+w $(distdir) |
748 | 810 | mkdir $(distdir)/_inst | 842 | mkdir $(distdir)/_build $(distdir)/_inst |
749 | 811 | chmod a-w $(distdir) | 843 | chmod a-w $(distdir) |
750 | 812 | test -d $(distdir)/_build || exit 0; \ | 844 | test -d $(distdir)/_build || exit 0; \ |
751 | 813 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ | 845 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
752 | 814 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ | 846 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
753 | 815 | && am__cwd=`pwd` \ | 847 | && am__cwd=`pwd` \ |
754 | 816 | && $(am__cd) $(distdir)/_build \ | 848 | && $(am__cd) $(distdir)/_build \ |
756 | 817 | && ../configure --srcdir=.. --prefix="$$dc_install_base" \ | 849 | && ../configure \ |
757 | 850 | $(AM_DISTCHECK_CONFIGURE_FLAGS) \ | ||
758 | 818 | $(DISTCHECK_CONFIGURE_FLAGS) \ | 851 | $(DISTCHECK_CONFIGURE_FLAGS) \ |
759 | 852 | --srcdir=.. --prefix="$$dc_install_base" \ | ||
760 | 819 | && $(MAKE) $(AM_MAKEFLAGS) \ | 853 | && $(MAKE) $(AM_MAKEFLAGS) \ |
761 | 820 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ | 854 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
762 | 821 | && $(MAKE) $(AM_MAKEFLAGS) check \ | 855 | && $(MAKE) $(AM_MAKEFLAGS) check \ |
763 | @@ -838,13 +872,21 @@ | |||
764 | 838 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ | 872 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
765 | 839 | && cd "$$am__cwd" \ | 873 | && cd "$$am__cwd" \ |
766 | 840 | || exit 1 | 874 | || exit 1 |
768 | 841 | $(am__remove_distdir) | 875 | $(am__post_remove_distdir) |
769 | 842 | @(echo "$(distdir) archives ready for distribution: "; \ | 876 | @(echo "$(distdir) archives ready for distribution: "; \ |
770 | 843 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ | 877 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
771 | 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' |
772 | 845 | distuninstallcheck: | 879 | distuninstallcheck: |
775 | 846 | @$(am__cd) '$(distuninstallcheck_dir)' \ | 880 | @test -n '$(distuninstallcheck_dir)' || { \ |
776 | 847 | && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ | 881 | echo 'ERROR: trying to run $@ with an empty' \ |
777 | 882 | '$$(distuninstallcheck_dir)' >&2; \ | ||
778 | 883 | exit 1; \ | ||
779 | 884 | }; \ | ||
780 | 885 | $(am__cd) '$(distuninstallcheck_dir)' || { \ | ||
781 | 886 | echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ | ||
782 | 887 | exit 1; \ | ||
783 | 888 | }; \ | ||
784 | 889 | test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ | ||
785 | 848 | || { echo "ERROR: files left after uninstall:" ; \ | 890 | || { echo "ERROR: files left after uninstall:" ; \ |
786 | 849 | if test -n "$(DESTDIR)"; then \ | 891 | if test -n "$(DESTDIR)"; then \ |
787 | 850 | echo " (check DESTDIR support)"; \ | 892 | echo " (check DESTDIR support)"; \ |
788 | @@ -875,10 +917,15 @@ | |||
789 | 875 | 917 | ||
790 | 876 | installcheck: installcheck-recursive | 918 | installcheck: installcheck-recursive |
791 | 877 | install-strip: | 919 | install-strip: |
796 | 878 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | 920 | if test -z '$(STRIP)'; then \ |
797 | 879 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | 921 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
798 | 880 | `test -z '$(STRIP)' || \ | 922 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
799 | 881 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | 923 | install; \ |
800 | 924 | else \ | ||
801 | 925 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
802 | 926 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
803 | 927 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | ||
804 | 928 | fi | ||
805 | 882 | mostlyclean-generic: | 929 | mostlyclean-generic: |
806 | 883 | 930 | ||
807 | 884 | clean-generic: | 931 | clean-generic: |
808 | @@ -959,23 +1006,22 @@ | |||
809 | 959 | 1006 | ||
810 | 960 | uninstall-am: | 1007 | uninstall-am: |
811 | 961 | 1008 | ||
814 | 962 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ | 1009 | .MAKE: $(am__recursive_targets) install-am install-strip |
813 | 963 | install-am install-strip tags-recursive | ||
815 | 964 | 1010 | ||
828 | 965 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ | 1011 | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ |
829 | 966 | all all-am am--refresh check check-am clean clean-generic \ | 1012 | am--refresh check check-am clean clean-cscope clean-generic \ |
830 | 967 | ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ | 1013 | cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ |
831 | 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 \ |
832 | 969 | distclean distclean-generic distclean-tags distcleancheck \ | 1015 | distcheck distclean distclean-generic distclean-tags \ |
833 | 970 | distdir distuninstallcheck dvi dvi-am html html-am info \ | 1016 | distcleancheck distdir distuninstallcheck dvi dvi-am html \ |
834 | 971 | info-am install install-am install-data install-data-am \ | 1017 | html-am info info-am install install-am install-data \ |
835 | 972 | install-dvi install-dvi-am install-exec install-exec-am \ | 1018 | install-data-am install-dvi install-dvi-am install-exec \ |
836 | 973 | install-html install-html-am install-info install-info-am \ | 1019 | install-exec-am install-html install-html-am install-info \ |
837 | 974 | install-man install-pdf install-pdf-am install-ps \ | 1020 | install-info-am install-man install-pdf install-pdf-am \ |
838 | 975 | install-ps-am install-strip installcheck installcheck-am \ | 1021 | install-ps install-ps-am install-strip installcheck \ |
839 | 976 | installdirs installdirs-am maintainer-clean \ | 1022 | installcheck-am installdirs installdirs-am maintainer-clean \ |
840 | 977 | maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ | 1023 | maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ |
842 | 978 | pdf-am ps ps-am tags tags-recursive uninstall uninstall-am | 1024 | pdf-am ps ps-am tags tags-am uninstall uninstall-am |
843 | 979 | 1025 | ||
844 | 980 | # | 1026 | # |
845 | 981 | # Debian targets, phase out | 1027 | # Debian targets, phase out |
846 | 982 | 1028 | ||
847 | === removed file 'debian/aclocal.m4' | |||
848 | --- debian/aclocal.m4 2013-01-29 03:37:54 +0000 | |||
849 | +++ debian/aclocal.m4 1970-01-01 00:00:00 +0000 | |||
850 | @@ -1,1011 +0,0 @@ | |||
851 | 1 | # generated automatically by aclocal 1.11.6 -*- Autoconf -*- | ||
852 | 2 | |||
853 | 3 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | ||
854 | 4 | # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, | ||
855 | 5 | # Inc. | ||
856 | 6 | # This file is free software; the Free Software Foundation | ||
857 | 7 | # gives unlimited permission to copy and/or distribute it, | ||
858 | 8 | # with or without modifications, as long as this notice is preserved. | ||
859 | 9 | |||
860 | 10 | # This program is distributed in the hope that it will be useful, | ||
861 | 11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
862 | 12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
863 | 13 | # PARTICULAR PURPOSE. | ||
864 | 14 | |||
865 | 15 | m4_ifndef([AC_AUTOCONF_VERSION], | ||
866 | 16 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | ||
867 | 17 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, | ||
868 | 18 | [m4_warning([this file was generated for autoconf 2.69. | ||
869 | 19 | You have another version of autoconf. It may work, but is not guaranteed to. | ||
870 | 20 | If you have problems, you may need to regenerate the build system entirely. | ||
871 | 21 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) | ||
872 | 22 | |||
873 | 23 | # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software | ||
874 | 24 | # Foundation, Inc. | ||
875 | 25 | # | ||
876 | 26 | # This file is free software; the Free Software Foundation | ||
877 | 27 | # gives unlimited permission to copy and/or distribute it, | ||
878 | 28 | # with or without modifications, as long as this notice is preserved. | ||
879 | 29 | |||
880 | 30 | # serial 1 | ||
881 | 31 | |||
882 | 32 | # AM_AUTOMAKE_VERSION(VERSION) | ||
883 | 33 | # ---------------------------- | ||
884 | 34 | # Automake X.Y traces this macro to ensure aclocal.m4 has been | ||
885 | 35 | # generated from the m4 files accompanying Automake X.Y. | ||
886 | 36 | # (This private macro should not be called outside this file.) | ||
887 | 37 | AC_DEFUN([AM_AUTOMAKE_VERSION], | ||
888 | 38 | [am__api_version='1.11' | ||
889 | 39 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to | ||
890 | 40 | dnl require some minimum version. Point them to the right macro. | ||
891 | 41 | m4_if([$1], [1.11.6], [], | ||
892 | 42 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl | ||
893 | 43 | ]) | ||
894 | 44 | |||
895 | 45 | # _AM_AUTOCONF_VERSION(VERSION) | ||
896 | 46 | # ----------------------------- | ||
897 | 47 | # aclocal traces this macro to find the Autoconf version. | ||
898 | 48 | # This is a private macro too. Using m4_define simplifies | ||
899 | 49 | # the logic in aclocal, which can simply ignore this definition. | ||
900 | 50 | m4_define([_AM_AUTOCONF_VERSION], []) | ||
901 | 51 | |||
902 | 52 | # AM_SET_CURRENT_AUTOMAKE_VERSION | ||
903 | 53 | # ------------------------------- | ||
904 | 54 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. | ||
905 | 55 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. | ||
906 | 56 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], | ||
907 | 57 | [AM_AUTOMAKE_VERSION([1.11.6])dnl | ||
908 | 58 | m4_ifndef([AC_AUTOCONF_VERSION], | ||
909 | 59 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | ||
910 | 60 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) | ||
911 | 61 | |||
912 | 62 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- | ||
913 | 63 | |||
914 | 64 | # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. | ||
915 | 65 | # | ||
916 | 66 | # This file is free software; the Free Software Foundation | ||
917 | 67 | # gives unlimited permission to copy and/or distribute it, | ||
918 | 68 | # with or without modifications, as long as this notice is preserved. | ||
919 | 69 | |||
920 | 70 | # serial 1 | ||
921 | 71 | |||
922 | 72 | # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets | ||
923 | 73 | # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to | ||
924 | 74 | # `$srcdir', `$srcdir/..', or `$srcdir/../..'. | ||
925 | 75 | # | ||
926 | 76 | # Of course, Automake must honor this variable whenever it calls a | ||
927 | 77 | # tool from the auxiliary directory. The problem is that $srcdir (and | ||
928 | 78 | # therefore $ac_aux_dir as well) can be either absolute or relative, | ||
929 | 79 | # depending on how configure is run. This is pretty annoying, since | ||
930 | 80 | # it makes $ac_aux_dir quite unusable in subdirectories: in the top | ||
931 | 81 | # source directory, any form will work fine, but in subdirectories a | ||
932 | 82 | # relative path needs to be adjusted first. | ||
933 | 83 | # | ||
934 | 84 | # $ac_aux_dir/missing | ||
935 | 85 | # fails when called from a subdirectory if $ac_aux_dir is relative | ||
936 | 86 | # $top_srcdir/$ac_aux_dir/missing | ||
937 | 87 | # fails if $ac_aux_dir is absolute, | ||
938 | 88 | # fails when called from a subdirectory in a VPATH build with | ||
939 | 89 | # a relative $ac_aux_dir | ||
940 | 90 | # | ||
941 | 91 | # The reason of the latter failure is that $top_srcdir and $ac_aux_dir | ||
942 | 92 | # are both prefixed by $srcdir. In an in-source build this is usually | ||
943 | 93 | # harmless because $srcdir is `.', but things will broke when you | ||
944 | 94 | # start a VPATH build or use an absolute $srcdir. | ||
945 | 95 | # | ||
946 | 96 | # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, | ||
947 | 97 | # iff we strip the leading $srcdir from $ac_aux_dir. That would be: | ||
948 | 98 | # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` | ||
949 | 99 | # and then we would define $MISSING as | ||
950 | 100 | # MISSING="\${SHELL} $am_aux_dir/missing" | ||
951 | 101 | # This will work as long as MISSING is not called from configure, because | ||
952 | 102 | # unfortunately $(top_srcdir) has no meaning in configure. | ||
953 | 103 | # However there are other variables, like CC, which are often used in | ||
954 | 104 | # configure, and could therefore not use this "fixed" $ac_aux_dir. | ||
955 | 105 | # | ||
956 | 106 | # Another solution, used here, is to always expand $ac_aux_dir to an | ||
957 | 107 | # absolute PATH. The drawback is that using absolute paths prevent a | ||
958 | 108 | # configured tree to be moved without reconfiguration. | ||
959 | 109 | |||
960 | 110 | AC_DEFUN([AM_AUX_DIR_EXPAND], | ||
961 | 111 | [dnl Rely on autoconf to set up CDPATH properly. | ||
962 | 112 | AC_PREREQ([2.50])dnl | ||
963 | 113 | # expand $ac_aux_dir to an absolute path | ||
964 | 114 | am_aux_dir=`cd $ac_aux_dir && pwd` | ||
965 | 115 | ]) | ||
966 | 116 | |||
967 | 117 | # AM_CONDITIONAL -*- Autoconf -*- | ||
968 | 118 | |||
969 | 119 | # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 | ||
970 | 120 | # Free Software Foundation, Inc. | ||
971 | 121 | # | ||
972 | 122 | # This file is free software; the Free Software Foundation | ||
973 | 123 | # gives unlimited permission to copy and/or distribute it, | ||
974 | 124 | # with or without modifications, as long as this notice is preserved. | ||
975 | 125 | |||
976 | 126 | # serial 9 | ||
977 | 127 | |||
978 | 128 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) | ||
979 | 129 | # ------------------------------------- | ||
980 | 130 | # Define a conditional. | ||
981 | 131 | AC_DEFUN([AM_CONDITIONAL], | ||
982 | 132 | [AC_PREREQ(2.52)dnl | ||
983 | 133 | ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | ||
984 | 134 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | ||
985 | 135 | AC_SUBST([$1_TRUE])dnl | ||
986 | 136 | AC_SUBST([$1_FALSE])dnl | ||
987 | 137 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl | ||
988 | 138 | _AM_SUBST_NOTMAKE([$1_FALSE])dnl | ||
989 | 139 | m4_define([_AM_COND_VALUE_$1], [$2])dnl | ||
990 | 140 | if $2; then | ||
991 | 141 | $1_TRUE= | ||
992 | 142 | $1_FALSE='#' | ||
993 | 143 | else | ||
994 | 144 | $1_TRUE='#' | ||
995 | 145 | $1_FALSE= | ||
996 | 146 | fi | ||
997 | 147 | AC_CONFIG_COMMANDS_PRE( | ||
998 | 148 | [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then | ||
999 | 149 | AC_MSG_ERROR([[conditional "$1" was never defined. | ||
1000 | 150 | Usually this means the macro was only invoked conditionally.]]) | ||
1001 | 151 | fi])]) | ||
1002 | 152 | |||
1003 | 153 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, | ||
1004 | 154 | # 2010, 2011 Free Software Foundation, Inc. | ||
1005 | 155 | # | ||
1006 | 156 | # This file is free software; the Free Software Foundation | ||
1007 | 157 | # gives unlimited permission to copy and/or distribute it, | ||
1008 | 158 | # with or without modifications, as long as this notice is preserved. | ||
1009 | 159 | |||
1010 | 160 | # serial 12 | ||
1011 | 161 | |||
1012 | 162 | # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be | ||
1013 | 163 | # written in clear, in which case automake, when reading aclocal.m4, | ||
1014 | 164 | # will think it sees a *use*, and therefore will trigger all it's | ||
1015 | 165 | # C support machinery. Also note that it means that autoscan, seeing | ||
1016 | 166 | # CC etc. in the Makefile, will ask for an AC_PROG_CC use... | ||
1017 | 167 | |||
1018 | 168 | |||
1019 | 169 | # _AM_DEPENDENCIES(NAME) | ||
1020 | 170 | # ---------------------- | ||
1021 | 171 | # See how the compiler implements dependency checking. | ||
1022 | 172 | # NAME is "CC", "CXX", "GCJ", or "OBJC". | ||
1023 | 173 | # We try a few techniques and use that to set a single cache variable. | ||
1024 | 174 | # | ||
1025 | 175 | # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was | ||
1026 | 176 | # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular | ||
1027 | 177 | # dependency, and given that the user is not expected to run this macro, | ||
1028 | 178 | # just rely on AC_PROG_CC. | ||
1029 | 179 | AC_DEFUN([_AM_DEPENDENCIES], | ||
1030 | 180 | [AC_REQUIRE([AM_SET_DEPDIR])dnl | ||
1031 | 181 | AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl | ||
1032 | 182 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl | ||
1033 | 183 | AC_REQUIRE([AM_DEP_TRACK])dnl | ||
1034 | 184 | |||
1035 | 185 | ifelse([$1], CC, [depcc="$CC" am_compiler_list=], | ||
1036 | 186 | [$1], CXX, [depcc="$CXX" am_compiler_list=], | ||
1037 | 187 | [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | ||
1038 | 188 | [$1], UPC, [depcc="$UPC" am_compiler_list=], | ||
1039 | 189 | [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | ||
1040 | 190 | [depcc="$$1" am_compiler_list=]) | ||
1041 | 191 | |||
1042 | 192 | AC_CACHE_CHECK([dependency style of $depcc], | ||
1043 | 193 | [am_cv_$1_dependencies_compiler_type], | ||
1044 | 194 | [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | ||
1045 | 195 | # We make a subdir and do the tests there. Otherwise we can end up | ||
1046 | 196 | # making bogus files that we don't know about and never remove. For | ||
1047 | 197 | # instance it was reported that on HP-UX the gcc test will end up | ||
1048 | 198 | # making a dummy file named `D' -- because `-MD' means `put the output | ||
1049 | 199 | # in D'. | ||
1050 | 200 | rm -rf conftest.dir | ||
1051 | 201 | mkdir conftest.dir | ||
1052 | 202 | # Copy depcomp to subdir because otherwise we won't find it if we're | ||
1053 | 203 | # using a relative directory. | ||
1054 | 204 | cp "$am_depcomp" conftest.dir | ||
1055 | 205 | cd conftest.dir | ||
1056 | 206 | # We will build objects and dependencies in a subdirectory because | ||
1057 | 207 | # it helps to detect inapplicable dependency modes. For instance | ||
1058 | 208 | # both Tru64's cc and ICC support -MD to output dependencies as a | ||
1059 | 209 | # side effect of compilation, but ICC will put the dependencies in | ||
1060 | 210 | # the current directory while Tru64 will put them in the object | ||
1061 | 211 | # directory. | ||
1062 | 212 | mkdir sub | ||
1063 | 213 | |||
1064 | 214 | am_cv_$1_dependencies_compiler_type=none | ||
1065 | 215 | if test "$am_compiler_list" = ""; then | ||
1066 | 216 | am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` | ||
1067 | 217 | fi | ||
1068 | 218 | am__universal=false | ||
1069 | 219 | m4_case([$1], [CC], | ||
1070 | 220 | [case " $depcc " in #( | ||
1071 | 221 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | ||
1072 | 222 | esac], | ||
1073 | 223 | [CXX], | ||
1074 | 224 | [case " $depcc " in #( | ||
1075 | 225 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | ||
1076 | 226 | esac]) | ||
1077 | 227 | |||
1078 | 228 | for depmode in $am_compiler_list; do | ||
1079 | 229 | # Setup a source with many dependencies, because some compilers | ||
1080 | 230 | # like to wrap large dependency lists on column 80 (with \), and | ||
1081 | 231 | # we should not choose a depcomp mode which is confused by this. | ||
1082 | 232 | # | ||
1083 | 233 | # We need to recreate these files for each test, as the compiler may | ||
1084 | 234 | # overwrite some of them when testing with obscure command lines. | ||
1085 | 235 | # This happens at least with the AIX C compiler. | ||
1086 | 236 | : > sub/conftest.c | ||
1087 | 237 | for i in 1 2 3 4 5 6; do | ||
1088 | 238 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | ||
1089 | 239 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | ||
1090 | 240 | # Solaris 8's {/usr,}/bin/sh. | ||
1091 | 241 | touch sub/conftst$i.h | ||
1092 | 242 | done | ||
1093 | 243 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | ||
1094 | 244 | |||
1095 | 245 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | ||
1096 | 246 | # mode. It turns out that the SunPro C++ compiler does not properly | ||
1097 | 247 | # handle `-M -o', and we need to detect this. Also, some Intel | ||
1098 | 248 | # versions had trouble with output in subdirs | ||
1099 | 249 | am__obj=sub/conftest.${OBJEXT-o} | ||
1100 | 250 | am__minus_obj="-o $am__obj" | ||
1101 | 251 | case $depmode in | ||
1102 | 252 | gcc) | ||
1103 | 253 | # This depmode causes a compiler race in universal mode. | ||
1104 | 254 | test "$am__universal" = false || continue | ||
1105 | 255 | ;; | ||
1106 | 256 | nosideeffect) | ||
1107 | 257 | # after this tag, mechanisms are not by side-effect, so they'll | ||
1108 | 258 | # only be used when explicitly requested | ||
1109 | 259 | if test "x$enable_dependency_tracking" = xyes; then | ||
1110 | 260 | continue | ||
1111 | 261 | else | ||
1112 | 262 | break | ||
1113 | 263 | fi | ||
1114 | 264 | ;; | ||
1115 | 265 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | ||
1116 | 266 | # This compiler won't grok `-c -o', but also, the minuso test has | ||
1117 | 267 | # not run yet. These depmodes are late enough in the game, and | ||
1118 | 268 | # so weak that their functioning should not be impacted. | ||
1119 | 269 | am__obj=conftest.${OBJEXT-o} | ||
1120 | 270 | am__minus_obj= | ||
1121 | 271 | ;; | ||
1122 | 272 | none) break ;; | ||
1123 | 273 | esac | ||
1124 | 274 | if depmode=$depmode \ | ||
1125 | 275 | source=sub/conftest.c object=$am__obj \ | ||
1126 | 276 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | ||
1127 | 277 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | ||
1128 | 278 | >/dev/null 2>conftest.err && | ||
1129 | 279 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | ||
1130 | 280 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | ||
1131 | 281 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | ||
1132 | 282 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | ||
1133 | 283 | # icc doesn't choke on unknown options, it will just issue warnings | ||
1134 | 284 | # or remarks (even with -Werror). So we grep stderr for any message | ||
1135 | 285 | # that says an option was ignored or not supported. | ||
1136 | 286 | # When given -MP, icc 7.0 and 7.1 complain thusly: | ||
1137 | 287 | # icc: Command line warning: ignoring option '-M'; no argument required | ||
1138 | 288 | # The diagnosis changed in icc 8.0: | ||
1139 | 289 | # icc: Command line remark: option '-MP' not supported | ||
1140 | 290 | if (grep 'ignoring option' conftest.err || | ||
1141 | 291 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | ||
1142 | 292 | am_cv_$1_dependencies_compiler_type=$depmode | ||
1143 | 293 | break | ||
1144 | 294 | fi | ||
1145 | 295 | fi | ||
1146 | 296 | done | ||
1147 | 297 | |||
1148 | 298 | cd .. | ||
1149 | 299 | rm -rf conftest.dir | ||
1150 | 300 | else | ||
1151 | 301 | am_cv_$1_dependencies_compiler_type=none | ||
1152 | 302 | fi | ||
1153 | 303 | ]) | ||
1154 | 304 | AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) | ||
1155 | 305 | AM_CONDITIONAL([am__fastdep$1], [ | ||
1156 | 306 | test "x$enable_dependency_tracking" != xno \ | ||
1157 | 307 | && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) | ||
1158 | 308 | ]) | ||
1159 | 309 | |||
1160 | 310 | |||
1161 | 311 | # AM_SET_DEPDIR | ||
1162 | 312 | # ------------- | ||
1163 | 313 | # Choose a directory name for dependency files. | ||
1164 | 314 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES | ||
1165 | 315 | AC_DEFUN([AM_SET_DEPDIR], | ||
1166 | 316 | [AC_REQUIRE([AM_SET_LEADING_DOT])dnl | ||
1167 | 317 | AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl | ||
1168 | 318 | ]) | ||
1169 | 319 | |||
1170 | 320 | |||
1171 | 321 | # AM_DEP_TRACK | ||
1172 | 322 | # ------------ | ||
1173 | 323 | AC_DEFUN([AM_DEP_TRACK], | ||
1174 | 324 | [AC_ARG_ENABLE(dependency-tracking, | ||
1175 | 325 | [ --disable-dependency-tracking speeds up one-time build | ||
1176 | 326 | --enable-dependency-tracking do not reject slow dependency extractors]) | ||
1177 | 327 | if test "x$enable_dependency_tracking" != xno; then | ||
1178 | 328 | am_depcomp="$ac_aux_dir/depcomp" | ||
1179 | 329 | AMDEPBACKSLASH='\' | ||
1180 | 330 | am__nodep='_no' | ||
1181 | 331 | fi | ||
1182 | 332 | AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | ||
1183 | 333 | AC_SUBST([AMDEPBACKSLASH])dnl | ||
1184 | 334 | _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl | ||
1185 | 335 | AC_SUBST([am__nodep])dnl | ||
1186 | 336 | _AM_SUBST_NOTMAKE([am__nodep])dnl | ||
1187 | 337 | ]) | ||
1188 | 338 | |||
1189 | 339 | # Generate code to set up dependency tracking. -*- Autoconf -*- | ||
1190 | 340 | |||
1191 | 341 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 | ||
1192 | 342 | # Free Software Foundation, Inc. | ||
1193 | 343 | # | ||
1194 | 344 | # This file is free software; the Free Software Foundation | ||
1195 | 345 | # gives unlimited permission to copy and/or distribute it, | ||
1196 | 346 | # with or without modifications, as long as this notice is preserved. | ||
1197 | 347 | |||
1198 | 348 | #serial 5 | ||
1199 | 349 | |||
1200 | 350 | # _AM_OUTPUT_DEPENDENCY_COMMANDS | ||
1201 | 351 | # ------------------------------ | ||
1202 | 352 | AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], | ||
1203 | 353 | [{ | ||
1204 | 354 | # Autoconf 2.62 quotes --file arguments for eval, but not when files | ||
1205 | 355 | # are listed without --file. Let's play safe and only enable the eval | ||
1206 | 356 | # if we detect the quoting. | ||
1207 | 357 | case $CONFIG_FILES in | ||
1208 | 358 | *\'*) eval set x "$CONFIG_FILES" ;; | ||
1209 | 359 | *) set x $CONFIG_FILES ;; | ||
1210 | 360 | esac | ||
1211 | 361 | shift | ||
1212 | 362 | for mf | ||
1213 | 363 | do | ||
1214 | 364 | # Strip MF so we end up with the name of the file. | ||
1215 | 365 | mf=`echo "$mf" | sed -e 's/:.*$//'` | ||
1216 | 366 | # Check whether this is an Automake generated Makefile or not. | ||
1217 | 367 | # We used to match only the files named `Makefile.in', but | ||
1218 | 368 | # some people rename them; so instead we look at the file content. | ||
1219 | 369 | # Grep'ing the first line is not enough: some people post-process | ||
1220 | 370 | # each Makefile.in and add a new line on top of each file to say so. | ||
1221 | 371 | # Grep'ing the whole file is not good either: AIX grep has a line | ||
1222 | 372 | # limit of 2048, but all sed's we know have understand at least 4000. | ||
1223 | 373 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | ||
1224 | 374 | dirpart=`AS_DIRNAME("$mf")` | ||
1225 | 375 | else | ||
1226 | 376 | continue | ||
1227 | 377 | fi | ||
1228 | 378 | # Extract the definition of DEPDIR, am__include, and am__quote | ||
1229 | 379 | # from the Makefile without running `make'. | ||
1230 | 380 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | ||
1231 | 381 | test -z "$DEPDIR" && continue | ||
1232 | 382 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | ||
1233 | 383 | test -z "am__include" && continue | ||
1234 | 384 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | ||
1235 | 385 | # When using ansi2knr, U may be empty or an underscore; expand it | ||
1236 | 386 | U=`sed -n 's/^U = //p' < "$mf"` | ||
1237 | 387 | # Find all dependency output files, they are included files with | ||
1238 | 388 | # $(DEPDIR) in their names. We invoke sed twice because it is the | ||
1239 | 389 | # simplest approach to changing $(DEPDIR) to its actual value in the | ||
1240 | 390 | # expansion. | ||
1241 | 391 | for file in `sed -n " | ||
1242 | 392 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | ||
1243 | 393 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | ||
1244 | 394 | # Make sure the directory exists. | ||
1245 | 395 | test -f "$dirpart/$file" && continue | ||
1246 | 396 | fdir=`AS_DIRNAME(["$file"])` | ||
1247 | 397 | AS_MKDIR_P([$dirpart/$fdir]) | ||
1248 | 398 | # echo "creating $dirpart/$file" | ||
1249 | 399 | echo '# dummy' > "$dirpart/$file" | ||
1250 | 400 | done | ||
1251 | 401 | done | ||
1252 | 402 | } | ||
1253 | 403 | ])# _AM_OUTPUT_DEPENDENCY_COMMANDS | ||
1254 | 404 | |||
1255 | 405 | |||
1256 | 406 | # AM_OUTPUT_DEPENDENCY_COMMANDS | ||
1257 | 407 | # ----------------------------- | ||
1258 | 408 | # This macro should only be invoked once -- use via AC_REQUIRE. | ||
1259 | 409 | # | ||
1260 | 410 | # This code is only required when automatic dependency tracking | ||
1261 | 411 | # is enabled. FIXME. This creates each `.P' file that we will | ||
1262 | 412 | # need in order to bootstrap the dependency handling code. | ||
1263 | 413 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], | ||
1264 | 414 | [AC_CONFIG_COMMANDS([depfiles], | ||
1265 | 415 | [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], | ||
1266 | 416 | [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) | ||
1267 | 417 | ]) | ||
1268 | 418 | |||
1269 | 419 | # Do all the work for Automake. -*- Autoconf -*- | ||
1270 | 420 | |||
1271 | 421 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | ||
1272 | 422 | # 2005, 2006, 2008, 2009 Free Software Foundation, Inc. | ||
1273 | 423 | # | ||
1274 | 424 | # This file is free software; the Free Software Foundation | ||
1275 | 425 | # gives unlimited permission to copy and/or distribute it, | ||
1276 | 426 | # with or without modifications, as long as this notice is preserved. | ||
1277 | 427 | |||
1278 | 428 | # serial 16 | ||
1279 | 429 | |||
1280 | 430 | # This macro actually does too much. Some checks are only needed if | ||
1281 | 431 | # your package does certain things. But this isn't really a big deal. | ||
1282 | 432 | |||
1283 | 433 | # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) | ||
1284 | 434 | # AM_INIT_AUTOMAKE([OPTIONS]) | ||
1285 | 435 | # ----------------------------------------------- | ||
1286 | 436 | # The call with PACKAGE and VERSION arguments is the old style | ||
1287 | 437 | # call (pre autoconf-2.50), which is being phased out. PACKAGE | ||
1288 | 438 | # and VERSION should now be passed to AC_INIT and removed from | ||
1289 | 439 | # the call to AM_INIT_AUTOMAKE. | ||
1290 | 440 | # We support both call styles for the transition. After | ||
1291 | 441 | # the next Automake release, Autoconf can make the AC_INIT | ||
1292 | 442 | # arguments mandatory, and then we can depend on a new Autoconf | ||
1293 | 443 | # release and drop the old call support. | ||
1294 | 444 | AC_DEFUN([AM_INIT_AUTOMAKE], | ||
1295 | 445 | [AC_PREREQ([2.62])dnl | ||
1296 | 446 | dnl Autoconf wants to disallow AM_ names. We explicitly allow | ||
1297 | 447 | dnl the ones we care about. | ||
1298 | 448 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl | ||
1299 | 449 | AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl | ||
1300 | 450 | AC_REQUIRE([AC_PROG_INSTALL])dnl | ||
1301 | 451 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | ||
1302 | 452 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | ||
1303 | 453 | # is not polluted with repeated "-I." | ||
1304 | 454 | AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl | ||
1305 | 455 | # test to see if srcdir already configured | ||
1306 | 456 | if test -f $srcdir/config.status; then | ||
1307 | 457 | AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) | ||
1308 | 458 | fi | ||
1309 | 459 | fi | ||
1310 | 460 | |||
1311 | 461 | # test whether we have cygpath | ||
1312 | 462 | if test -z "$CYGPATH_W"; then | ||
1313 | 463 | if (cygpath --version) >/dev/null 2>/dev/null; then | ||
1314 | 464 | CYGPATH_W='cygpath -w' | ||
1315 | 465 | else | ||
1316 | 466 | CYGPATH_W=echo | ||
1317 | 467 | fi | ||
1318 | 468 | fi | ||
1319 | 469 | AC_SUBST([CYGPATH_W]) | ||
1320 | 470 | |||
1321 | 471 | # Define the identity of the package. | ||
1322 | 472 | dnl Distinguish between old-style and new-style calls. | ||
1323 | 473 | m4_ifval([$2], | ||
1324 | 474 | [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | ||
1325 | 475 | AC_SUBST([PACKAGE], [$1])dnl | ||
1326 | 476 | AC_SUBST([VERSION], [$2])], | ||
1327 | 477 | [_AM_SET_OPTIONS([$1])dnl | ||
1328 | 478 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. | ||
1329 | 479 | m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, | ||
1330 | 480 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl | ||
1331 | 481 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl | ||
1332 | 482 | AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl | ||
1333 | 483 | |||
1334 | 484 | _AM_IF_OPTION([no-define],, | ||
1335 | 485 | [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) | ||
1336 | 486 | AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl | ||
1337 | 487 | |||
1338 | 488 | # Some tools Automake needs. | ||
1339 | 489 | AC_REQUIRE([AM_SANITY_CHECK])dnl | ||
1340 | 490 | AC_REQUIRE([AC_ARG_PROGRAM])dnl | ||
1341 | 491 | AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) | ||
1342 | 492 | AM_MISSING_PROG(AUTOCONF, autoconf) | ||
1343 | 493 | AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) | ||
1344 | 494 | AM_MISSING_PROG(AUTOHEADER, autoheader) | ||
1345 | 495 | AM_MISSING_PROG(MAKEINFO, makeinfo) | ||
1346 | 496 | AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | ||
1347 | 497 | AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl | ||
1348 | 498 | AC_REQUIRE([AM_PROG_MKDIR_P])dnl | ||
1349 | 499 | # We need awk for the "check" target. The system "awk" is bad on | ||
1350 | 500 | # some platforms. | ||
1351 | 501 | AC_REQUIRE([AC_PROG_AWK])dnl | ||
1352 | 502 | AC_REQUIRE([AC_PROG_MAKE_SET])dnl | ||
1353 | 503 | AC_REQUIRE([AM_SET_LEADING_DOT])dnl | ||
1354 | 504 | _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], | ||
1355 | 505 | [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], | ||
1356 | 506 | [_AM_PROG_TAR([v7])])]) | ||
1357 | 507 | _AM_IF_OPTION([no-dependencies],, | ||
1358 | 508 | [AC_PROVIDE_IFELSE([AC_PROG_CC], | ||
1359 | 509 | [_AM_DEPENDENCIES(CC)], | ||
1360 | 510 | [define([AC_PROG_CC], | ||
1361 | 511 | defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl | ||
1362 | 512 | AC_PROVIDE_IFELSE([AC_PROG_CXX], | ||
1363 | 513 | [_AM_DEPENDENCIES(CXX)], | ||
1364 | 514 | [define([AC_PROG_CXX], | ||
1365 | 515 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | ||
1366 | 516 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], | ||
1367 | 517 | [_AM_DEPENDENCIES(OBJC)], | ||
1368 | 518 | [define([AC_PROG_OBJC], | ||
1369 | 519 | defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl | ||
1370 | 520 | ]) | ||
1371 | 521 | _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl | ||
1372 | 522 | dnl The `parallel-tests' driver may need to know about EXEEXT, so add the | ||
1373 | 523 | dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro | ||
1374 | 524 | dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. | ||
1375 | 525 | AC_CONFIG_COMMANDS_PRE(dnl | ||
1376 | 526 | [m4_provide_if([_AM_COMPILER_EXEEXT], | ||
1377 | 527 | [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl | ||
1378 | 528 | ]) | ||
1379 | 529 | |||
1380 | 530 | dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | ||
1381 | 531 | dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further | ||
1382 | 532 | dnl mangled by Autoconf and run in a shell conditional statement. | ||
1383 | 533 | m4_define([_AC_COMPILER_EXEEXT], | ||
1384 | 534 | m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) | ||
1385 | 535 | |||
1386 | 536 | |||
1387 | 537 | # When config.status generates a header, we must update the stamp-h file. | ||
1388 | 538 | # This file resides in the same directory as the config header | ||
1389 | 539 | # that is generated. The stamp files are numbered to have different names. | ||
1390 | 540 | |||
1391 | 541 | # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the | ||
1392 | 542 | # loop where config.status creates the headers, so we can generate | ||
1393 | 543 | # our stamp files there. | ||
1394 | 544 | AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], | ||
1395 | 545 | [# Compute $1's index in $config_headers. | ||
1396 | 546 | _am_arg=$1 | ||
1397 | 547 | _am_stamp_count=1 | ||
1398 | 548 | for _am_header in $config_headers :; do | ||
1399 | 549 | case $_am_header in | ||
1400 | 550 | $_am_arg | $_am_arg:* ) | ||
1401 | 551 | break ;; | ||
1402 | 552 | * ) | ||
1403 | 553 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; | ||
1404 | 554 | esac | ||
1405 | 555 | done | ||
1406 | 556 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) | ||
1407 | 557 | |||
1408 | 558 | # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, | ||
1409 | 559 | # Inc. | ||
1410 | 560 | # | ||
1411 | 561 | # This file is free software; the Free Software Foundation | ||
1412 | 562 | # gives unlimited permission to copy and/or distribute it, | ||
1413 | 563 | # with or without modifications, as long as this notice is preserved. | ||
1414 | 564 | |||
1415 | 565 | # serial 1 | ||
1416 | 566 | |||
1417 | 567 | # AM_PROG_INSTALL_SH | ||
1418 | 568 | # ------------------ | ||
1419 | 569 | # Define $install_sh. | ||
1420 | 570 | AC_DEFUN([AM_PROG_INSTALL_SH], | ||
1421 | 571 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | ||
1422 | 572 | if test x"${install_sh}" != xset; then | ||
1423 | 573 | case $am_aux_dir in | ||
1424 | 574 | *\ * | *\ *) | ||
1425 | 575 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | ||
1426 | 576 | *) | ||
1427 | 577 | install_sh="\${SHELL} $am_aux_dir/install-sh" | ||
1428 | 578 | esac | ||
1429 | 579 | fi | ||
1430 | 580 | AC_SUBST(install_sh)]) | ||
1431 | 581 | |||
1432 | 582 | # Copyright (C) 2003, 2005 Free Software Foundation, Inc. | ||
1433 | 583 | # | ||
1434 | 584 | # This file is free software; the Free Software Foundation | ||
1435 | 585 | # gives unlimited permission to copy and/or distribute it, | ||
1436 | 586 | # with or without modifications, as long as this notice is preserved. | ||
1437 | 587 | |||
1438 | 588 | # serial 2 | ||
1439 | 589 | |||
1440 | 590 | # Check whether the underlying file-system supports filenames | ||
1441 | 591 | # with a leading dot. For instance MS-DOS doesn't. | ||
1442 | 592 | AC_DEFUN([AM_SET_LEADING_DOT], | ||
1443 | 593 | [rm -rf .tst 2>/dev/null | ||
1444 | 594 | mkdir .tst 2>/dev/null | ||
1445 | 595 | if test -d .tst; then | ||
1446 | 596 | am__leading_dot=. | ||
1447 | 597 | else | ||
1448 | 598 | am__leading_dot=_ | ||
1449 | 599 | fi | ||
1450 | 600 | rmdir .tst 2>/dev/null | ||
1451 | 601 | AC_SUBST([am__leading_dot])]) | ||
1452 | 602 | |||
1453 | 603 | # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- | ||
1454 | 604 | # From Jim Meyering | ||
1455 | 605 | |||
1456 | 606 | # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008, | ||
1457 | 607 | # 2011 Free Software Foundation, Inc. | ||
1458 | 608 | # | ||
1459 | 609 | # This file is free software; the Free Software Foundation | ||
1460 | 610 | # gives unlimited permission to copy and/or distribute it, | ||
1461 | 611 | # with or without modifications, as long as this notice is preserved. | ||
1462 | 612 | |||
1463 | 613 | # serial 5 | ||
1464 | 614 | |||
1465 | 615 | # AM_MAINTAINER_MODE([DEFAULT-MODE]) | ||
1466 | 616 | # ---------------------------------- | ||
1467 | 617 | # Control maintainer-specific portions of Makefiles. | ||
1468 | 618 | # Default is to disable them, unless `enable' is passed literally. | ||
1469 | 619 | # For symmetry, `disable' may be passed as well. Anyway, the user | ||
1470 | 620 | # can override the default with the --enable/--disable switch. | ||
1471 | 621 | AC_DEFUN([AM_MAINTAINER_MODE], | ||
1472 | 622 | [m4_case(m4_default([$1], [disable]), | ||
1473 | 623 | [enable], [m4_define([am_maintainer_other], [disable])], | ||
1474 | 624 | [disable], [m4_define([am_maintainer_other], [enable])], | ||
1475 | 625 | [m4_define([am_maintainer_other], [enable]) | ||
1476 | 626 | m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) | ||
1477 | 627 | AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) | ||
1478 | 628 | dnl maintainer-mode's default is 'disable' unless 'enable' is passed | ||
1479 | 629 | AC_ARG_ENABLE([maintainer-mode], | ||
1480 | 630 | [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful | ||
1481 | 631 | (and sometimes confusing) to the casual installer], | ||
1482 | 632 | [USE_MAINTAINER_MODE=$enableval], | ||
1483 | 633 | [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) | ||
1484 | 634 | AC_MSG_RESULT([$USE_MAINTAINER_MODE]) | ||
1485 | 635 | AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) | ||
1486 | 636 | MAINT=$MAINTAINER_MODE_TRUE | ||
1487 | 637 | AC_SUBST([MAINT])dnl | ||
1488 | 638 | ] | ||
1489 | 639 | ) | ||
1490 | 640 | |||
1491 | 641 | AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) | ||
1492 | 642 | |||
1493 | 643 | # Check to see how 'make' treats includes. -*- Autoconf -*- | ||
1494 | 644 | |||
1495 | 645 | # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. | ||
1496 | 646 | # | ||
1497 | 647 | # This file is free software; the Free Software Foundation | ||
1498 | 648 | # gives unlimited permission to copy and/or distribute it, | ||
1499 | 649 | # with or without modifications, as long as this notice is preserved. | ||
1500 | 650 | |||
1501 | 651 | # serial 4 | ||
1502 | 652 | |||
1503 | 653 | # AM_MAKE_INCLUDE() | ||
1504 | 654 | # ----------------- | ||
1505 | 655 | # Check to see how make treats includes. | ||
1506 | 656 | AC_DEFUN([AM_MAKE_INCLUDE], | ||
1507 | 657 | [am_make=${MAKE-make} | ||
1508 | 658 | cat > confinc << 'END' | ||
1509 | 659 | am__doit: | ||
1510 | 660 | @echo this is the am__doit target | ||
1511 | 661 | .PHONY: am__doit | ||
1512 | 662 | END | ||
1513 | 663 | # If we don't find an include directive, just comment out the code. | ||
1514 | 664 | AC_MSG_CHECKING([for style of include used by $am_make]) | ||
1515 | 665 | am__include="#" | ||
1516 | 666 | am__quote= | ||
1517 | 667 | _am_result=none | ||
1518 | 668 | # First try GNU make style include. | ||
1519 | 669 | echo "include confinc" > confmf | ||
1520 | 670 | # Ignore all kinds of additional output from `make'. | ||
1521 | 671 | case `$am_make -s -f confmf 2> /dev/null` in #( | ||
1522 | 672 | *the\ am__doit\ target*) | ||
1523 | 673 | am__include=include | ||
1524 | 674 | am__quote= | ||
1525 | 675 | _am_result=GNU | ||
1526 | 676 | ;; | ||
1527 | 677 | esac | ||
1528 | 678 | # Now try BSD make style include. | ||
1529 | 679 | if test "$am__include" = "#"; then | ||
1530 | 680 | echo '.include "confinc"' > confmf | ||
1531 | 681 | case `$am_make -s -f confmf 2> /dev/null` in #( | ||
1532 | 682 | *the\ am__doit\ target*) | ||
1533 | 683 | am__include=.include | ||
1534 | 684 | am__quote="\"" | ||
1535 | 685 | _am_result=BSD | ||
1536 | 686 | ;; | ||
1537 | 687 | esac | ||
1538 | 688 | fi | ||
1539 | 689 | AC_SUBST([am__include]) | ||
1540 | 690 | AC_SUBST([am__quote]) | ||
1541 | 691 | AC_MSG_RESULT([$_am_result]) | ||
1542 | 692 | rm -f confinc confmf | ||
1543 | 693 | ]) | ||
1544 | 694 | |||
1545 | 695 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- | ||
1546 | 696 | |||
1547 | 697 | # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 | ||
1548 | 698 | # Free Software Foundation, Inc. | ||
1549 | 699 | # | ||
1550 | 700 | # This file is free software; the Free Software Foundation | ||
1551 | 701 | # gives unlimited permission to copy and/or distribute it, | ||
1552 | 702 | # with or without modifications, as long as this notice is preserved. | ||
1553 | 703 | |||
1554 | 704 | # serial 6 | ||
1555 | 705 | |||
1556 | 706 | # AM_MISSING_PROG(NAME, PROGRAM) | ||
1557 | 707 | # ------------------------------ | ||
1558 | 708 | AC_DEFUN([AM_MISSING_PROG], | ||
1559 | 709 | [AC_REQUIRE([AM_MISSING_HAS_RUN]) | ||
1560 | 710 | $1=${$1-"${am_missing_run}$2"} | ||
1561 | 711 | AC_SUBST($1)]) | ||
1562 | 712 | |||
1563 | 713 | |||
1564 | 714 | # AM_MISSING_HAS_RUN | ||
1565 | 715 | # ------------------ | ||
1566 | 716 | # Define MISSING if not defined so far and test if it supports --run. | ||
1567 | 717 | # If it does, set am_missing_run to use it, otherwise, to nothing. | ||
1568 | 718 | AC_DEFUN([AM_MISSING_HAS_RUN], | ||
1569 | 719 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | ||
1570 | 720 | AC_REQUIRE_AUX_FILE([missing])dnl | ||
1571 | 721 | if test x"${MISSING+set}" != xset; then | ||
1572 | 722 | case $am_aux_dir in | ||
1573 | 723 | *\ * | *\ *) | ||
1574 | 724 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | ||
1575 | 725 | *) | ||
1576 | 726 | MISSING="\${SHELL} $am_aux_dir/missing" ;; | ||
1577 | 727 | esac | ||
1578 | 728 | fi | ||
1579 | 729 | # Use eval to expand $SHELL | ||
1580 | 730 | if eval "$MISSING --run true"; then | ||
1581 | 731 | am_missing_run="$MISSING --run " | ||
1582 | 732 | else | ||
1583 | 733 | am_missing_run= | ||
1584 | 734 | AC_MSG_WARN([`missing' script is too old or missing]) | ||
1585 | 735 | fi | ||
1586 | 736 | ]) | ||
1587 | 737 | |||
1588 | 738 | # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation, | ||
1589 | 739 | # Inc. | ||
1590 | 740 | # | ||
1591 | 741 | # This file is free software; the Free Software Foundation | ||
1592 | 742 | # gives unlimited permission to copy and/or distribute it, | ||
1593 | 743 | # with or without modifications, as long as this notice is preserved. | ||
1594 | 744 | |||
1595 | 745 | # serial 1 | ||
1596 | 746 | |||
1597 | 747 | # AM_PROG_MKDIR_P | ||
1598 | 748 | # --------------- | ||
1599 | 749 | # Check for `mkdir -p'. | ||
1600 | 750 | AC_DEFUN([AM_PROG_MKDIR_P], | ||
1601 | 751 | [AC_PREREQ([2.60])dnl | ||
1602 | 752 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | ||
1603 | 753 | dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, | ||
1604 | 754 | dnl while keeping a definition of mkdir_p for backward compatibility. | ||
1605 | 755 | dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. | ||
1606 | 756 | dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of | ||
1607 | 757 | dnl Makefile.ins that do not define MKDIR_P, so we do our own | ||
1608 | 758 | dnl adjustment using top_builddir (which is defined more often than | ||
1609 | 759 | dnl MKDIR_P). | ||
1610 | 760 | AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl | ||
1611 | 761 | case $mkdir_p in | ||
1612 | 762 | [[\\/$]]* | ?:[[\\/]]*) ;; | ||
1613 | 763 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | ||
1614 | 764 | esac | ||
1615 | 765 | ]) | ||
1616 | 766 | |||
1617 | 767 | # Helper functions for option handling. -*- Autoconf -*- | ||
1618 | 768 | |||
1619 | 769 | # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software | ||
1620 | 770 | # Foundation, Inc. | ||
1621 | 771 | # | ||
1622 | 772 | # This file is free software; the Free Software Foundation | ||
1623 | 773 | # gives unlimited permission to copy and/or distribute it, | ||
1624 | 774 | # with or without modifications, as long as this notice is preserved. | ||
1625 | 775 | |||
1626 | 776 | # serial 5 | ||
1627 | 777 | |||
1628 | 778 | # _AM_MANGLE_OPTION(NAME) | ||
1629 | 779 | # ----------------------- | ||
1630 | 780 | AC_DEFUN([_AM_MANGLE_OPTION], | ||
1631 | 781 | [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) | ||
1632 | 782 | |||
1633 | 783 | # _AM_SET_OPTION(NAME) | ||
1634 | 784 | # -------------------- | ||
1635 | 785 | # Set option NAME. Presently that only means defining a flag for this option. | ||
1636 | 786 | AC_DEFUN([_AM_SET_OPTION], | ||
1637 | 787 | [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) | ||
1638 | 788 | |||
1639 | 789 | # _AM_SET_OPTIONS(OPTIONS) | ||
1640 | 790 | # ------------------------ | ||
1641 | 791 | # OPTIONS is a space-separated list of Automake options. | ||
1642 | 792 | AC_DEFUN([_AM_SET_OPTIONS], | ||
1643 | 793 | [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) | ||
1644 | 794 | |||
1645 | 795 | # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) | ||
1646 | 796 | # ------------------------------------------- | ||
1647 | 797 | # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. | ||
1648 | 798 | AC_DEFUN([_AM_IF_OPTION], | ||
1649 | 799 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) | ||
1650 | 800 | |||
1651 | 801 | # Check to make sure that the build environment is sane. -*- Autoconf -*- | ||
1652 | 802 | |||
1653 | 803 | # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 | ||
1654 | 804 | # Free Software Foundation, Inc. | ||
1655 | 805 | # | ||
1656 | 806 | # This file is free software; the Free Software Foundation | ||
1657 | 807 | # gives unlimited permission to copy and/or distribute it, | ||
1658 | 808 | # with or without modifications, as long as this notice is preserved. | ||
1659 | 809 | |||
1660 | 810 | # serial 5 | ||
1661 | 811 | |||
1662 | 812 | # AM_SANITY_CHECK | ||
1663 | 813 | # --------------- | ||
1664 | 814 | AC_DEFUN([AM_SANITY_CHECK], | ||
1665 | 815 | [AC_MSG_CHECKING([whether build environment is sane]) | ||
1666 | 816 | # Just in case | ||
1667 | 817 | sleep 1 | ||
1668 | 818 | echo timestamp > conftest.file | ||
1669 | 819 | # Reject unsafe characters in $srcdir or the absolute working directory | ||
1670 | 820 | # name. Accept space and tab only in the latter. | ||
1671 | 821 | am_lf=' | ||
1672 | 822 | ' | ||
1673 | 823 | case `pwd` in | ||
1674 | 824 | *[[\\\"\#\$\&\'\`$am_lf]]*) | ||
1675 | 825 | AC_MSG_ERROR([unsafe absolute working directory name]);; | ||
1676 | 826 | esac | ||
1677 | 827 | case $srcdir in | ||
1678 | 828 | *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) | ||
1679 | 829 | AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; | ||
1680 | 830 | esac | ||
1681 | 831 | |||
1682 | 832 | # Do `set' in a subshell so we don't clobber the current shell's | ||
1683 | 833 | # arguments. Must try -L first in case configure is actually a | ||
1684 | 834 | # symlink; some systems play weird games with the mod time of symlinks | ||
1685 | 835 | # (eg FreeBSD returns the mod time of the symlink's containing | ||
1686 | 836 | # directory). | ||
1687 | 837 | if ( | ||
1688 | 838 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | ||
1689 | 839 | if test "$[*]" = "X"; then | ||
1690 | 840 | # -L didn't work. | ||
1691 | 841 | set X `ls -t "$srcdir/configure" conftest.file` | ||
1692 | 842 | fi | ||
1693 | 843 | rm -f conftest.file | ||
1694 | 844 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | ||
1695 | 845 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | ||
1696 | 846 | |||
1697 | 847 | # If neither matched, then we have a broken ls. This can happen | ||
1698 | 848 | # if, for instance, CONFIG_SHELL is bash and it inherits a | ||
1699 | 849 | # broken ls alias from the environment. This has actually | ||
1700 | 850 | # happened. Such a system could not be considered "sane". | ||
1701 | 851 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | ||
1702 | 852 | alias in your environment]) | ||
1703 | 853 | fi | ||
1704 | 854 | |||
1705 | 855 | test "$[2]" = conftest.file | ||
1706 | 856 | ) | ||
1707 | 857 | then | ||
1708 | 858 | # Ok. | ||
1709 | 859 | : | ||
1710 | 860 | else | ||
1711 | 861 | AC_MSG_ERROR([newly created file is older than distributed files! | ||
1712 | 862 | Check your system clock]) | ||
1713 | 863 | fi | ||
1714 | 864 | AC_MSG_RESULT(yes)]) | ||
1715 | 865 | |||
1716 | 866 | # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. | ||
1717 | 867 | # | ||
1718 | 868 | # This file is free software; the Free Software Foundation | ||
1719 | 869 | # gives unlimited permission to copy and/or distribute it, | ||
1720 | 870 | # with or without modifications, as long as this notice is preserved. | ||
1721 | 871 | |||
1722 | 872 | # serial 1 | ||
1723 | 873 | |||
1724 | 874 | # AM_PROG_INSTALL_STRIP | ||
1725 | 875 | # --------------------- | ||
1726 | 876 | # One issue with vendor `install' (even GNU) is that you can't | ||
1727 | 877 | # specify the program used to strip binaries. This is especially | ||
1728 | 878 | # annoying in cross-compiling environments, where the build's strip | ||
1729 | 879 | # is unlikely to handle the host's binaries. | ||
1730 | 880 | # Fortunately install-sh will honor a STRIPPROG variable, so we | ||
1731 | 881 | # always use install-sh in `make install-strip', and initialize | ||
1732 | 882 | # STRIPPROG with the value of the STRIP variable (set by the user). | ||
1733 | 883 | AC_DEFUN([AM_PROG_INSTALL_STRIP], | ||
1734 | 884 | [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | ||
1735 | 885 | # Installed binaries are usually stripped using `strip' when the user | ||
1736 | 886 | # run `make install-strip'. However `strip' might not be the right | ||
1737 | 887 | # tool to use in cross-compilation environments, therefore Automake | ||
1738 | 888 | # will honor the `STRIP' environment variable to overrule this program. | ||
1739 | 889 | dnl Don't test for $cross_compiling = yes, because it might be `maybe'. | ||
1740 | 890 | if test "$cross_compiling" != no; then | ||
1741 | 891 | AC_CHECK_TOOL([STRIP], [strip], :) | ||
1742 | 892 | fi | ||
1743 | 893 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | ||
1744 | 894 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) | ||
1745 | 895 | |||
1746 | 896 | # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. | ||
1747 | 897 | # | ||
1748 | 898 | # This file is free software; the Free Software Foundation | ||
1749 | 899 | # gives unlimited permission to copy and/or distribute it, | ||
1750 | 900 | # with or without modifications, as long as this notice is preserved. | ||
1751 | 901 | |||
1752 | 902 | # serial 3 | ||
1753 | 903 | |||
1754 | 904 | # _AM_SUBST_NOTMAKE(VARIABLE) | ||
1755 | 905 | # --------------------------- | ||
1756 | 906 | # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. | ||
1757 | 907 | # This macro is traced by Automake. | ||
1758 | 908 | AC_DEFUN([_AM_SUBST_NOTMAKE]) | ||
1759 | 909 | |||
1760 | 910 | # AM_SUBST_NOTMAKE(VARIABLE) | ||
1761 | 911 | # -------------------------- | ||
1762 | 912 | # Public sister of _AM_SUBST_NOTMAKE. | ||
1763 | 913 | AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) | ||
1764 | 914 | |||
1765 | 915 | # Check how to create a tarball. -*- Autoconf -*- | ||
1766 | 916 | |||
1767 | 917 | # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc. | ||
1768 | 918 | # | ||
1769 | 919 | # This file is free software; the Free Software Foundation | ||
1770 | 920 | # gives unlimited permission to copy and/or distribute it, | ||
1771 | 921 | # with or without modifications, as long as this notice is preserved. | ||
1772 | 922 | |||
1773 | 923 | # serial 2 | ||
1774 | 924 | |||
1775 | 925 | # _AM_PROG_TAR(FORMAT) | ||
1776 | 926 | # -------------------- | ||
1777 | 927 | # Check how to create a tarball in format FORMAT. | ||
1778 | 928 | # FORMAT should be one of `v7', `ustar', or `pax'. | ||
1779 | 929 | # | ||
1780 | 930 | # Substitute a variable $(am__tar) that is a command | ||
1781 | 931 | # writing to stdout a FORMAT-tarball containing the directory | ||
1782 | 932 | # $tardir. | ||
1783 | 933 | # tardir=directory && $(am__tar) > result.tar | ||
1784 | 934 | # | ||
1785 | 935 | # Substitute a variable $(am__untar) that extract such | ||
1786 | 936 | # a tarball read from stdin. | ||
1787 | 937 | # $(am__untar) < result.tar | ||
1788 | 938 | AC_DEFUN([_AM_PROG_TAR], | ||
1789 | 939 | [# Always define AMTAR for backward compatibility. Yes, it's still used | ||
1790 | 940 | # in the wild :-( We should find a proper way to deprecate it ... | ||
1791 | 941 | AC_SUBST([AMTAR], ['$${TAR-tar}']) | ||
1792 | 942 | m4_if([$1], [v7], | ||
1793 | 943 | [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], | ||
1794 | 944 | [m4_case([$1], [ustar],, [pax],, | ||
1795 | 945 | [m4_fatal([Unknown tar format])]) | ||
1796 | 946 | AC_MSG_CHECKING([how to create a $1 tar archive]) | ||
1797 | 947 | # Loop over all known methods to create a tar archive until one works. | ||
1798 | 948 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' | ||
1799 | 949 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} | ||
1800 | 950 | # Do not fold the above two line into one, because Tru64 sh and | ||
1801 | 951 | # Solaris sh will not grok spaces in the rhs of `-'. | ||
1802 | 952 | for _am_tool in $_am_tools | ||
1803 | 953 | do | ||
1804 | 954 | case $_am_tool in | ||
1805 | 955 | gnutar) | ||
1806 | 956 | for _am_tar in tar gnutar gtar; | ||
1807 | 957 | do | ||
1808 | 958 | AM_RUN_LOG([$_am_tar --version]) && break | ||
1809 | 959 | done | ||
1810 | 960 | am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' | ||
1811 | 961 | am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' | ||
1812 | 962 | am__untar="$_am_tar -xf -" | ||
1813 | 963 | ;; | ||
1814 | 964 | plaintar) | ||
1815 | 965 | # Must skip GNU tar: if it does not support --format= it doesn't create | ||
1816 | 966 | # ustar tarball either. | ||
1817 | 967 | (tar --version) >/dev/null 2>&1 && continue | ||
1818 | 968 | am__tar='tar chf - "$$tardir"' | ||
1819 | 969 | am__tar_='tar chf - "$tardir"' | ||
1820 | 970 | am__untar='tar xf -' | ||
1821 | 971 | ;; | ||
1822 | 972 | pax) | ||
1823 | 973 | am__tar='pax -L -x $1 -w "$$tardir"' | ||
1824 | 974 | am__tar_='pax -L -x $1 -w "$tardir"' | ||
1825 | 975 | am__untar='pax -r' | ||
1826 | 976 | ;; | ||
1827 | 977 | cpio) | ||
1828 | 978 | am__tar='find "$$tardir" -print | cpio -o -H $1 -L' | ||
1829 | 979 | am__tar_='find "$tardir" -print | cpio -o -H $1 -L' | ||
1830 | 980 | am__untar='cpio -i -H $1 -d' | ||
1831 | 981 | ;; | ||
1832 | 982 | none) | ||
1833 | 983 | am__tar=false | ||
1834 | 984 | am__tar_=false | ||
1835 | 985 | am__untar=false | ||
1836 | 986 | ;; | ||
1837 | 987 | esac | ||
1838 | 988 | |||
1839 | 989 | # If the value was cached, stop now. We just wanted to have am__tar | ||
1840 | 990 | # and am__untar set. | ||
1841 | 991 | test -n "${am_cv_prog_tar_$1}" && break | ||
1842 | 992 | |||
1843 | 993 | # tar/untar a dummy directory, and stop if the command works | ||
1844 | 994 | rm -rf conftest.dir | ||
1845 | 995 | mkdir conftest.dir | ||
1846 | 996 | echo GrepMe > conftest.dir/file | ||
1847 | 997 | AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) | ||
1848 | 998 | rm -rf conftest.dir | ||
1849 | 999 | if test -s conftest.tar; then | ||
1850 | 1000 | AM_RUN_LOG([$am__untar <conftest.tar]) | ||
1851 | 1001 | grep GrepMe conftest.dir/file >/dev/null 2>&1 && break | ||
1852 | 1002 | fi | ||
1853 | 1003 | done | ||
1854 | 1004 | rm -rf conftest.dir | ||
1855 | 1005 | |||
1856 | 1006 | AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | ||
1857 | 1007 | AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | ||
1858 | 1008 | AC_SUBST([am__tar]) | ||
1859 | 1009 | AC_SUBST([am__untar]) | ||
1860 | 1010 | ]) # _AM_PROG_TAR | ||
1861 | 1011 | |||
1862 | 1012 | 0 | ||
1863 | === added file 'debian/bug-control.in' | |||
1864 | --- debian/bug-control.in 1970-01-01 00:00:00 +0000 | |||
1865 | +++ debian/bug-control.in 2014-05-10 06:44:29 +0000 | |||
1866 | @@ -0,0 +1,1 @@ | |||
1867 | 1 | report-with: sensible-mda rmail libmilter@sm_libmilter_version@ sendmail sendmail-bin | ||
1868 | 0 | 2 | ||
1869 | === added file 'debian/bug-script.in' | |||
1870 | --- debian/bug-script.in 1970-01-01 00:00:00 +0000 | |||
1871 | +++ debian/bug-script.in 2014-05-10 06:44:29 +0000 | |||
1872 | @@ -0,0 +1,48 @@ | |||
1873 | 1 | #!/bin/sh | ||
1874 | 2 | #----------------------------------------------------------------------------- | ||
1875 | 3 | # $Sendmail: sendmail.bug,v @sm_version@ @sm_date@ @sm_time@ cowboy Exp $ | ||
1876 | 4 | # | ||
1877 | 5 | # Copyright (c) 1998-@SM_CPYRT@ Richard Nelson. All Rights Reserved. | ||
1878 | 6 | # | ||
1879 | 7 | # Debian helper function script for Debian Sendmail bug reporting | ||
1880 | 8 | # Note: this file supports @SM_MINVERS@ - @SM_MAXVERS@ | ||
1881 | 9 | # | ||
1882 | 10 | # Notes (to all): | ||
1883 | 11 | # * | ||
1884 | 12 | # | ||
1885 | 13 | # Notes (to self): | ||
1886 | 14 | # * | ||
1887 | 15 | # | ||
1888 | 16 | #----------------------------------------------------------------------------- | ||
1889 | 17 | # | ||
1890 | 18 | #set -e; | ||
1891 | 19 | DEBUG=0; | ||
1892 | 20 | |||
1893 | 21 | # Announce | ||
1894 | 22 | printf "Output of $0:\n" >&3; | ||
1895 | 23 | |||
1896 | 24 | # Show files in /etc/mail | ||
1897 | 25 | printf "\nls -alR /etc/mail:\n" >&3; | ||
1898 | 26 | ls -alR /etc/mail | grep -Eve '~$' >&3; | ||
1899 | 27 | |||
1900 | 28 | # Extract the relevant portion of sendmail.conf | ||
1901 | 29 | if [ -e @sysconfdir@/mail/sendmail.conf ]; then | ||
1902 | 30 | printf "\nsendmail.conf:\n" >&3; | ||
1903 | 31 | grep -ve '^#' "@sysconfdir@/mail/sendmail.conf" >&3; | ||
1904 | 32 | fi; | ||
1905 | 33 | |||
1906 | 34 | # Extract the relevant portion of sendmail.mc | ||
1907 | 35 | if [ -e @sysconfdir@/mail/sendmail.mc ]; then | ||
1908 | 36 | printf "\nsendmail.mc:\n" >&3; | ||
1909 | 37 | grep -Eve '^(#|dnl|$)' "@sysconfdir@/mail/sendmail.mc" >&3; | ||
1910 | 38 | fi; | ||
1911 | 39 | |||
1912 | 40 | # Extract the relevant portion of submit.mc | ||
1913 | 41 | if [ -e @sysconfdir@/mail/submit.mc ]; then | ||
1914 | 42 | printf "\nsubmit.mc...\n" >&3; | ||
1915 | 43 | grep -Eve '^(#|dnl|$)' "@sysconfdir@/mail/submit.mc" >&3; | ||
1916 | 44 | fi; | ||
1917 | 45 | |||
1918 | 46 | printf "\n" >&3; | ||
1919 | 47 | |||
1920 | 48 | # vim:set ai et sts=4 sw=4 tw=0: | ||
1921 | 0 | 49 | ||
1922 | === added file 'debian/build/compile' | |||
1923 | --- debian/build/compile 1970-01-01 00:00:00 +0000 | |||
1924 | +++ debian/build/compile 2014-05-10 06:44:29 +0000 | |||
1925 | @@ -0,0 +1,347 @@ | |||
1926 | 1 | #! /bin/sh | ||
1927 | 2 | # Wrapper for compilers which do not understand '-c -o'. | ||
1928 | 3 | |||
1929 | 4 | scriptversion=2012-10-14.11; # UTC | ||
1930 | 5 | |||
1931 | 6 | # Copyright (C) 1999-2013 Free Software Foundation, Inc. | ||
1932 | 7 | # Written by Tom Tromey <tromey@cygnus.com>. | ||
1933 | 8 | # | ||
1934 | 9 | # This program is free software; you can redistribute it and/or modify | ||
1935 | 10 | # it under the terms of the GNU General Public License as published by | ||
1936 | 11 | # the Free Software Foundation; either version 2, or (at your option) | ||
1937 | 12 | # any later version. | ||
1938 | 13 | # | ||
1939 | 14 | # This program is distributed in the hope that it will be useful, | ||
1940 | 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1941 | 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1942 | 17 | # GNU General Public License for more details. | ||
1943 | 18 | # | ||
1944 | 19 | # You should have received a copy of the GNU General Public License | ||
1945 | 20 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
1946 | 21 | |||
1947 | 22 | # As a special exception to the GNU General Public License, if you | ||
1948 | 23 | # distribute this file as part of a program that contains a | ||
1949 | 24 | # configuration script generated by Autoconf, you may include it under | ||
1950 | 25 | # the same distribution terms that you use for the rest of that program. | ||
1951 | 26 | |||
1952 | 27 | # This file is maintained in Automake, please report | ||
1953 | 28 | # bugs to <bug-automake@gnu.org> or send patches to | ||
1954 | 29 | # <automake-patches@gnu.org>. | ||
1955 | 30 | |||
1956 | 31 | nl=' | ||
1957 | 32 | ' | ||
1958 | 33 | |||
1959 | 34 | # We need space, tab and new line, in precisely that order. Quoting is | ||
1960 | 35 | # there to prevent tools from complaining about whitespace usage. | ||
1961 | 36 | IFS=" "" $nl" | ||
1962 | 37 | |||
1963 | 38 | file_conv= | ||
1964 | 39 | |||
1965 | 40 | # func_file_conv build_file lazy | ||
1966 | 41 | # Convert a $build file to $host form and store it in $file | ||
1967 | 42 | # Currently only supports Windows hosts. If the determined conversion | ||
1968 | 43 | # type is listed in (the comma separated) LAZY, no conversion will | ||
1969 | 44 | # take place. | ||
1970 | 45 | func_file_conv () | ||
1971 | 46 | { | ||
1972 | 47 | file=$1 | ||
1973 | 48 | case $file in | ||
1974 | 49 | / | /[!/]*) # absolute file, and not a UNC file | ||
1975 | 50 | if test -z "$file_conv"; then | ||
1976 | 51 | # lazily determine how to convert abs files | ||
1977 | 52 | case `uname -s` in | ||
1978 | 53 | MINGW*) | ||
1979 | 54 | file_conv=mingw | ||
1980 | 55 | ;; | ||
1981 | 56 | CYGWIN*) | ||
1982 | 57 | file_conv=cygwin | ||
1983 | 58 | ;; | ||
1984 | 59 | *) | ||
1985 | 60 | file_conv=wine | ||
1986 | 61 | ;; | ||
1987 | 62 | esac | ||
1988 | 63 | fi | ||
1989 | 64 | case $file_conv/,$2, in | ||
1990 | 65 | *,$file_conv,*) | ||
1991 | 66 | ;; | ||
1992 | 67 | mingw/*) | ||
1993 | 68 | file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` | ||
1994 | 69 | ;; | ||
1995 | 70 | cygwin/*) | ||
1996 | 71 | file=`cygpath -m "$file" || echo "$file"` | ||
1997 | 72 | ;; | ||
1998 | 73 | wine/*) | ||
1999 | 74 | file=`winepath -w "$file" || echo "$file"` | ||
2000 | 75 | ;; | ||
2001 | 76 | esac | ||
2002 | 77 | ;; | ||
2003 | 78 | esac | ||
2004 | 79 | } | ||
2005 | 80 | |||
2006 | 81 | # func_cl_dashL linkdir | ||
2007 | 82 | # Make cl look for libraries in LINKDIR | ||
2008 | 83 | func_cl_dashL () | ||
2009 | 84 | { | ||
2010 | 85 | func_file_conv "$1" | ||
2011 | 86 | if test -z "$lib_path"; then | ||
2012 | 87 | lib_path=$file | ||
2013 | 88 | else | ||
2014 | 89 | lib_path="$lib_path;$file" | ||
2015 | 90 | fi | ||
2016 | 91 | linker_opts="$linker_opts -LIBPATH:$file" | ||
2017 | 92 | } | ||
2018 | 93 | |||
2019 | 94 | # func_cl_dashl library | ||
2020 | 95 | # Do a library search-path lookup for cl | ||
2021 | 96 | func_cl_dashl () | ||
2022 | 97 | { | ||
2023 | 98 | lib=$1 | ||
2024 | 99 | found=no | ||
2025 | 100 | save_IFS=$IFS | ||
2026 | 101 | IFS=';' | ||
2027 | 102 | for dir in $lib_path $LIB | ||
2028 | 103 | do | ||
2029 | 104 | IFS=$save_IFS | ||
2030 | 105 | if $shared && test -f "$dir/$lib.dll.lib"; then | ||
2031 | 106 | found=yes | ||
2032 | 107 | lib=$dir/$lib.dll.lib | ||
2033 | 108 | break | ||
2034 | 109 | fi | ||
2035 | 110 | if test -f "$dir/$lib.lib"; then | ||
2036 | 111 | found=yes | ||
2037 | 112 | lib=$dir/$lib.lib | ||
2038 | 113 | break | ||
2039 | 114 | fi | ||
2040 | 115 | if test -f "$dir/lib$lib.a"; then | ||
2041 | 116 | found=yes | ||
2042 | 117 | lib=$dir/lib$lib.a | ||
2043 | 118 | break | ||
2044 | 119 | fi | ||
2045 | 120 | done | ||
2046 | 121 | IFS=$save_IFS | ||
2047 | 122 | |||
2048 | 123 | if test "$found" != yes; then | ||
2049 | 124 | lib=$lib.lib | ||
2050 | 125 | fi | ||
2051 | 126 | } | ||
2052 | 127 | |||
2053 | 128 | # func_cl_wrapper cl arg... | ||
2054 | 129 | # Adjust compile command to suit cl | ||
2055 | 130 | func_cl_wrapper () | ||
2056 | 131 | { | ||
2057 | 132 | # Assume a capable shell | ||
2058 | 133 | lib_path= | ||
2059 | 134 | shared=: | ||
2060 | 135 | linker_opts= | ||
2061 | 136 | for arg | ||
2062 | 137 | do | ||
2063 | 138 | if test -n "$eat"; then | ||
2064 | 139 | eat= | ||
2065 | 140 | else | ||
2066 | 141 | case $1 in | ||
2067 | 142 | -o) | ||
2068 | 143 | # configure might choose to run compile as 'compile cc -o foo foo.c'. | ||
2069 | 144 | eat=1 | ||
2070 | 145 | case $2 in | ||
2071 | 146 | *.o | *.[oO][bB][jJ]) | ||
2072 | 147 | func_file_conv "$2" | ||
2073 | 148 | set x "$@" -Fo"$file" | ||
2074 | 149 | shift | ||
2075 | 150 | ;; | ||
2076 | 151 | *) | ||
2077 | 152 | func_file_conv "$2" | ||
2078 | 153 | set x "$@" -Fe"$file" | ||
2079 | 154 | shift | ||
2080 | 155 | ;; | ||
2081 | 156 | esac | ||
2082 | 157 | ;; | ||
2083 | 158 | -I) | ||
2084 | 159 | eat=1 | ||
2085 | 160 | func_file_conv "$2" mingw | ||
2086 | 161 | set x "$@" -I"$file" | ||
2087 | 162 | shift | ||
2088 | 163 | ;; | ||
2089 | 164 | -I*) | ||
2090 | 165 | func_file_conv "${1#-I}" mingw | ||
2091 | 166 | set x "$@" -I"$file" | ||
2092 | 167 | shift | ||
2093 | 168 | ;; | ||
2094 | 169 | -l) | ||
2095 | 170 | eat=1 | ||
2096 | 171 | func_cl_dashl "$2" | ||
2097 | 172 | set x "$@" "$lib" | ||
2098 | 173 | shift | ||
2099 | 174 | ;; | ||
2100 | 175 | -l*) | ||
2101 | 176 | func_cl_dashl "${1#-l}" | ||
2102 | 177 | set x "$@" "$lib" | ||
2103 | 178 | shift | ||
2104 | 179 | ;; | ||
2105 | 180 | -L) | ||
2106 | 181 | eat=1 | ||
2107 | 182 | func_cl_dashL "$2" | ||
2108 | 183 | ;; | ||
2109 | 184 | -L*) | ||
2110 | 185 | func_cl_dashL "${1#-L}" | ||
2111 | 186 | ;; | ||
2112 | 187 | -static) | ||
2113 | 188 | shared=false | ||
2114 | 189 | ;; | ||
2115 | 190 | -Wl,*) | ||
2116 | 191 | arg=${1#-Wl,} | ||
2117 | 192 | save_ifs="$IFS"; IFS=',' | ||
2118 | 193 | for flag in $arg; do | ||
2119 | 194 | IFS="$save_ifs" | ||
2120 | 195 | linker_opts="$linker_opts $flag" | ||
2121 | 196 | done | ||
2122 | 197 | IFS="$save_ifs" | ||
2123 | 198 | ;; | ||
2124 | 199 | -Xlinker) | ||
2125 | 200 | eat=1 | ||
2126 | 201 | linker_opts="$linker_opts $2" | ||
2127 | 202 | ;; | ||
2128 | 203 | -*) | ||
2129 | 204 | set x "$@" "$1" | ||
2130 | 205 | shift | ||
2131 | 206 | ;; | ||
2132 | 207 | *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) | ||
2133 | 208 | func_file_conv "$1" | ||
2134 | 209 | set x "$@" -Tp"$file" | ||
2135 | 210 | shift | ||
2136 | 211 | ;; | ||
2137 | 212 | *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) | ||
2138 | 213 | func_file_conv "$1" mingw | ||
2139 | 214 | set x "$@" "$file" | ||
2140 | 215 | shift | ||
2141 | 216 | ;; | ||
2142 | 217 | *) | ||
2143 | 218 | set x "$@" "$1" | ||
2144 | 219 | shift | ||
2145 | 220 | ;; | ||
2146 | 221 | esac | ||
2147 | 222 | fi | ||
2148 | 223 | shift | ||
2149 | 224 | done | ||
2150 | 225 | if test -n "$linker_opts"; then | ||
2151 | 226 | linker_opts="-link$linker_opts" | ||
2152 | 227 | fi | ||
2153 | 228 | exec "$@" $linker_opts | ||
2154 | 229 | exit 1 | ||
2155 | 230 | } | ||
2156 | 231 | |||
2157 | 232 | eat= | ||
2158 | 233 | |||
2159 | 234 | case $1 in | ||
2160 | 235 | '') | ||
2161 | 236 | echo "$0: No command. Try '$0 --help' for more information." 1>&2 | ||
2162 | 237 | exit 1; | ||
2163 | 238 | ;; | ||
2164 | 239 | -h | --h*) | ||
2165 | 240 | cat <<\EOF | ||
2166 | 241 | Usage: compile [--help] [--version] PROGRAM [ARGS] | ||
2167 | 242 | |||
2168 | 243 | Wrapper for compilers which do not understand '-c -o'. | ||
2169 | 244 | Remove '-o dest.o' from ARGS, run PROGRAM with the remaining | ||
2170 | 245 | arguments, and rename the output as expected. | ||
2171 | 246 | |||
2172 | 247 | If you are trying to build a whole package this is not the | ||
2173 | 248 | right script to run: please start by reading the file 'INSTALL'. | ||
2174 | 249 | |||
2175 | 250 | Report bugs to <bug-automake@gnu.org>. | ||
2176 | 251 | EOF | ||
2177 | 252 | exit $? | ||
2178 | 253 | ;; | ||
2179 | 254 | -v | --v*) | ||
2180 | 255 | echo "compile $scriptversion" | ||
2181 | 256 | exit $? | ||
2182 | 257 | ;; | ||
2183 | 258 | cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) | ||
2184 | 259 | func_cl_wrapper "$@" # Doesn't return... | ||
2185 | 260 | ;; | ||
2186 | 261 | esac | ||
2187 | 262 | |||
2188 | 263 | ofile= | ||
2189 | 264 | cfile= | ||
2190 | 265 | |||
2191 | 266 | for arg | ||
2192 | 267 | do | ||
2193 | 268 | if test -n "$eat"; then | ||
2194 | 269 | eat= | ||
2195 | 270 | else | ||
2196 | 271 | case $1 in | ||
2197 | 272 | -o) | ||
2198 | 273 | # configure might choose to run compile as 'compile cc -o foo foo.c'. | ||
2199 | 274 | # So we strip '-o arg' only if arg is an object. | ||
2200 | 275 | eat=1 | ||
2201 | 276 | case $2 in | ||
2202 | 277 | *.o | *.obj) | ||
2203 | 278 | ofile=$2 | ||
2204 | 279 | ;; | ||
2205 | 280 | *) | ||
2206 | 281 | set x "$@" -o "$2" | ||
2207 | 282 | shift | ||
2208 | 283 | ;; | ||
2209 | 284 | esac | ||
2210 | 285 | ;; | ||
2211 | 286 | *.c) | ||
2212 | 287 | cfile=$1 | ||
2213 | 288 | set x "$@" "$1" | ||
2214 | 289 | shift | ||
2215 | 290 | ;; | ||
2216 | 291 | *) | ||
2217 | 292 | set x "$@" "$1" | ||
2218 | 293 | shift | ||
2219 | 294 | ;; | ||
2220 | 295 | esac | ||
2221 | 296 | fi | ||
2222 | 297 | shift | ||
2223 | 298 | done | ||
2224 | 299 | |||
2225 | 300 | if test -z "$ofile" || test -z "$cfile"; then | ||
2226 | 301 | # If no '-o' option was seen then we might have been invoked from a | ||
2227 | 302 | # pattern rule where we don't need one. That is ok -- this is a | ||
2228 | 303 | # normal compilation that the losing compiler can handle. If no | ||
2229 | 304 | # '.c' file was seen then we are probably linking. That is also | ||
2230 | 305 | # ok. | ||
2231 | 306 | exec "$@" | ||
2232 | 307 | fi | ||
2233 | 308 | |||
2234 | 309 | # Name of file we expect compiler to create. | ||
2235 | 310 | cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` | ||
2236 | 311 | |||
2237 | 312 | # Create the lock directory. | ||
2238 | 313 | # Note: use '[/\\:.-]' here to ensure that we don't use the same name | ||
2239 | 314 | # that we are using for the .o file. Also, base the name on the expected | ||
2240 | 315 | # object file name, since that is what matters with a parallel build. | ||
2241 | 316 | lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d | ||
2242 | 317 | while true; do | ||
2243 | 318 | if mkdir "$lockdir" >/dev/null 2>&1; then | ||
2244 | 319 | break | ||
2245 | 320 | fi | ||
2246 | 321 | sleep 1 | ||
2247 | 322 | done | ||
2248 | 323 | # FIXME: race condition here if user kills between mkdir and trap. | ||
2249 | 324 | trap "rmdir '$lockdir'; exit 1" 1 2 15 | ||
2250 | 325 | |||
2251 | 326 | # Run the compile. | ||
2252 | 327 | "$@" | ||
2253 | 328 | ret=$? | ||
2254 | 329 | |||
2255 | 330 | if test -f "$cofile"; then | ||
2256 | 331 | test "$cofile" = "$ofile" || mv "$cofile" "$ofile" | ||
2257 | 332 | elif test -f "${cofile}bj"; then | ||
2258 | 333 | test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" | ||
2259 | 334 | fi | ||
2260 | 335 | |||
2261 | 336 | rmdir "$lockdir" | ||
2262 | 337 | exit $ret | ||
2263 | 338 | |||
2264 | 339 | # Local Variables: | ||
2265 | 340 | # mode: shell-script | ||
2266 | 341 | # sh-indentation: 2 | ||
2267 | 342 | # eval: (add-hook 'write-file-hooks 'time-stamp) | ||
2268 | 343 | # time-stamp-start: "scriptversion=" | ||
2269 | 344 | # time-stamp-format: "%:y-%02m-%02d.%02H" | ||
2270 | 345 | # time-stamp-time-zone: "UTC" | ||
2271 | 346 | # time-stamp-end: "; # UTC" | ||
2272 | 347 | # End: | ||
2273 | 0 | 348 | ||
2274 | === modified file 'debian/build/config.guess' | |||
2275 | --- debian/build/config.guess 2007-05-05 20:10:00 +0000 | |||
2276 | +++ debian/build/config.guess 2014-05-10 06:44:29 +0000 | |||
2277 | @@ -1,14 +1,12 @@ | |||
2278 | 1 | #! /bin/sh | 1 | #! /bin/sh |
2279 | 2 | # Attempt to guess a canonical system name. | 2 | # Attempt to guess a canonical system name. |
2283 | 3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | 3 | # Copyright 1992-2013 Free Software Foundation, Inc. |
2281 | 4 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, | ||
2282 | 5 | # Inc. | ||
2284 | 6 | 4 | ||
2286 | 7 | timestamp='2007-03-06' | 5 | timestamp='2013-06-10' |
2287 | 8 | 6 | ||
2288 | 9 | # This file is free software; you can redistribute it and/or modify it | 7 | # This file is free software; you can redistribute it and/or modify it |
2289 | 10 | # under the terms of the GNU General Public License as published by | 8 | # under the terms of the GNU General Public License as published by |
2291 | 11 | # the Free Software Foundation; either version 2 of the License, or | 9 | # the Free Software Foundation; either version 3 of the License, or |
2292 | 12 | # (at your option) any later version. | 10 | # (at your option) any later version. |
2293 | 13 | # | 11 | # |
2294 | 14 | # This program is distributed in the hope that it will be useful, but | 12 | # This program is distributed in the hope that it will be useful, but |
2295 | @@ -17,26 +15,22 @@ | |||
2296 | 17 | # General Public License for more details. | 15 | # General Public License for more details. |
2297 | 18 | # | 16 | # |
2298 | 19 | # You should have received a copy of the GNU General Public License | 17 | # You should have received a copy of the GNU General Public License |
2302 | 20 | # along with this program; if not, write to the Free Software | 18 | # along with this program; if not, see <http://www.gnu.org/licenses/>. |
2300 | 21 | # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA | ||
2301 | 22 | # 02110-1301, USA. | ||
2303 | 23 | # | 19 | # |
2304 | 24 | # As a special exception to the GNU General Public License, if you | 20 | # As a special exception to the GNU General Public License, if you |
2305 | 25 | # distribute this file as part of a program that contains a | 21 | # distribute this file as part of a program that contains a |
2306 | 26 | # configuration script generated by Autoconf, you may include it under | 22 | # configuration script generated by Autoconf, you may include it under |
2320 | 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 |
2321 | 28 | 24 | # program. This Exception is an additional permission under section 7 | |
2322 | 29 | 25 | # of the GNU General Public License, version 3 ("GPLv3"). | |
2323 | 30 | # Originally written by Per Bothner <per@bothner.com>. | 26 | # |
2324 | 31 | # Please send patches to <config-patches@gnu.org>. Submit a context | 27 | # Originally written by Per Bothner. |
2325 | 32 | # diff and a properly formatted ChangeLog entry. | 28 | # |
2326 | 33 | # | 29 | # You can get the latest version of this script from: |
2327 | 34 | # This script attempts to guess a canonical system name similar to | 30 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD |
2328 | 35 | # config.sub. If it succeeds, it prints the system name on stdout, and | 31 | # |
2329 | 36 | # exits with 0. Otherwise, it exits with 1. | 32 | # Please send patches with a ChangeLog entry to config-patches@gnu.org. |
2330 | 37 | # | 33 | |
2318 | 38 | # The plan is that this can be called by configure scripts if you | ||
2319 | 39 | # don't specify an explicit build system type. | ||
2331 | 40 | 34 | ||
2332 | 41 | me=`echo "$0" | sed -e 's,.*/,,'` | 35 | me=`echo "$0" | sed -e 's,.*/,,'` |
2333 | 42 | 36 | ||
2334 | @@ -56,8 +50,7 @@ | |||
2335 | 56 | GNU config.guess ($timestamp) | 50 | GNU config.guess ($timestamp) |
2336 | 57 | 51 | ||
2337 | 58 | Originally written by Per Bothner. | 52 | Originally written by Per Bothner. |
2340 | 59 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 | 53 | Copyright 1992-2013 Free Software Foundation, Inc. |
2339 | 60 | Free Software Foundation, Inc. | ||
2341 | 61 | 54 | ||
2342 | 62 | This is free software; see the source for copying conditions. There is NO | 55 | This is free software; see the source for copying conditions. There is NO |
2343 | 63 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | 56 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
2344 | @@ -139,12 +132,33 @@ | |||
2345 | 139 | UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown | 132 | UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown |
2346 | 140 | UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown | 133 | UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown |
2347 | 141 | 134 | ||
2348 | 135 | case "${UNAME_SYSTEM}" in | ||
2349 | 136 | Linux|GNU|GNU/*) | ||
2350 | 137 | # If the system lacks a compiler, then just pick glibc. | ||
2351 | 138 | # We could probably try harder. | ||
2352 | 139 | LIBC=gnu | ||
2353 | 140 | |||
2354 | 141 | eval $set_cc_for_build | ||
2355 | 142 | cat <<-EOF > $dummy.c | ||
2356 | 143 | #include <features.h> | ||
2357 | 144 | #if defined(__UCLIBC__) | ||
2358 | 145 | LIBC=uclibc | ||
2359 | 146 | #elif defined(__dietlibc__) | ||
2360 | 147 | LIBC=dietlibc | ||
2361 | 148 | #else | ||
2362 | 149 | LIBC=gnu | ||
2363 | 150 | #endif | ||
2364 | 151 | EOF | ||
2365 | 152 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` | ||
2366 | 153 | ;; | ||
2367 | 154 | esac | ||
2368 | 155 | |||
2369 | 142 | # Note: order is significant - the case branches are not exclusive. | 156 | # Note: order is significant - the case branches are not exclusive. |
2370 | 143 | 157 | ||
2371 | 144 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | 158 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in |
2372 | 145 | *:NetBSD:*:*) | 159 | *:NetBSD:*:*) |
2373 | 146 | # NetBSD (nbsd) targets should (where applicable) match one or | 160 | # NetBSD (nbsd) targets should (where applicable) match one or |
2375 | 147 | # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, | 161 | # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, |
2376 | 148 | # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently | 162 | # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently |
2377 | 149 | # switched to ELF, *-*-netbsd* would select the old | 163 | # switched to ELF, *-*-netbsd* would select the old |
2378 | 150 | # object file format. This provides both forward | 164 | # object file format. This provides both forward |
2379 | @@ -170,7 +184,7 @@ | |||
2380 | 170 | arm*|i386|m68k|ns32k|sh3*|sparc|vax) | 184 | arm*|i386|m68k|ns32k|sh3*|sparc|vax) |
2381 | 171 | eval $set_cc_for_build | 185 | eval $set_cc_for_build |
2382 | 172 | if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | 186 | if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
2384 | 173 | | grep __ELF__ >/dev/null | 187 | | grep -q __ELF__ |
2385 | 174 | then | 188 | then |
2386 | 175 | # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). | 189 | # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). |
2387 | 176 | # Return netbsd for either. FIX? | 190 | # Return netbsd for either. FIX? |
2388 | @@ -180,7 +194,7 @@ | |||
2389 | 180 | fi | 194 | fi |
2390 | 181 | ;; | 195 | ;; |
2391 | 182 | *) | 196 | *) |
2393 | 183 | os=netbsd | 197 | os=netbsd |
2394 | 184 | ;; | 198 | ;; |
2395 | 185 | esac | 199 | esac |
2396 | 186 | # The OS release | 200 | # The OS release |
2397 | @@ -201,6 +215,10 @@ | |||
2398 | 201 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. | 215 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. |
2399 | 202 | echo "${machine}-${os}${release}" | 216 | echo "${machine}-${os}${release}" |
2400 | 203 | exit ;; | 217 | exit ;; |
2401 | 218 | *:Bitrig:*:*) | ||
2402 | 219 | UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` | ||
2403 | 220 | echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} | ||
2404 | 221 | exit ;; | ||
2405 | 204 | *:OpenBSD:*:*) | 222 | *:OpenBSD:*:*) |
2406 | 205 | UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` | 223 | UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` |
2407 | 206 | echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} | 224 | echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} |
2408 | @@ -223,7 +241,7 @@ | |||
2409 | 223 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` | 241 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` |
2410 | 224 | ;; | 242 | ;; |
2411 | 225 | *5.*) | 243 | *5.*) |
2413 | 226 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` | 244 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` |
2414 | 227 | ;; | 245 | ;; |
2415 | 228 | esac | 246 | esac |
2416 | 229 | # According to Compaq, /usr/sbin/psrinfo has been available on | 247 | # According to Compaq, /usr/sbin/psrinfo has been available on |
2417 | @@ -269,7 +287,10 @@ | |||
2418 | 269 | # A Xn.n version is an unreleased experimental baselevel. | 287 | # A Xn.n version is an unreleased experimental baselevel. |
2419 | 270 | # 1.2 uses "1.2" for uname -r. | 288 | # 1.2 uses "1.2" for uname -r. |
2420 | 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'` |
2422 | 272 | exit ;; | 290 | # Reset EXIT trap before exiting to avoid spurious non-zero exit code. |
2423 | 291 | exitcode=$? | ||
2424 | 292 | trap '' 0 | ||
2425 | 293 | exit $exitcode ;; | ||
2426 | 273 | Alpha\ *:Windows_NT*:*) | 294 | Alpha\ *:Windows_NT*:*) |
2427 | 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? |
2428 | 275 | # Should we change UNAME_MACHINE based on the output of uname instead | 296 | # Should we change UNAME_MACHINE based on the output of uname instead |
2429 | @@ -295,12 +316,12 @@ | |||
2430 | 295 | echo s390-ibm-zvmoe | 316 | echo s390-ibm-zvmoe |
2431 | 296 | exit ;; | 317 | exit ;; |
2432 | 297 | *:OS400:*:*) | 318 | *:OS400:*:*) |
2434 | 298 | echo powerpc-ibm-os400 | 319 | echo powerpc-ibm-os400 |
2435 | 299 | exit ;; | 320 | exit ;; |
2436 | 300 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) | 321 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
2437 | 301 | echo arm-acorn-riscix${UNAME_RELEASE} | 322 | echo arm-acorn-riscix${UNAME_RELEASE} |
2438 | 302 | exit ;; | 323 | exit ;; |
2440 | 303 | arm:riscos:*:*|arm:RISCOS:*:*) | 324 | arm*:riscos:*:*|arm*:RISCOS:*:*) |
2441 | 304 | echo arm-unknown-riscos | 325 | echo arm-unknown-riscos |
2442 | 305 | exit ;; | 326 | exit ;; |
2443 | 306 | SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) | 327 | SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) |
2444 | @@ -324,14 +345,33 @@ | |||
2445 | 324 | case `/usr/bin/uname -p` in | 345 | case `/usr/bin/uname -p` in |
2446 | 325 | sparc) echo sparc-icl-nx7; exit ;; | 346 | sparc) echo sparc-icl-nx7; exit ;; |
2447 | 326 | esac ;; | 347 | esac ;; |
2448 | 348 | s390x:SunOS:*:*) | ||
2449 | 349 | echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | ||
2450 | 350 | exit ;; | ||
2451 | 327 | sun4H:SunOS:5.*:*) | 351 | sun4H:SunOS:5.*:*) |
2452 | 328 | echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | 352 | echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
2453 | 329 | exit ;; | 353 | exit ;; |
2454 | 330 | sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) | 354 | sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) |
2455 | 331 | echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | 355 | echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
2456 | 332 | exit ;; | 356 | exit ;; |
2459 | 333 | i86pc:SunOS:5.*:*) | 357 | i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) |
2460 | 334 | echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | 358 | echo i386-pc-auroraux${UNAME_RELEASE} |
2461 | 359 | exit ;; | ||
2462 | 360 | i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) | ||
2463 | 361 | eval $set_cc_for_build | ||
2464 | 362 | SUN_ARCH="i386" | ||
2465 | 363 | # If there is a compiler, see if it is configured for 64-bit objects. | ||
2466 | 364 | # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. | ||
2467 | 365 | # This test works for both compilers. | ||
2468 | 366 | if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | ||
2469 | 367 | if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ | ||
2470 | 368 | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | ||
2471 | 369 | grep IS_64BIT_ARCH >/dev/null | ||
2472 | 370 | then | ||
2473 | 371 | SUN_ARCH="x86_64" | ||
2474 | 372 | fi | ||
2475 | 373 | fi | ||
2476 | 374 | echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | ||
2477 | 335 | exit ;; | 375 | exit ;; |
2478 | 336 | sun4*:SunOS:6*:*) | 376 | sun4*:SunOS:6*:*) |
2479 | 337 | # According to config.sub, this is the proper way to canonicalize | 377 | # According to config.sub, this is the proper way to canonicalize |
2480 | @@ -375,23 +415,23 @@ | |||
2481 | 375 | # MiNT. But MiNT is downward compatible to TOS, so this should | 415 | # MiNT. But MiNT is downward compatible to TOS, so this should |
2482 | 376 | # be no problem. | 416 | # be no problem. |
2483 | 377 | atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) | 417 | atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) |
2485 | 378 | echo m68k-atari-mint${UNAME_RELEASE} | 418 | echo m68k-atari-mint${UNAME_RELEASE} |
2486 | 379 | exit ;; | 419 | exit ;; |
2487 | 380 | atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) | 420 | atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) |
2488 | 381 | echo m68k-atari-mint${UNAME_RELEASE} | 421 | echo m68k-atari-mint${UNAME_RELEASE} |
2490 | 382 | exit ;; | 422 | exit ;; |
2491 | 383 | *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) | 423 | *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) |
2493 | 384 | echo m68k-atari-mint${UNAME_RELEASE} | 424 | echo m68k-atari-mint${UNAME_RELEASE} |
2494 | 385 | exit ;; | 425 | exit ;; |
2495 | 386 | milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) | 426 | milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) |
2498 | 387 | echo m68k-milan-mint${UNAME_RELEASE} | 427 | echo m68k-milan-mint${UNAME_RELEASE} |
2499 | 388 | exit ;; | 428 | exit ;; |
2500 | 389 | hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) | 429 | hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) |
2503 | 390 | echo m68k-hades-mint${UNAME_RELEASE} | 430 | echo m68k-hades-mint${UNAME_RELEASE} |
2504 | 391 | exit ;; | 431 | exit ;; |
2505 | 392 | *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) | 432 | *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) |
2508 | 393 | echo m68k-unknown-mint${UNAME_RELEASE} | 433 | echo m68k-unknown-mint${UNAME_RELEASE} |
2509 | 394 | exit ;; | 434 | exit ;; |
2510 | 395 | m68k:machten:*:*) | 435 | m68k:machten:*:*) |
2511 | 396 | echo m68k-apple-machten${UNAME_RELEASE} | 436 | echo m68k-apple-machten${UNAME_RELEASE} |
2512 | 397 | exit ;; | 437 | exit ;; |
2513 | @@ -461,8 +501,8 @@ | |||
2514 | 461 | echo m88k-motorola-sysv3 | 501 | echo m88k-motorola-sysv3 |
2515 | 462 | exit ;; | 502 | exit ;; |
2516 | 463 | AViiON:dgux:*:*) | 503 | AViiON:dgux:*:*) |
2519 | 464 | # DG/UX returns AViiON for all architectures | 504 | # DG/UX returns AViiON for all architectures |
2520 | 465 | UNAME_PROCESSOR=`/usr/bin/uname -p` | 505 | UNAME_PROCESSOR=`/usr/bin/uname -p` |
2521 | 466 | if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] | 506 | if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] |
2522 | 467 | then | 507 | then |
2523 | 468 | if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ | 508 | if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ |
2524 | @@ -475,7 +515,7 @@ | |||
2525 | 475 | else | 515 | else |
2526 | 476 | echo i586-dg-dgux${UNAME_RELEASE} | 516 | echo i586-dg-dgux${UNAME_RELEASE} |
2527 | 477 | fi | 517 | fi |
2529 | 478 | exit ;; | 518 | exit ;; |
2530 | 479 | M88*:DolphinOS:*:*) # DolphinOS (SVR3) | 519 | M88*:DolphinOS:*:*) # DolphinOS (SVR3) |
2531 | 480 | echo m88k-dolphin-sysv3 | 520 | echo m88k-dolphin-sysv3 |
2532 | 481 | exit ;; | 521 | exit ;; |
2533 | @@ -532,7 +572,7 @@ | |||
2534 | 532 | echo rs6000-ibm-aix3.2 | 572 | echo rs6000-ibm-aix3.2 |
2535 | 533 | fi | 573 | fi |
2536 | 534 | exit ;; | 574 | exit ;; |
2538 | 535 | *:AIX:*:[45]) | 575 | *:AIX:*:[4567]) |
2539 | 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 }'` |
2540 | 537 | if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then | 577 | if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then |
2541 | 538 | IBM_ARCH=rs6000 | 578 | IBM_ARCH=rs6000 |
2542 | @@ -575,52 +615,52 @@ | |||
2543 | 575 | 9000/[678][0-9][0-9]) | 615 | 9000/[678][0-9][0-9]) |
2544 | 576 | if [ -x /usr/bin/getconf ]; then | 616 | if [ -x /usr/bin/getconf ]; then |
2545 | 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` |
2554 | 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` |
2555 | 579 | case "${sc_cpu_version}" in | 619 | case "${sc_cpu_version}" in |
2556 | 580 | 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 | 620 | 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 |
2557 | 581 | 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 | 621 | 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 |
2558 | 582 | 532) # CPU_PA_RISC2_0 | 622 | 532) # CPU_PA_RISC2_0 |
2559 | 583 | case "${sc_kernel_bits}" in | 623 | case "${sc_kernel_bits}" in |
2560 | 584 | 32) HP_ARCH="hppa2.0n" ;; | 624 | 32) HP_ARCH="hppa2.0n" ;; |
2561 | 585 | 64) HP_ARCH="hppa2.0w" ;; | 625 | 64) HP_ARCH="hppa2.0w" ;; |
2562 | 586 | '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 | 626 | '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 |
2565 | 587 | esac ;; | 627 | esac ;; |
2566 | 588 | esac | 628 | esac |
2567 | 589 | fi | 629 | fi |
2568 | 590 | if [ "${HP_ARCH}" = "" ]; then | 630 | if [ "${HP_ARCH}" = "" ]; then |
2569 | 591 | eval $set_cc_for_build | 631 | eval $set_cc_for_build |
2602 | 592 | sed 's/^ //' << EOF >$dummy.c | 632 | sed 's/^ //' << EOF >$dummy.c |
2603 | 593 | 633 | ||
2604 | 594 | #define _HPUX_SOURCE | 634 | #define _HPUX_SOURCE |
2605 | 595 | #include <stdlib.h> | 635 | #include <stdlib.h> |
2606 | 596 | #include <unistd.h> | 636 | #include <unistd.h> |
2607 | 597 | 637 | ||
2608 | 598 | int main () | 638 | int main () |
2609 | 599 | { | 639 | { |
2610 | 600 | #if defined(_SC_KERNEL_BITS) | 640 | #if defined(_SC_KERNEL_BITS) |
2611 | 601 | long bits = sysconf(_SC_KERNEL_BITS); | 641 | long bits = sysconf(_SC_KERNEL_BITS); |
2612 | 602 | #endif | 642 | #endif |
2613 | 603 | long cpu = sysconf (_SC_CPU_VERSION); | 643 | long cpu = sysconf (_SC_CPU_VERSION); |
2614 | 604 | 644 | ||
2615 | 605 | switch (cpu) | 645 | switch (cpu) |
2616 | 606 | { | 646 | { |
2617 | 607 | case CPU_PA_RISC1_0: puts ("hppa1.0"); break; | 647 | case CPU_PA_RISC1_0: puts ("hppa1.0"); break; |
2618 | 608 | case CPU_PA_RISC1_1: puts ("hppa1.1"); break; | 648 | case CPU_PA_RISC1_1: puts ("hppa1.1"); break; |
2619 | 609 | case CPU_PA_RISC2_0: | 649 | case CPU_PA_RISC2_0: |
2620 | 610 | #if defined(_SC_KERNEL_BITS) | 650 | #if defined(_SC_KERNEL_BITS) |
2621 | 611 | switch (bits) | 651 | switch (bits) |
2622 | 612 | { | 652 | { |
2623 | 613 | case 64: puts ("hppa2.0w"); break; | 653 | case 64: puts ("hppa2.0w"); break; |
2624 | 614 | case 32: puts ("hppa2.0n"); break; | 654 | case 32: puts ("hppa2.0n"); break; |
2625 | 615 | default: puts ("hppa2.0"); break; | 655 | default: puts ("hppa2.0"); break; |
2626 | 616 | } break; | 656 | } break; |
2627 | 617 | #else /* !defined(_SC_KERNEL_BITS) */ | 657 | #else /* !defined(_SC_KERNEL_BITS) */ |
2628 | 618 | puts ("hppa2.0"); break; | 658 | puts ("hppa2.0"); break; |
2629 | 619 | #endif | 659 | #endif |
2630 | 620 | default: puts ("hppa1.0"); break; | 660 | default: puts ("hppa1.0"); break; |
2631 | 621 | } | 661 | } |
2632 | 622 | exit (0); | 662 | exit (0); |
2633 | 623 | } | 663 | } |
2634 | 624 | EOF | 664 | EOF |
2635 | 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` |
2636 | 626 | test -z "$HP_ARCH" && HP_ARCH=hppa | 666 | test -z "$HP_ARCH" && HP_ARCH=hppa |
2637 | @@ -640,7 +680,7 @@ | |||
2638 | 640 | # => hppa64-hp-hpux11.23 | 680 | # => hppa64-hp-hpux11.23 |
2639 | 641 | 681 | ||
2640 | 642 | if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | | 682 | if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | |
2642 | 643 | grep __LP64__ >/dev/null | 683 | grep -q __LP64__ |
2643 | 644 | then | 684 | then |
2644 | 645 | HP_ARCH="hppa2.0w" | 685 | HP_ARCH="hppa2.0w" |
2645 | 646 | else | 686 | else |
2646 | @@ -711,22 +751,22 @@ | |||
2647 | 711 | exit ;; | 751 | exit ;; |
2648 | 712 | C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) | 752 | C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) |
2649 | 713 | echo c1-convex-bsd | 753 | echo c1-convex-bsd |
2651 | 714 | exit ;; | 754 | exit ;; |
2652 | 715 | C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) | 755 | C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) |
2653 | 716 | if getsysinfo -f scalar_acc | 756 | if getsysinfo -f scalar_acc |
2654 | 717 | then echo c32-convex-bsd | 757 | then echo c32-convex-bsd |
2655 | 718 | else echo c2-convex-bsd | 758 | else echo c2-convex-bsd |
2656 | 719 | fi | 759 | fi |
2658 | 720 | exit ;; | 760 | exit ;; |
2659 | 721 | C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) | 761 | C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) |
2660 | 722 | echo c34-convex-bsd | 762 | echo c34-convex-bsd |
2662 | 723 | exit ;; | 763 | exit ;; |
2663 | 724 | C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) | 764 | C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) |
2664 | 725 | echo c38-convex-bsd | 765 | echo c38-convex-bsd |
2666 | 726 | exit ;; | 766 | exit ;; |
2667 | 727 | C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) | 767 | C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) |
2668 | 728 | echo c4-convex-bsd | 768 | echo c4-convex-bsd |
2670 | 729 | exit ;; | 769 | exit ;; |
2671 | 730 | CRAY*Y-MP:*:*:*) | 770 | CRAY*Y-MP:*:*:*) |
2672 | 731 | echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | 771 | echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
2673 | 732 | exit ;; | 772 | exit ;; |
2674 | @@ -750,14 +790,14 @@ | |||
2675 | 750 | exit ;; | 790 | exit ;; |
2676 | 751 | F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) | 791 | F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) |
2677 | 752 | FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` | 792 | FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
2682 | 753 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | 793 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` |
2683 | 754 | FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` | 794 | FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` |
2684 | 755 | echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | 795 | echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
2685 | 756 | exit ;; | 796 | exit ;; |
2686 | 757 | 5000:UNIX_System_V:4.*:*) | 797 | 5000:UNIX_System_V:4.*:*) |
2690 | 758 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | 798 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` |
2691 | 759 | FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` | 799 | FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` |
2692 | 760 | echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | 800 | echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
2693 | 761 | exit ;; | 801 | exit ;; |
2694 | 762 | i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) | 802 | i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) |
2695 | 763 | echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} | 803 | echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} |
2696 | @@ -769,40 +809,51 @@ | |||
2697 | 769 | echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} | 809 | echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} |
2698 | 770 | exit ;; | 810 | exit ;; |
2699 | 771 | *:FreeBSD:*:*) | 811 | *:FreeBSD:*:*) |
2703 | 772 | case ${UNAME_MACHINE} in | 812 | UNAME_PROCESSOR=`/usr/bin/uname -p` |
2704 | 773 | pc98) | 813 | case ${UNAME_PROCESSOR} in |
2702 | 774 | echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | ||
2705 | 775 | amd64) | 814 | amd64) |
2706 | 776 | echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | 815 | echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; |
2707 | 777 | *) | 816 | *) |
2709 | 778 | echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | 817 | echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; |
2710 | 779 | esac | 818 | esac |
2711 | 780 | exit ;; | 819 | exit ;; |
2712 | 781 | i*:CYGWIN*:*) | 820 | i*:CYGWIN*:*) |
2713 | 782 | echo ${UNAME_MACHINE}-pc-cygwin | 821 | echo ${UNAME_MACHINE}-pc-cygwin |
2714 | 783 | exit ;; | 822 | exit ;; |
2715 | 823 | *:MINGW64*:*) | ||
2716 | 824 | echo ${UNAME_MACHINE}-pc-mingw64 | ||
2717 | 825 | exit ;; | ||
2718 | 784 | *:MINGW*:*) | 826 | *:MINGW*:*) |
2719 | 785 | echo ${UNAME_MACHINE}-pc-mingw32 | 827 | echo ${UNAME_MACHINE}-pc-mingw32 |
2720 | 786 | exit ;; | 828 | exit ;; |
2721 | 829 | i*:MSYS*:*) | ||
2722 | 830 | echo ${UNAME_MACHINE}-pc-msys | ||
2723 | 831 | exit ;; | ||
2724 | 787 | i*:windows32*:*) | 832 | i*:windows32*:*) |
2727 | 788 | # uname -m includes "-pc" on this system. | 833 | # uname -m includes "-pc" on this system. |
2728 | 789 | echo ${UNAME_MACHINE}-mingw32 | 834 | echo ${UNAME_MACHINE}-mingw32 |
2729 | 790 | exit ;; | 835 | exit ;; |
2730 | 791 | i*:PW*:*) | 836 | i*:PW*:*) |
2731 | 792 | echo ${UNAME_MACHINE}-pc-pw32 | 837 | echo ${UNAME_MACHINE}-pc-pw32 |
2732 | 793 | exit ;; | 838 | exit ;; |
2736 | 794 | *:Interix*:[3456]*) | 839 | *:Interix*:*) |
2737 | 795 | case ${UNAME_MACHINE} in | 840 | case ${UNAME_MACHINE} in |
2738 | 796 | x86) | 841 | x86) |
2739 | 797 | echo i586-pc-interix${UNAME_RELEASE} | 842 | echo i586-pc-interix${UNAME_RELEASE} |
2740 | 798 | exit ;; | 843 | exit ;; |
2742 | 799 | EM64T | authenticamd) | 844 | authenticamd | genuineintel | EM64T) |
2743 | 800 | echo x86_64-unknown-interix${UNAME_RELEASE} | 845 | echo x86_64-unknown-interix${UNAME_RELEASE} |
2744 | 801 | exit ;; | 846 | exit ;; |
2745 | 847 | IA64) | ||
2746 | 848 | echo ia64-unknown-interix${UNAME_RELEASE} | ||
2747 | 849 | exit ;; | ||
2748 | 802 | esac ;; | 850 | esac ;; |
2749 | 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:*) |
2750 | 804 | echo i${UNAME_MACHINE}-pc-mks | 852 | echo i${UNAME_MACHINE}-pc-mks |
2751 | 805 | exit ;; | 853 | exit ;; |
2752 | 854 | 8664:Windows_NT:*) | ||
2753 | 855 | echo x86_64-pc-mks | ||
2754 | 856 | exit ;; | ||
2755 | 806 | i*:Windows_NT*:* | Pentium*:Windows_NT*:*) | 857 | i*:Windows_NT*:* | Pentium*:Windows_NT*:*) |
2756 | 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? |
2757 | 808 | # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we | 859 | # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we |
2758 | @@ -823,203 +874,157 @@ | |||
2759 | 823 | exit ;; | 874 | exit ;; |
2760 | 824 | *:GNU:*:*) | 875 | *:GNU:*:*) |
2761 | 825 | # the GNU system | 876 | # the GNU system |
2763 | 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,/.*$,,'` |
2764 | 827 | exit ;; | 878 | exit ;; |
2765 | 828 | *:GNU/*:*:*) | 879 | *:GNU/*:*:*) |
2766 | 829 | # other systems with GNU libc and userland | 880 | # other systems with GNU libc and userland |
2768 | 830 | echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu | 881 | echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} |
2769 | 831 | exit ;; | 882 | exit ;; |
2770 | 832 | i*86:Minix:*:*) | 883 | i*86:Minix:*:*) |
2771 | 833 | echo ${UNAME_MACHINE}-pc-minix | 884 | echo ${UNAME_MACHINE}-pc-minix |
2772 | 834 | exit ;; | 885 | exit ;; |
2773 | 886 | aarch64:Linux:*:*) | ||
2774 | 887 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | ||
2775 | 888 | exit ;; | ||
2776 | 889 | aarch64_be:Linux:*:*) | ||
2777 | 890 | UNAME_MACHINE=aarch64_be | ||
2778 | 891 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | ||
2779 | 892 | exit ;; | ||
2780 | 893 | alpha:Linux:*:*) | ||
2781 | 894 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in | ||
2782 | 895 | EV5) UNAME_MACHINE=alphaev5 ;; | ||
2783 | 896 | EV56) UNAME_MACHINE=alphaev56 ;; | ||
2784 | 897 | PCA56) UNAME_MACHINE=alphapca56 ;; | ||
2785 | 898 | PCA57) UNAME_MACHINE=alphapca56 ;; | ||
2786 | 899 | EV6) UNAME_MACHINE=alphaev6 ;; | ||
2787 | 900 | EV67) UNAME_MACHINE=alphaev67 ;; | ||
2788 | 901 | EV68*) UNAME_MACHINE=alphaev68 ;; | ||
2789 | 902 | esac | ||
2790 | 903 | objdump --private-headers /bin/sh | grep -q ld.so.1 | ||
2791 | 904 | if test "$?" = 0 ; then LIBC="gnulibc1" ; fi | ||
2792 | 905 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | ||
2793 | 906 | exit ;; | ||
2794 | 907 | arc:Linux:*:* | arceb:Linux:*:*) | ||
2795 | 908 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | ||
2796 | 909 | exit ;; | ||
2797 | 835 | arm*:Linux:*:*) | 910 | arm*:Linux:*:*) |
2799 | 836 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 911 | eval $set_cc_for_build |
2800 | 912 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | ||
2801 | 913 | | grep -q __ARM_EABI__ | ||
2802 | 914 | then | ||
2803 | 915 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | ||
2804 | 916 | else | ||
2805 | 917 | if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | ||
2806 | 918 | | grep -q __ARM_PCS_VFP | ||
2807 | 919 | then | ||
2808 | 920 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi | ||
2809 | 921 | else | ||
2810 | 922 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf | ||
2811 | 923 | fi | ||
2812 | 924 | fi | ||
2813 | 837 | exit ;; | 925 | exit ;; |
2814 | 838 | avr32*:Linux:*:*) | 926 | avr32*:Linux:*:*) |
2816 | 839 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 927 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
2817 | 840 | exit ;; | 928 | exit ;; |
2818 | 841 | cris:Linux:*:*) | 929 | cris:Linux:*:*) |
2820 | 842 | echo cris-axis-linux-gnu | 930 | echo ${UNAME_MACHINE}-axis-linux-${LIBC} |
2821 | 843 | exit ;; | 931 | exit ;; |
2822 | 844 | crisv32:Linux:*:*) | 932 | crisv32:Linux:*:*) |
2824 | 845 | echo crisv32-axis-linux-gnu | 933 | echo ${UNAME_MACHINE}-axis-linux-${LIBC} |
2825 | 846 | exit ;; | 934 | exit ;; |
2826 | 847 | frv:Linux:*:*) | 935 | frv:Linux:*:*) |
2828 | 848 | echo frv-unknown-linux-gnu | 936 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
2829 | 937 | exit ;; | ||
2830 | 938 | hexagon:Linux:*:*) | ||
2831 | 939 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | ||
2832 | 940 | exit ;; | ||
2833 | 941 | i*86:Linux:*:*) | ||
2834 | 942 | echo ${UNAME_MACHINE}-pc-linux-${LIBC} | ||
2835 | 849 | exit ;; | 943 | exit ;; |
2836 | 850 | ia64:Linux:*:*) | 944 | ia64:Linux:*:*) |
2838 | 851 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 945 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
2839 | 852 | exit ;; | 946 | exit ;; |
2840 | 853 | m32r*:Linux:*:*) | 947 | m32r*:Linux:*:*) |
2842 | 854 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 948 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
2843 | 855 | exit ;; | 949 | exit ;; |
2844 | 856 | m68*:Linux:*:*) | 950 | m68*:Linux:*:*) |
2893 | 857 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 951 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
2894 | 858 | exit ;; | 952 | exit ;; |
2895 | 859 | mips:Linux:*:*) | 953 | mips:Linux:*:* | mips64:Linux:*:*) |
2896 | 860 | eval $set_cc_for_build | 954 | eval $set_cc_for_build |
2897 | 861 | sed 's/^ //' << EOF >$dummy.c | 955 | sed 's/^ //' << EOF >$dummy.c |
2898 | 862 | #undef CPU | 956 | #undef CPU |
2899 | 863 | #undef mips | 957 | #undef ${UNAME_MACHINE} |
2900 | 864 | #undef mipsel | 958 | #undef ${UNAME_MACHINE}el |
2901 | 865 | #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) | 959 | #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) |
2902 | 866 | CPU=mipsel | 960 | CPU=${UNAME_MACHINE}el |
2903 | 867 | #else | 961 | #else |
2904 | 868 | #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) | 962 | #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) |
2905 | 869 | CPU=mips | 963 | CPU=${UNAME_MACHINE} |
2906 | 870 | #else | 964 | #else |
2907 | 871 | CPU= | 965 | CPU= |
2908 | 872 | #endif | 966 | #endif |
2909 | 873 | #endif | 967 | #endif |
2910 | 874 | EOF | 968 | EOF |
2911 | 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'` |
2912 | 876 | /^CPU/{ | 970 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } |
2913 | 877 | s: ::g | 971 | ;; |
2914 | 878 | p | 972 | or1k:Linux:*:*) |
2915 | 879 | }'`" | 973 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
2916 | 880 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } | 974 | exit ;; |
2869 | 881 | ;; | ||
2870 | 882 | mips64:Linux:*:*) | ||
2871 | 883 | eval $set_cc_for_build | ||
2872 | 884 | sed 's/^ //' << EOF >$dummy.c | ||
2873 | 885 | #undef CPU | ||
2874 | 886 | #undef mips64 | ||
2875 | 887 | #undef mips64el | ||
2876 | 888 | #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) | ||
2877 | 889 | CPU=mips64el | ||
2878 | 890 | #else | ||
2879 | 891 | #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) | ||
2880 | 892 | CPU=mips64 | ||
2881 | 893 | #else | ||
2882 | 894 | CPU= | ||
2883 | 895 | #endif | ||
2884 | 896 | #endif | ||
2885 | 897 | EOF | ||
2886 | 898 | eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' | ||
2887 | 899 | /^CPU/{ | ||
2888 | 900 | s: ::g | ||
2889 | 901 | p | ||
2890 | 902 | }'`" | ||
2891 | 903 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } | ||
2892 | 904 | ;; | ||
2917 | 905 | or32:Linux:*:*) | 975 | or32:Linux:*:*) |
2939 | 906 | echo or32-unknown-linux-gnu | 976 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
2940 | 907 | exit ;; | 977 | exit ;; |
2941 | 908 | ppc:Linux:*:*) | 978 | padre:Linux:*:*) |
2942 | 909 | echo powerpc-unknown-linux-gnu | 979 | echo sparc-unknown-linux-${LIBC} |
2943 | 910 | exit ;; | 980 | exit ;; |
2944 | 911 | ppc64:Linux:*:*) | 981 | parisc64:Linux:*:* | hppa64:Linux:*:*) |
2945 | 912 | echo powerpc64-unknown-linux-gnu | 982 | echo hppa64-unknown-linux-${LIBC} |
2925 | 913 | exit ;; | ||
2926 | 914 | alpha:Linux:*:*) | ||
2927 | 915 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in | ||
2928 | 916 | EV5) UNAME_MACHINE=alphaev5 ;; | ||
2929 | 917 | EV56) UNAME_MACHINE=alphaev56 ;; | ||
2930 | 918 | PCA56) UNAME_MACHINE=alphapca56 ;; | ||
2931 | 919 | PCA57) UNAME_MACHINE=alphapca56 ;; | ||
2932 | 920 | EV6) UNAME_MACHINE=alphaev6 ;; | ||
2933 | 921 | EV67) UNAME_MACHINE=alphaev67 ;; | ||
2934 | 922 | EV68*) UNAME_MACHINE=alphaev68 ;; | ||
2935 | 923 | esac | ||
2936 | 924 | objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null | ||
2937 | 925 | if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi | ||
2938 | 926 | echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} | ||
2946 | 927 | exit ;; | 983 | exit ;; |
2947 | 928 | parisc:Linux:*:* | hppa:Linux:*:*) | 984 | parisc:Linux:*:* | hppa:Linux:*:*) |
2948 | 929 | # Look for CPU level | 985 | # Look for CPU level |
2949 | 930 | case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in | 986 | case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in |
2953 | 931 | PA7*) echo hppa1.1-unknown-linux-gnu ;; | 987 | PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; |
2954 | 932 | PA8*) echo hppa2.0-unknown-linux-gnu ;; | 988 | PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; |
2955 | 933 | *) echo hppa-unknown-linux-gnu ;; | 989 | *) echo hppa-unknown-linux-${LIBC} ;; |
2956 | 934 | esac | 990 | esac |
2957 | 935 | exit ;; | 991 | exit ;; |
2960 | 936 | parisc64:Linux:*:* | hppa64:Linux:*:*) | 992 | ppc64:Linux:*:*) |
2961 | 937 | echo hppa64-unknown-linux-gnu | 993 | echo powerpc64-unknown-linux-${LIBC} |
2962 | 994 | exit ;; | ||
2963 | 995 | ppc:Linux:*:*) | ||
2964 | 996 | echo powerpc-unknown-linux-${LIBC} | ||
2965 | 997 | exit ;; | ||
2966 | 998 | ppc64le:Linux:*:*) | ||
2967 | 999 | echo powerpc64le-unknown-linux-${LIBC} | ||
2968 | 1000 | exit ;; | ||
2969 | 1001 | ppcle:Linux:*:*) | ||
2970 | 1002 | echo powerpcle-unknown-linux-${LIBC} | ||
2971 | 938 | exit ;; | 1003 | exit ;; |
2972 | 939 | s390:Linux:*:* | s390x:Linux:*:*) | 1004 | s390:Linux:*:* | s390x:Linux:*:*) |
2974 | 940 | echo ${UNAME_MACHINE}-ibm-linux | 1005 | echo ${UNAME_MACHINE}-ibm-linux-${LIBC} |
2975 | 941 | exit ;; | 1006 | exit ;; |
2976 | 942 | sh64*:Linux:*:*) | 1007 | sh64*:Linux:*:*) |
2978 | 943 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 1008 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
2979 | 944 | exit ;; | 1009 | exit ;; |
2980 | 945 | sh*:Linux:*:*) | 1010 | sh*:Linux:*:*) |
2982 | 946 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 1011 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
2983 | 947 | exit ;; | 1012 | exit ;; |
2984 | 948 | sparc:Linux:*:* | sparc64:Linux:*:*) | 1013 | sparc:Linux:*:* | sparc64:Linux:*:*) |
2986 | 949 | echo ${UNAME_MACHINE}-unknown-linux-gnu | 1014 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
2987 | 1015 | exit ;; | ||
2988 | 1016 | tile*:Linux:*:*) | ||
2989 | 1017 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | ||
2990 | 950 | exit ;; | 1018 | exit ;; |
2991 | 951 | vax:Linux:*:*) | 1019 | vax:Linux:*:*) |
2993 | 952 | echo ${UNAME_MACHINE}-dec-linux-gnu | 1020 | echo ${UNAME_MACHINE}-dec-linux-${LIBC} |
2994 | 953 | exit ;; | 1021 | exit ;; |
2995 | 954 | x86_64:Linux:*:*) | 1022 | x86_64:Linux:*:*) |
3064 | 955 | echo x86_64-unknown-linux-gnu | 1023 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
3065 | 956 | exit ;; | 1024 | exit ;; |
3066 | 957 | xtensa:Linux:*:*) | 1025 | xtensa*:Linux:*:*) |
3067 | 958 | echo xtensa-unknown-linux-gnu | 1026 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
3068 | 959 | exit ;; | 1027 | exit ;; |
3001 | 960 | i*86:Linux:*:*) | ||
3002 | 961 | # The BFD linker knows what the default object file format is, so | ||
3003 | 962 | # first see if it will tell us. cd to the root directory to prevent | ||
3004 | 963 | # problems with other programs or directories called `ld' in the path. | ||
3005 | 964 | # Set LC_ALL=C to ensure ld outputs messages in English. | ||
3006 | 965 | ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ | ||
3007 | 966 | | sed -ne '/supported targets:/!d | ||
3008 | 967 | s/[ ][ ]*/ /g | ||
3009 | 968 | s/.*supported targets: *// | ||
3010 | 969 | s/ .*// | ||
3011 | 970 | p'` | ||
3012 | 971 | case "$ld_supported_targets" in | ||
3013 | 972 | elf32-i386) | ||
3014 | 973 | TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" | ||
3015 | 974 | ;; | ||
3016 | 975 | a.out-i386-linux) | ||
3017 | 976 | echo "${UNAME_MACHINE}-pc-linux-gnuaout" | ||
3018 | 977 | exit ;; | ||
3019 | 978 | coff-i386) | ||
3020 | 979 | echo "${UNAME_MACHINE}-pc-linux-gnucoff" | ||
3021 | 980 | exit ;; | ||
3022 | 981 | "") | ||
3023 | 982 | # Either a pre-BFD a.out linker (linux-gnuoldld) or | ||
3024 | 983 | # one that does not give us useful --help. | ||
3025 | 984 | echo "${UNAME_MACHINE}-pc-linux-gnuoldld" | ||
3026 | 985 | exit ;; | ||
3027 | 986 | esac | ||
3028 | 987 | # Determine whether the default compiler is a.out or elf | ||
3029 | 988 | eval $set_cc_for_build | ||
3030 | 989 | sed 's/^ //' << EOF >$dummy.c | ||
3031 | 990 | #include <features.h> | ||
3032 | 991 | #ifdef __ELF__ | ||
3033 | 992 | # ifdef __GLIBC__ | ||
3034 | 993 | # if __GLIBC__ >= 2 | ||
3035 | 994 | LIBC=gnu | ||
3036 | 995 | # else | ||
3037 | 996 | LIBC=gnulibc1 | ||
3038 | 997 | # endif | ||
3039 | 998 | # else | ||
3040 | 999 | LIBC=gnulibc1 | ||
3041 | 1000 | # endif | ||
3042 | 1001 | #else | ||
3043 | 1002 | #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) | ||
3044 | 1003 | LIBC=gnu | ||
3045 | 1004 | #else | ||
3046 | 1005 | LIBC=gnuaout | ||
3047 | 1006 | #endif | ||
3048 | 1007 | #endif | ||
3049 | 1008 | #ifdef __dietlibc__ | ||
3050 | 1009 | LIBC=dietlibc | ||
3051 | 1010 | #endif | ||
3052 | 1011 | EOF | ||
3053 | 1012 | eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' | ||
3054 | 1013 | /^LIBC/{ | ||
3055 | 1014 | s: ::g | ||
3056 | 1015 | p | ||
3057 | 1016 | }'`" | ||
3058 | 1017 | test x"${LIBC}" != x && { | ||
3059 | 1018 | echo "${UNAME_MACHINE}-pc-linux-${LIBC}" | ||
3060 | 1019 | exit | ||
3061 | 1020 | } | ||
3062 | 1021 | test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } | ||
3063 | 1022 | ;; | ||
3069 | 1023 | i*86:DYNIX/ptx:4*:*) | 1028 | i*86:DYNIX/ptx:4*:*) |
3070 | 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. |
3071 | 1025 | # earlier versions are messed up and put the nodename in both | 1030 | # earlier versions are messed up and put the nodename in both |
3072 | @@ -1027,11 +1032,11 @@ | |||
3073 | 1027 | echo i386-sequent-sysv4 | 1032 | echo i386-sequent-sysv4 |
3074 | 1028 | exit ;; | 1033 | exit ;; |
3075 | 1029 | i*86:UNIX_SV:4.2MP:2.*) | 1034 | i*86:UNIX_SV:4.2MP:2.*) |
3079 | 1030 | # Unixware is an offshoot of SVR4, but it has its own version | 1035 | # Unixware is an offshoot of SVR4, but it has its own version |
3080 | 1031 | # number series starting with 2... | 1036 | # number series starting with 2... |
3081 | 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, |
3082 | 1033 | # I just have to hope. -- rms. | 1038 | # I just have to hope. -- rms. |
3084 | 1034 | # Use sysv4.2uw... so that sysv4* matches it. | 1039 | # Use sysv4.2uw... so that sysv4* matches it. |
3085 | 1035 | echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} | 1040 | echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} |
3086 | 1036 | exit ;; | 1041 | exit ;; |
3087 | 1037 | i*86:OS/2:*:*) | 1042 | i*86:OS/2:*:*) |
3088 | @@ -1048,7 +1053,7 @@ | |||
3089 | 1048 | i*86:syllable:*:*) | 1053 | i*86:syllable:*:*) |
3090 | 1049 | echo ${UNAME_MACHINE}-pc-syllable | 1054 | echo ${UNAME_MACHINE}-pc-syllable |
3091 | 1050 | exit ;; | 1055 | exit ;; |
3093 | 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]*:*) |
3094 | 1052 | echo i386-unknown-lynxos${UNAME_RELEASE} | 1057 | echo i386-unknown-lynxos${UNAME_RELEASE} |
3095 | 1053 | exit ;; | 1058 | exit ;; |
3096 | 1054 | i*86:*DOS:*:*) | 1059 | i*86:*DOS:*:*) |
3097 | @@ -1063,7 +1068,7 @@ | |||
3098 | 1063 | fi | 1068 | fi |
3099 | 1064 | exit ;; | 1069 | exit ;; |
3100 | 1065 | i*86:*:5:[678]*) | 1070 | i*86:*:5:[678]*) |
3102 | 1066 | # UnixWare 7.x, OpenUNIX and OpenServer 6. | 1071 | # UnixWare 7.x, OpenUNIX and OpenServer 6. |
3103 | 1067 | case `/bin/uname -X | grep "^Machine"` in | 1072 | case `/bin/uname -X | grep "^Machine"` in |
3104 | 1068 | *486*) UNAME_MACHINE=i486 ;; | 1073 | *486*) UNAME_MACHINE=i486 ;; |
3105 | 1069 | *Pentium) UNAME_MACHINE=i586 ;; | 1074 | *Pentium) UNAME_MACHINE=i586 ;; |
3106 | @@ -1091,10 +1096,13 @@ | |||
3107 | 1091 | exit ;; | 1096 | exit ;; |
3108 | 1092 | pc:*:*:*) | 1097 | pc:*:*:*) |
3109 | 1093 | # Left here for compatibility: | 1098 | # Left here for compatibility: |
3114 | 1094 | # uname -m prints for DJGPP always 'pc', but it prints nothing about | 1099 | # uname -m prints for DJGPP always 'pc', but it prints nothing about |
3115 | 1095 | # the processor, so we play safe by assuming i386. | 1100 | # the processor, so we play safe by assuming i586. |
3116 | 1096 | echo i386-pc-msdosdjgpp | 1101 | # Note: whatever this is, it MUST be the same as what config.sub |
3117 | 1097 | exit ;; | 1102 | # prints for the "djgpp" host, or else GDB configury will decide that |
3118 | 1103 | # this is a cross-build. | ||
3119 | 1104 | echo i586-pc-msdosdjgpp | ||
3120 | 1105 | exit ;; | ||
3121 | 1098 | Intel:Mach:3*:*) | 1106 | Intel:Mach:3*:*) |
3122 | 1099 | echo i386-pc-mach3 | 1107 | echo i386-pc-mach3 |
3123 | 1100 | exit ;; | 1108 | exit ;; |
3124 | @@ -1129,8 +1137,18 @@ | |||
3125 | 1129 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ | 1137 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ |
3126 | 1130 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; | 1138 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; |
3127 | 1131 | 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) | 1139 | 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) |
3130 | 1132 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | 1140 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
3131 | 1133 | && { echo i486-ncr-sysv4; exit; } ;; | 1141 | && { echo i486-ncr-sysv4; exit; } ;; |
3132 | 1142 | NCR*:*:4.2:* | MPRAS*:*:4.2:*) | ||
3133 | 1143 | OS_REL='.3' | ||
3134 | 1144 | test -r /etc/.relid \ | ||
3135 | 1145 | && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` | ||
3136 | 1146 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | ||
3137 | 1147 | && { echo i486-ncr-sysv4.3${OS_REL}; exit; } | ||
3138 | 1148 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ | ||
3139 | 1149 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } | ||
3140 | 1150 | /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ | ||
3141 | 1151 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; | ||
3142 | 1134 | m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) | 1152 | m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) |
3143 | 1135 | echo m68k-unknown-lynxos${UNAME_RELEASE} | 1153 | echo m68k-unknown-lynxos${UNAME_RELEASE} |
3144 | 1136 | exit ;; | 1154 | exit ;; |
3145 | @@ -1143,7 +1161,7 @@ | |||
3146 | 1143 | rs6000:LynxOS:2.*:*) | 1161 | rs6000:LynxOS:2.*:*) |
3147 | 1144 | echo rs6000-unknown-lynxos${UNAME_RELEASE} | 1162 | echo rs6000-unknown-lynxos${UNAME_RELEASE} |
3148 | 1145 | exit ;; | 1163 | exit ;; |
3150 | 1146 | PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) | 1164 | PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) |
3151 | 1147 | echo powerpc-unknown-lynxos${UNAME_RELEASE} | 1165 | echo powerpc-unknown-lynxos${UNAME_RELEASE} |
3152 | 1148 | exit ;; | 1166 | exit ;; |
3153 | 1149 | SM[BE]S:UNIX_SV:*:*) | 1167 | SM[BE]S:UNIX_SV:*:*) |
3154 | @@ -1163,10 +1181,10 @@ | |||
3155 | 1163 | echo ns32k-sni-sysv | 1181 | echo ns32k-sni-sysv |
3156 | 1164 | fi | 1182 | fi |
3157 | 1165 | exit ;; | 1183 | exit ;; |
3162 | 1166 | PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort | 1184 | PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort |
3163 | 1167 | # says <Richard.M.Bartel@ccMail.Census.GOV> | 1185 | # says <Richard.M.Bartel@ccMail.Census.GOV> |
3164 | 1168 | echo i586-unisys-sysv4 | 1186 | echo i586-unisys-sysv4 |
3165 | 1169 | exit ;; | 1187 | exit ;; |
3166 | 1170 | *:UNIX_System_V:4*:FTX*) | 1188 | *:UNIX_System_V:4*:FTX*) |
3167 | 1171 | # From Gerald Hewes <hewes@openmarket.com>. | 1189 | # From Gerald Hewes <hewes@openmarket.com>. |
3168 | 1172 | # How about differentiating between stratus architectures? -djm | 1190 | # How about differentiating between stratus architectures? -djm |
3169 | @@ -1192,11 +1210,11 @@ | |||
3170 | 1192 | exit ;; | 1210 | exit ;; |
3171 | 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:*:*) |
3172 | 1194 | if [ -d /usr/nec ]; then | 1212 | if [ -d /usr/nec ]; then |
3174 | 1195 | echo mips-nec-sysv${UNAME_RELEASE} | 1213 | echo mips-nec-sysv${UNAME_RELEASE} |
3175 | 1196 | else | 1214 | else |
3177 | 1197 | echo mips-unknown-sysv${UNAME_RELEASE} | 1215 | echo mips-unknown-sysv${UNAME_RELEASE} |
3178 | 1198 | fi | 1216 | fi |
3180 | 1199 | exit ;; | 1217 | exit ;; |
3181 | 1200 | BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. | 1218 | BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. |
3182 | 1201 | echo powerpc-be-beos | 1219 | echo powerpc-be-beos |
3183 | 1202 | exit ;; | 1220 | exit ;; |
3184 | @@ -1206,6 +1224,12 @@ | |||
3185 | 1206 | BePC:BeOS:*:*) # BeOS running on Intel PC compatible. | 1224 | BePC:BeOS:*:*) # BeOS running on Intel PC compatible. |
3186 | 1207 | echo i586-pc-beos | 1225 | echo i586-pc-beos |
3187 | 1208 | exit ;; | 1226 | exit ;; |
3188 | 1227 | BePC:Haiku:*:*) # Haiku running on Intel PC compatible. | ||
3189 | 1228 | echo i586-pc-haiku | ||
3190 | 1229 | exit ;; | ||
3191 | 1230 | x86_64:Haiku:*:*) | ||
3192 | 1231 | echo x86_64-unknown-haiku | ||
3193 | 1232 | exit ;; | ||
3194 | 1209 | SX-4:SUPER-UX:*:*) | 1233 | SX-4:SUPER-UX:*:*) |
3195 | 1210 | echo sx4-nec-superux${UNAME_RELEASE} | 1234 | echo sx4-nec-superux${UNAME_RELEASE} |
3196 | 1211 | exit ;; | 1235 | exit ;; |
3197 | @@ -1232,9 +1256,21 @@ | |||
3198 | 1232 | exit ;; | 1256 | exit ;; |
3199 | 1233 | *:Darwin:*:*) | 1257 | *:Darwin:*:*) |
3200 | 1234 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown | 1258 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown |
3204 | 1235 | case $UNAME_PROCESSOR in | 1259 | eval $set_cc_for_build |
3205 | 1236 | unknown) UNAME_PROCESSOR=powerpc ;; | 1260 | if test "$UNAME_PROCESSOR" = unknown ; then |
3206 | 1237 | esac | 1261 | UNAME_PROCESSOR=powerpc |
3207 | 1262 | fi | ||
3208 | 1263 | if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | ||
3209 | 1264 | if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ | ||
3210 | 1265 | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | ||
3211 | 1266 | grep IS_64BIT_ARCH >/dev/null | ||
3212 | 1267 | then | ||
3213 | 1268 | case $UNAME_PROCESSOR in | ||
3214 | 1269 | i386) UNAME_PROCESSOR=x86_64 ;; | ||
3215 | 1270 | powerpc) UNAME_PROCESSOR=powerpc64 ;; | ||
3216 | 1271 | esac | ||
3217 | 1272 | fi | ||
3218 | 1273 | fi | ||
3219 | 1238 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} | 1274 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} |
3220 | 1239 | exit ;; | 1275 | exit ;; |
3221 | 1240 | *:procnto*:*:* | *:QNX:[0123456789]*:*) | 1276 | *:procnto*:*:* | *:QNX:[0123456789]*:*) |
3222 | @@ -1248,7 +1284,10 @@ | |||
3223 | 1248 | *:QNX:*:4*) | 1284 | *:QNX:*:4*) |
3224 | 1249 | echo i386-pc-qnx | 1285 | echo i386-pc-qnx |
3225 | 1250 | exit ;; | 1286 | exit ;; |
3227 | 1251 | NSE-?:NONSTOP_KERNEL:*:*) | 1287 | NEO-?:NONSTOP_KERNEL:*:*) |
3228 | 1288 | echo neo-tandem-nsk${UNAME_RELEASE} | ||
3229 | 1289 | exit ;; | ||
3230 | 1290 | NSE-*:NONSTOP_KERNEL:*:*) | ||
3231 | 1252 | echo nse-tandem-nsk${UNAME_RELEASE} | 1291 | echo nse-tandem-nsk${UNAME_RELEASE} |
3232 | 1253 | exit ;; | 1292 | exit ;; |
3233 | 1254 | NSR-?:NONSTOP_KERNEL:*:*) | 1293 | NSR-?:NONSTOP_KERNEL:*:*) |
3234 | @@ -1293,13 +1332,13 @@ | |||
3235 | 1293 | echo pdp10-unknown-its | 1332 | echo pdp10-unknown-its |
3236 | 1294 | exit ;; | 1333 | exit ;; |
3237 | 1295 | SEI:*:*:SEIUX) | 1334 | SEI:*:*:SEIUX) |
3239 | 1296 | echo mips-sei-seiux${UNAME_RELEASE} | 1335 | echo mips-sei-seiux${UNAME_RELEASE} |
3240 | 1297 | exit ;; | 1336 | exit ;; |
3241 | 1298 | *:DragonFly:*:*) | 1337 | *:DragonFly:*:*) |
3242 | 1299 | echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` | 1338 | echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` |
3243 | 1300 | exit ;; | 1339 | exit ;; |
3244 | 1301 | *:*VMS:*:*) | 1340 | *:*VMS:*:*) |
3246 | 1302 | UNAME_MACHINE=`(uname -p) 2>/dev/null` | 1341 | UNAME_MACHINE=`(uname -p) 2>/dev/null` |
3247 | 1303 | case "${UNAME_MACHINE}" in | 1342 | case "${UNAME_MACHINE}" in |
3248 | 1304 | A*) echo alpha-dec-vms ; exit ;; | 1343 | A*) echo alpha-dec-vms ; exit ;; |
3249 | 1305 | I*) echo ia64-dec-vms ; exit ;; | 1344 | I*) echo ia64-dec-vms ; exit ;; |
3250 | @@ -1314,11 +1353,14 @@ | |||
3251 | 1314 | i*86:rdos:*:*) | 1353 | i*86:rdos:*:*) |
3252 | 1315 | echo ${UNAME_MACHINE}-pc-rdos | 1354 | echo ${UNAME_MACHINE}-pc-rdos |
3253 | 1316 | exit ;; | 1355 | exit ;; |
3254 | 1356 | i*86:AROS:*:*) | ||
3255 | 1357 | echo ${UNAME_MACHINE}-pc-aros | ||
3256 | 1358 | exit ;; | ||
3257 | 1359 | x86_64:VMkernel:*:*) | ||
3258 | 1360 | echo ${UNAME_MACHINE}-unknown-esx | ||
3259 | 1361 | exit ;; | ||
3260 | 1317 | esac | 1362 | esac |
3261 | 1318 | 1363 | ||
3262 | 1319 | #echo '(No uname command or uname output not recognized.)' 1>&2 | ||
3263 | 1320 | #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 | ||
3264 | 1321 | |||
3265 | 1322 | eval $set_cc_for_build | 1364 | eval $set_cc_for_build |
3266 | 1323 | cat >$dummy.c <<EOF | 1365 | cat >$dummy.c <<EOF |
3267 | 1324 | #ifdef _SEQUENT_ | 1366 | #ifdef _SEQUENT_ |
3268 | @@ -1336,11 +1378,11 @@ | |||
3269 | 1336 | #include <sys/param.h> | 1378 | #include <sys/param.h> |
3270 | 1337 | printf ("m68k-sony-newsos%s\n", | 1379 | printf ("m68k-sony-newsos%s\n", |
3271 | 1338 | #ifdef NEWSOS4 | 1380 | #ifdef NEWSOS4 |
3273 | 1339 | "4" | 1381 | "4" |
3274 | 1340 | #else | 1382 | #else |
3276 | 1341 | "" | 1383 | "" |
3277 | 1342 | #endif | 1384 | #endif |
3279 | 1343 | ); exit (0); | 1385 | ); exit (0); |
3280 | 1344 | #endif | 1386 | #endif |
3281 | 1345 | #endif | 1387 | #endif |
3282 | 1346 | 1388 | ||
3283 | @@ -1474,9 +1516,9 @@ | |||
3284 | 1474 | the operating system you are using. It is advised that you | 1516 | the operating system you are using. It is advised that you |
3285 | 1475 | download the most up to date version of the config scripts from | 1517 | download the most up to date version of the config scripts from |
3286 | 1476 | 1518 | ||
3288 | 1477 | http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess | 1519 | http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD |
3289 | 1478 | and | 1520 | and |
3291 | 1479 | http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub | 1521 | http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD |
3292 | 1480 | 1522 | ||
3293 | 1481 | If the version you run ($0) is already up to date, please | 1523 | If the version you run ($0) is already up to date, please |
3294 | 1482 | send the following data and any information you think might be | 1524 | send the following data and any information you think might be |
3295 | 1483 | 1525 | ||
3296 | === modified file 'debian/build/config.sub' | |||
3297 | --- debian/build/config.sub 2007-05-05 20:10:00 +0000 | |||
3298 | +++ debian/build/config.sub 2014-05-10 06:44:29 +0000 | |||
3299 | @@ -1,44 +1,40 @@ | |||
3300 | 1 | #! /bin/sh | 1 | #! /bin/sh |
3301 | 2 | # Configuration validation subroutine script. | 2 | # Configuration validation subroutine script. |
3315 | 3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | 3 | # Copyright 1992-2013 Free Software Foundation, Inc. |
3316 | 4 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, | 4 | |
3317 | 5 | # Inc. | 5 | timestamp='2013-08-10' |
3318 | 6 | 6 | ||
3319 | 7 | timestamp='2007-01-18' | 7 | # This file is free software; you can redistribute it and/or modify it |
3320 | 8 | 8 | # under the terms of the GNU General Public License as published by | |
3321 | 9 | # This file is (in principle) common to ALL GNU software. | 9 | # the Free Software Foundation; either version 3 of the License, or |
3309 | 10 | # The presence of a machine in this file suggests that SOME GNU software | ||
3310 | 11 | # can handle that machine. It does not imply ALL GNU software can. | ||
3311 | 12 | # | ||
3312 | 13 | # This file is free software; you can redistribute it and/or modify | ||
3313 | 14 | # it under the terms of the GNU General Public License as published by | ||
3314 | 15 | # the Free Software Foundation; either version 2 of the License, or | ||
3322 | 16 | # (at your option) any later version. | 10 | # (at your option) any later version. |
3323 | 17 | # | 11 | # |
3328 | 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 |
3329 | 19 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
3330 | 20 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
3331 | 21 | # GNU General Public License for more details. | 15 | # General Public License for more details. |
3332 | 22 | # | 16 | # |
3333 | 23 | # You should have received a copy of the GNU General Public License | 17 | # You should have received a copy of the GNU General Public License |
3337 | 24 | # along with this program; if not, write to the Free Software | 18 | # along with this program; if not, see <http://www.gnu.org/licenses/>. |
3335 | 25 | # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA | ||
3336 | 26 | # 02110-1301, USA. | ||
3338 | 27 | # | 19 | # |
3339 | 28 | # As a special exception to the GNU General Public License, if you | 20 | # As a special exception to the GNU General Public License, if you |
3340 | 29 | # distribute this file as part of a program that contains a | 21 | # distribute this file as part of a program that contains a |
3341 | 30 | # configuration script generated by Autoconf, you may include it under | 22 | # configuration script generated by Autoconf, you may include it under |
3347 | 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 |
3348 | 32 | 24 | # program. This Exception is an additional permission under section 7 | |
3349 | 33 | 25 | # of the GNU General Public License, version 3 ("GPLv3"). | |
3350 | 34 | # Please send patches to <config-patches@gnu.org>. Submit a context | 26 | |
3351 | 35 | # diff and a properly formatted ChangeLog entry. | 27 | |
3352 | 28 | # Please send patches with a ChangeLog entry to config-patches@gnu.org. | ||
3353 | 36 | # | 29 | # |
3354 | 37 | # Configuration subroutine to validate and canonicalize a configuration type. | 30 | # Configuration subroutine to validate and canonicalize a configuration type. |
3355 | 38 | # Supply the specified configuration type as an argument. | 31 | # Supply the specified configuration type as an argument. |
3356 | 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. |
3357 | 40 | # Otherwise, we print the canonical config type on stdout and succeed. | 33 | # Otherwise, we print the canonical config type on stdout and succeed. |
3358 | 41 | 34 | ||
3359 | 35 | # You can get the latest version of this script from: | ||
3360 | 36 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD | ||
3361 | 37 | |||
3362 | 42 | # This file is supposed to be the same for all GNU packages | 38 | # This file is supposed to be the same for all GNU packages |
3363 | 43 | # and recognize all the CPU types, system types and aliases | 39 | # and recognize all the CPU types, system types and aliases |
3364 | 44 | # that are meaningful with *any* GNU software. | 40 | # that are meaningful with *any* GNU software. |
3365 | @@ -72,8 +68,7 @@ | |||
3366 | 72 | version="\ | 68 | version="\ |
3367 | 73 | GNU config.sub ($timestamp) | 69 | GNU config.sub ($timestamp) |
3368 | 74 | 70 | ||
3371 | 75 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 | 71 | Copyright 1992-2013 Free Software Foundation, Inc. |
3370 | 76 | Free Software Foundation, Inc. | ||
3372 | 77 | 72 | ||
3373 | 78 | This is free software; see the source for copying conditions. There is NO | 73 | This is free software; see the source for copying conditions. There is NO |
3374 | 79 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | 74 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
3375 | @@ -120,12 +115,18 @@ | |||
3376 | 120 | # Here we must recognize all the valid KERNEL-OS combinations. | 115 | # Here we must recognize all the valid KERNEL-OS combinations. |
3377 | 121 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` | 116 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
3378 | 122 | case $maybe_os in | 117 | case $maybe_os in |
3381 | 123 | nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ | 118 | nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ |
3382 | 124 | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ | 119 | linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ |
3383 | 120 | knetbsd*-gnu* | netbsd*-gnu* | \ | ||
3384 | 121 | kopensolaris*-gnu* | \ | ||
3385 | 125 | storm-chaos* | os2-emx* | rtmk-nova*) | 122 | storm-chaos* | os2-emx* | rtmk-nova*) |
3386 | 126 | os=-$maybe_os | 123 | os=-$maybe_os |
3387 | 127 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` | 124 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
3388 | 128 | ;; | 125 | ;; |
3389 | 126 | android-linux) | ||
3390 | 127 | os=-linux-android | ||
3391 | 128 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown | ||
3392 | 129 | ;; | ||
3393 | 129 | *) | 130 | *) |
3394 | 130 | basic_machine=`echo $1 | sed 's/-[^-]*$//'` | 131 | basic_machine=`echo $1 | sed 's/-[^-]*$//'` |
3395 | 131 | if [ $basic_machine != $1 ] | 132 | if [ $basic_machine != $1 ] |
3396 | @@ -148,10 +149,13 @@ | |||
3397 | 148 | -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ | 149 | -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ |
3398 | 149 | -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ | 150 | -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
3399 | 150 | -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ | 151 | -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
3401 | 151 | -apple | -axis | -knuth | -cray) | 152 | -apple | -axis | -knuth | -cray | -microblaze*) |
3402 | 152 | os= | 153 | os= |
3403 | 153 | basic_machine=$1 | 154 | basic_machine=$1 |
3404 | 154 | ;; | 155 | ;; |
3405 | 156 | -bluegene*) | ||
3406 | 157 | os=-cnk | ||
3407 | 158 | ;; | ||
3408 | 155 | -sim | -cisco | -oki | -wec | -winbond) | 159 | -sim | -cisco | -oki | -wec | -winbond) |
3409 | 156 | os= | 160 | os= |
3410 | 157 | basic_machine=$1 | 161 | basic_machine=$1 |
3411 | @@ -166,10 +170,10 @@ | |||
3412 | 166 | os=-chorusos | 170 | os=-chorusos |
3413 | 167 | basic_machine=$1 | 171 | basic_machine=$1 |
3414 | 168 | ;; | 172 | ;; |
3417 | 169 | -chorusrdb) | 173 | -chorusrdb) |
3418 | 170 | os=-chorusrdb | 174 | os=-chorusrdb |
3419 | 171 | basic_machine=$1 | 175 | basic_machine=$1 |
3421 | 172 | ;; | 176 | ;; |
3422 | 173 | -hiux*) | 177 | -hiux*) |
3423 | 174 | os=-hiuxwe2 | 178 | os=-hiuxwe2 |
3424 | 175 | ;; | 179 | ;; |
3425 | @@ -214,6 +218,12 @@ | |||
3426 | 214 | -isc*) | 218 | -isc*) |
3427 | 215 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` | 219 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
3428 | 216 | ;; | 220 | ;; |
3429 | 221 | -lynx*178) | ||
3430 | 222 | os=-lynxos178 | ||
3431 | 223 | ;; | ||
3432 | 224 | -lynx*5) | ||
3433 | 225 | os=-lynxos5 | ||
3434 | 226 | ;; | ||
3435 | 217 | -lynx*) | 227 | -lynx*) |
3436 | 218 | os=-lynxos | 228 | os=-lynxos |
3437 | 219 | ;; | 229 | ;; |
3438 | @@ -238,24 +248,34 @@ | |||
3439 | 238 | # Some are omitted here because they have special meanings below. | 248 | # Some are omitted here because they have special meanings below. |
3440 | 239 | 1750a | 580 \ | 249 | 1750a | 580 \ |
3441 | 240 | | a29k \ | 250 | | a29k \ |
3442 | 251 | | aarch64 | aarch64_be \ | ||
3443 | 241 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | 252 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
3444 | 242 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | 253 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
3445 | 243 | | am33_2.0 \ | 254 | | am33_2.0 \ |
3447 | 244 | | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | 255 | | arc | arceb \ |
3448 | 256 | | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | ||
3449 | 257 | | avr | avr32 \ | ||
3450 | 258 | | be32 | be64 \ | ||
3451 | 245 | | bfin \ | 259 | | bfin \ |
3453 | 246 | | c4x | clipper \ | 260 | | c4x | c8051 | clipper \ |
3454 | 247 | | d10v | d30v | dlx | dsp16xx \ | 261 | | d10v | d30v | dlx | dsp16xx \ |
3455 | 262 | | epiphany \ | ||
3456 | 248 | | fido | fr30 | frv \ | 263 | | fido | fr30 | frv \ |
3457 | 249 | | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | 264 | | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
3458 | 265 | | hexagon \ | ||
3459 | 250 | | i370 | i860 | i960 | ia64 \ | 266 | | i370 | i860 | i960 | ia64 \ |
3460 | 251 | | ip2k | iq2000 \ | 267 | | ip2k | iq2000 \ |
3461 | 268 | | le32 | le64 \ | ||
3462 | 269 | | lm32 \ | ||
3463 | 252 | | m32c | m32r | m32rle | m68000 | m68k | m88k \ | 270 | | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
3465 | 253 | | maxq | mb | microblaze | mcore | mep \ | 271 | | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ |
3466 | 254 | | mips | mipsbe | mipseb | mipsel | mipsle \ | 272 | | mips | mipsbe | mipseb | mipsel | mipsle \ |
3467 | 255 | | mips16 \ | 273 | | mips16 \ |
3468 | 256 | | mips64 | mips64el \ | 274 | | mips64 | mips64el \ |
3469 | 275 | | mips64octeon | mips64octeonel \ | ||
3470 | 276 | | mips64orion | mips64orionel \ | ||
3471 | 277 | | mips64r5900 | mips64r5900el \ | ||
3472 | 257 | | mips64vr | mips64vrel \ | 278 | | mips64vr | mips64vrel \ |
3473 | 258 | | mips64orion | mips64orionel \ | ||
3474 | 259 | | mips64vr4100 | mips64vr4100el \ | 279 | | mips64vr4100 | mips64vr4100el \ |
3475 | 260 | | mips64vr4300 | mips64vr4300el \ | 280 | | mips64vr4300 | mips64vr4300el \ |
3476 | 261 | | mips64vr5000 | mips64vr5000el \ | 281 | | mips64vr5000 | mips64vr5000el \ |
3477 | @@ -266,31 +286,45 @@ | |||
3478 | 266 | | mipsisa64r2 | mipsisa64r2el \ | 286 | | mipsisa64r2 | mipsisa64r2el \ |
3479 | 267 | | mipsisa64sb1 | mipsisa64sb1el \ | 287 | | mipsisa64sb1 | mipsisa64sb1el \ |
3480 | 268 | | mipsisa64sr71k | mipsisa64sr71kel \ | 288 | | mipsisa64sr71k | mipsisa64sr71kel \ |
3481 | 289 | | mipsr5900 | mipsr5900el \ | ||
3482 | 269 | | mipstx39 | mipstx39el \ | 290 | | mipstx39 | mipstx39el \ |
3483 | 270 | | mn10200 | mn10300 \ | 291 | | mn10200 | mn10300 \ |
3484 | 292 | | moxie \ | ||
3485 | 271 | | mt \ | 293 | | mt \ |
3486 | 272 | | msp430 \ | 294 | | msp430 \ |
3488 | 273 | | nios | nios2 \ | 295 | | nds32 | nds32le | nds32be \ |
3489 | 296 | | nios | nios2 | nios2eb | nios2el \ | ||
3490 | 274 | | ns16k | ns32k \ | 297 | | ns16k | ns32k \ |
3492 | 275 | | or32 \ | 298 | | open8 \ |
3493 | 299 | | or1k | or32 \ | ||
3494 | 276 | | pdp10 | pdp11 | pj | pjl \ | 300 | | pdp10 | pdp11 | pj | pjl \ |
3496 | 277 | | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | 301 | | powerpc | powerpc64 | powerpc64le | powerpcle \ |
3497 | 278 | | pyramid \ | 302 | | pyramid \ |
3498 | 303 | | rl78 | rx \ | ||
3499 | 279 | | score \ | 304 | | score \ |
3501 | 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 \ |
3502 | 281 | | sh64 | sh64le \ | 306 | | sh64 | sh64le \ |
3503 | 282 | | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | 307 | | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ |
3504 | 283 | | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | 308 | | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
3508 | 284 | | spu | strongarm \ | 309 | | spu \ |
3509 | 285 | | tahoe | thumb | tic4x | tic80 | tron \ | 310 | | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ |
3510 | 286 | | v850 | v850e \ | 311 | | ubicom32 \ |
3511 | 312 | | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | ||
3512 | 287 | | we32k \ | 313 | | we32k \ |
3515 | 288 | | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | 314 | | x86 | xc16x | xstormy16 | xtensa \ |
3516 | 289 | | z8k) | 315 | | z8k | z80) |
3517 | 290 | basic_machine=$basic_machine-unknown | 316 | basic_machine=$basic_machine-unknown |
3518 | 291 | ;; | 317 | ;; |
3521 | 292 | m6811 | m68hc11 | m6812 | m68hc12) | 318 | c54x) |
3522 | 293 | # Motorola 68HC11/12. | 319 | basic_machine=tic54x-unknown |
3523 | 320 | ;; | ||
3524 | 321 | c55x) | ||
3525 | 322 | basic_machine=tic55x-unknown | ||
3526 | 323 | ;; | ||
3527 | 324 | c6x) | ||
3528 | 325 | basic_machine=tic6x-unknown | ||
3529 | 326 | ;; | ||
3530 | 327 | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) | ||
3531 | 294 | basic_machine=$basic_machine-unknown | 328 | basic_machine=$basic_machine-unknown |
3532 | 295 | os=-none | 329 | os=-none |
3533 | 296 | ;; | 330 | ;; |
3534 | @@ -300,6 +334,21 @@ | |||
3535 | 300 | basic_machine=mt-unknown | 334 | basic_machine=mt-unknown |
3536 | 301 | ;; | 335 | ;; |
3537 | 302 | 336 | ||
3538 | 337 | strongarm | thumb | xscale) | ||
3539 | 338 | basic_machine=arm-unknown | ||
3540 | 339 | ;; | ||
3541 | 340 | xgate) | ||
3542 | 341 | basic_machine=$basic_machine-unknown | ||
3543 | 342 | os=-none | ||
3544 | 343 | ;; | ||
3545 | 344 | xscaleeb) | ||
3546 | 345 | basic_machine=armeb-unknown | ||
3547 | 346 | ;; | ||
3548 | 347 | |||
3549 | 348 | xscaleel) | ||
3550 | 349 | basic_machine=armel-unknown | ||
3551 | 350 | ;; | ||
3552 | 351 | |||
3553 | 303 | # We use `pc' rather than `unknown' | 352 | # We use `pc' rather than `unknown' |
3554 | 304 | # because (1) that's what they normally are, and | 353 | # because (1) that's what they normally are, and |
3555 | 305 | # (2) the word "unknown" tends to confuse beginning users. | 354 | # (2) the word "unknown" tends to confuse beginning users. |
3556 | @@ -314,29 +363,37 @@ | |||
3557 | 314 | # Recognize the basic CPU types with company name. | 363 | # Recognize the basic CPU types with company name. |
3558 | 315 | 580-* \ | 364 | 580-* \ |
3559 | 316 | | a29k-* \ | 365 | | a29k-* \ |
3560 | 366 | | aarch64-* | aarch64_be-* \ | ||
3561 | 317 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | 367 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
3562 | 318 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | 368 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
3564 | 319 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | 369 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ |
3565 | 320 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | 370 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
3566 | 321 | | avr-* | avr32-* \ | 371 | | avr-* | avr32-* \ |
3567 | 372 | | be32-* | be64-* \ | ||
3568 | 322 | | bfin-* | bs2000-* \ | 373 | | bfin-* | bs2000-* \ |
3571 | 323 | | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | 374 | | c[123]* | c30-* | [cjt]90-* | c4x-* \ |
3572 | 324 | | clipper-* | craynv-* | cydra-* \ | 375 | | c8051-* | clipper-* | craynv-* | cydra-* \ |
3573 | 325 | | d10v-* | d30v-* | dlx-* \ | 376 | | d10v-* | d30v-* | dlx-* \ |
3574 | 326 | | elxsi-* \ | 377 | | elxsi-* \ |
3575 | 327 | | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | 378 | | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
3576 | 328 | | h8300-* | h8500-* \ | 379 | | h8300-* | h8500-* \ |
3577 | 329 | | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | 380 | | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
3578 | 381 | | hexagon-* \ | ||
3579 | 330 | | i*86-* | i860-* | i960-* | ia64-* \ | 382 | | i*86-* | i860-* | i960-* | ia64-* \ |
3580 | 331 | | ip2k-* | iq2000-* \ | 383 | | ip2k-* | iq2000-* \ |
3581 | 384 | | le32-* | le64-* \ | ||
3582 | 385 | | lm32-* \ | ||
3583 | 332 | | m32c-* | m32r-* | m32rle-* \ | 386 | | m32c-* | m32r-* | m32rle-* \ |
3584 | 333 | | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | 387 | | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
3586 | 334 | | m88110-* | m88k-* | maxq-* | mcore-* \ | 388 | | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ |
3587 | 389 | | microblaze-* | microblazeel-* \ | ||
3588 | 335 | | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | 390 | | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
3589 | 336 | | mips16-* \ | 391 | | mips16-* \ |
3590 | 337 | | mips64-* | mips64el-* \ | 392 | | mips64-* | mips64el-* \ |
3591 | 393 | | mips64octeon-* | mips64octeonel-* \ | ||
3592 | 394 | | mips64orion-* | mips64orionel-* \ | ||
3593 | 395 | | mips64r5900-* | mips64r5900el-* \ | ||
3594 | 338 | | mips64vr-* | mips64vrel-* \ | 396 | | mips64vr-* | mips64vrel-* \ |
3595 | 339 | | mips64orion-* | mips64orionel-* \ | ||
3596 | 340 | | mips64vr4100-* | mips64vr4100el-* \ | 397 | | mips64vr4100-* | mips64vr4100el-* \ |
3597 | 341 | | mips64vr4300-* | mips64vr4300el-* \ | 398 | | mips64vr4300-* | mips64vr4300el-* \ |
3598 | 342 | | mips64vr5000-* | mips64vr5000el-* \ | 399 | | mips64vr5000-* | mips64vr5000el-* \ |
3599 | @@ -347,31 +404,41 @@ | |||
3600 | 347 | | mipsisa64r2-* | mipsisa64r2el-* \ | 404 | | mipsisa64r2-* | mipsisa64r2el-* \ |
3601 | 348 | | mipsisa64sb1-* | mipsisa64sb1el-* \ | 405 | | mipsisa64sb1-* | mipsisa64sb1el-* \ |
3602 | 349 | | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | 406 | | mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
3603 | 407 | | mipsr5900-* | mipsr5900el-* \ | ||
3604 | 350 | | mipstx39-* | mipstx39el-* \ | 408 | | mipstx39-* | mipstx39el-* \ |
3605 | 351 | | mmix-* \ | 409 | | mmix-* \ |
3606 | 352 | | mt-* \ | 410 | | mt-* \ |
3607 | 353 | | msp430-* \ | 411 | | msp430-* \ |
3609 | 354 | | nios-* | nios2-* \ | 412 | | nds32-* | nds32le-* | nds32be-* \ |
3610 | 413 | | nios-* | nios2-* | nios2eb-* | nios2el-* \ | ||
3611 | 355 | | none-* | np1-* | ns16k-* | ns32k-* \ | 414 | | none-* | np1-* | ns16k-* | ns32k-* \ |
3612 | 415 | | open8-* \ | ||
3613 | 356 | | orion-* \ | 416 | | orion-* \ |
3614 | 357 | | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | 417 | | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
3616 | 358 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | 418 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ |
3617 | 359 | | pyramid-* \ | 419 | | pyramid-* \ |
3620 | 360 | | romp-* | rs6000-* \ | 420 | | rl78-* | romp-* | rs6000-* | rx-* \ |
3621 | 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-* \ |
3622 | 362 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | 422 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
3623 | 363 | | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | 423 | | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ |
3624 | 364 | | sparclite-* \ | 424 | | sparclite-* \ |
3627 | 365 | | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | 425 | | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ |
3628 | 366 | | tahoe-* | thumb-* \ | 426 | | tahoe-* \ |
3629 | 367 | | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | 427 | | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ |
3630 | 428 | | tile*-* \ | ||
3631 | 368 | | tron-* \ | 429 | | tron-* \ |
3633 | 369 | | v850-* | v850e-* | vax-* \ | 430 | | ubicom32-* \ |
3634 | 431 | | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ | ||
3635 | 432 | | vax-* \ | ||
3636 | 370 | | we32k-* \ | 433 | | we32k-* \ |
3639 | 371 | | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | 434 | | x86-* | x86_64-* | xc16x-* | xps100-* \ |
3640 | 372 | | xstormy16-* | xtensa-* \ | 435 | | xstormy16-* | xtensa*-* \ |
3641 | 373 | | ymp-* \ | 436 | | ymp-* \ |
3643 | 374 | | z8k-*) | 437 | | z8k-* | z80-*) |
3644 | 438 | ;; | ||
3645 | 439 | # Recognize the basic CPU types without company name, with glob match. | ||
3646 | 440 | xtensa*) | ||
3647 | 441 | basic_machine=$basic_machine-unknown | ||
3648 | 375 | ;; | 442 | ;; |
3649 | 376 | # Recognize the various machine names and aliases which stand | 443 | # Recognize the various machine names and aliases which stand |
3650 | 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. |
3651 | @@ -389,7 +456,7 @@ | |||
3652 | 389 | basic_machine=a29k-amd | 456 | basic_machine=a29k-amd |
3653 | 390 | os=-udi | 457 | os=-udi |
3654 | 391 | ;; | 458 | ;; |
3656 | 392 | abacus) | 459 | abacus) |
3657 | 393 | basic_machine=abacus-unknown | 460 | basic_machine=abacus-unknown |
3658 | 394 | ;; | 461 | ;; |
3659 | 395 | adobe68k) | 462 | adobe68k) |
3660 | @@ -435,6 +502,10 @@ | |||
3661 | 435 | basic_machine=m68k-apollo | 502 | basic_machine=m68k-apollo |
3662 | 436 | os=-bsd | 503 | os=-bsd |
3663 | 437 | ;; | 504 | ;; |
3664 | 505 | aros) | ||
3665 | 506 | basic_machine=i386-pc | ||
3666 | 507 | os=-aros | ||
3667 | 508 | ;; | ||
3668 | 438 | aux) | 509 | aux) |
3669 | 439 | basic_machine=m68k-apple | 510 | basic_machine=m68k-apple |
3670 | 440 | os=-aux | 511 | os=-aux |
3671 | @@ -443,10 +514,35 @@ | |||
3672 | 443 | basic_machine=ns32k-sequent | 514 | basic_machine=ns32k-sequent |
3673 | 444 | os=-dynix | 515 | os=-dynix |
3674 | 445 | ;; | 516 | ;; |
3675 | 517 | blackfin) | ||
3676 | 518 | basic_machine=bfin-unknown | ||
3677 | 519 | os=-linux | ||
3678 | 520 | ;; | ||
3679 | 521 | blackfin-*) | ||
3680 | 522 | basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` | ||
3681 | 523 | os=-linux | ||
3682 | 524 | ;; | ||
3683 | 525 | bluegene*) | ||
3684 | 526 | basic_machine=powerpc-ibm | ||
3685 | 527 | os=-cnk | ||
3686 | 528 | ;; | ||
3687 | 529 | c54x-*) | ||
3688 | 530 | basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` | ||
3689 | 531 | ;; | ||
3690 | 532 | c55x-*) | ||
3691 | 533 | basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` | ||
3692 | 534 | ;; | ||
3693 | 535 | c6x-*) | ||
3694 | 536 | basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` | ||
3695 | 537 | ;; | ||
3696 | 446 | c90) | 538 | c90) |
3697 | 447 | basic_machine=c90-cray | 539 | basic_machine=c90-cray |
3698 | 448 | os=-unicos | 540 | os=-unicos |
3699 | 449 | ;; | 541 | ;; |
3700 | 542 | cegcc) | ||
3701 | 543 | basic_machine=arm-unknown | ||
3702 | 544 | os=-cegcc | ||
3703 | 545 | ;; | ||
3704 | 450 | convex-c1) | 546 | convex-c1) |
3705 | 451 | basic_machine=c1-convex | 547 | basic_machine=c1-convex |
3706 | 452 | os=-bsd | 548 | os=-bsd |
3707 | @@ -475,8 +571,8 @@ | |||
3708 | 475 | basic_machine=craynv-cray | 571 | basic_machine=craynv-cray |
3709 | 476 | os=-unicosmp | 572 | os=-unicosmp |
3710 | 477 | ;; | 573 | ;; |
3713 | 478 | cr16c) | 574 | cr16 | cr16-*) |
3714 | 479 | basic_machine=cr16c-unknown | 575 | basic_machine=cr16-unknown |
3715 | 480 | os=-elf | 576 | os=-elf |
3716 | 481 | ;; | 577 | ;; |
3717 | 482 | crds | unos) | 578 | crds | unos) |
3718 | @@ -514,6 +610,10 @@ | |||
3719 | 514 | basic_machine=m88k-motorola | 610 | basic_machine=m88k-motorola |
3720 | 515 | os=-sysv3 | 611 | os=-sysv3 |
3721 | 516 | ;; | 612 | ;; |
3722 | 613 | dicos) | ||
3723 | 614 | basic_machine=i686-pc | ||
3724 | 615 | os=-dicos | ||
3725 | 616 | ;; | ||
3726 | 517 | djgpp) | 617 | djgpp) |
3727 | 518 | basic_machine=i586-pc | 618 | basic_machine=i586-pc |
3728 | 519 | os=-msdosdjgpp | 619 | os=-msdosdjgpp |
3729 | @@ -629,7 +729,6 @@ | |||
3730 | 629 | i370-ibm* | ibm*) | 729 | i370-ibm* | ibm*) |
3731 | 630 | basic_machine=i370-ibm | 730 | basic_machine=i370-ibm |
3732 | 631 | ;; | 731 | ;; |
3733 | 632 | # I'm not sure what "Sysv32" means. Should this be sysv3.2? | ||
3734 | 633 | i*86v32) | 732 | i*86v32) |
3735 | 634 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` | 733 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
3736 | 635 | os=-sysv32 | 734 | os=-sysv32 |
3737 | @@ -668,6 +767,14 @@ | |||
3738 | 668 | basic_machine=m68k-isi | 767 | basic_machine=m68k-isi |
3739 | 669 | os=-sysv | 768 | os=-sysv |
3740 | 670 | ;; | 769 | ;; |
3741 | 770 | m68knommu) | ||
3742 | 771 | basic_machine=m68k-unknown | ||
3743 | 772 | os=-linux | ||
3744 | 773 | ;; | ||
3745 | 774 | m68knommu-*) | ||
3746 | 775 | basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` | ||
3747 | 776 | os=-linux | ||
3748 | 777 | ;; | ||
3749 | 671 | m88k-omron*) | 778 | m88k-omron*) |
3750 | 672 | basic_machine=m88k-omron | 779 | basic_machine=m88k-omron |
3751 | 673 | ;; | 780 | ;; |
3752 | @@ -679,10 +786,21 @@ | |||
3753 | 679 | basic_machine=ns32k-utek | 786 | basic_machine=ns32k-utek |
3754 | 680 | os=-sysv | 787 | os=-sysv |
3755 | 681 | ;; | 788 | ;; |
3756 | 789 | microblaze*) | ||
3757 | 790 | basic_machine=microblaze-xilinx | ||
3758 | 791 | ;; | ||
3759 | 792 | mingw64) | ||
3760 | 793 | basic_machine=x86_64-pc | ||
3761 | 794 | os=-mingw64 | ||
3762 | 795 | ;; | ||
3763 | 682 | mingw32) | 796 | mingw32) |
3765 | 683 | basic_machine=i386-pc | 797 | basic_machine=i686-pc |
3766 | 684 | os=-mingw32 | 798 | os=-mingw32 |
3767 | 685 | ;; | 799 | ;; |
3768 | 800 | mingw32ce) | ||
3769 | 801 | basic_machine=arm-unknown | ||
3770 | 802 | os=-mingw32ce | ||
3771 | 803 | ;; | ||
3772 | 686 | miniframe) | 804 | miniframe) |
3773 | 687 | basic_machine=m68000-convergent | 805 | basic_machine=m68000-convergent |
3774 | 688 | ;; | 806 | ;; |
3775 | @@ -711,10 +829,18 @@ | |||
3776 | 711 | ms1-*) | 829 | ms1-*) |
3777 | 712 | basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` | 830 | basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` |
3778 | 713 | ;; | 831 | ;; |
3779 | 832 | msys) | ||
3780 | 833 | basic_machine=i686-pc | ||
3781 | 834 | os=-msys | ||
3782 | 835 | ;; | ||
3783 | 714 | mvs) | 836 | mvs) |
3784 | 715 | basic_machine=i370-ibm | 837 | basic_machine=i370-ibm |
3785 | 716 | os=-mvs | 838 | os=-mvs |
3786 | 717 | ;; | 839 | ;; |
3787 | 840 | nacl) | ||
3788 | 841 | basic_machine=le32-unknown | ||
3789 | 842 | os=-nacl | ||
3790 | 843 | ;; | ||
3791 | 718 | ncr3000) | 844 | ncr3000) |
3792 | 719 | basic_machine=i486-ncr | 845 | basic_machine=i486-ncr |
3793 | 720 | os=-sysv4 | 846 | os=-sysv4 |
3794 | @@ -779,6 +905,12 @@ | |||
3795 | 779 | np1) | 905 | np1) |
3796 | 780 | basic_machine=np1-gould | 906 | basic_machine=np1-gould |
3797 | 781 | ;; | 907 | ;; |
3798 | 908 | neo-tandem) | ||
3799 | 909 | basic_machine=neo-tandem | ||
3800 | 910 | ;; | ||
3801 | 911 | nse-tandem) | ||
3802 | 912 | basic_machine=nse-tandem | ||
3803 | 913 | ;; | ||
3804 | 782 | nsr-tandem) | 914 | nsr-tandem) |
3805 | 783 | basic_machine=nsr-tandem | 915 | basic_machine=nsr-tandem |
3806 | 784 | ;; | 916 | ;; |
3807 | @@ -809,6 +941,14 @@ | |||
3808 | 809 | basic_machine=i860-intel | 941 | basic_machine=i860-intel |
3809 | 810 | os=-osf | 942 | os=-osf |
3810 | 811 | ;; | 943 | ;; |
3811 | 944 | parisc) | ||
3812 | 945 | basic_machine=hppa-unknown | ||
3813 | 946 | os=-linux | ||
3814 | 947 | ;; | ||
3815 | 948 | parisc-*) | ||
3816 | 949 | basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` | ||
3817 | 950 | os=-linux | ||
3818 | 951 | ;; | ||
3819 | 812 | pbd) | 952 | pbd) |
3820 | 813 | basic_machine=sparc-tti | 953 | basic_machine=sparc-tti |
3821 | 814 | ;; | 954 | ;; |
3822 | @@ -853,9 +993,10 @@ | |||
3823 | 853 | ;; | 993 | ;; |
3824 | 854 | power) basic_machine=power-ibm | 994 | power) basic_machine=power-ibm |
3825 | 855 | ;; | 995 | ;; |
3827 | 856 | ppc) basic_machine=powerpc-unknown | 996 | ppc | ppcbe) basic_machine=powerpc-unknown |
3828 | 857 | ;; | 997 | ;; |
3830 | 858 | ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` | 998 | ppc-* | ppcbe-*) |
3831 | 999 | basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` | ||
3832 | 859 | ;; | 1000 | ;; |
3833 | 860 | ppcle | powerpclittle | ppc-le | powerpc-little) | 1001 | ppcle | powerpclittle | ppc-le | powerpc-little) |
3834 | 861 | basic_machine=powerpcle-unknown | 1002 | basic_machine=powerpcle-unknown |
3835 | @@ -880,7 +1021,11 @@ | |||
3836 | 880 | basic_machine=i586-unknown | 1021 | basic_machine=i586-unknown |
3837 | 881 | os=-pw32 | 1022 | os=-pw32 |
3838 | 882 | ;; | 1023 | ;; |
3840 | 883 | rdos) | 1024 | rdos | rdos64) |
3841 | 1025 | basic_machine=x86_64-pc | ||
3842 | 1026 | os=-rdos | ||
3843 | 1027 | ;; | ||
3844 | 1028 | rdos32) | ||
3845 | 884 | basic_machine=i386-pc | 1029 | basic_machine=i386-pc |
3846 | 885 | os=-rdos | 1030 | os=-rdos |
3847 | 886 | ;; | 1031 | ;; |
3848 | @@ -949,6 +1094,9 @@ | |||
3849 | 949 | basic_machine=i860-stratus | 1094 | basic_machine=i860-stratus |
3850 | 950 | os=-sysv4 | 1095 | os=-sysv4 |
3851 | 951 | ;; | 1096 | ;; |
3852 | 1097 | strongarm-* | thumb-*) | ||
3853 | 1098 | basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` | ||
3854 | 1099 | ;; | ||
3855 | 952 | sun2) | 1100 | sun2) |
3856 | 953 | basic_machine=m68000-sun | 1101 | basic_machine=m68000-sun |
3857 | 954 | ;; | 1102 | ;; |
3858 | @@ -1005,17 +1153,9 @@ | |||
3859 | 1005 | basic_machine=t90-cray | 1153 | basic_machine=t90-cray |
3860 | 1006 | os=-unicos | 1154 | os=-unicos |
3861 | 1007 | ;; | 1155 | ;; |
3873 | 1008 | tic54x | c54x*) | 1156 | tile*) |
3874 | 1009 | basic_machine=tic54x-unknown | 1157 | basic_machine=$basic_machine-unknown |
3875 | 1010 | os=-coff | 1158 | os=-linux-gnu |
3865 | 1011 | ;; | ||
3866 | 1012 | tic55x | c55x*) | ||
3867 | 1013 | basic_machine=tic55x-unknown | ||
3868 | 1014 | os=-coff | ||
3869 | 1015 | ;; | ||
3870 | 1016 | tic6x | c6x*) | ||
3871 | 1017 | basic_machine=tic6x-unknown | ||
3872 | 1018 | os=-coff | ||
3876 | 1019 | ;; | 1159 | ;; |
3877 | 1020 | tx39) | 1160 | tx39) |
3878 | 1021 | basic_machine=mipstx39-unknown | 1161 | basic_machine=mipstx39-unknown |
3879 | @@ -1084,6 +1224,9 @@ | |||
3880 | 1084 | xps | xps100) | 1224 | xps | xps100) |
3881 | 1085 | basic_machine=xps100-honeywell | 1225 | basic_machine=xps100-honeywell |
3882 | 1086 | ;; | 1226 | ;; |
3883 | 1227 | xscale-* | xscalee[bl]-*) | ||
3884 | 1228 | basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` | ||
3885 | 1229 | ;; | ||
3886 | 1087 | ymp) | 1230 | ymp) |
3887 | 1088 | basic_machine=ymp-cray | 1231 | basic_machine=ymp-cray |
3888 | 1089 | os=-unicos | 1232 | os=-unicos |
3889 | @@ -1092,6 +1235,10 @@ | |||
3890 | 1092 | basic_machine=z8k-unknown | 1235 | basic_machine=z8k-unknown |
3891 | 1093 | os=-sim | 1236 | os=-sim |
3892 | 1094 | ;; | 1237 | ;; |
3893 | 1238 | z80-*-coff) | ||
3894 | 1239 | basic_machine=z80-unknown | ||
3895 | 1240 | os=-sim | ||
3896 | 1241 | ;; | ||
3897 | 1095 | none) | 1242 | none) |
3898 | 1096 | basic_machine=none-none | 1243 | basic_machine=none-none |
3899 | 1097 | os=-none | 1244 | os=-none |
3900 | @@ -1130,7 +1277,7 @@ | |||
3901 | 1130 | we32k) | 1277 | we32k) |
3902 | 1131 | basic_machine=we32k-att | 1278 | basic_machine=we32k-att |
3903 | 1132 | ;; | 1279 | ;; |
3905 | 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) |
3906 | 1134 | basic_machine=sh-unknown | 1281 | basic_machine=sh-unknown |
3907 | 1135 | ;; | 1282 | ;; |
3908 | 1136 | sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) | 1283 | sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) |
3909 | @@ -1177,9 +1324,12 @@ | |||
3910 | 1177 | if [ x"$os" != x"" ] | 1324 | if [ x"$os" != x"" ] |
3911 | 1178 | then | 1325 | then |
3912 | 1179 | case $os in | 1326 | case $os in |
3915 | 1180 | # First match some system type aliases | 1327 | # First match some system type aliases |
3916 | 1181 | # that might get confused with valid system types. | 1328 | # that might get confused with valid system types. |
3917 | 1182 | # -solaris* is a basic system type, with this one exception. | 1329 | # -solaris* is a basic system type, with this one exception. |
3918 | 1330 | -auroraux) | ||
3919 | 1331 | os=-auroraux | ||
3920 | 1332 | ;; | ||
3921 | 1183 | -solaris1 | -solaris1.*) | 1333 | -solaris1 | -solaris1.*) |
3922 | 1184 | os=`echo $os | sed -e 's|solaris1|sunos4|'` | 1334 | os=`echo $os | sed -e 's|solaris1|sunos4|'` |
3923 | 1185 | ;; | 1335 | ;; |
3924 | @@ -1200,21 +1350,23 @@ | |||
3925 | 1200 | # Each alternative MUST END IN A *, to match a version number. | 1350 | # Each alternative MUST END IN A *, to match a version number. |
3926 | 1201 | # -sysv* is not here because it comes later, after sysvr4. | 1351 | # -sysv* is not here because it comes later, after sysvr4. |
3927 | 1202 | -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | 1352 | -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
3930 | 1203 | | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ | 1353 | | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ |
3931 | 1204 | | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | 1354 | | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ |
3932 | 1355 | | -sym* | -kopensolaris* | -plan9* \ | ||
3933 | 1205 | | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | 1356 | | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
3935 | 1206 | | -aos* \ | 1357 | | -aos* | -aros* \ |
3936 | 1207 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | 1358 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
3937 | 1208 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | 1359 | | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
3938 | 1209 | | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | 1360 | | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
3940 | 1210 | | -openbsd* | -solidbsd* \ | 1361 | | -bitrig* | -openbsd* | -solidbsd* \ |
3941 | 1211 | | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | 1362 | | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
3942 | 1212 | | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | 1363 | | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
3943 | 1213 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | 1364 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
3944 | 1214 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | 1365 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
3948 | 1215 | | -chorusos* | -chorusrdb* \ | 1366 | | -chorusos* | -chorusrdb* | -cegcc* \ |
3949 | 1216 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | 1367 | | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
3950 | 1217 | | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ | 1368 | | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ |
3951 | 1369 | | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | ||
3952 | 1218 | | -uxpv* | -beos* | -mpeix* | -udk* \ | 1370 | | -uxpv* | -beos* | -mpeix* | -udk* \ |
3953 | 1219 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | 1371 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
3954 | 1220 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | 1372 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
3955 | @@ -1222,7 +1374,7 @@ | |||
3956 | 1222 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | 1374 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
3957 | 1223 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | 1375 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
3958 | 1224 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | 1376 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
3960 | 1225 | | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) | 1377 | | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) |
3961 | 1226 | # Remember, each alternative MUST END IN *, to match a version number. | 1378 | # Remember, each alternative MUST END IN *, to match a version number. |
3962 | 1227 | ;; | 1379 | ;; |
3963 | 1228 | -qnx*) | 1380 | -qnx*) |
3964 | @@ -1261,7 +1413,7 @@ | |||
3965 | 1261 | -opened*) | 1413 | -opened*) |
3966 | 1262 | os=-openedition | 1414 | os=-openedition |
3967 | 1263 | ;; | 1415 | ;; |
3969 | 1264 | -os400*) | 1416 | -os400*) |
3970 | 1265 | os=-os400 | 1417 | os=-os400 |
3971 | 1266 | ;; | 1418 | ;; |
3972 | 1267 | -wince*) | 1419 | -wince*) |
3973 | @@ -1310,7 +1462,7 @@ | |||
3974 | 1310 | -sinix*) | 1462 | -sinix*) |
3975 | 1311 | os=-sysv4 | 1463 | os=-sysv4 |
3976 | 1312 | ;; | 1464 | ;; |
3978 | 1313 | -tpf*) | 1465 | -tpf*) |
3979 | 1314 | os=-tpf | 1466 | os=-tpf |
3980 | 1315 | ;; | 1467 | ;; |
3981 | 1316 | -triton*) | 1468 | -triton*) |
3982 | @@ -1346,12 +1498,14 @@ | |||
3983 | 1346 | -aros*) | 1498 | -aros*) |
3984 | 1347 | os=-aros | 1499 | os=-aros |
3985 | 1348 | ;; | 1500 | ;; |
3986 | 1349 | -kaos*) | ||
3987 | 1350 | os=-kaos | ||
3988 | 1351 | ;; | ||
3989 | 1352 | -zvmoe) | 1501 | -zvmoe) |
3990 | 1353 | os=-zvmoe | 1502 | os=-zvmoe |
3991 | 1354 | ;; | 1503 | ;; |
3992 | 1504 | -dicos*) | ||
3993 | 1505 | os=-dicos | ||
3994 | 1506 | ;; | ||
3995 | 1507 | -nacl*) | ||
3996 | 1508 | ;; | ||
3997 | 1355 | -none) | 1509 | -none) |
3998 | 1356 | ;; | 1510 | ;; |
3999 | 1357 | *) | 1511 | *) |
4000 | @@ -1374,10 +1528,10 @@ | |||
4001 | 1374 | # system, and we'll never get to this point. | 1528 | # system, and we'll never get to this point. |
4002 | 1375 | 1529 | ||
4003 | 1376 | case $basic_machine in | 1530 | case $basic_machine in |
4005 | 1377 | score-*) | 1531 | score-*) |
4006 | 1378 | os=-elf | 1532 | os=-elf |
4007 | 1379 | ;; | 1533 | ;; |
4009 | 1380 | spu-*) | 1534 | spu-*) |
4010 | 1381 | os=-elf | 1535 | os=-elf |
4011 | 1382 | ;; | 1536 | ;; |
4012 | 1383 | *-acorn) | 1537 | *-acorn) |
4013 | @@ -1389,8 +1543,23 @@ | |||
4014 | 1389 | arm*-semi) | 1543 | arm*-semi) |
4015 | 1390 | os=-aout | 1544 | os=-aout |
4016 | 1391 | ;; | 1545 | ;; |
4019 | 1392 | c4x-* | tic4x-*) | 1546 | c4x-* | tic4x-*) |
4020 | 1393 | os=-coff | 1547 | os=-coff |
4021 | 1548 | ;; | ||
4022 | 1549 | c8051-*) | ||
4023 | 1550 | os=-elf | ||
4024 | 1551 | ;; | ||
4025 | 1552 | hexagon-*) | ||
4026 | 1553 | os=-elf | ||
4027 | 1554 | ;; | ||
4028 | 1555 | tic54x-*) | ||
4029 | 1556 | os=-coff | ||
4030 | 1557 | ;; | ||
4031 | 1558 | tic55x-*) | ||
4032 | 1559 | os=-coff | ||
4033 | 1560 | ;; | ||
4034 | 1561 | tic6x-*) | ||
4035 | 1562 | os=-coff | ||
4036 | 1394 | ;; | 1563 | ;; |
4037 | 1395 | # This must come before the *-dec entry. | 1564 | # This must come before the *-dec entry. |
4038 | 1396 | pdp10-*) | 1565 | pdp10-*) |
4039 | @@ -1410,14 +1579,11 @@ | |||
4040 | 1410 | ;; | 1579 | ;; |
4041 | 1411 | m68000-sun) | 1580 | m68000-sun) |
4042 | 1412 | os=-sunos3 | 1581 | os=-sunos3 |
4043 | 1413 | # This also exists in the configure program, but was not the | ||
4044 | 1414 | # default. | ||
4045 | 1415 | # os=-sunos4 | ||
4046 | 1416 | ;; | 1582 | ;; |
4047 | 1417 | m68*-cisco) | 1583 | m68*-cisco) |
4048 | 1418 | os=-aout | 1584 | os=-aout |
4049 | 1419 | ;; | 1585 | ;; |
4051 | 1420 | mep-*) | 1586 | mep-*) |
4052 | 1421 | os=-elf | 1587 | os=-elf |
4053 | 1422 | ;; | 1588 | ;; |
4054 | 1423 | mips*-cisco) | 1589 | mips*-cisco) |
4055 | @@ -1426,6 +1592,9 @@ | |||
4056 | 1426 | mips*-*) | 1592 | mips*-*) |
4057 | 1427 | os=-elf | 1593 | os=-elf |
4058 | 1428 | ;; | 1594 | ;; |
4059 | 1595 | or1k-*) | ||
4060 | 1596 | os=-elf | ||
4061 | 1597 | ;; | ||
4062 | 1429 | or32-*) | 1598 | or32-*) |
4063 | 1430 | os=-coff | 1599 | os=-coff |
4064 | 1431 | ;; | 1600 | ;; |
4065 | @@ -1444,7 +1613,7 @@ | |||
4066 | 1444 | *-ibm) | 1613 | *-ibm) |
4067 | 1445 | os=-aix | 1614 | os=-aix |
4068 | 1446 | ;; | 1615 | ;; |
4070 | 1447 | *-knuth) | 1616 | *-knuth) |
4071 | 1448 | os=-mmixware | 1617 | os=-mmixware |
4072 | 1449 | ;; | 1618 | ;; |
4073 | 1450 | *-wec) | 1619 | *-wec) |
4074 | @@ -1549,7 +1718,7 @@ | |||
4075 | 1549 | -sunos*) | 1718 | -sunos*) |
4076 | 1550 | vendor=sun | 1719 | vendor=sun |
4077 | 1551 | ;; | 1720 | ;; |
4079 | 1552 | -aix*) | 1721 | -cnk*|-aix*) |
4080 | 1553 | vendor=ibm | 1722 | vendor=ibm |
4081 | 1554 | ;; | 1723 | ;; |
4082 | 1555 | -beos*) | 1724 | -beos*) |
4083 | 1556 | 1725 | ||
4084 | === modified file 'debian/build/debian/control.m4.in' | |||
4085 | --- debian/build/debian/control.m4.in 2013-09-13 09:58:41 +0000 | |||
4086 | +++ debian/build/debian/control.m4.in 2014-05-10 06:44:29 +0000 | |||
4087 | @@ -24,9 +24,23 @@ | |||
4088 | 24 | Maintainer: Jakub Safarik <jsafarik@ymail.com> | 24 | Maintainer: Jakub Safarik <jsafarik@ymail.com> |
4089 | 25 | Standards-Version: 3.8.3 | 25 | Standards-Version: 3.8.3 |
4090 | 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 :( |
4094 | 27 | [[Build-Depends-Indep: groff, bsdmainutils | 27 | [[Build-Depends-Indep: |
4095 | 28 | Build-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, |
4096 | 29 | Build-Conflicts: libbind-dev, bind-dev, fakeroot (<< 0.4.5) | 29 | bsdmainutils, |
4097 | 30 | Build-Depends: | ||
4098 | 31 | make (>> 3.79.1-14), | ||
4099 | 32 | m4, | ||
4100 | 33 | cdbs, | ||
4101 | 34 | quilt, | ||
4102 | 35 | patchutils, | ||
4103 | 36 | dh-buildinfo, | ||
4104 | 37 | debhelper (>= 9), | ||
4105 | 38 | linux-libc-dev (>= 2.6.21-3) [linux-any], | ||
4106 | 39 | @sm_badepends@ | ||
4107 | 40 | Build-Conflicts: | ||
4108 | 41 | libbind-dev, | ||
4109 | 42 | bind-dev, | ||
4110 | 43 | fakeroot (<< 0.4.5), | ||
4111 | 30 | Homepage: http://www.sendmail.org | 44 | Homepage: http://www.sendmail.org |
4112 | 31 | Vcs-Git: git://anonscm.debian.org/collab-maint/sendmail.git | 45 | Vcs-Git: git://anonscm.debian.org/collab-maint/sendmail.git |
4113 | 32 | Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/sendmail.git]]dnl | 46 | Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/sendmail.git]]dnl |
4114 | @@ -43,10 +57,19 @@ | |||
4115 | 43 | Conflicts: mail-transport-agent | 57 | Conflicts: mail-transport-agent |
4116 | 44 | Pre-Depends: | 58 | Pre-Depends: |
4117 | 45 | debconf, | 59 | debconf, |
4119 | 46 | Depends: sendmail-base, sendmail-cf, procps, ${shlibs:Depends}, ${perl:Depends} @sm_depends@, | 60 | Depends: |
4120 | 61 | sendmail-base, | ||
4121 | 62 | sendmail-cf, | ||
4122 | 63 | procps, | ||
4123 | 64 | @sm_depends@, | ||
4124 | 65 | ${shlibs:Depends}, | ||
4125 | 66 | ${perl:Depends}, | ||
4126 | 47 | ${misc:Depends} | 67 | ${misc:Depends} |
4129 | 48 | Recommends: @sm_recommends@ | 68 | Recommends: |
4130 | 49 | Suggests: sendmail-doc, @sm_suggests@ | 69 | @sm_recommends@, |
4131 | 70 | Suggests: | ||
4132 | 71 | sendmail-doc, | ||
4133 | 72 | @sm_suggests@, | ||
4134 | 50 | Description: powerful, efficient, and scalable Mail Transport Agent | 73 | Description: powerful, efficient, and scalable Mail Transport Agent |
4135 | 51 | Sendmail is an alternative Mail Transport Agent (MTA) for Debian. | 74 | Sendmail is an alternative Mail Transport Agent (MTA) for Debian. |
4136 | 52 | It is suitable for handling sophisticated mail configurations, | 75 | It is suitable for handling sophisticated mail configurations, |
4137 | @@ -71,8 +94,19 @@ | |||
4138 | 71 | 94 | ||
4139 | 72 | Package: rmail | 95 | Package: rmail |
4140 | 73 | Architecture: any | 96 | Architecture: any |
4143 | 74 | Conflicts: postfix, exim, exim-tls, exim4-daemon-custom, exim4-daemon-heavy, exim4-daemon-light, courier-mta, smail, zmailer, masqmail | 97 | Conflicts: |
4144 | 75 | Depends: sendmail-bin | mail-transport-agent, | 98 | postfix, |
4145 | 99 | exim, | ||
4146 | 100 | exim-tls, | ||
4147 | 101 | exim4-daemon-custom, | ||
4148 | 102 | exim4-daemon-heavy, | ||
4149 | 103 | exim4-daemon-light, | ||
4150 | 104 | courier-mta, | ||
4151 | 105 | smail, | ||
4152 | 106 | zmailer, | ||
4153 | 107 | masqmail, | ||
4154 | 108 | Depends: | ||
4155 | 109 | sendmail-bin | mail-transport-agent, | ||
4156 | 76 | ${shlibs:Depends}, | 110 | ${shlibs:Depends}, |
4157 | 77 | ${misc:Depends} | 111 | ${misc:Depends} |
4158 | 78 | Description: MTA->UUCP remote mail handler | 112 | Description: MTA->UUCP remote mail handler |
4159 | @@ -89,7 +123,9 @@ | |||
4160 | 89 | 123 | ||
4161 | 90 | Package: sensible-mda | 124 | Package: sensible-mda |
4162 | 91 | Architecture: any | 125 | Architecture: any |
4164 | 92 | Depends: sendmail-bin | mail-transport-agent, procmail | maildrop | deliver, | 126 | Depends: |
4165 | 127 | sendmail-bin | mail-transport-agent, | ||
4166 | 128 | procmail | maildrop | deliver, | ||
4167 | 93 | ${shlibs:Depends}, | 129 | ${shlibs:Depends}, |
4168 | 94 | ${misc:Depends} | 130 | ${misc:Depends} |
4169 | 95 | Description: Mail Delivery Agent wrapper | 131 | Description: Mail Delivery Agent wrapper |
4170 | @@ -123,7 +159,8 @@ | |||
4171 | 123 | Package: libmilter@sm_libmilter_version@-dbg | 159 | Package: libmilter@sm_libmilter_version@-dbg |
4172 | 124 | Architecture: any | 160 | Architecture: any |
4173 | 125 | Section: debug | 161 | Section: debug |
4175 | 126 | Depends: libmilter@sm_libmilter_version@ (= ${binary:Version}), | 162 | Depends: |
4176 | 163 | libmilter@sm_libmilter_version@ (= ${binary:Version}), | ||
4177 | 127 | ${shlibs:Depends}, | 164 | ${shlibs:Depends}, |
4178 | 128 | ${misc:Depends} | 165 | ${misc:Depends} |
4179 | 129 | Description: Sendmail Mail Filter API (Milter) | 166 | Description: Sendmail Mail Filter API (Milter) |
4180 | @@ -143,9 +180,11 @@ | |||
4181 | 143 | Package: libmilter-dev | 180 | Package: libmilter-dev |
4182 | 144 | Architecture: any | 181 | Architecture: any |
4183 | 145 | Section: libdevel | 182 | Section: libdevel |
4185 | 146 | Depends: libmilter@sm_libmilter_version@ (= ${binary:Version}), | 183 | Depends: |
4186 | 184 | libmilter@sm_libmilter_version@ (= ${binary:Version}), | ||
4187 | 147 | ${misc:Depends} | 185 | ${misc:Depends} |
4189 | 148 | Suggests: sendmail-doc | 186 | Suggests: |
4190 | 187 | sendmail-doc, | ||
4191 | 149 | Description: Sendmail Mail Filter API (Milter) | 188 | Description: Sendmail Mail Filter API (Milter) |
4192 | 150 | The Sendmail Mail Filter API (Milter) is designed to allow third-party | 189 | The Sendmail Mail Filter API (Milter) is designed to allow third-party |
4193 | 151 | programs access to mail messages as they are being processed in order | 190 | programs access to mail messages as they are being processed in order |
4194 | @@ -190,11 +229,20 @@ | |||
4195 | 190 | 229 | ||
4196 | 191 | Package: sendmail | 230 | Package: sendmail |
4197 | 192 | Architecture: all | 231 | Architecture: all |
4200 | 193 | Replaces: sendmail-tls, sendmail-base (<< 8.14.4-2.2~) | 232 | Depends: |
4201 | 194 | Depends: sendmail-base, sendmail-bin, sendmail-cf, sensible-mda, | 233 | sendmail-base, |
4202 | 234 | sendmail-bin, | ||
4203 | 235 | sendmail-cf, | ||
4204 | 236 | sensible-mda, | ||
4205 | 195 | ${misc:Depends} | 237 | ${misc:Depends} |
4208 | 196 | Breaks: sendmail-base (<< 8.14.4-2.2~) | 238 | Suggests: |
4209 | 197 | Suggests: sendmail-doc, rmail | 239 | sendmail-doc, |
4210 | 240 | rmail, | ||
4211 | 241 | Breaks: | ||
4212 | 242 | sendmail-base (<< 8.14.4-2.2~), | ||
4213 | 243 | Replaces: | ||
4214 | 244 | sendmail-tls, | ||
4215 | 245 | sendmail-base (<< 8.14.4-2.2~), | ||
4216 | 198 | Description: powerful, efficient, and scalable Mail Transport Agent | 246 | Description: powerful, efficient, and scalable Mail Transport Agent |
4217 | 199 | Sendmail is an alternative Mail Transport Agent (MTA) for Debian. | 247 | Sendmail is an alternative Mail Transport Agent (MTA) for Debian. |
4218 | 200 | It is suitable for handling sophisticated mail configurations, | 248 | It is suitable for handling sophisticated mail configurations, |
4219 | @@ -221,10 +269,18 @@ | |||
4220 | 221 | 269 | ||
4221 | 222 | Package: sendmail-base | 270 | Package: sendmail-base |
4222 | 223 | Architecture: all | 271 | Architecture: all |
4224 | 224 | Depends: m4, make, adduser, | 272 | Depends: |
4225 | 273 | m4, | ||
4226 | 274 | make, | ||
4227 | 275 | adduser, | ||
4228 | 225 | ${perl:Depends}, | 276 | ${perl:Depends}, |
4229 | 226 | ${misc:Depends} | 277 | ${misc:Depends} |
4231 | 227 | Suggests: sendmail-doc, ca-certificates, logcheck, logrotate, resolvconf | 278 | Suggests: |
4232 | 279 | sendmail-doc, | ||
4233 | 280 | ca-certificates, | ||
4234 | 281 | logcheck, | ||
4235 | 282 | logrotate, | ||
4236 | 283 | resolvconf, | ||
4237 | 228 | Description: powerful, efficient, and scalable Mail Transport Agent | 284 | Description: powerful, efficient, and scalable Mail Transport Agent |
4238 | 229 | Sendmail is an alternative Mail Transport Agent (MTA) for | 285 | Sendmail is an alternative Mail Transport Agent (MTA) for |
4239 | 230 | Debian. It is suitable for handling sophisticated mail | 286 | Debian. It is suitable for handling sophisticated mail |
4240 | @@ -241,9 +297,11 @@ | |||
4241 | 241 | 297 | ||
4242 | 242 | Package: sendmail-cf | 298 | Package: sendmail-cf |
4243 | 243 | Architecture: all | 299 | Architecture: all |
4246 | 244 | Suggests: sendmail-doc | 300 | Depends: |
4247 | 245 | Depends: m4, | 301 | m4, |
4248 | 246 | ${misc:Depends} | 302 | ${misc:Depends} |
4249 | 303 | Suggests: | ||
4250 | 304 | sendmail-doc, | ||
4251 | 247 | Description: powerful, efficient, and scalable Mail Transport Agent | 305 | Description: powerful, efficient, and scalable Mail Transport Agent |
4252 | 248 | Sendmail is an alternative Mail Transport Agent (MTA) for | 306 | Sendmail is an alternative Mail Transport Agent (MTA) for |
4253 | 249 | Debian. It is suitable for handling sophisticated mail | 307 | Debian. It is suitable for handling sophisticated mail |
4254 | @@ -256,4 +314,3 @@ | |||
4255 | 256 | dnl # Provide the requisite trailing newline | 314 | dnl # Provide the requisite trailing newline |
4256 | 257 | dnl # | 315 | dnl # |
4257 | 258 | 316 | ||
4258 | 259 | |||
4259 | 260 | 317 | ||
4260 | === removed file 'debian/build/debian/libmilter-dev.dirs.in' | |||
4261 | --- debian/build/debian/libmilter-dev.dirs.in 2013-01-29 03:37:54 +0000 | |||
4262 | +++ debian/build/debian/libmilter-dev.dirs.in 1970-01-01 00:00:00 +0000 | |||
4263 | @@ -1,5 +0,0 @@ | |||
4264 | 1 | .@includedir@/libmilter | ||
4265 | 2 | .@libdir@ | ||
4266 | 3 | .@libdir@/libmilter | ||
4267 | 4 | .@docdir@/libmilter-dev | ||
4268 | 5 | .@datadir@/lintian/overrides | ||
4269 | 6 | 0 | ||
4270 | === removed file 'debian/build/debian/libmilter-dev.links.in' | |||
4271 | --- debian/build/debian/libmilter-dev.links.in 2013-01-29 03:37:54 +0000 | |||
4272 | +++ debian/build/debian/libmilter-dev.links.in 1970-01-01 00:00:00 +0000 | |||
4273 | @@ -1,2 +0,0 @@ | |||
4274 | 1 | usr/lib/libmilter.so.@sm_libmilter_version@ usr/lib/libmilter/libmilter.so.@sm_libmilter_version@ | ||
4275 | 2 | usr/lib/libmilter/libmilter.so.@sm_libmilter_version@ usr/lib/libmilter/libmilter.so | ||
4276 | 3 | 0 | ||
4277 | === removed file 'debian/build/debian/libmilter-dev.lintian-overrides' | |||
4278 | --- debian/build/debian/libmilter-dev.lintian-overrides 2005-06-03 16:00:00 +0000 | |||
4279 | +++ debian/build/debian/libmilter-dev.lintian-overrides 1970-01-01 00:00:00 +0000 | |||
4280 | @@ -1,1 +0,0 @@ | |||
4281 | 1 | libmilter-dev: description-synopsis-starts-with-a-capital-letter | ||
4282 | 2 | 0 | ||
4283 | === removed file 'debian/build/debian/libmilter-dev.preinst.in' | |||
4284 | --- debian/build/debian/libmilter-dev.preinst.in 2013-01-29 03:37:54 +0000 | |||
4285 | +++ debian/build/debian/libmilter-dev.preinst.in 1970-01-01 00:00:00 +0000 | |||
4286 | @@ -1,14 +0,0 @@ | |||
4287 | 1 | #!/bin/sh | ||
4288 | 2 | set -e | ||
4289 | 3 | |||
4290 | 4 | PACKAGE=libmilter-dev; | ||
4291 | 5 | |||
4292 | 6 | if [ -L @docdir@/$PACKAGE ]; then | ||
4293 | 7 | # /usr/share/doc/$PACKAGE was a symlink to /usr/share/doc/sendmail | ||
4294 | 8 | rm @docdir@/$PACKAGE | ||
4295 | 9 | fi | ||
4296 | 10 | if [ -L /usr/share/bug/$PACKAGE ]; then | ||
4297 | 11 | rm /usr/share/bug/$PACKAGE | ||
4298 | 12 | fi | ||
4299 | 13 | |||
4300 | 14 | #DEBHELPER# | ||
4301 | 15 | 0 | ||
4302 | === removed file 'debian/build/debian/libmilter.dirs.in' | |||
4303 | --- debian/build/debian/libmilter.dirs.in 2013-01-29 03:37:54 +0000 | |||
4304 | +++ debian/build/debian/libmilter.dirs.in 1970-01-01 00:00:00 +0000 | |||
4305 | @@ -1,3 +0,0 @@ | |||
4306 | 1 | .@libdir@/libmilter | ||
4307 | 2 | .@docdir@/libmilter@sm_libmilter_version@ | ||
4308 | 3 | .@datadir@/lintian/overrides | ||
4309 | 4 | 0 | ||
4310 | === removed file 'debian/build/debian/libmilter.lintian-overrides.in' | |||
4311 | --- debian/build/debian/libmilter.lintian-overrides.in 2013-09-13 09:58:41 +0000 | |||
4312 | +++ debian/build/debian/libmilter.lintian-overrides.in 1970-01-01 00:00:00 +0000 | |||
4313 | @@ -1,1 +0,0 @@ | |||
4314 | 1 | libmilter@sm_libmilter_version@: description-synopsis-starts-with-a-capital-letter | ||
4315 | 2 | 0 | ||
4316 | === removed file 'debian/build/debian/libmilter.preinst.in' | |||
4317 | --- debian/build/debian/libmilter.preinst.in 2013-01-29 03:37:54 +0000 | |||
4318 | +++ debian/build/debian/libmilter.preinst.in 1970-01-01 00:00:00 +0000 | |||
4319 | @@ -1,14 +0,0 @@ | |||
4320 | 1 | #!/bin/sh | ||
4321 | 2 | set -e | ||
4322 | 3 | |||
4323 | 4 | PACKAGE=libmilter@sm_libmilter_version@; | ||
4324 | 5 | |||
4325 | 6 | if [ -L @docdir@/$PACKAGE ]; then | ||
4326 | 7 | # /usr/share/doc/$PACKAGE was a symlink to /usr/share/doc/sendmail | ||
4327 | 8 | rm @docdir@/$PACKAGE | ||
4328 | 9 | fi | ||
4329 | 10 | if [ -L /usr/share/bug/$PACKAGE ]; then | ||
4330 | 11 | rm /usr/share/bug/$PACKAGE | ||
4331 | 12 | fi | ||
4332 | 13 | |||
4333 | 14 | #DEBHELPER# | ||
4334 | 15 | 0 | ||
4335 | === removed file 'debian/build/debian/rmail.dirs.in' | |||
4336 | --- debian/build/debian/rmail.dirs.in 2013-01-29 03:37:54 +0000 | |||
4337 | +++ debian/build/debian/rmail.dirs.in 1970-01-01 00:00:00 +0000 | |||
4338 | @@ -1,4 +0,0 @@ | |||
4339 | 1 | .@sbindir@ | ||
4340 | 2 | .@mandir@ | ||
4341 | 3 | .@mandir@/man8 | ||
4342 | 4 | .@datadir@/lintian/overrides | ||
4343 | 5 | 0 | ||
4344 | === removed file 'debian/build/debian/rmail.lintian-overrides' | |||
4345 | --- debian/build/debian/rmail.lintian-overrides 2005-06-03 16:00:00 +0000 | |||
4346 | +++ debian/build/debian/rmail.lintian-overrides 1970-01-01 00:00:00 +0000 | |||
4347 | @@ -1,1 +0,0 @@ | |||
4348 | 1 | rmail: description-synopsis-starts-with-a-capital-letter | ||
4349 | 2 | 0 | ||
4350 | === removed file 'debian/build/debian/rmail.preinst.in' | |||
4351 | --- debian/build/debian/rmail.preinst.in 2013-01-29 03:37:54 +0000 | |||
4352 | +++ debian/build/debian/rmail.preinst.in 1970-01-01 00:00:00 +0000 | |||
4353 | @@ -1,14 +0,0 @@ | |||
4354 | 1 | #!/bin/sh | ||
4355 | 2 | set -e | ||
4356 | 3 | |||
4357 | 4 | PACKAGE=rmail; | ||
4358 | 5 | |||
4359 | 6 | if [ -L @docdir@/$PACKAGE ]; then | ||
4360 | 7 | # /usr/share/doc/$PACKAGE was a symlink to /usr/share/doc/sendmail | ||
4361 | 8 | rm @docdir@/$PACKAGE | ||
4362 | 9 | fi | ||
4363 | 10 | if [ -L /usr/share/bug/$PACKAGE ]; then | ||
4364 | 11 | rm /usr/share/bug/$PACKAGE | ||
4365 | 12 | fi | ||
4366 | 13 | |||
4367 | 14 | #DEBHELPER# | ||
4368 | 15 | 0 | ||
4369 | === removed file 'debian/build/debian/sendmail-base.dirs.in' | |||
4370 | --- debian/build/debian/sendmail-base.dirs.in 2013-01-29 03:37:54 +0000 | |||
4371 | +++ debian/build/debian/sendmail-base.dirs.in 1970-01-01 00:00:00 +0000 | |||
4372 | @@ -1,57 +0,0 @@ | |||
4373 | 1 | .@sysconfdir@/cron.d | ||
4374 | 2 | .@sysconfdir@/cron.daily | ||
4375 | 3 | .@sysconfdir@/default | ||
4376 | 4 | .@sysconfdir@/dhcp | ||
4377 | 5 | .@sysconfdir@/dhcp/dhclient-exit-hooks.d | ||
4378 | 6 | .@sysconfdir@/logcheck | ||
4379 | 7 | .@sysconfdir@/logcheck/ignore.d.paranoid | ||
4380 | 8 | .@sysconfdir@/logcheck/ignore.d.server | ||
4381 | 9 | .@sysconfdir@/logcheck/ignore.d.workstation | ||
4382 | 10 | .@sysconfdir@/logcheck/violations.ignore.d | ||
4383 | 11 | .@sysconfdir@/logrotate.d | ||
4384 | 12 | .@sysconfdir@/mail | ||
4385 | 13 | .@sysconfdir@/mail/m4 | ||
4386 | 14 | .@sysconfdir@/mail/peers | ||
4387 | 15 | .@sysconfdir@/mail/smrsh | ||
4388 | 16 | .@sysconfdir@/mail/sasl | ||
4389 | 17 | .@sysconfdir@/mail/tls | ||
4390 | 18 | .@sysconfdir@/network | ||
4391 | 19 | .@sysconfdir@/network/if-down.d | ||
4392 | 20 | .@sysconfdir@/network/if-post-down.d | ||
4393 | 21 | .@sysconfdir@/network/if-up.d | ||
4394 | 22 | .@sysconfdir@/pam.d | ||
4395 | 23 | .@sysconfdir@/ppp/ip-down.d | ||
4396 | 24 | .@sysconfdir@/ppp/ip-up.d | ||
4397 | 25 | .@sysconfdir@/resolvconf | ||
4398 | 26 | .@sysconfdir@/resolvconf/update-libc.d | ||
4399 | 27 | .@bindir@ | ||
4400 | 28 | .@sbindir@ | ||
4401 | 29 | .@docdir@/sendmail-base | ||
4402 | 30 | .@mandir@ | ||
4403 | 31 | .@mandir@/man1 | ||
4404 | 32 | .@mandir@/man8 | ||
4405 | 33 | .@datadir@/sendmail | ||
4406 | 34 | .@datadir@/sendmail/examples | ||
4407 | 35 | .@datadir@/sendmail/examples/db | ||
4408 | 36 | .@datadir@/sendmail/examples/dhcp | ||
4409 | 37 | .@datadir@/sendmail/examples/dhcp/dhclient-exit-hooks.d | ||
4410 | 38 | .@datadir@/sendmail/examples/ppp | ||
4411 | 39 | .@datadir@/sendmail/examples/ppp/ip-down.d | ||
4412 | 40 | .@datadir@/sendmail/examples/ppp/ip-up.d | ||
4413 | 41 | .@datadir@/sendmail/examples/ldap | ||
4414 | 42 | .@datadir@/sendmail/examples/logcheck | ||
4415 | 43 | .@datadir@/sendmail/examples/logcheck/ignore.d.paranoid | ||
4416 | 44 | .@datadir@/sendmail/examples/logcheck/ignore.d.server | ||
4417 | 45 | .@datadir@/sendmail/examples/logcheck/ignore.d.workstation | ||
4418 | 46 | .@datadir@/sendmail/examples/logcheck/violations.ignore.d | ||
4419 | 47 | .@datadir@/sendmail/examples/milter | ||
4420 | 48 | .@datadir@/sendmail/examples/network | ||
4421 | 49 | .@datadir@/sendmail/examples/network/if-down.d | ||
4422 | 50 | .@datadir@/sendmail/examples/network/if-post-down.d | ||
4423 | 51 | .@datadir@/sendmail/examples/network/if-up.d | ||
4424 | 52 | .@datadir@/sendmail/examples/pam.d | ||
4425 | 53 | .@datadir@/sendmail/examples/resolvconf | ||
4426 | 54 | .@datadir@/sendmail/examples/resolvconf/update-libc.d | ||
4427 | 55 | .@datadir@/sendmail/examples/sasl | ||
4428 | 56 | .@datadir@/sendmail/examples/tls | ||
4429 | 57 | .@datadir@/lintian/overrides | ||
4430 | 58 | 0 | ||
4431 | === removed file 'debian/build/debian/sendmail-base.lintian-overrides' | |||
4432 | --- debian/build/debian/sendmail-base.lintian-overrides 2004-12-15 19:30:00 +0000 | |||
4433 | +++ debian/build/debian/sendmail-base.lintian-overrides 1970-01-01 00:00:00 +0000 | |||
4434 | @@ -1,1 +0,0 @@ | |||
4435 | 1 | sendmail-base: manpage-has-bad-whatis-entry usr/share/man/man8/etrn.8.gz | ||
4436 | 2 | 0 | ||
4437 | === removed file 'debian/build/debian/sendmail-base.postinst.in' | |||
4438 | --- debian/build/debian/sendmail-base.postinst.in 2008-04-21 18:04:00 +0000 | |||
4439 | +++ debian/build/debian/sendmail-base.postinst.in 1970-01-01 00:00:00 +0000 | |||
4440 | @@ -1,116 +0,0 @@ | |||
4441 | 1 | #!/bin/sh -e | ||
4442 | 2 | # | ||
4443 | 3 | # Debian post installation script | ||
4444 | 4 | # | ||
4445 | 5 | # Install of already installed package: | ||
4446 | 6 | # 1) old-prerm upgrade new-version | ||
4447 | 7 | # *) new-prerm failed-upgrade old-version | ||
4448 | 8 | # *) old-postinst abort-upgrade new-version | ||
4449 | 9 | # | ||
4450 | 10 | # If a `conflicting' package is being removed at the same time: | ||
4451 | 11 | # 1) forall packages depending on conflicting package and --auto-deconfigure | ||
4452 | 12 | # deconfigured's-prerm deconfigure \ | ||
4453 | 13 | # in-favour package-being-installed version \ | ||
4454 | 14 | # removing conflicting-package version | ||
4455 | 15 | # *) deconfigured's-postinst abort-deconfigure \ | ||
4456 | 16 | # in-favour package-being-installed-but-failed version \ | ||
4457 | 17 | # removing conflicting-package version | ||
4458 | 18 | # 2) To prepare for removal of the conflicting package | ||
4459 | 19 | # conflictor's-prerm remove \ | ||
4460 | 20 | # in-favour package new-version | ||
4461 | 21 | # *) conflictor's-postinst abort-remove \ | ||
4462 | 22 | # in-favour package new-version | ||
4463 | 23 | # | ||
4464 | 24 | # Configuration of package: | ||
4465 | 25 | # postinst configure most-recently-configured-version | ||
4466 | 26 | # | ||
4467 | 27 | set -e; | ||
4468 | 28 | |||
4469 | 29 | PACKAGE=sendmail-base; | ||
4470 | 30 | |||
4471 | 31 | # do we have debconf? | ||
4472 | 32 | if [ -f /usr/share/debconf/confmodule ]; then | ||
4473 | 33 | DEBCONF=true; | ||
4474 | 34 | #. /usr/share/debconf/confmodule; | ||
4475 | 35 | #db_stop; # For testing | ||
4476 | 36 | else | ||
4477 | 37 | DEBCONF=''; | ||
4478 | 38 | fi; | ||
4479 | 39 | |||
4480 | 40 | case "$1" in | ||
4481 | 41 | configure) | ||
4482 | 42 | #----------------------------------------------------------- | ||
4483 | 43 | if [ "$2" = "" ]; then | ||
4484 | 44 | :; | ||
4485 | 45 | #echo " "; | ||
4486 | 46 | #echo "A new sendmail user, welcome!"; | ||
4487 | 47 | fi; | ||
4488 | 48 | |||
4489 | 49 | #----------------------------------------------------------- | ||
4490 | 50 | # Tell users about new and interesting things... | ||
4491 | 51 | if [ -x @datadir@/sendmail/update_notices ]; then | ||
4492 | 52 | @datadir@/sendmail/update_notices $2; | ||
4493 | 53 | fi; | ||
4494 | 54 | |||
4495 | 55 | #----------------------------------------------------------- | ||
4496 | 56 | # Create group/user smmta/smmsp iff needed | ||
4497 | 57 | touch @sysconfdir@/mail/tsmmta; | ||
4498 | 58 | if ! chown root:smmta @sysconfdir@/mail/tsmmta 2>/dev/null; then | ||
4499 | 59 | addgroup --system --quiet smmta; | ||
4500 | 60 | fi; | ||
4501 | 61 | if ! chown smmta:smmta @sysconfdir@/mail/tsmmta 2>/dev/null; then | ||
4502 | 62 | adduser --system --ingroup smmta --home "/var/lib/sendmail" \ | ||
4503 | 63 | --disabled-password \ | ||
4504 | 64 | --quiet --gecos 'Mail Transfer Agent' smmta; | ||
4505 | 65 | fi; | ||
4506 | 66 | rm @sysconfdir@/mail/tsmmta; | ||
4507 | 67 | touch @sysconfdir@/mail/tsmmsp; | ||
4508 | 68 | if ! chown root:smmsp @sysconfdir@/mail/tsmmsp 2>/dev/null; then | ||
4509 | 69 | addgroup --system --quiet smmsp; | ||
4510 | 70 | fi; | ||
4511 | 71 | if ! chown smmsp:smmsp @sysconfdir@/mail/tsmmsp 2>/dev/null; then | ||
4512 | 72 | adduser --system --ingroup smmsp --home "/var/lib/sendmail" \ | ||
4513 | 73 | --disabled-password \ | ||
4514 | 74 | --quiet --gecos 'Mail Submission Program' smmsp; | ||
4515 | 75 | fi; | ||
4516 | 76 | rm @sysconfdir@/mail/tsmmsp; | ||
4517 | 77 | |||
4518 | 78 | #----------------------------------------------------------- | ||
4519 | 79 | # With a dynamic uid/gid, have to set appropriate ownership herein | ||
4520 | 80 | chown root:smmsp @sysconfdir@/mail/sasl; | ||
4521 | 81 | chown root:smmsp @sysconfdir@/mail/tls; | ||
4522 | 82 | |||
4523 | 83 | #----------------------------------------------------------- | ||
4524 | 84 | # Save the current configuration files in safe place... | ||
4525 | 85 | if [ -x @sysconfdir@/cron.daily/sendmail ]; then | ||
4526 | 86 | echo "Saving current /etc/mail/sendmail.mc,cf to /var/backups"; | ||
4527 | 87 | @sysconfdir@/cron.daily/sendmail || true; | ||
4528 | 88 | fi; | ||
4529 | 89 | |||
4530 | 90 | #----------------------------------------------------------- | ||
4531 | 91 | # Make sure inetd.conf has sendmail in it (but disabled) | ||
4532 | 92 | if [ -x /usr/sbin/update-inetd ]; then | ||
4533 | 93 | update-inetd --remove "^587"; | ||
4534 | 94 | update-inetd --group MAIL --add \ | ||
4535 | 95 | "smtp\tstream\ttcp\tnowait\troot\t@sbindir@/sendmail sendmail -Am -bs"; | ||
4536 | 96 | update-inetd --group MAIL --add \ | ||
4537 | 97 | "submission\tstream\ttcp\tnowait\troot\t@sbindir@/sendmail sendmail -Am -bs"; | ||
4538 | 98 | update-inetd --group MAIL --add \ | ||
4539 | 99 | "smtps\tstream\ttcp\tnowait\troot\t@sbindir@/sendmail sendmail -Am -bs"; | ||
4540 | 100 | update-inetd --group MAIL --multi --disable smtp,smtps,submission; | ||
4541 | 101 | fi; | ||
4542 | 102 | |||
4543 | 103 | ;; | ||
4544 | 104 | |||
4545 | 105 | abort-upgrade|abort-remove|abort-deconfigure) | ||
4546 | 106 | exit 0; | ||
4547 | 107 | ;; | ||
4548 | 108 | |||
4549 | 109 | *) | ||
4550 | 110 | echo "$PACKAGE postinst called with unknown argument \`$1'" >&2; | ||
4551 | 111 | exit 1; | ||
4552 | 112 | ;; | ||
4553 | 113 | esac; | ||
4554 | 114 | |||
4555 | 115 | #DEBHELPER# | ||
4556 | 116 | exit 0; | ||
4557 | 117 | 0 | ||
4558 | === removed file 'debian/build/debian/sendmail-base.postrm.in' | |||
4559 | --- debian/build/debian/sendmail-base.postrm.in 2013-01-29 03:37:54 +0000 | |||
4560 | +++ debian/build/debian/sendmail-base.postrm.in 1970-01-01 00:00:00 +0000 | |||
4561 | @@ -1,113 +0,0 @@ | |||
4562 | 1 | #!/bin/sh -e | ||
4563 | 2 | # | ||
4564 | 3 | # Debian post removal script | ||
4565 | 4 | # | ||
4566 | 5 | # Install of already installed package: | ||
4567 | 6 | # 1) Upgrade of package: | ||
4568 | 7 | # new-preinst upgrade old-version | ||
4569 | 8 | # *) new-postrm abort-upgrade old-version | ||
4570 | 9 | # 2) package had some configuration files from a previous version installed | ||
4571 | 10 | # new-preinst install old-version | ||
4572 | 11 | # *) new-postrm abort-install old-version | ||
4573 | 12 | # 3) Otherwise (i.e., the package was completely purged) | ||
4574 | 13 | # new-preinst install | ||
4575 | 14 | # *) new-postrm abort-install | ||
4576 | 15 | # | ||
4577 | 16 | # Removal of a package: | ||
4578 | 17 | # 1) prerm remove | ||
4579 | 18 | # 2) The package's files are removed (except conffiles). | ||
4580 | 19 | # 3) postrm remove | ||
4581 | 20 | # 4) All the maintainer scripts except the postrm are removed. | ||
4582 | 21 | # 5) The conffiles and any backup files | ||
4583 | 22 | # (~-files, #*# files, %-files, .dpkg-{old,new,tmp}, etc.) are removed. | ||
4584 | 23 | # 6) postrm purge | ||
4585 | 24 | # 7) The package's file list is removed | ||
4586 | 25 | # | ||
4587 | 26 | set -e; | ||
4588 | 27 | |||
4589 | 28 | PACKAGE=sendmail-base; | ||
4590 | 29 | |||
4591 | 30 | case "$1" in | ||
4592 | 31 | remove) | ||
4593 | 32 | if [ ! -z "$2" ]; then | ||
4594 | 33 | echo "Removing $PACKAGE $2 $3($4)"; | ||
4595 | 34 | fi; | ||
4596 | 35 | |||
4597 | 36 | if [ -x /usr/sbin/update-inetd ]; then | ||
4598 | 37 | update-inetd --remove "^smtp"; | ||
4599 | 38 | update-inetd --remove "^smtps"; | ||
4600 | 39 | update-inetd --remove "^submission"; | ||
4601 | 40 | fi; | ||
4602 | 41 | ;; | ||
4603 | 42 | |||
4604 | 43 | purge) | ||
4605 | 44 | # Currently, dh_installdebconf doesn't do db_stop... ensure it is done! | ||
4606 | 45 | if [ "$1" = "purge" ] && [ -e /usr/share/debconf/confmodule ]; then | ||
4607 | 46 | # Source debconf library. | ||
4608 | 47 | . /usr/share/debconf/confmodule; | ||
4609 | 48 | # Make sure we're done | ||
4610 | 49 | #db_stop; | ||
4611 | 50 | # Remove my changes to the db. | ||
4612 | 51 | db_purge; | ||
4613 | 52 | fi; | ||
4614 | 53 | |||
4615 | 54 | # Remove user/group smmsp | ||
4616 | 55 | if [ -x /usr/sbin/deluser ]; then | ||
4617 | 56 | deluser --quiet smmta || true; | ||
4618 | 57 | deluser --quiet smmsp || true; | ||
4619 | 58 | fi; | ||
4620 | 59 | userdel smmta 2>/dev/null || true; | ||
4621 | 60 | groupdel smmta 2>/dev/null || true; | ||
4622 | 61 | userdel smmsp 2>/dev/null || true; | ||
4623 | 62 | groupdel smmsp 2>/dev/null || true; | ||
4624 | 63 | |||
4625 | 64 | # Purge those files installed in other package directories | ||
4626 | 65 | rm -f @libdir@/lib/sasl/Sendmail.conf; | ||
4627 | 66 | rm -f @sysconfdir@/certs/sendmail.pem; | ||
4628 | 67 | rm -f @datadir@/bug/sendmail*; | ||
4629 | 68 | rmdir --ignore-fail-on-non-empty @datadir@/bug; | ||
4630 | 69 | rm -f @sysconfdir@/logrotate.d/sendmail; | ||
4631 | 70 | rmdir --ignore-fail-on-non-empty @sysconfdir@/logrotate.d; | ||
4632 | 71 | rm -f @sysconfdir@/logcheck/violations.ignore.d/sendmail; | ||
4633 | 72 | rmdir --ignore-fail-on-non-empty @sysconfdir@/logcheck/violations.ignore.d; | ||
4634 | 73 | rmdir --ignore-fail-on-non-empty @sysconfdir@/logcheck; | ||
4635 | 74 | # Can't touch these as they may be included in slapd.conf | ||
4636 | 75 | #rm -rf @sysconfdir@/ldap/schema/sendmail.schema; | ||
4637 | 76 | #rm -rf @sysconfdir@/openldap/sendmail.schema; | ||
4638 | 77 | #rm -rf @sysconfdir@/umich-ldap/sendmail.schema; | ||
4639 | 78 | # Purge psuedo conffiles (managed by sendmail) | ||
4640 | 79 | rm -f @sysconfdir@/mail/sendmail.conf; | ||
4641 | 80 | # Purge sendmail configuration files | ||
4642 | 81 | rm -f @sysconfdir@/mail/sendmail.mc \ | ||
4643 | 82 | @sysconfdir@/mail/submit.mc \ | ||
4644 | 83 | @sysconfdir@/mail/m4/dialup.m4 \ | ||
4645 | 84 | @sysconfdir@/mail/m4/provider.m4 \ | ||
4646 | 85 | @sysconfdir@/mail/local-host-names \ | ||
4647 | 86 | @sysconfdir@/mail/relay-domains \ | ||
4648 | 87 | @sysconfdir@/mail/trusted-users \ | ||
4649 | 88 | @sysconfdir@/mail/default-auth-info \ | ||
4650 | 89 | @sysconfdir@/mail/access \ | ||
4651 | 90 | ; | ||
4652 | 91 | rmdir @sysconfdir@/mail/peers 2>/dev/null || true; | ||
4653 | 92 | rmdir @sysconfdir@/mail 2>/dev/null || true; | ||
4654 | 93 | |||
4655 | 94 | ;; | ||
4656 | 95 | |||
4657 | 96 | upgrade) | ||
4658 | 97 | ;; | ||
4659 | 98 | |||
4660 | 99 | failed-upgrade|abort-install|abort-upgrade|disappear) | ||
4661 | 100 | echo "$1 of $PACKAGE $2"; | ||
4662 | 101 | ;; | ||
4663 | 102 | |||
4664 | 103 | *) | ||
4665 | 104 | echo "$PACKAGE postrm called with unknown argument \`$1'" >&2; | ||
4666 | 105 | exit 1; | ||
4667 | 106 | ;; | ||
4668 | 107 | esac; | ||
4669 | 108 | |||
4670 | 109 | # NOTE WELL: If we fall through here during purge, update-rc.d will be | ||
4671 | 110 | # called with remove... and /etc/init.d/$PACKAGE goes away! | ||
4672 | 111 | #DEBHELPER# | ||
4673 | 112 | |||
4674 | 113 | exit 0; | ||
4675 | 114 | 0 | ||
4676 | === removed file 'debian/build/debian/sendmail-base.preinst.in' | |||
4677 | --- debian/build/debian/sendmail-base.preinst.in 2013-01-29 03:37:54 +0000 | |||
4678 | +++ debian/build/debian/sendmail-base.preinst.in 1970-01-01 00:00:00 +0000 | |||
4679 | @@ -1,59 +0,0 @@ | |||
4680 | 1 | #!/bin/sh -e | ||
4681 | 2 | # | ||
4682 | 3 | # Debian pre install script | ||
4683 | 4 | # | ||
4684 | 5 | # Install of already installed package: | ||
4685 | 6 | # 1) Upgrade of package: | ||
4686 | 7 | # new-preinst upgrade old-version | ||
4687 | 8 | # *) new-postrm abort-upgrade old-version | ||
4688 | 9 | # 2) package had some configuration files from a previous version installed | ||
4689 | 10 | # new-preinst install old-version | ||
4690 | 11 | # *) new-postrm abort-install old-version | ||
4691 | 12 | # 3) Otherwise (i.e., the package was completely purged) | ||
4692 | 13 | # new-preinst install | ||
4693 | 14 | # *) new-postrm abort-install | ||
4694 | 15 | # | ||
4695 | 16 | set -e; | ||
4696 | 17 | |||
4697 | 18 | PACKAGE=sendmail-base; | ||
4698 | 19 | |||
4699 | 20 | if [ -L @docdir@/$PACKAGE ]; then | ||
4700 | 21 | # /usr/share/doc/$PACKAGE was a symlink to /usr/share/doc/sendmail | ||
4701 | 22 | rm @docdir@/$PACKAGE | ||
4702 | 23 | fi | ||
4703 | 24 | if [ -L /usr/share/bug/$PACKAGE ]; then | ||
4704 | 25 | rm /usr/share/bug/$PACKAGE | ||
4705 | 26 | fi | ||
4706 | 27 | |||
4707 | 28 | if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt "8.14.4-2.2~"; then | ||
4708 | 29 | # /usr/share/doc/$PACKAGE was a symlink to /usr/share/doc/sendmail | ||
4709 | 30 | rm -rf @docdir@/sendmail/examples | ||
4710 | 31 | rm -f @docdir@/sendmail/Debian-specific.gz | ||
4711 | 32 | rm -f @docdir@/sendmail/site.config.m4.gz | ||
4712 | 33 | fi | ||
4713 | 34 | |||
4714 | 35 | |||
4715 | 36 | case "$1" in | ||
4716 | 37 | upgrade) | ||
4717 | 38 | # Prevent cronjob from running during upgrade... | ||
4718 | 39 | if [ -f @sysconfdir@/cron.d/sendmail ]; then | ||
4719 | 40 | echo "#preinst" > @sysconfdir@/cron.d/sendmail; | ||
4720 | 41 | fi; | ||
4721 | 42 | |||
4722 | 43 | # Move files to new home | ||
4723 | 44 | if [ -d @sysconfdir@/mail/ssl ]; then | ||
4724 | 45 | mv -f @sysconfdir@/mail/ssl @sysconfdir@/mail/tls; | ||
4725 | 46 | fi; | ||
4726 | 47 | ;; | ||
4727 | 48 | |||
4728 | 49 | install|abort-upgrade) | ||
4729 | 50 | ;; | ||
4730 | 51 | |||
4731 | 52 | *) | ||
4732 | 53 | echo "$PACKAGE preinst called with unknown argument \`$1'" >&2; | ||
4733 | 54 | exit 1; | ||
4734 | 55 | ;; | ||
4735 | 56 | esac; | ||
4736 | 57 | |||
4737 | 58 | #DEBHELPER# | ||
4738 | 59 | exit 0; | ||
4739 | 60 | 0 | ||
4740 | === removed file 'debian/build/debian/sendmail-base.prerm.in' | |||
4741 | --- debian/build/debian/sendmail-base.prerm.in 2004-12-15 19:30:00 +0000 | |||
4742 | +++ debian/build/debian/sendmail-base.prerm.in 1970-01-01 00:00:00 +0000 | |||
4743 | @@ -1,138 +0,0 @@ | |||
4744 | 1 | #!/bin/sh -e | ||
4745 | 2 | # | ||
4746 | 3 | # Debian pre removal script | ||
4747 | 4 | # | ||
4748 | 5 | # Install of already installed package: | ||
4749 | 6 | # 1) old-prerm upgrade new-version | ||
4750 | 7 | # *) new-prerm failed-upgrade old-version | ||
4751 | 8 | # *) old-postinst abort-upgrade new-version | ||
4752 | 9 | # | ||
4753 | 10 | # If a `conflicting' package is being removed at the same time: | ||
4754 | 11 | # 1) forall packages depending on conflicting package and --auto-deconfigure | ||
4755 | 12 | # deconfigured's-prerm deconfigure \ | ||
4756 | 13 | # in-favour package-being-installed version \ | ||
4757 | 14 | # removing conflicting-package version | ||
4758 | 15 | # *) deconfigured's-postinst abort-deconfigure \ | ||
4759 | 16 | # in-favour package-being-installed-but-failed version \ | ||
4760 | 17 | # removing conflicting-package version | ||
4761 | 18 | # 2) To prepare for removal of the conflicting package | ||
4762 | 19 | # conflictor's-prerm remove \ | ||
4763 | 20 | # in-favour package new-version | ||
4764 | 21 | # *) conflictor's-postinst abort-remove \ | ||
4765 | 22 | # in-favour package new-version | ||
4766 | 23 | # | ||
4767 | 24 | # Removal of a package: | ||
4768 | 25 | # 1) prerm remove | ||
4769 | 26 | # 2) The package's files are removed (except conffiles). | ||
4770 | 27 | # 3) postrm remove | ||
4771 | 28 | # 4) All the maintainer scripts except the postrm are removed. | ||
4772 | 29 | # | ||
4773 | 30 | set -e; | ||
4774 | 31 | |||
4775 | 32 | PACKAGE=sendmail-base; | ||
4776 | 33 | |||
4777 | 34 | case "$1" in | ||
4778 | 35 | remove) | ||
4779 | 36 | if [ ! -z "$2" ]; then | ||
4780 | 37 | echo "Removing $PACKAGE $2 $3($4)"; | ||
4781 | 38 | fi; | ||
4782 | 39 | |||
4783 | 40 | if [ -x /usr/sbin/update-inetd ]; then | ||
4784 | 41 | update-inetd --group MAIL --disable smtp,smtps,submission; | ||
4785 | 42 | fi; | ||
4786 | 43 | |||
4787 | 44 | # Make sure /etc/aliases is left (move it from /etc/mail if needed) | ||
4788 | 45 | if [ -L @sysconfdir@/mail/aliases ]; then | ||
4789 | 46 | rm -f @sysconfdir@/mail/aliases; | ||
4790 | 47 | elif [ -f @sysconfdir@/mail/aliases ] \ | ||
4791 | 48 | && [ -L /etc/aliases ]; then | ||
4792 | 49 | mv @sysconfdir@/mail/aliases /etc/aliases; | ||
4793 | 50 | fi; | ||
4794 | 51 | |||
4795 | 52 | # Remove psuedo conffiles (managed by sendmail) | ||
4796 | 53 | rm -f @sysconfdir@/cron.d/sendmail; | ||
4797 | 54 | |||
4798 | 55 | # Remove files scattered across the system that | ||
4799 | 56 | # happened to be created by sendmail | ||
4800 | 57 | rm -f @libdir@/sasl/Sendmail.conf; | ||
4801 | 58 | |||
4802 | 59 | # Remove those files created by sendmail | ||
4803 | 60 | rm -rf @localstatedir@/lib/sendmail; | ||
4804 | 61 | rm -rf @localstatedir@/run/sendmail; | ||
4805 | 62 | # Note: syslog really owns these files | ||
4806 | 63 | #rm -f @localstatedir@/log/mail/*; | ||
4807 | 64 | #rm -f @localstatedir@/log/mail.log; | ||
4808 | 65 | # Note: these can lead to a loss of mail!!!! | ||
4809 | 66 | if [ -x @sysconfdir@/init.d/sendmail ]; then | ||
4810 | 67 | @sysconfdir@/init.d/sendmail clean; | ||
4811 | 68 | fi; | ||
4812 | 69 | if [ -L @localstatedir@/spool/mqueue ]; then | ||
4813 | 70 | rmdir --ignore-fail-on-non-empty \ | ||
4814 | 71 | `readlink -fn @localstatedir@/spool/mqueue`; | ||
4815 | 72 | elif [ -d @localstatedir@/spool/mqueue ]; then | ||
4816 | 73 | rmdir --ignore-fail-on-non-empty \ | ||
4817 | 74 | @localstatedir@/spool/mqueue; | ||
4818 | 75 | fi; | ||
4819 | 76 | if [ -L @localstatedir@/spool/mqueue-client ]; then | ||
4820 | 77 | rmdir --ignore-fail-on-non-empty \ | ||
4821 | 78 | `readlink -fn @localstatedir@/spool/mqueue-client`; | ||
4822 | 79 | elif [ -d @localstatedir@/spool/mqueue-client ]; then | ||
4823 | 80 | rmdir --ignore-fail-on-non-empty \ | ||
4824 | 81 | @localstatedir@/spool/mqueue-client; | ||
4825 | 82 | fi; | ||
4826 | 83 | |||
4827 | 84 | # Remove sendmail built configuration files | ||
4828 | 85 | rm -f @sysconfdir@/mail/*.db \ | ||
4829 | 86 | @sysconfdir@/mail/*.dir \ | ||
4830 | 87 | @sysconfdir@/mail/*.pag; | ||
4831 | 88 | rm -f @sysconfdir@/mail/sendmail.cf \ | ||
4832 | 89 | @sysconfdir@/mail/sendmail.cf.old \ | ||
4833 | 90 | @sysconfdir@/mail/sendmail.cf.errors \ | ||
4834 | 91 | @sysconfdir@/mail/sendmail.mc.old \ | ||
4835 | 92 | @sysconfdir@/mail/submit.cf \ | ||
4836 | 93 | @sysconfdir@/mail/submit.cf.errors \ | ||
4837 | 94 | @sysconfdir@/mail/submit.mc.old \ | ||
4838 | 95 | @sysconfdir@/mail/databases \ | ||
4839 | 96 | @sysconfdir@/mail/Makefile \ | ||
4840 | 97 | ; | ||
4841 | 98 | rm -rf @sysconfdir@/mail/smrsh \ | ||
4842 | 99 | @sysconfdir@/mail/sasl \ | ||
4843 | 100 | @sysconfdir@/mail/tls; | ||
4844 | 101 | |||
4845 | 102 | # Remove empty files (probably touched databases) | ||
4846 | 103 | find @sysconfdir@/mail -maxdepth 1 -size 0 | xargs -r rm; | ||
4847 | 104 | ;; | ||
4848 | 105 | |||
4849 | 106 | upgrade) | ||
4850 | 107 | # Potentially move the old configuration file to the new name - | ||
4851 | 108 | # before it gets deleted (for not existing in the new package) | ||
4852 | 109 | mv -f @sysconfdir@/default/sendmail \ | ||
4853 | 110 | @sysconfdir@/mail/sendmail.conf 2>/dev/null || true; | ||
4854 | 111 | |||
4855 | 112 | # Prevent cronjob from running during upgrade... | ||
4856 | 113 | if [ -f /etc/cron.d/sendmail ]; then | ||
4857 | 114 | echo "#prerm" > @sysconfdir@/cron.d/sendmail; | ||
4858 | 115 | fi; | ||
4859 | 116 | ;; | ||
4860 | 117 | |||
4861 | 118 | failed-upgrade) | ||
4862 | 119 | ;; | ||
4863 | 120 | |||
4864 | 121 | deconfigure) | ||
4865 | 122 | echo "Deconfigure of $PACKAGE $2 $3($4) $5 $6($7) "; | ||
4866 | 123 | ;; | ||
4867 | 124 | |||
4868 | 125 | *) | ||
4869 | 126 | echo "$PACKAGE prerm called with unknown argument \`$1'" >&2; | ||
4870 | 127 | exit 1; | ||
4871 | 128 | ;; | ||
4872 | 129 | esac; | ||
4873 | 130 | |||
4874 | 131 | # The @DEBHELPER@ stuff causes problems with upgrades because of the | ||
4875 | 132 | # length of time that Sendmail is stopped... | ||
4876 | 133 | |||
4877 | 134 | # | ||
4878 | 135 | # Included for sanity checks | ||
4879 | 136 | # | ||
4880 | 137 | #DEBHELPER# | ||
4881 | 138 | exit 0; | ||
4882 | 139 | 0 | ||
4883 | === removed file 'debian/build/debian/sendmail-bin.dirs.in' | |||
4884 | --- debian/build/debian/sendmail-bin.dirs.in 2013-01-29 03:37:54 +0000 | |||
4885 | +++ debian/build/debian/sendmail-bin.dirs.in 1970-01-01 00:00:00 +0000 | |||
4886 | @@ -1,13 +0,0 @@ | |||
4887 | 1 | .@sysconfdir@/cron.daily | ||
4888 | 2 | .@sysconfdir@/init.d | ||
4889 | 3 | .@bindir@ | ||
4890 | 4 | .@sbindir@ | ||
4891 | 5 | .@libexecdir@ | ||
4892 | 6 | .@docdir@/sendmail-bin | ||
4893 | 7 | .@mandir@ | ||
4894 | 8 | .@mandir@/man1 | ||
4895 | 9 | .@mandir@/man5 | ||
4896 | 10 | .@mandir@/man8 | ||
4897 | 11 | .@localstatedir@/spool/mqueue | ||
4898 | 12 | .@localstatedir@/spool/mqueue-client | ||
4899 | 13 | .@datadir@/lintian/overrides | ||
4900 | 14 | 0 | ||
4901 | === removed file 'debian/build/debian/sendmail-bin.lintian-overrides' | |||
4902 | --- debian/build/debian/sendmail-bin.lintian-overrides 2013-09-13 09:58:41 +0000 | |||
4903 | +++ debian/build/debian/sendmail-bin.lintian-overrides 1970-01-01 00:00:00 +0000 | |||
4904 | @@ -1,15 +0,0 @@ | |||
4905 | 1 | sendmail-bin: duplicate-updaterc.d-calls-in-postinst sendmail | ||
4906 | 2 | sendmail-bin: suidregister-used-in-maintainer-script postinst | ||
4907 | 3 | sendmail-bin: suidregister-used-in-maintainer-script postinst | ||
4908 | 4 | sendmail-bin: duplicate-updaterc.d-calls-in-postinst sendmail | ||
4909 | 5 | sendmail-bin: setgid-binary usr/lib/sm.bin/sendmail 2755 root/mail | ||
4910 | 6 | sendmail-bin: setgid-binary usr/lib/sm.bin/mailstats 2755 root/mail | ||
4911 | 7 | sendmail-bin: manpage-section-mismatch usr/share/man/man8/newaliases.sendmail.8.gz:14 8 != 1 | ||
4912 | 8 | # sendmail-mta is managed via alternatives | ||
4913 | 9 | package-contains-broken-symlink usr/sbin/hoststat sendmail-mta | ||
4914 | 10 | package-contains-broken-symlink usr/sbin/newaliases sendmail-mta | ||
4915 | 11 | package-contains-broken-symlink usr/sbin/purgestat sendmail-mta | ||
4916 | 12 | package-contains-broken-symlink usr/share/man/man8/hoststat.8.gz sendmail-mta.8.gz | ||
4917 | 13 | package-contains-broken-symlink usr/share/man/man8/purgestat.8.gz sendmail-mta.8.gz | ||
4918 | 14 | binary-without-manpage usr/bin/mailq | ||
4919 | 15 | binary-without-manpage usr/sbin/newaliases | ||
4920 | 16 | 0 | ||
4921 | === removed file 'debian/build/debian/sendmail-bin.postinst.in' | |||
4922 | --- debian/build/debian/sendmail-bin.postinst.in 2008-04-21 18:04:00 +0000 | |||
4923 | +++ debian/build/debian/sendmail-bin.postinst.in 1970-01-01 00:00:00 +0000 | |||
4924 | @@ -1,320 +0,0 @@ | |||
4925 | 1 | #!/bin/sh -e | ||
4926 | 2 | # | ||
4927 | 3 | # Debian post installation script | ||
4928 | 4 | # | ||
4929 | 5 | # Install of already installed package: | ||
4930 | 6 | # 1) old-prerm upgrade new-version | ||
4931 | 7 | # *) new-prerm failed-upgrade old-version | ||
4932 | 8 | # *) old-postinst abort-upgrade new-version | ||
4933 | 9 | # | ||
4934 | 10 | # If a `conflicting' package is being removed at the same time: | ||
4935 | 11 | # 1) forall packages depending on conflicting package and --auto-deconfigure | ||
4936 | 12 | # deconfigured's-prerm deconfigure \ | ||
4937 | 13 | # in-favour package-being-installed version \ | ||
4938 | 14 | # removing conflicting-package version | ||
4939 | 15 | # *) deconfigured's-postinst abort-deconfigure \ | ||
4940 | 16 | # in-favour package-being-installed-but-failed version \ | ||
4941 | 17 | # removing conflicting-package version | ||
4942 | 18 | # 2) To prepare for removal of the conflicting package | ||
4943 | 19 | # conflictor's-prerm remove \ | ||
4944 | 20 | # in-favour package new-version | ||
4945 | 21 | # *) conflictor's-postinst abort-remove \ | ||
4946 | 22 | # in-favour package new-version | ||
4947 | 23 | # | ||
4948 | 24 | # Configuration of package: | ||
4949 | 25 | # postinst configure most-recently-configured-version | ||
4950 | 26 | # | ||
4951 | 27 | set -e; | ||
4952 | 28 | |||
4953 | 29 | PACKAGE=sendmail-bin; | ||
4954 | 30 | |||
4955 | 31 | #----------------------------------------------------------- | ||
4956 | 32 | #stop(): stop sendmail | ||
4957 | 33 | stop_mta () { | ||
4958 | 34 | # Account for varying PIDfile locations of older sendmail packages | ||
4959 | 35 | if [ -f /var/run/sendmail/mta/sendmail.pid ]; then | ||
4960 | 36 | start-stop-daemon --stop --oknodo --quiet \ | ||
4961 | 37 | --pidfile /var/run/sendmail/msp/sendmail.pid > /dev/null; | ||
4962 | 38 | start-stop-daemon --stop --oknodo --quiet \ | ||
4963 | 39 | -pidfile /var/run/sendmail/mta/sendmail.pid > /dev/null; | ||
4964 | 40 | elif [ -f /var/run/sendmail/sendmail.pid ]; then | ||
4965 | 41 | start-stop-daemon --stop --oknodo --quiet \ | ||
4966 | 42 | --pidfile /var/run/sendmail/sendmail.pid > /dev/null; | ||
4967 | 43 | elif [ -f /var/run/sendmail.pid ]; then | ||
4968 | 44 | start-stop-daemon --stop --oknodo --quiet \ | ||
4969 | 45 | --pidfile /var/run/sendmail.pid > /dev/null; | ||
4970 | 46 | fi; | ||
4971 | 47 | # Since we changed the executable, do one more try - using the old name | ||
4972 | 48 | if [ -f /var/run/sendmail/mta/sendmail.pid ]; then | ||
4973 | 49 | start-stop-daemon --stop --oknodo --quiet \ | ||
4974 | 50 | --pidfile /var/run/sendmail/mta/sendmail.pid > /dev/null; | ||
4975 | 51 | fi; | ||
4976 | 52 | start-stop-daemon --stop --oknodo --quiet \ | ||
4977 | 53 | --name sendmail > /dev/null; | ||
4978 | 54 | if [ -x @sysconfdir@/init.d/sendmail ]; then | ||
4979 | 55 | if [ -x /usr/sbin/invoke-rc.d ]; then | ||
4980 | 56 | /usr/sbin/invoke-rc.d --quiet --force sendmail stop; | ||
4981 | 57 | else | ||
4982 | 58 | @sysconfdir@/init.d/sendmail stop; | ||
4983 | 59 | fi; | ||
4984 | 60 | fi; | ||
4985 | 61 | }; | ||
4986 | 62 | |||
4987 | 63 | #----------------------------------------------------------- | ||
4988 | 64 | #start(): start sendmail | ||
4989 | 65 | start_mta () { | ||
4990 | 66 | if [ -x /usr/sbin/invoke-rc.d ]; then | ||
4991 | 67 | /usr/sbin/invoke-rc.d sendmail start; | ||
4992 | 68 | else | ||
4993 | 69 | @sysconfdir@/init.d/sendmail start; | ||
4994 | 70 | fi; | ||
4995 | 71 | }; | ||
4996 | 72 | |||
4997 | 73 | #----------------------------------------------------------- | ||
4998 | 74 | # configure(): save sendmail.cf, call sendmailconfig | ||
4999 | 75 | configure_mta () { | ||
5000 | 76 | local enter; |
The diff has been truncated for viewing.
Thanks. Uploaded.