Commit 0e0d2b6
committed
Have autogen.sh copy in some files
Debian policy calls for these files not to be duplicated. However, we
need to do it in a portable way (e.g., works on RPM-based systems so
/usr/share/misc/config.guess is not OK; does not touch network, so doing
curl/wget of the canonical config.guess file is not OK)
While there should be an obvious way to copy these files, there's .. not.
This is the best I could come up with, using files from automake without
actually invoking it.
While I did not actually BUILD on an rpm-based system, I checked the
content of the automake rpm of fedora 36 and it looks like it should work.
I'd rather avoid the new build-time dependency on automake, but
"automake --print-libdir" was the only 'portable' way I found to print
the location of a directory containing config.guess, config.sub and
install-sh.
Alternative to #16251 parent e398a8b commit 0e0d2b6
File tree
6 files changed
+20
-3824
lines changed- debian
- src
6 files changed
+20
-3824
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
7 | 16 | | |
8 | 17 | | |
9 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
10 | 24 | | |
0 commit comments