I'm not sure where to put this, so mods feel free to move this.
I am in the awkward position of needing the m4 files in cURL. The default Arch package doesn't include them (not sure why), but a package that contains them can be found in the AUR. However, since the package and Arch's curl conflict (despite the former being a superset of the latter) I can't install it the Arch way. So I have to manually download the cURL package (after it already being downloaded) and move the m4 files over. This has gotten to the point where I am tired of doing it...
Can someone enlighten me as to why the default Arch package doesn't include them?
Why can't you remove the stock Arch curl package and install the one from the AUR?
You can use ABS to modify the stock PKGBUILD by adding the install line
# devel install -Dm644 docs/libcurl/libcurl.m4 "$pkgdir/usr/share/aclocal/libcurl.m4"
The PKGBUILDs otherwise seem to be functionally identical:
https://aur.archlinux.org/packages/cu/c … s/PKGBUILD
https://projects.archlinux.org/svntogit … kages/curl
Seems to me that you have a few options:
1) Include the file as part of your project (AC_CONFIG_MACRO_DIR makes this easy)
2) Throw a patch at upstream so that the m4 file is distributed by default
3) Pollute the AUR with a package that builds all of curl just to include a plain text file
I've chosen the 2nd option, as it starts a discussion with the people who are responsible for the file.
curl 7.34.0 will ship its m4 file:
the system works....