OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_74_1-77-g07098dc
Gerrit Code Review
Thu, 6 May 2010 12:24:02 -0700 (PDT)
The following commit has been merged in the master branch:
Author: Simon Wilkinson <firstname.lastname@example.org>
Date: Thu May 6 15:00:00 2010 +0100
Modernise use of AC_CHECK_TYPE
Prior to autoconf 2.13, AC_CHECK_TYPE took two arguments, the type
to check and the a default type to use if that type wasn't defined.
This usage has been deprecated since 2.13, and the AC_CHECK_TYPE
macro itself now behaves differently. Whilst there is a compatibility
mode, the autoconf documentation discourages its use.
We also have an occurence of a slightly more modern AC_CHECK_TYPE,
where we explicitly #define a default value if one isn't provided.
The autoconf manual also discourages this form, however, in favour
of using AC_CHECK_TYPES, and placing suitable typedefs in an
external header file.
Modify our code so we do things in the recommended way.
Reviewed-by: Derrick Brashear <email@example.com>
Tested-by: Derrick Brashear <firstname.lastname@example.org>
acinclude.m4 | 6 ++----
src/config/stds.h | 8 ++++++++
2 files changed, 10 insertions(+), 4 deletions(-)
OpenAFS Master Repository