Adjust to verror change for program name

* configure.ac (ENABLE_ERROR_PRINT_PROGNAME):
Adjust to match new Gnulib behavior.
This commit is contained in:
Paul Eggert
2024-08-15 10:24:15 -07:00
parent 812a49419a
commit a0a1243c69

View File

@@ -112,9 +112,8 @@ AC_DEFINE([GNULIB_WCHAR_SINGLE_LOCALE], [1],
like mbrtowc only after setting the locale, and never change the like mbrtowc only after setting the locale, and never change the
locale once set.]) locale once set.])
if test $ac_cv_lib_error_at_line = no; then if test $COMPILE_ERROR_C = 1; then
# This means that the error() function is not present in libc, so # This means that Gnulib's 'error' function will be used. It precedes
# the one from gnulib will be used instead. This function precedes
# error messages it prints with the program name as returned by getprogname() # error messages it prints with the program name as returned by getprogname()
# call, instead of using the name set by set_program_name. # call, instead of using the name set by set_program_name.
# Install workaround. # Install workaround.