diff options
| author | Po Lu | 2023-05-02 08:16:00 +0800 |
|---|---|---|
| committer | Po Lu | 2023-05-02 08:16:00 +0800 |
| commit | 5a58a6bc477f290ee0b8a6111e92df56ff538719 (patch) | |
| tree | 216f697e7ad5d12361a799c6dbcc6b7e860e9a19 /exec/configure.ac | |
| parent | 86b7ed619c7d7da035915b8c75b427ed66801123 (diff) | |
| download | emacs-5a58a6bc477f290ee0b8a6111e92df56ff538719.tar.gz emacs-5a58a6bc477f290ee0b8a6111e92df56ff538719.zip | |
Port Android port to older Android systems
* exec/config.h.in: Autoheader.
* exec/configure.ac: Check for declarations of stpcpy and
stpncpy.
* exec/exec.c (stpcpy, stpncpy): Use replacements if
declarations are not present; this happens when a new Android
NDK is building for an old version of Android.
Diffstat (limited to 'exec/configure.ac')
| -rw-r--r-- | exec/configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/exec/configure.ac b/exec/configure.ac index 9b4bcebe34e..f3eef60173c 100644 --- a/exec/configure.ac +++ b/exec/configure.ac | |||
| @@ -55,6 +55,7 @@ AC_TYPE_PID_T | |||
| 55 | 55 | ||
| 56 | AC_HEADER_STDBOOL | 56 | AC_HEADER_STDBOOL |
| 57 | AC_CHECK_FUNCS([getpagesize stpcpy stpncpy]) | 57 | AC_CHECK_FUNCS([getpagesize stpcpy stpncpy]) |
| 58 | AC_CHECK_DECLS([stpcpy, stpncpy]) | ||
| 58 | 59 | ||
| 59 | AH_BOTTOM([ | 60 | AH_BOTTOM([ |
| 60 | #ifdef HAVE_STDBOOL_H | 61 | #ifdef HAVE_STDBOOL_H |