-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update configure for modern autoconf
Some features that our configure system uses have been long deprecated in autoconf but remained silently accepted. In very, very recent versions they've started loudly proclaiming these features "obsolete" and telling users that they "should run autoupdate". This is in fact unnecessary to do, but it is also unnecessary that we continue to use ancient features. AC_TRY_COMPILE, AC_TRY_LINK, AC_LANG_C, AC_HEADER_TIME, and AC_HEADER_STDC are all now flagged as obsolete in this way. The first three have easy equivalents in modern autoconf (modern being "after autoconf 2.60, which was released in 2006"). The latter two are really unnecessary with all standards-compliant C compilers (which these days is "all of them"). Fixing the first three is easy, and I'm doing that now in this commit. Fixing the other two is much more involved and I'm leaving them in place for now. Users who upgrade to a version of autoconf later than 2.69 may start seeing warnings that "AC_HEADER_STDC" and "AC_HEADER_TIME" are obsolete, and telling them to run autoupdate. These users should IGNORE that warning and just keep going. We'll have to remove AC_HEADER_STDC, AC_HEADER_TIME, and a bunch of now-unnecessary probes for standard functions that should alwyas exist on any modern system at some later date, because this kind of thing is only going to get worse at the rate that things are going.
- Loading branch information
Showing
2 changed files
with
42 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters