Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AC_HELP_STRING is obsolete in autoconf 2.70 #6647

Closed
emilengler opened this issue Feb 23, 2021 · 2 comments
Closed

AC_HELP_STRING is obsolete in autoconf 2.70 #6647

emilengler opened this issue Feb 23, 2021 · 2 comments
Assignees
Labels

Comments

@emilengler
Copy link
Contributor

@emilengler emilengler commented Feb 23, 2021

I did this

./buildconf

stdout, stderr

The stderr starts like this:

*** Do not use buildconf. Instead, just use: autoreconf -fi
configure.ac:45: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:45: You should run autoupdate.
/usr/local/share/autoconf-2.70/autoconf/general.m4:203: AC_HELP_STRING is expanded from...
m4/curl-confopts.m4:173: CURL_CHECK_OPTION_DEBUG is expanded from...
configure.ac:45: the top level
configure.ac:46: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:46: You should run autoupdate.
/usr/local/share/autoconf-2.70/autoconf/general.m4:203: AC_HELP_STRING is expanded from...
m4/curl-confopts.m4:228: CURL_CHECK_OPTION_OPTIMIZE is expanded from...
configure.ac:46: the top level
configure.ac:47: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:47: You should run autoupdate.
/usr/local/share/autoconf-2.70/autoconf/general.m4:203: AC_HELP_STRING is expanded from...
m4/curl-confopts.m4:386: CURL_CHECK_OPTION_WARNINGS is expanded from...
configure.ac:47: the top level
configure.ac:48: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:48: You should run autoupdate.
/usr/local/share/autoconf-2.70/autoconf/general.m4:203: AC_HELP_STRING is expanded from...
m4/curl-confopts.m4:417: CURL_CHECK_OPTION_WERROR is expanded from...
configure.ac:48: the top level
configure.ac:49: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:49: You should run autoupdate.

I expected the following

No obsolete warnings

curl/libcurl version

fb98a43

operating system

OpenBSD-current, autoconf-2.70, automake-1.16

@bagder
Copy link
Member

@bagder bagder commented Feb 23, 2021

For the moment, I'd advice you to either stick with autoconf 2.69 or do as the warnings suggest: run autoupdate before you run autoconf.

2.70 is claimed to "not able to maintain perfect backward compatibility with existing Autoconf scripts" which of course is terribly annoying if we want to support both newer and older versions.

@bagder bagder added the build label Feb 23, 2021
@bagder
Copy link
Member

@bagder bagder commented Feb 24, 2021

AC_HELP_STRING is now deprecated but can be replaced with AS_HELP_STRING - which seems to indicate that this dangerous-looking warning is completely uncalled for.

I guess we should provide a private AS_HELP_STRING macro for users of autoconf <= 2.69 and then do the replace.

bagder added a commit that referenced this issue Mar 15, 2021
AC_HELP_STRING is deprecated in 2.70+ and I believe AS_HELP_STRING works
already since 2.59 so bump the minimum required version to that.

Reported-by: Emil Engler
Fixes #6647
@bagder bagder self-assigned this Mar 16, 2021
@bagder bagder closed this in a59f046 Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants