; Make configure work on Solaris after last change

* configure.ac: Solaris /bin/sh doesn't have `test -e`.
This commit is contained in:
Mattias Engdegård 2023-09-30 10:38:48 +02:00
parent cdc653d68f
commit ec6e7f7c01

View file

@ -1664,7 +1664,7 @@ AC_ARG_ENABLE([gcc-warnings],
# however, if there is also a .tarball-version file it is probably
# just a release imported into Git for patch management.
gl_gcc_warnings=no
if test -e "$srcdir"/.git && test ! -f "$srcdir"/.tarball-version; then
if test -d "$srcdir"/.git -o -f "$srcdir"/.git && test ! -f "$srcdir"/.tarball-version; then
# Clang typically identifies itself as GCC 4.2 or something similar
# even if it is recent enough to accept the warnings we enable.
AS_IF([test "$emacs_cv_clang" = yes],