]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Use fresh config.guess and config.sub when building distro 65/head
authorJeffrey Walton <noloader@gmail.com>
Mon, 10 Feb 2020 18:45:44 +0000 (13:45 -0500)
committerJeffrey Walton <noloader@gmail.com>
Mon, 10 Feb 2020 18:45:44 +0000 (13:45 -0500)
makedist.sh

index 557d57d2405fa17df767416ee9e21934b32d7c3f..90f03f97ebcc6c0b6e4e5092e307671ec4c86fda 100755 (executable)
@@ -139,6 +139,14 @@ info "Running  Libtoolize script (libtoolize)."
 libtoolize -c --install || libtoolize -c || error_cleanup "Libtoolize failed."
 [ -f ../../install-sh.bak ] && mv ../../install-sh.bak ../../install-sh
 
+# Allow libtool to install the distro's config.guess and config.sub. It avoids a pesky
+# error message. After libtool is finished, update the scripts from Savannah. This step
+# is useful for downlevel clients like OS X and Solaris (and existing scripts with bugs).
+info "Fetching latest config.guess and config.sub"
+wget -q -O config.guess 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' || error_cleanup "Failed to fetch config.guess"
+wget -q -O config.sub 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD' || error_cleanup "Failed to fetch config.sub"
+chmod a+x config.guess config.sub
+
 info "Building configure script (autoconf)."
 autoreconf -vfi || error_cleanup "Autoconf failed."