]> git.ipfire.org Git - thirdparty/tar.git/commitdiff
Adjust to verror change for program name
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Aug 2024 17:24:15 +0000 (10:24 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Aug 2024 17:27:47 +0000 (10:27 -0700)
* configure.ac (ENABLE_ERROR_PRINT_PROGNAME):
Adjust to match new Gnulib behavior.

configure.ac

index 38b3452953e5b719368b77107479e5dce4fa43f5..a5a303ce4ecc3a1ccbfa173e22bab1eb07d6bdb9 100644 (file)
@@ -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.