diff options
author | Po Lu <luangruo@yahoo.com> | 2024-01-21 09:53:55 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2024-01-21 09:59:47 +0800 |
commit | 10ffe161da67a550534c818cab27001b1e75c79f (patch) | |
tree | 091b3e60f6bf29fa91085372c8f934109f7c7ce3 /configure.ac | |
parent | 76efd4037eeba53ad5716477c55bdf7ae6ccf6d9 (diff) | |
download | emacs-10ffe161da67a550534c818cab27001b1e75c79f.tar.gz |
Suppress detection of utmpx.h on Android
* configure.ac (ac_cv_header_utmpx_h): Predefine to no when
Android is older than 34.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 55f742ba8ef..dffe7696ac5 100644 --- a/configure.ac +++ b/configure.ac @@ -160,6 +160,12 @@ variable when you ran configure.]) ;; esac AC_MSG_RESULT([$host_alias]) + + # Suppress the detection of utmpx.h on Android versions older than + # 34, for the header will be present yet define no functions, + # which Gnulib is not prepared to handle. + AS_IF([test "$ANDROID_SDK" -lt "34"], + [ac_cv_header_utmpx_h=no]) fi AC_CANONICAL_HOST |