>       * build-aux/config.libpath: Accept a second argument. Use it on
>       FreeBSD/powerpc64.
>       (func_usage): Document it.

Oops, there was a mistake here. Fixed as follows:


2024-08-26  Bruno Haible  <br...@clisp.org>

        relocatable-prog: Fix config.libpath failure (regression 2024-08-24).
        * build-aux/config.libpath: Expect 2 arguments, not 1.

diff --git a/build-aux/config.libpath b/build-aux/config.libpath
index ba0f94426b..a4da78823c 100755
--- a/build-aux/config.libpath
+++ b/build-aux/config.libpath
@@ -94,10 +94,10 @@ while test $# -gt 0; do
   esac
 done
 
-if test $# -gt 1; then
+if test $# -gt 2; then
   func_fatal_error "too many arguments"
 fi
-if test $# -lt 1; then
+if test $# -lt 2; then
   func_fatal_error "too few arguments"
 fi
 




Reply via email to