diff options
author | Po Lu <luangruo@yahoo.com> | 2023-08-14 09:16:24 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2023-08-14 09:16:24 +0800 |
commit | 3895f882337ade7744cf7964d9bab5d79d4aa059 (patch) | |
tree | c291337f366a5267fa083ff77ac7c8b88a373e3f /configure.ac | |
parent | 0e390f54fa61a5a8c9481a862803d0de78815d6a (diff) | |
download | emacs-3895f882337ade7744cf7964d9bab5d79d4aa059.tar.gz |
Remove workarounds for lib/boot-time.o failures
* configure.ac (UTMP_H_DEFINES_BOOT_TIME):
* src/conf_post.h [__ANDROID__]: Delete workarounds, now that
Gnulib has been corrected.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/configure.ac b/configure.ac index 46836073aa0..46347a12050 100644 --- a/configure.ac +++ b/configure.ac @@ -2710,27 +2710,8 @@ for Android, but all API calls need to be stubbed out]) # Check for some functions not always present in the NDK. AC_CHECK_DECLS([android_get_device_api_level]) - AC_CHECK_DECLS([endutent, sysinfo], [], [], - [[ -#include <sys/sysinfo.h> -#include <utmp.h> -]]) - - # Establish if BOOT_TIME is defined in utmp.h. - AC_CACHE_CHECK([if utmp.h defines BOOT_TIME], - [emacs_cv_utmp_h_defines_boot_time], - [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include <utmp.h> -#ifndef BOOT_TIME -BOOT_TIME not defined -#endif /* BOOT_TIME */ -]], [[]])], [emacs_cv_utmp_h_defines_boot_time=yes], - [emacs_cv_utmp_h_defines_boot_time=no])]) - AS_IF([test x"$emacs_cv_utmp_h_defines_boot_time" = xyes], - [AC_DEFINE([UTMP_H_DEFINES_BOOT_TIME], [1], - [Define to 1 if building for Android and utmp.h declares BOOT_TIME])]) - - # Say this build is really for Android. + + # Mention this build is really for Android. REALLY_ANDROID=yes])]) AC_SUBST([ANDROID]) |