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

Warning when using autoconf from version 2.62 and 2.70 #284

Closed
gsnw opened this issue Sep 30, 2023 · 2 comments
Closed

Warning when using autoconf from version 2.62 and 2.70 #284

gsnw opened this issue Sep 30, 2023 · 2 comments

Comments

@gsnw
Copy link
Contributor

gsnw commented Sep 30, 2023

Autoconf generate the following warning when using from version 2.62
Fix is in progress

configure.ac:7: warning: The macro `AC_GNU_SOURCE' is obsolete.
configure.ac:7: You should run autoupdate.
./lib/autoconf/specific.m4:312: AC_GNU_SOURCE is expanded from...
configure.ac:7: the top level
configure.ac:62: warning: The macro `AC_PROG_CC_STDC' is obsolete.
configure.ac:62: You should run autoupdate.
./lib/autoconf/c.m4:1666: AC_PROG_CC_STDC is expanded from...

Reference
[1] https://www.gnu.org/software/autoconf/manual/autoconf-2.62/html_node/Obsolete-Macros.html
[2] https://www.gnu.org/software/autoconf/manual/autoconf-2.70/html_node/Obsolete-Macros.html

@gsnw
Copy link
Contributor Author

gsnw commented Sep 30, 2023

For the obsolete macro AC_GNU_SOURCE I have implemented a solution in 65e98a3. For AC_PROG_CC_STDC I have not yet found a solution, because this is obsolete only from version 2.70.
Problem with AC_PROG_CC_STDC is, the used AC_AUTOCONF_VERSION is e.g. with Debian too inaccurate, in order to be able to read out a clear version.
This is also described at https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Versioning.html.

@gsnw gsnw changed the title Warning when using autoconf from version 2.62 Warning when using autoconf from version 2.62 and 2.70 Sep 30, 2023
@gsnw
Copy link
Contributor Author

gsnw commented Nov 1, 2023

Correction is ready with pull request #286

@gsnw gsnw closed this as completed Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants