From: Ludovic Courtès Date: Sat, 7 Jul 2012 00:04:54 +0000 (+0200) Subject: canonicalize: make the right guess when cross-compiling to GNU X-Git-Tag: v0.1~554 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=cfd4956852c95125e0b89871985e4f54697acd79;p=gnulib.git 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. --- diff --git a/ChangeLog b/ChangeLog index 94b3a9d19..d4ab131fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2012-07-07 Ludovic Courtès + Bruno Haible + + 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. + 2012-07-06 Paul Eggert timespec-sub: avoid duplicate include diff --git a/m4/canonicalize.m4 b/m4/canonicalize.m4 index 69b3f4ca2..5acf6f0eb 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