+2001-11-12 Akim Demaille <akim@epita.fr>
+
+ * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
+ * lib/autoconf/functions.m4, lib/autoconf/general.m4,
+ * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
+ * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
+ * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
+ specify to what the macro should be defined (typically to 1).
+
2001-11-12 Akim Demaille <akim@epita.fr>
* lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
else
AC_MSG_RESULT([no])
AC_DEFINE(NO_MINUS_C_MINUS_O, 1,
- [Define if your C compiler doesn't accept -c and -o together.])
+ [Define to 1 if your C compiler doesn't accept -c and -o together.])
fi
])# AC_PROG_CC_C_O
# ------------------
AC_DEFUN([AC_C_CHAR_UNSIGNED],
[AH_VERBATIM([__CHAR_UNSIGNED__],
-[/* Define if type `char' is unsigned and you are not using gcc. */
+[/* Define to 1 if type `char' is unsigned and you are not using gcc. */
#ifndef __CHAR_UNSIGNED__
# undef __CHAR_UNSIGNED__
#endif])dnl
fi])
if test $ac_cv_c_long_double = yes; then
AC_DEFINE(HAVE_LONG_DOUBLE, 1,
- [Define if the `long double' type works.])
+ [Define to 1 if the `long double' type works.])
fi
])# AC_C_LONG_DOUBLE
yes)
m4_default([$1],
[AC_DEFINE([WORDS_BIGENDIAN], 1,
- [Define if your processor stores words with the most significant
+ [Define to 1 if your processor stores words with the most significant
byte first (like Motorola and SPARC, unlike Intel and VAX).])]) ;;
no)
$2 ;;
[ac_cv_c_stringize=yes])])
if test $ac_cv_c_stringize = yes; then
AC_DEFINE(HAVE_STRINGIZE, 1,
- [Define if cpp supports the ANSI @%:@ stringizing operator.])
+ [Define to 1 if cpp supports the ANSI @%:@ stringizing operator.])
fi
])# AC_C_STRINGIZE
if test "$ac_cv_prog_cc_stdc" != no; then
AC_MSG_RESULT([yes])
AC_DEFINE(PROTOTYPES, 1,
- [Define if the C compiler supports function prototypes.])
+ [Define to 1 if the C compiler supports function prototypes.])
else
AC_MSG_RESULT([no])
fi
rm -f conftest*])
if test $ac_cv_prog_f77_c_o = no; then
AC_DEFINE(F77_NO_MINUS_C_MINUS_O, 1,
- [Define if your Fortran 77 compiler doesn't accept -c and -o together.])
+ [Define to 1 if your Fortran 77 compiler doesn't accept
+ -c and -o together.])
fi
])# AC_PROG_F77_C_O
AC_DEFUN([AC_CHECK_FUNCS],
[AC_FOREACH([AC_Func], [$1],
[AH_TEMPLATE(AS_TR_CPP(HAVE_[]AC_Func),
- [Define if you have the `]AC_Func[' function.])])dnl
+ [Define to 1 if you have the `]AC_Func[' function.])])dnl
for ac_func in $1
do
AC_CHECK_FUNC($ac_func,
# use ar to extract alloca.o from them instead of compiling alloca.c.
AC_LIBSOURCES(alloca.c)
AC_SUBST(ALLOCA, alloca.$ac_objext)dnl
-AC_DEFINE(C_ALLOCA, 1, [Define if using `alloca.c'.])
+AC_DEFINE(C_ALLOCA, 1, [Define to 1 if using `alloca.c'.])
AC_CACHE_CHECK(whether `alloca.c' needs Cray hooks, ac_cv_os_cray,
[AC_EGREP_CPP(webecray,
[ac_cv_working_alloca_h=no])])
if test $ac_cv_working_alloca_h = yes; then
AC_DEFINE(HAVE_ALLOCA_H, 1,
- [Define if you have <alloca.h> and it should be used
+ [Define to 1 if you have <alloca.h> and it should be used
(not on Ultrix).])
fi
if test $ac_cv_func_alloca_works = yes; then
AC_DEFINE(HAVE_ALLOCA, 1,
- [Define if you have `alloca', as a function or macro.])
+ [Define to 1 if you have `alloca', as a function or macro.])
else
_AC_LIBOBJ_ALLOCA
fi
])
if test $ac_cv_func_chown_works = yes; then
AC_DEFINE(HAVE_CHOWN, 1,
- [Define if your system has a working `chown' function.])
+ [Define to 1 if your system has a working `chown' function.])
fi
])# AC_FUNC_CHOWN
[ac_cv_func_closedir_void=yes])])
if test $ac_cv_func_closedir_void = yes; then
AC_DEFINE(CLOSEDIR_VOID, 1,
- [Define if the `closedir' function returns void instead of `int'.])
+ [Define to 1 if the `closedir' function returns void instead
+ of `int'.])
fi
])
[ac_cv_func_fnmatch_works=no])])
if test $ac_cv_func_fnmatch_works = yes; then
AC_DEFINE(HAVE_FNMATCH, 1,
- [Define if your system has a working `fnmatch' function.])
+ [Define to 1 if your system has a working `fnmatch' function.])
fi
])# AC_FUNC_FNMATCH
AC_DEFUN([AC_FUNC_FSEEKO],
[_AC_SYS_LARGEFILE_MACRO_VALUE(_LARGEFILE_SOURCE, 1,
[ac_cv_sys_largefile_source],
- [Define to make fseeko visible on some hosts (e.g. glibc 2.2).],
+ [Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2).],
[@%:@include <stdio.h>], [return !fseeko;])
# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
[ac_cv_func_fseeko=no])])
if test $ac_cv_func_fseeko = yes; then
AC_DEFINE(HAVE_FSEEKO, 1,
- [Define if fseeko (and presumably ftello) exists and is declared.])
+ [Define to 1 if fseeko (and presumably ftello) exists and is declared.])
fi
])# AC_FUNC_FSEEKO
])
if test $ac_cv_func_getgroups_works = yes; then
AC_DEFINE(HAVE_GETGROUPS, 1,
- [Define if your system has a working `getgroups' function.])
+ [Define to 1 if your system has a working `getgroups' function.])
fi
fi
LIBS=$ac_save_LIBS
# Set up the AC_LIBOBJ replacement of `getloadavg'.
m4_define([_AC_LIBOBJ_GETLOADAVG],
[AC_LIBOBJ(getloadavg)
-AC_DEFINE(C_GETLOADAVG, 1, [Define if using `getloadavg.c'.])
+AC_DEFINE(C_GETLOADAVG, 1, [Define to 1 if using `getloadavg.c'.])
# Figure out what our getloadavg.c needs.
ac_have_func=no
AC_CHECK_HEADER(sys/dg_sys_info.h,
[ac_have_func=yes
- AC_DEFINE(DGUX, 1, [Define for DGUX with <sys/dg_sys_info.h>.])
+ AC_DEFINE(DGUX, 1, [Define to 1 for DGUX with <sys/dg_sys_info.h>.])
AC_CHECK_LIB(dgc, dg_sys_info)])
AC_CHECK_HEADER(locale.h)
# Irix 4.0.5F has the header but not the library.
if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
ac_have_func=yes
- AC_DEFINE(SVR4, 1, [Define on System V Release 4.])
+ AC_DEFINE(SVR4, 1, [Define to 1 on System V Release 4.])
fi
if test $ac_have_func = no; then
AC_CHECK_HEADER(inq_stats/cpustats.h,
[ac_have_func=yes
- AC_DEFINE(UMAX, 1, [Define for Encore UMAX.])
+ AC_DEFINE(UMAX, 1, [Define to 1 for Encore UMAX.])
AC_DEFINE(UMAX4_3, 1,
- [Define for Encore UMAX 4.3 that has <inq_status/cpustats.h>
+ [Define to 1 for Encore UMAX 4.3 that has <inq_status/cpustats.h>
instead of <sys/cpustats.h>.])])
fi
AC_CHECK_HEADERS(nlist.h,
[AC_CHECK_MEMBERS([struct nlist.n_un.n_name],
[AC_DEFINE(NLIST_NAME_UNION, 1,
- [Define if your `struct nlist' has an
+ [Define to 1 if your `struct nlist' has an
`n_un' member. Obsolete, depend on
`HAVE_STRUCT_NLIST_N_UN_N_NAME])], [],
[@%:@include <nlist.h>])
if test $ac_cv_func_getloadavg_setgid = yes; then
NEED_SETGID=true
AC_DEFINE(GETLOADAVG_PRIVILEGED, 1,
- [Define if the `getloadavg' function needs to be run setuid
+ [Define to 1 if the `getloadavg' function needs to be run setuid
or setgid.])
else
NEED_SETGID=false
[AC_CHECK_LIB(gen, getmntent, LIBS="-lgen $LIBS")])])
AC_CHECK_FUNC(getmntent,
[AC_DEFINE(HAVE_GETMNTENT, 1,
- [Define if you have the `getmntent' function.])])])
+ [Define to 1 if you have the `getmntent' function.])])])
# AC_FUNC_GETPGRP
])
if test $ac_cv_func_getpgrp_void = yes; then
AC_DEFINE(GETPGRP_VOID, 1,
- [Define if the `getpgrp' function requires zero arguments.])
+ [Define to 1 if the `getpgrp' function requires zero arguments.])
fi
])# AC_FUNC_GETPGRP
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
AC_DEFINE_UNQUOTED(LSTAT_FOLLOWS_SLASHED_SYMLINK, 1,
- [Define if `lstat' dereferences a symlink specified
+ [Define to 1 if `lstat' dereferences a symlink specified
with a trailing slash.])
if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
[ac_cv_func_malloc_works=no])])
if test $ac_cv_func_malloc_works = yes; then
AC_DEFINE(HAVE_MALLOC, 1,
- [Define if your system has a working `malloc' function.])
+ [Define to 1 if your system has a working `malloc' function.])
fi
])# AC_FUNC_MALLOC
[ac_cv_func_mmap_fixed_mapped=no])])
if test $ac_cv_func_mmap_fixed_mapped = yes; then
AC_DEFINE(HAVE_MMAP, 1,
- [Define if you have a working `mmap' system call.])
+ [Define to 1 if you have a working `mmap' system call.])
fi
rm -f conftest.mmap
])# AC_FUNC_MMAP
[ac_cv_func_obstack=yes],
[ac_cv_func_obstack=no])])
if test $ac_cv_func_obstack = yes; then
- AC_DEFINE(HAVE_OBSTACK, 1, [Define if libc includes obstacks.])
+ AC_DEFINE(HAVE_OBSTACK, 1, [Define to 1 if libc includes obstacks.])
else
AC_LIBOBJ(obstack)
fi
[AC_MSG_ERROR([cannot check setpgrp if cross compiling])])])
if test $ac_cv_func_setpgrp_void = yes; then
AC_DEFINE(SETPGRP_VOID, 1,
- [Define if the `setpgrp' function takes no argument.])
+ [Define to 1 if the `setpgrp' function takes no argument.])
fi
])# AC_FUNC_SETPGRP
if test $ac_cv_func_$1_empty_string_bug = yes; then
AC_LIBOBJ([$1])
AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_$1_EMPTY_STRING_BUG]), 1,
- [Define if `$1' has the bug that it succeeds when
+ [Define to 1 if `$1' has the bug that it succeeds when
given the zero-length file name argument.])
fi
])# _AC_FUNC_STAT
rm -f core core.* *.core])
if test $ac_cv_func_setvbuf_reversed = yes; then
AC_DEFINE(SETVBUF_REVERSED, 1,
- [Define if the `setvbuf' function takes the buffering type as
+ [Define to 1 if the `setvbuf' function takes the buffering type as
its second argument and the buffer pointer as the third, as on
System V before release 3.])
fi
ac_cv_func_strcoll_works=no)])
if test $ac_cv_func_strcoll_works = yes; then
AC_DEFINE(HAVE_STRCOLL, 1,
- [Define if you have the `strcoll' function and it is properly
+ [Define to 1 if you have the `strcoll' function and it is properly
defined.])
fi
])# AC_FUNC_STRCOLL
rm -f core core.* *.core])
if test $ac_cv_func_utime_null = yes; then
AC_DEFINE(HAVE_UTIME_NULL, 1,
- [Define if `utime(file, NULL)' sets file's timestamp to the
+ [Define to 1 if `utime(file, NULL)' sets file's timestamp to the
present.])
fi
rm -f conftest.data
fi
if test "x$ac_cv_func_vfork_works" = xyes; then
- AC_DEFINE(HAVE_WORKING_VFORK, 1, [Define if `vfork' works.])
+ AC_DEFINE(HAVE_WORKING_VFORK, 1, [Define to 1 if `vfork' works.])
else
AC_DEFINE(vfork, fork, [Define as `fork' if `vfork' does not work.])
fi
if test "x$ac_cv_func_fork_works" = xyes; then
- AC_DEFINE(HAVE_WORKING_FORK, 1, [Define if `fork' works.])
+ AC_DEFINE(HAVE_WORKING_FORK, 1, [Define to 1 if `fork' works.])
fi
])# AC_FUNC_FORK
[AC_CHECK_FUNCS(vprintf, []
[AC_CHECK_FUNC(_doprnt,
[AC_DEFINE(HAVE_DOPRNT, 1,
- [Define if you don't have `vprintf' but do have
+ [Define to 1 if you don't have `vprintf' but do have
`_doprnt.'])])])
])
[ac_cv_func_wait3_rusage=no])])
if test $ac_cv_func_wait3_rusage = yes; then
AC_DEFINE(HAVE_WAIT3, 1,
- [Define if you have the `wait3' system call.
+ [Define to 1 if you have the `wait3' system call.
Deprecated, you should no longer depend upon `wait3'.])
fi
])# AC_FUNC_WAIT3
[AC_FOREACH([AC_FILE_NAME], [$1],
[AC_CHECK_FILE(AC_FILE_NAME,
[AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]AC_FILE_NAME), 1,
- [Define if you have the file `]AC_File['.])
+ [Define to 1 if you have the
+ file `]AC_File['.])
$2],
[$3])])])
m4_define([AH_CHECK_HEADERS],
[AC_FOREACH([AC_Header], [$1],
[AH_TEMPLATE(AS_TR_CPP(HAVE_[]AC_Header),
- [Define if you have the <]AC_Header[> header file.])])])
+ [Define to 1 if you have the <]AC_Header[> header file.])])])
# AC_CHECK_HEADERS(HEADER-FILE...
m4_define([AH_CHECK_HEADERS_DIRENT],
[AC_FOREACH([AC_Header], [$1],
[AH_TEMPLATE(AS_TR_CPP(HAVE_[]AC_Header),
- [Define if you have the <]AC_Header[> header file, and
+ [Define to 1 if you have the <]AC_Header[> header file, and
it defines `DIR'.])])])
if test $ac_cv_header_sys_types_h_makedev = no; then
AC_CHECK_HEADER(sys/mkdev.h,
[AC_DEFINE(MAJOR_IN_MKDEV, 1,
- [Define if `major', `minor', and `makedev' are
+ [Define to 1 if `major', `minor', and `makedev' are
declared in <mkdev.h>.])])
if test $ac_cv_header_sys_mkdev_h = no; then
AC_CHECK_HEADER(sys/sysmacros.h,
[AC_DEFINE(MAJOR_IN_SYSMACROS, 1,
- [Define if `major', `minor', and `makedev' are
- declared in <sysmacros.h>.])])
+ [Define to 1 if `major', `minor', and `makedev'
+ are declared in <sysmacros.h>.])])
fi
fi
])# AC_HEADER_MAJOR
], ac_cv_header_stat_broken=yes, ac_cv_header_stat_broken=no)])
if test $ac_cv_header_stat_broken = yes; then
AC_DEFINE(STAT_MACROS_BROKEN, 1,
- [Define if the `S_IS*' macros in <sys/stat.h> do not
+ [Define to 1 if the `S_IS*' macros in <sys/stat.h> do not
work properly.])
fi
])# AC_HEADER_STAT
}], , ac_cv_header_stdc=no, :)
fi])
if test $ac_cv_header_stdc = yes; then
- AC_DEFINE(STDC_HEADERS, 1, [Define if you have the ANSI C header files.])
+ AC_DEFINE(STDC_HEADERS, 1,
+ [Define to 1 if you have the ANSI C header files.])
fi
])# AC_HEADER_STDC
[ac_cv_header_sys_wait_h=no])])
if test $ac_cv_header_sys_wait_h = yes; then
AC_DEFINE(HAVE_SYS_WAIT_H, 1,
- [Define if you have <sys/wait.h> that is POSIX.1 compatible.])
+ [Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible.])
fi
])# AC_HEADER_SYS_WAIT
[ac_cv_header_time=no])])
if test $ac_cv_header_time = yes; then
AC_DEFINE(TIME_WITH_SYS_TIME, 1,
- [Define if you can safely include both <sys/time.h> and <time.h>.])
+ [Define to 1 if you can safely include both <sys/time.h>
+ and <time.h>.])
fi
])# AC_HEADER_TIME
_AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL
if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
AC_DEFINE(GWINSZ_IN_SYS_IOCTL,1,
- [Define if `TIOCGWINSZ' requires <sys/ioctl.h>])
+ [Define to 1 if `TIOCGWINSZ' requires <sys/ioctl.h>.])
fi
fi
])# AC_HEADER_TIOCGWINSZ
[AC_MSG_RESULT(yes)],
[AC_MSG_RESULT(no)
AC_DEFINE(USG, 1,
- [Define if you do not have <strings.h>, index, bzero, etc...
+ [Define to 1 if you do not have <strings.h>, index, bzero, etc...
This symbol is obsolete, you should not depend upon it.])])
AC_CHECK_HEADERS(string.h)])
# ---------------------
m4_define([AH_CHECK_LIB],
[AH_TEMPLATE(AS_TR_CPP(HAVE_LIB$1),
- [Define if you have the `]$1[' library (-l]$1[).])])
+ [Define to 1 if you have the `]$1[' library (-l]$1[).])])
# AC_HAVE_LIBRARY(LIBRARY,
if test "$no_x" = yes; then
# Not all programs may use this symbol, but it does not hurt to define it.
AC_DEFINE([X_DISPLAY_MISSING], 1,
- [Define if the X Window System is missing or not being used.])
+ [Define to 1 if the X Window System is missing or not being used.])
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
else
if test -n "$x_includes"; then
dnl
if test $ac_cv_prog_lex_yytext_pointer = yes; then
AC_DEFINE(YYTEXT_POINTER, 1,
- [Define if `lex' declares `yytext' as a `char *' by default,
+ [Define to 1 if `lex' declares `yytext' as a `char *' by default,
not a `char[]'.])
fi
])# _AC_PROG_LEX_YYTEXT_DECL
[ac_cv_decl_sys_siglist=no])])
if test $ac_cv_decl_sys_siglist = yes; then
AC_DEFINE(SYS_SIGLIST_DECLARED, 1,
- [Define if `sys_siglist' is declared by <signal.h> or <unistd.h>.])
+ [Define to 1 if `sys_siglist' is declared by <signal.h>
+ or <unistd.h>.])
fi
])# AC_DECL_SYS_SIGLIST
done])
if test $ac_cv_sys_long_file_names = yes; then
AC_DEFINE(HAVE_LONG_FILE_NAMES, 1,
- [Define if you support file names longer than 14 characters.])
+ [Define to 1 if you support file names longer than 14 characters.])
fi
])
[ac_cv_sys_restartable_syscalls=no])])
if test $ac_cv_sys_restartable_syscalls = yes; then
AC_DEFINE(HAVE_RESTARTABLE_SYSCALLS, 1,
- [Define if system calls automatically restart after interruption
- by a signal.])
+ [Define to 1 if system calls automatically restart after
+ interruption by a signal.])
fi
])# AC_SYS_RESTARTABLE_SYSCALLS
# ------
AC_DEFUN([AC_AIX],
[AH_VERBATIM([_ALL_SOURCE],
-[/* Define if on AIX 3.
+[/* Define to 1 if on AIX 3.
System headers sometimes define this.
We just want to avoid a redefinition error message. */
@%:@ifndef _ALL_SOURCE
AC_CHECK_HEADER(minix/config.h, MINIX=yes, MINIX=)
if test "$MINIX" = yes; then
AC_DEFINE(_POSIX_SOURCE, 1,
- [Define if you need to in order for `stat' and other things to
+ [Define to 1 if you need to in order for `stat' and other things to
work.])
AC_DEFINE(_POSIX_1_SOURCE, 2,
- [Define if the system does not provide POSIX.1 features except
+ [Define to 2 if the system does not provide POSIX.1 features except
with this defined.])
AC_DEFINE(_MINIX, 1,
- [Define if on MINIX.])
+ [Define to 1 if on MINIX.])
fi
])# AC_MINIX
[m4_foreach([AC_Type], [$1],
[_AC_CHECK_TYPE_NEW(AC_Type,
[AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]AC_Type), 1,
- [Define if the system has the type
- `]AC_Type['.])
+ [Define to 1 if the system has the
+ type `]AC_Type['.])
$2],
[$3],
[$4])])])
adjust the code.])dnl
test $ac_cv_sizeof_int = 2 &&
AC_DEFINE(INT_16_BITS, 1,
- [Define if `sizeof (int)' = 2. Obsolete, use `SIZEOF_INT'.])
+ [Define to 1 if `sizeof (int)' = 2. Obsolete, use `SIZEOF_INT'.])
])
you adjust the code.])dnl
test $ac_cv_sizeof_long_int = 8 &&
AC_DEFINE(LONG_64_BITS, 1,
- [Define if `sizeof (long int)' = 8. Obsolete, use
+ [Define to 1 if `sizeof (long int)' = 8. Obsolete, use
`SIZEOF_LONG_INT'.])
])
[m4_foreach([AC_Member], [$1],
[AC_CHECK_MEMBER(AC_Member,
[AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]AC_Member), 1,
- [Define if `]m4_bpatsubst(AC_Member,
+ [Define to 1 if `]m4_bpatsubst(AC_Member,
[^[^.]*\.])[' is
member of `]m4_bpatsubst(AC_Member, [\..*])['.])
$2],
the `AC_DEFINE' when you adjust the code.])
AC_CHECK_MEMBERS([struct stat.st_blksize],
[AC_DEFINE(HAVE_ST_BLKSIZE, 1,
- [Define if your `struct stat' has
+ [Define to 1 if your `struct stat' has
`st_blksize'. Deprecated, use
`HAVE_STRUCT_STAT_ST_BLKSIZE' instead.])])
])# AC_STRUCT_ST_BLKSIZE
AC_DEFUN([AC_STRUCT_ST_BLOCKS],
[AC_CHECK_MEMBERS([struct stat.st_blocks],
[AC_DEFINE(HAVE_ST_BLOCKS, 1,
- [Define if your `struct stat' has
+ [Define to 1 if your `struct stat' has
`st_blocks'. Deprecated, use
`HAVE_STRUCT_STAT_ST_BLOCKS' instead.])],
[AC_LIBOBJ([fileblocks])])
the `AC_DEFINE' when you adjust the code.])
AC_CHECK_MEMBERS([struct stat.st_rdev],
[AC_DEFINE(HAVE_ST_RDEV, 1,
- [Define if your `struct stat' has `st_rdev'.
+ [Define to 1 if your `struct stat' has `st_rdev'.
Deprecated, use `HAVE_STRUCT_STAT_ST_RDEV'
instead.])])
])# AC_STRUCT_ST_RDEV
[ac_cv_struct_tm=sys/time.h])])
if test $ac_cv_struct_tm = sys/time.h; then
AC_DEFINE(TM_IN_SYS_TIME, 1,
- [Define if your <sys/time.h> declares `struct tm'.])
+ [Define to 1 if your <sys/time.h> declares `struct tm'.])
fi
])# AC_STRUCT_TM
])
if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
AC_DEFINE(HAVE_TM_ZONE, 1,
- [Define if your `struct tm' has `tm_zone'. Deprecated, use
+ [Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
`HAVE_STRUCT_TM_TM_ZONE' instead.])
else
AC_CACHE_CHECK(for tzname, ac_cv_var_tzname,
[atoi(*tzname);], ac_cv_var_tzname=yes, ac_cv_var_tzname=no)])
if test $ac_cv_var_tzname = yes; then
AC_DEFINE(HAVE_TZNAME, 1,
- [Define if you don't have `tm_zone' but do have the external
+ [Define to 1 if you don't have `tm_zone' but do have the external
array `tzname'.])
fi
fi