]> git.ipfire.org Git - thirdparty/libtool.git/commit
Fix errors in distclean and maintainer-clean
authorIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Wed, 9 Oct 2024 17:02:28 +0000 (20:02 +0300)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Wed, 9 Oct 2024 17:02:28 +0000 (20:02 +0300)
commita1fe29d73b5b2cb34053aa85d31c522c48a7785a
treeeec8e81df1587df1ace8a38614ae5591f3a723f2
parent35edf20d659e9ab0143528eb69a6d5cdf12f949a
Fix errors in distclean and maintainer-clean

The variable, LT_ARGZ_H, can be empty, which causes distclean and
maintainer-clean to error as a directory is attempted to be removed
instead of a file.

When running maintainer-clean for gnulib-tests, the .version file is
missing, which is needed by config.status, so the command will error.

* configure.ac: Update CONFIG_STATUS_DEPENDENCIES to use dotversion so
  that the .version file can be generated if needed. Add AC_SUBST for
  LT_DOLLAR_SIGN use in libltdl/ltdl.mk.
* libltdl/ltdl.mk: Add conditional to check if LT_ARGZ_H is empty.
configure.ac
libltdl/ltdl.mk