diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-07-07 02:04:54 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2012-07-08 18:28:32 +0200 |
commit | cfd4956852c95125e0b89871985e4f54697acd79 (patch) | |
tree | 3a6aebc6b87991c8b041a0e78c7c00fccf574416 /m4/canonicalize.m4 | |
parent | e630af09e1b36f59d59d198387523d14162b0758 (diff) | |
download | gnulib-cfd4956852c95125e0b89871985e4f54697acd79.tar.gz |
canonicalize: make the right guess when cross-compiling to GNU
* m4/canonicalize.m4 (gl_FUNC_REALPATH_WORKS): Match also "gnu*" to
determine whether cross-compiling to glibc systems, so as to
include GNU/Hurd.
Diffstat (limited to 'm4/canonicalize.m4')
-rw-r--r-- | m4/canonicalize.m4 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/m4/canonicalize.m4 b/m4/canonicalize.m4 index 69b3f4ca2f..5acf6f0eb9 100644 --- a/m4/canonicalize.m4 +++ b/m4/canonicalize.m4 @@ -1,4 +1,4 @@ -# canonicalize.m4 serial 24 +# canonicalize.m4 serial 25 dnl Copyright (C) 2003-2007, 2009-2012 Free Software Foundation, Inc. @@ -94,10 +94,10 @@ AC_DEFUN([gl_FUNC_REALPATH_WORKS], [gl_cv_func_realpath_works=yes], [gl_cv_func_realpath_works=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu*) gl_cv_func_realpath_works="guessing yes" ;; - # If we don't know, assume the worst. - *) gl_cv_func_realpath_works="guessing no" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_realpath_works="guessing yes" ;; + # If we don't know, assume the worst. + *) gl_cv_func_realpath_works="guessing no" ;; esac ]) rm -rf conftest.a conftest.d |