Werner LEMBERG
2016-11-19 13:44:37 UTC
Folks,
I got the following report for groff
https://savannah.gnu.org/bugs/?49651
The groff build from repository source fails in the ./bootstrap
phase on MacOS X systems. GNU libtool conflicts with the Xcode
libtool. The attached patch [below] checks for a Darwin build and
uses glibtool/glibtoolize when detected.
This looks reasonable to me. Is this the right fix? If yes, please
incorporate it into gnulib.
Werner
======================================================================
diff --git a/bootstrap b/bootstrap
index ce90bc4..a9cb5e5 100755
--- a/bootstrap
+++ b/bootstrap
@@ -435,7 +435,10 @@ check_versions() {
while read app req_ver; do
# We only need libtoolize from the libtool package.
if test "$app" = libtool; then
- app=libtoolize
+ case `uname` in
+ Darwin*) app=glibtoolize ;;
+ *) app=libtoolize ;;
+ esac
fi
# Exempt git if --no-git is in effect.
if test "$app" = git; then
I got the following report for groff
https://savannah.gnu.org/bugs/?49651
The groff build from repository source fails in the ./bootstrap
phase on MacOS X systems. GNU libtool conflicts with the Xcode
libtool. The attached patch [below] checks for a Darwin build and
uses glibtool/glibtoolize when detected.
This looks reasonable to me. Is this the right fix? If yes, please
incorporate it into gnulib.
Werner
======================================================================
diff --git a/bootstrap b/bootstrap
index ce90bc4..a9cb5e5 100755
--- a/bootstrap
+++ b/bootstrap
@@ -435,7 +435,10 @@ check_versions() {
while read app req_ver; do
# We only need libtoolize from the libtool package.
if test "$app" = libtool; then
- app=libtoolize
+ case `uname` in
+ Darwin*) app=glibtoolize ;;
+ *) app=libtoolize ;;
+ esac
fi
# Exempt git if --no-git is in effect.
if test "$app" = git; then