]> git.ipfire.org Git - thirdparty/krb5.git/commit
Reduce warnings from mainline autoconf 1134/head
authorGreg Hudson <ghudson@mit.edu>
Sun, 8 Nov 2020 23:40:42 +0000 (18:40 -0500)
committerGreg Hudson <ghudson@mit.edu>
Mon, 7 Dec 2020 06:32:26 +0000 (01:32 -0500)
commit28ffafcbd35e82c4feef6591a108fd27b5718f00
tree06291506ba6ae3541c7f979b26d76039e0d174f7
parentb89d63a51271bd0258b9d24732e9f0cb0ba5d006
Reduce warnings from mainline autoconf

In configure.ac and aclocal.m4, eliminate the use of old macros that
will generate warning from the forthcoming autoconf 2.70 release.
Specifically:

* Use AS_HELP_STRING instead of AC_HELP_STRING.

* Use AC_{COMPILE,LINK,RUN}_IFELSE and AC_LANG_{SOURCE,PROGRAM}
instead of AC_TRY_COMPILE and similar.

* Use m4_foreach_w instead of ac_foreach.

* Eliminate AC_PROG_LEX and yylineno checking, as we no longer use
  lex.

* As recommended by autoconf, assume that signal handlers return void
  as specified in C89.

* As recommmended by autoconf, assume <time.h> is present and that
  <sys/time.h>, if present, can be included alongside it.

* Don't call AC_CHECK_FUNCS with a shell variable for the thread
  safety checks.  Instead just assume (as is currently the case) that
  all of the functions have been previously checked.
13 files changed:
src/aclocal.m4
src/configure.ac
src/include/k5-gmt_mktime.h
src/include/k5-int.h
src/kadmin/cli/getdate.y
src/kadmin/cli/kadmin.h
src/kdc/main.c
src/lib/krb5/os/prompter.c
src/tests/dejagnu/t_inetd.c
src/tests/gss-threads/gss-misc.c
src/util/ss/list_rqs.c
src/util/ss/listen.c
src/util/support/gmt_mktime.c