]> Savannah Git Hosting - gnulib.git/commitdiff
error, getprogname: Stricter dependency conditions.
authorBruno Haible <bruno@clisp.org>
Mon, 2 Sep 2024 08:42:53 +0000 (10:42 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 2 Sep 2024 08:42:53 +0000 (10:42 +0200)
* modules/error (Depends-on): Add dependency condition.
* modules/getprogname (Depends-on): Make dependency condition stricter.
(configure.ac): Require AC_CANONICAL_HOST.

ChangeLog
modules/error
modules/getprogname

index 48a2078a0e3daf5e29fc861881e1e0792961d48f..c7b372d2aab6de5fb6dfef41eb0b5699ade353da 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2024-09-02  Bruno Haible  <bruno@clisp.org>
+
+       error, getprogname: Stricter dependency conditions.
+       * modules/error (Depends-on): Add dependency condition.
+       * modules/getprogname (Depends-on): Make dependency condition stricter.
+       (configure.ac): Require AC_CANONICAL_HOST.
+
 2024-09-02  Bruno Haible  <bruno@clisp.org>
 
        utime, futimens tests: Avoid test failure on Haiku.
index 4d896ce9136d6f7e273264487ba3fea6132bee5d..36bf18a23386f4ae2d96d07c3413fd66c9e6b133 100644 (file)
@@ -9,7 +9,7 @@ Depends-on:
 error-h
 stddef
 stdio
-getprogname
+getprogname     [test $COMPILE_ERROR_C = 1]
 strerror        [test $COMPILE_ERROR_C = 1]
 unistd          [test $COMPILE_ERROR_C = 1]
 msvc-nothrow    [test $COMPILE_ERROR_C = 1]
index 0631589ee6abcc2e975749be5c358962ffc6870f..ff0b91cbe069fde027a84a41effc62612aab9927 100644 (file)
@@ -10,9 +10,10 @@ Depends-on:
 stdlib
 basename-lgpl   [test $HAVE_GETPROGNAME = 0]
 extensions      [test $HAVE_GETPROGNAME = 0]
-open            [test $HAVE_GETPROGNAME = 0]
+open            [test $HAVE_GETPROGNAME = 0 && case "$host_os" in irix* | osf* | sco* | unixware*) true;; *) false;; esac]
 
 configure.ac:
+AC_REQUIRE([AC_CANONICAL_HOST])
 gl_FUNC_GETPROGNAME
 gl_CONDITIONAL([GL_COND_OBJ_GETPROGNAME],
                [test $HAVE_GETPROGNAME = 0 || test $REPLACE_GETPROGNAME = 1])