]> Savannah Git Hosting - gnulib.git/commitdiff
canonicalize: make the right guess when cross-compiling to GNU
authorLudovic Courtès <ludo@gnu.org>
Sat, 7 Jul 2012 00:04:54 +0000 (02:04 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 8 Jul 2012 16:28:32 +0000 (18:28 +0200)
* m4/canonicalize.m4 (gl_FUNC_REALPATH_WORKS): Match also "gnu*" to
determine whether cross-compiling to glibc systems, so as to
include GNU/Hurd.

ChangeLog
m4/canonicalize.m4

index 94b3a9d1996d3e8b6d01671301c7150ccd32c2c5..d4ab131fd2713b66f1e44fbdff1476d38f4e93a9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2012-07-07  Ludovic Courtès  <ludo@gnu.org>
+           Bruno Haible  <bruno@clisp.org>
+
+       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  <eggert@cs.ucla.edu>
 
        timespec-sub: avoid duplicate include
index 69b3f4ca2fae580c6b09ef41244da9e3440b76f0..5acf6f0eb9a5621ce980a9b3d8e8c7d6e8e1a220 100644 (file)
@@ -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