* 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>
+
+ 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.
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]
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])