From 5dafa4a270483728c7774691c054905a2ff66868 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 29 Jul 2008 19:31:34 +0000 Subject: [PATCH] For testing purposes on SunOS systems; directly feed acinclude.m4 with reentrant.m4 and remove reentrant.m4 before calling aclocal. --- buildconf | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/buildconf b/buildconf index ef19251..58f9def 100755 --- a/buildconf +++ b/buildconf @@ -312,6 +312,18 @@ if test "x$tmp_host_type" = "xSunOS"; then IFS=$old_IFS echo "buildconf: SED: $SED" + echo "buildconf: Feeding acinclude.m4 with reentrant.m4" + + sed 's/m4_include.*m4.*reentrant.m4.*//' acinclude.m4 > acinclude.2 + mv acinclude.2 acinclude.m4 + cat m4/reentrant.m4 >> acinclude.m4 + rm -f m4/reentrant.m4 + + sed 's/m4_include.*m4.*reentrant.m4.*//' ares/acinclude.m4 > ares/acinclude.2 + mv ares/acinclude.2 ares/acinclude.m4 + cat ares/m4/reentrant.m4 >> ares/acinclude.m4 + rm -f ares/m4/reentrant.m4 + fi echo "buildconf: running libtoolize" -- 2.7.4