])
if test $jm_cv_func_working_chown = no; then
AC_LIBOBJ(chown)
- AC_DEFINE_UNQUOTED(chown, rpl_chown,
+ AC_DEFINE(chown, rpl_chown,
[Define to rpl_chown if the replacement function should be used.])
fi
])
)
if test $fu_cv_sys_f_fstypename_in_statfs = yes; then
- AC_DEFINE_UNQUOTED(HAVE_F_FSTYPENAME_IN_STATFS, 1,
- [Define if struct statfs has the f_fstypename member.])
+ AC_DEFINE(HAVE_F_FSTYPENAME_IN_STATFS, 1,
+ [Define if struct statfs has the f_fstypename member.])
fi
]
)
])
if test $jm_cv_func_working_getgroups = no; then
AC_LIBOBJ(getgroups)
- AC_DEFINE_UNQUOTED(getgroups, rpl_getgroups,
+ AC_DEFINE(getgroups, rpl_getgroups,
[Define as rpl_getgroups if getgroups doesn't work right.])
fi
fi
])
if test $jm_cv_func_gettimeofday_clobber = yes; then
AC_LIBOBJ(gettimeofday)
- AC_DEFINE_UNQUOTED(gettimeofday, rpl_gettimeofday,
+ AC_DEFINE(gettimeofday, rpl_gettimeofday,
[Define to rpl_gettimeofday if the replacement function should be used.])
AC_DEFINE(GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, 1,
[Define if gettimeofday clobbers localtime's static buffer.])
AC_CHECK_FUNCS(localtime_r)
if test $ac_cv_func_working_mktime = no; then
- AC_DEFINE_UNQUOTED(mktime, rpl_mktime,
+ AC_DEFINE(mktime, rpl_mktime,
[Define to rpl_mktime if the replacement function should be used.])
fi
])
])
if test $jm_cv_func_lstat_empty_string_bug = yes; then
AC_LIBOBJ(lstat)
- AC_DEFINE_UNQUOTED(HAVE_LSTAT_EMPTY_STRING_BUG, 1,
+ AC_DEFINE(HAVE_LSTAT_EMPTY_STRING_BUG, 1,
[Define if lstat has the bug that it succeeds when given the zero-length
file name argument. The lstat from SunOS4.1.4 and the Hurd as of 1998-11-01)
do this. ])
[
dnl xmalloc.c requires that this symbol be defined so it doesn't
dnl mistakenly use a broken malloc -- as it might if this test were omitted.
- AC_DEFINE_UNQUOTED(HAVE_DONE_WORKING_MALLOC_CHECK, 1,
- [Define if the malloc check has been performed. ])
+ AC_DEFINE(HAVE_DONE_WORKING_MALLOC_CHECK, 1,
+ [Define if the malloc check has been performed. ])
AC_CACHE_CHECK([for working malloc], jm_cv_func_working_malloc,
[AC_TRY_RUN([
])
if test $jm_cv_func_working_malloc = no; then
AC_LIBOBJ(malloc)
- AC_DEFINE_UNQUOTED(malloc, rpl_malloc,
+ AC_DEFINE(malloc, rpl_malloc,
[Define to rpl_malloc if the replacement function should be used.])
fi
])
AC_DEFUN([jm_FUNC_MEMCMP],
[AC_REQUIRE([AC_FUNC_MEMCMP])dnl
if test $ac_cv_func_memcmp_working = no; then
- AC_DEFINE_UNQUOTED(memcmp, rpl_memcmp,
+ AC_DEFINE(memcmp, rpl_memcmp,
[Define to rpl_memcmp if the replacement function should be used.])
fi
])
if test $utils_cv_func_mkdir_trailing_slash_bug = yes; then
AC_LIBOBJ(mkdir)
- AC_DEFINE_UNQUOTED(mkdir, rpl_mkdir,
+ AC_DEFINE(mkdir, rpl_mkdir,
[Define to rpl_mkdir if the replacement function should be used.])
fi
])
])
if test $jm_cv_func_nanosleep_works = no; then
AC_LIBOBJ(nanosleep)
- AC_DEFINE_UNQUOTED(nanosleep, rpl_nanosleep,
+ AC_DEFINE(nanosleep, rpl_nanosleep,
[Define to rpl_nanosleep if the replacement function should be used.])
fi
])
if test $jm_cv_func_svid_putenv = no; then
AC_LIBOBJ(putenv)
- AC_DEFINE_UNQUOTED(putenv, rpl_putenv,
+ AC_DEFINE(putenv, rpl_putenv,
[Define to rpl_putenv if the replacement function should be used.])
fi
])
jm_cv_func_working_readdir=no)])
if test $jm_cv_func_working_readdir = yes; then
- AC_DEFINE_UNQUOTED(HAVE_WORKING_READDIR, 1,
+ AC_DEFINE(HAVE_WORKING_READDIR, 1,
[Define if readdir is found to work properly in some unusual cases. ])
fi
])
[
dnl xmalloc.c requires that this symbol be defined so it doesn't
dnl mistakenly use a broken realloc -- as it might if this test were omitted.
- AC_DEFINE_UNQUOTED(HAVE_DONE_WORKING_REALLOC_CHECK, 1,
- [Define if the realloc check has been performed. ])
+ AC_DEFINE(HAVE_DONE_WORKING_REALLOC_CHECK, 1,
+ [Define if the realloc check has been performed. ])
AC_CACHE_CHECK([for working realloc], jm_cv_func_working_realloc,
[AC_TRY_RUN([
])
if test $jm_cv_func_working_realloc = no; then
AC_LIBOBJ(realloc)
- AC_DEFINE_UNQUOTED(realloc, rpl_realloc,
+ AC_DEFINE(realloc, rpl_realloc,
[Define to rpl_realloc if the replacement function should be used.])
fi
])
])
if test $vb_cv_func_rename_trailing_slash_bug = yes; then
AC_LIBOBJ(rename)
- AC_DEFINE_UNQUOTED(RENAME_TRAILING_SLASH_BUG, 1,
+ AC_DEFINE(RENAME_TRAILING_SLASH_BUG, 1,
[Define if rename does not work for source paths with a trailing slash,
like the one from SunOS 4.1.1_U1.])
fi
ac_cv_struct_st_dm_mode=no)])
if test $ac_cv_struct_st_dm_mode = yes; then
- AC_DEFINE_UNQUOTED(HAVE_ST_DM_MODE, 1,
- [Define if struct stat has an st_dm_mode member. ])
+ AC_DEFINE(HAVE_ST_DM_MODE, 1,
+ [Define if struct stat has an st_dm_mode member. ])
fi
]
)
])
if test $jm_cv_func_stat_empty_string_bug = yes; then
AC_LIBOBJ(stat)
- AC_DEFINE_UNQUOTED(HAVE_STAT_EMPTY_STRING_BUG, 1,
+ AC_DEFINE(HAVE_STAT_EMPTY_STRING_BUG, 1,
[Define if stat has the bug that it succeeds when given the zero-length
file name argument. The stat from SunOS4.1.4 and the Hurd as of 1998-11-01)
do this. ])
fi
])
if test $ac_cv_func_strerror_r_works = yes; then
- AC_DEFINE_UNQUOTED(HAVE_WORKING_STRERROR_R, 1,
+ AC_DEFINE(HAVE_WORKING_STRERROR_R, 1,
[Define to 1 if `strerror_r' returns a string.])
fi
fi
])
if test $fu_cv_sys_struct_timespec = yes; then
- AC_DEFINE_UNQUOTED(HAVE_STRUCT_TIMESPEC, 1,
- [Define if struct timespec is declared in <time.h>. ])
+ AC_DEFINE(HAVE_STRUCT_TIMESPEC, 1,
+ [Define if struct timespec is declared in <time.h>. ])
fi
])
])
if test $fu_cv_sys_struct_utimbuf = yes; then
- AC_DEFINE_UNQUOTED(HAVE_STRUCT_UTIMBUF, 1,
+ AC_DEFINE(HAVE_STRUCT_UTIMBUF, 1,
[Define if struct utimbuf is declared -- usually in <utime.h>.
Some systems have utime.h but don't declare the struct anywhere. ])
fi
rm -f core core.* *.core])
if test $ac_cv_func_utimes_null = yes; then
- AC_DEFINE_UNQUOTED(HAVE_UTIMES_NULL, 1,
- [Define if utimes accepts a null argument])
+ AC_DEFINE(HAVE_UTIMES_NULL, 1,
+ [Define if utimes accepts a null argument])
fi
]
)