summaryrefslogtreecommitdiff
path: root/scripts/build/companion_libs
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-02-27 04:42:32 (GMT)
committerAlexey Neyman <stilor@att.net>2017-02-27 04:42:32 (GMT)
commit2dae1cf81619606b133888675d5ebf1b688d9d7c (patch)
treed5592c1e342ff2f98ed18983394e901fc54a336b /scripts/build/companion_libs
parent59bab98b2de061f395dc81f9a31157b4b1f9de91 (diff)
Require GNU sed
After much struggling with macos (BSD) sed and even getting everything work in crosstool-ng itself, I had to abandon that because some components rely on GNU syntax. Specifically, GNU libc uses '/.../{H;g}' (note absense of the separator after 'g'). So, revert the -r/-E detection and check for sed's being of GNU origin. MacOS people, sorry, but you'd have to install GNU sed. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/companion_libs')
-rw-r--r--scripts/build/companion_libs/110-mpfr.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/scripts/build/companion_libs/110-mpfr.sh b/scripts/build/companion_libs/110-mpfr.sh
index a7b7f72..5a89077 100644
--- a/scripts/build/companion_libs/110-mpfr.sh
+++ b/scripts/build/companion_libs/110-mpfr.sh
@@ -41,28 +41,6 @@ do_mpfr_extract() {
fi
CT_Popd
;;
- 1.*|2.0.*|2.1.*|2.2.*|2.3.*)
- CT_Pushd "${CT_SRC_DIR}/mpfr-${CT_MPFR_VERSION}"
- if [ ! -f .autotools.ct-ng ]; then
- CT_DoLog DEBUG "Re-building autotools files"
- CT_DoExecLog ALL autoreconf -fi
- # Starting with libtool-1.9f, config.{guess,sub} are no longer
- # installed without -i, but starting with libtool-2.2.6, they
- # are no longer removed without -i. Sight... Just use -i with
- # libtool >=2
- # See: http://sourceware.org/ml/crossgcc/2008-11/msg00046.html
- # and: http://sourceware.org/ml/crossgcc/2008-11/msg00048.html
- libtoolize_opt=
- case "$(libtoolize --version |head -n 1 |awk '{ print $(NF); }')" in
- 0.*) ;;
- 1.*) ;;
- *) libtoolize_opt=-i;;
- esac
- CT_DoExecLog ALL libtoolize -f ${libtoolize_opt}
- touch .autotools.ct-ng
- fi
- CT_Popd
- ;;
esac
}