mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
Work around `gl_CANONICALIZE_LGPL' bug when cross-compiling to GNU/Hurd.
* gnulib-local/m4/canonicalize.m4.diff: New file. * Makefile.am (EXTRA_DIST): Add it.
This commit is contained in:
parent
015b708795
commit
ad4eb036dc
2 changed files with 18 additions and 1 deletions
|
@ -48,3 +48,20 @@ index 69b3f4c..3c4c5ee 100644
|
||||||
+ esac
|
+ esac
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
Now, work around a second bug: fix default value when cross-compiling
|
||||||
|
for GNU/Hurd.
|
||||||
|
|
||||||
|
index 69b3f4c..111ddf8 100644
|
||||||
|
--- a/m4/canonicalize.m4
|
||||||
|
+++ b/m4/canonicalize.m4
|
||||||
|
@@ -95,7 +95,7 @@ AC_DEFUN([gl_FUNC_REALPATH_WORKS],
|
||||||
|
[gl_cv_func_realpath_works=no],
|
||||||
|
[case "$host_os" in
|
||||||
|
# Guess yes on glibc systems.
|
||||||
|
- *-gnu*) gl_cv_func_realpath_works="guessing yes" ;;
|
||||||
|
+ *gnu*) gl_cv_func_realpath_works="guessing yes" ;;
|
||||||
|
# If we don't know, assume the worst.
|
||||||
|
*) gl_cv_func_realpath_works="guessing no" ;;
|
||||||
|
esac
|
||||||
|
|
|
@ -107,7 +107,7 @@ AC_DEFUN([gl_FUNC_REALPATH_WORKS],
|
||||||
[gl_cv_func_realpath_works=no],
|
[gl_cv_func_realpath_works=no],
|
||||||
[case "$host_os" in
|
[case "$host_os" in
|
||||||
# Guess yes on glibc systems.
|
# Guess yes on glibc systems.
|
||||||
*-gnu*) gl_cv_func_realpath_works="guessing yes" ;;
|
*gnu*) gl_cv_func_realpath_works="guessing yes" ;;
|
||||||
# If we don't know, assume the worst.
|
# If we don't know, assume the worst.
|
||||||
*) gl_cv_func_realpath_works="guessing no" ;;
|
*) gl_cv_func_realpath_works="guessing no" ;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue