3 dnl Copyright (C) 2018-2024 Free Software Foundation, Inc.
4 dnl This file is free software; the Free Software Foundation
5 dnl gives unlimited permission to copy and/or distribute it,
6 dnl with or without modifications, as long as this notice is preserved.
10 AC_DEFUN([gl_SH_FILENAME],
12 AH_VERBATIM([SH_FILENAME],
13 [/* File name of the Bourne shell. */
14 #if (defined _WIN32 && !defined __CYGWIN__) || defined __CYGWIN__ || defined __ANDROID__
15 /* Omit the directory part because
16 - For native Windows programs in a Cygwin environment, the Cygwin mounts
18 - For 32-bit Cygwin programs in a 64-bit Cygwin environment, the Cygwin
19 mounts are not visible.
20 - On Android, /bin/sh does not exist. It's /system/bin/sh instead. */
21 # define BOURNE_SHELL "sh"
23 # define BOURNE_SHELL "/bin/sh"