From: Amos Jeffries Date: Mon, 5 Jul 2010 11:50:36 +0000 (-0600) Subject: Better bug 2972 fix. X-Git-Tag: SQUID_3_1_5_1~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5e7090a5a45b47197f824abd0c5e35d53537f8ad;p=thirdparty%2Fsquid.git Better bug 2972 fix. sed the includes explicitly. Previous run worked unless code was actually bootstrapped to an older libtool version. --- diff --git a/bootstrap.sh b/bootstrap.sh index 2ccde1a503..d0f1721106 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -103,8 +103,12 @@ bootstrap_libtoolize() { chmod u-w $makefile # Libtool 2.2.6b we bundle is slightly broken with non-portable dependencies - sed 's//.h\"/g' > $src/ltdl.h.new; + sed 's//\"libltdl\/lt_system.h\"/g' $src/ltdl.h | + sed 's//\"libltdl\/lt_error.h\"/g' | + sed 's//\"libltdl\/lt_dlloader.h\"/g' > $src/ltdl.h.new; + chmod u+w $src/ltdl.h mv $src/ltdl.h.new $src/ltdl.h + chmod u-w $src/ltdl.h fi }