diff options
author | Jim Meyering <jim@meyering.net> | 1999-01-29 05:05:56 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-01-29 05:05:56 +0000 |
commit | 56fee444e249781b36def6ed980dff82faae22ad (patch) | |
tree | 0d670c0f8420d0ee83970d476088ba221866855c /m4/strftime.m4 | |
parent | cef9c0a44a19a86489950bf08dd41982a3c1d9fa (diff) | |
download | coreutils-56fee444e249781b36def6ed980dff82faae22ad.tar.xz |
Use the 3-argument forms of AC_DEFINE* macros.
Diffstat (limited to 'm4/strftime.m4')
-rw-r--r-- | m4/strftime.m4 | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/m4/strftime.m4 b/m4/strftime.m4 index 3f105e986..fd4b6ffa5 100644 --- a/m4/strftime.m4 +++ b/m4/strftime.m4 @@ -1,4 +1,4 @@ -#serial 5 +#serial 6 dnl This macro is intended to be used solely in this file. dnl These are the prerequisite macros for GNU's strftime.c replacement. @@ -13,11 +13,6 @@ AC_DEFUN(_jm_STRFTIME_PREREQS, dnl Determine if the strftime function has all the features of the GNU one. dnl -dnl If you use this macro in a package, you should -dnl add the following two lines to acconfig.h: -dnl /* Define to gnu_strftime if the replacement function should be used. */ -dnl #undef strftime -dnl dnl From Jim Meyering. dnl AC_DEFUN(jm_FUNC_GNU_STRFTIME, @@ -139,7 +134,8 @@ changequote([, ])dnl ]) if test $jm_cv_func_working_gnu_strftime = no; then LIBOBJS="$LIBOBJS strftime.o" - AC_DEFINE_UNQUOTED(strftime, gnu_strftime) + AC_DEFINE_UNQUOTED(strftime, gnu_strftime, + [Define to gnu_strftime if the replacement function should be used.]) fi ]) |