From aee1bfd88eca8fb9022138347b7c0390c0e6f545 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 17 Oct 2023 15:48:05 +0900 Subject: Get rid of `set` with empty argument which dumps all definitions --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index b878e5cbde..75d98d0e47 100644 --- a/configure.ac +++ b/configure.ac @@ -3961,7 +3961,8 @@ AS_IF([test x"$enable_shared" = xyes], [ rb_cv_symbols_in_emptylib=`$NM -Pgp conftest$ac_exeext | sed ["/ [A-TV-Z] .*/!d;s///;s/^${SYMBOL_PREFIX}//;/^main$/d"]` ]) - set ${rb_cv_symbols_in_emptylib} + set dummy ${rb_cv_symbols_in_emptylib} + shift rb_cv_symbols_in_emptylib="$*" CC="$save_CC" ]) -- cgit v1.2.3