]> git.eshelyaron.com Git - emacs.git/commit
Port to certain Android environments with no GUI
authorPo Lu <luangruo@yahoo.com>
Fri, 17 May 2024 11:21:05 +0000 (19:21 +0800)
committerEshel Yaron <me@eshelyaron.com>
Sat, 18 May 2024 18:52:31 +0000 (20:52 +0200)
commitc0b4f988edcde90c6d6e69f1477f708d3e39af01
treebcaf6908bbd611851d0d699648b8aae8cd446353
parent1c0719c0b337c4139d3c1e11706049a258721396
Port to certain Android environments with no GUI

* configure.ac (USER_FULL_NAME): Define to
android_user_full_name only when a GUI system is being built.
Otherwise, set to pw->pw_gecos or NULL consistently with the
presence of pw->pw_gecos.

* src/editfns.c (Fuser_full_name): Adjust to match.  Accept NULL
values from USER_FULL_NAME.

(cherry picked from commit 1f08984a67c94e957bec7f8c59818b627a67427b)
configure.ac
src/editfns.c