1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00

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.
This commit is contained in:
Bruno Haible
2024-09-02 10:42:53 +02:00
parent 66c0b5d1ca
commit da2e865aa6
3 changed files with 10 additions and 2 deletions

View 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])