autoopts/Makefile.am:383: error: GL_GENERATE_STDNORETURN_H does not
appear in AM_CONDITIONAL
Once upon a time, I was readily able to use gnulib. However, I retired
and didn't have much compelling need to keep up with usage changes.
However, there are a couple of tweaks and the current autogen release is
a bit long in the tooth. But I cannot build it. I have a bunch of
similar messages for quite a few GL_* conditionals:
GL_COND_OBJ_DUP2
GL_COND_OBJ_MSVC_INVAL
GL_COND_OBJ_MSVC_NOTHROW
GL_COND_OBJ_NANOSLEEP
GL_COND_OBJ_PSELECT
GL_COND_OBJ_PTHREAD_SIGMASK
GL_COND_OBJ_RAISE
GL_COND_OBJ_SELECT
GL_COND_OBJ_SIGPROCMASK
GL_GENERATE_ALLOCA_H
GL_GENERATE_ERRNO_H
GL_GENERATE_LIMITS_H
GL_GENERATE_STDALIGN_H
GL_GENERATE_STDBOOL_H
GL_GENERATE_STDDEF_H
GL_GENERATE_STDINT_H
GL_GENERATE_STDNORETURN_H
GL_GENERATE_SYS_SOCKET_H
and I don't know how they are supposed to wind up getting wrapped in
??_CONDITIONAL() m4 macros. Well, some seem to be:
$ grep -E '\<GL_(GENERATE|COND_OBJ)_[A-Z0-9]' $(find * -type f -name
'*.m4')
config/gnulib-comp.m4: gl_CONDITIONAL([GL_COND_OBJ_DUP2], [test
$REPLACE_DUP2 = 1])
config/gnulib-comp.m4: AM_COND_IF([GL_COND_OBJ_DUP2], [
config/gnulib-comp.m4: gl_CONDITIONAL([GL_COND_OBJ_MSVC_INVAL],
config/gnulib-comp.m4: gl_CONDITIONAL([GL_COND_OBJ_MSVC_NOTHROW],
config/gnulib-comp.m4: gl_CONDITIONAL([GL_COND_OBJ_NANOSLEEP],
config/gnulib-comp.m4: gl_CONDITIONAL([GL_COND_OBJ_PSELECT],
config/gnulib-comp.m4: gl_CONDITIONAL([GL_COND_OBJ_PTHREAD_SIGMASK],
config/gnulib-comp.m4: AM_COND_IF([GL_COND_OBJ_PTHREAD_SIGMASK], [
config/gnulib-comp.m4: gl_CONDITIONAL([GL_COND_OBJ_RAISE],
config/gnulib-comp.m4: AM_COND_IF([GL_COND_OBJ_RAISE], [
config/gnulib-comp.m4: gl_CONDITIONAL([GL_COND_OBJ_SELECT], [test
$REPLACE_SELECT = 1])
config/gnulib-comp.m4: gl_CONDITIONAL([GL_COND_OBJ_SIGPROCMASK], [test
$HAVE_POSIX_SIGNALBLOCKING = 0])
config/gnulib-comp.m4: AM_COND_IF([GL_COND_OBJ_SIGPROCMASK], [
and it doesn't necessarily suppress the error message:
autoopts/Makefile.am:140: error: GL_COND_OBJ_DUP2 does not appear in
AM_CONDITIONAL
even though it is in an AM_COND_IF() macro.
So, do I need to completely re-learn gnulib, or is there something simple?