From: Paul Eggert Date: Thu, 15 Aug 2024 17:24:15 +0000 (-0700) Subject: Adjust to verror change for program name X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=a0a1243c698caf2078a026d97869a7e79d1553df;p=thirdparty%2Ftar.git Adjust to verror change for program name * configure.ac (ENABLE_ERROR_PRINT_PROGNAME): Adjust to match new Gnulib behavior. --- diff --git a/configure.ac b/configure.ac index 38b34529..a5a303ce 100644 --- a/configure.ac +++ b/configure.ac @@ -112,9 +112,8 @@ AC_DEFINE([GNULIB_WCHAR_SINGLE_LOCALE], [1], like mbrtowc only after setting the locale, and never change the locale once set.]) -if test $ac_cv_lib_error_at_line = no; then - # This means that the error() function is not present in libc, so - # the one from gnulib will be used instead. This function precedes +if test $COMPILE_ERROR_C = 1; then + # This means that Gnulib's 'error' function will be used. It precedes # error messages it prints with the program name as returned by getprogname() # call, instead of using the name set by set_program_name. # Install workaround.