summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2023-09-30 10:38:48 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2023-09-30 11:11:12 +0200
commitec6e7f7c013697dadfbf9bba51b97ef2405f3ba3 (patch)
tree3413b4d70b37d09c0e325d22414fc4cd8da2c08a /configure.ac
parentcdc653d68f44a253a7a06f7eed981a7fd1c7e785 (diff)
downloademacs-ec6e7f7c013697dadfbf9bba51b97ef2405f3ba3.tar.gz
; Make configure work on Solaris after last change
* configure.ac: Solaris /bin/sh doesn't have `test -e`.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f63eb870ffb..e406863178d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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],