emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master a89c86888c4 1/3: Detect developer builds in git worktrees as


From: Eli Zaretskii
Subject: Re: master a89c86888c4 1/3: Detect developer builds in git worktrees as well
Date: Fri, 29 Sep 2023 21:07:22 +0300

> diff --git a/configure.ac b/configure.ac
> index 855c4ec7df1..f63eb870ffb 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 -d "$srcdir"/.git && test ! -f "$srcdir"/.tarball-version; then
> +   if test -e "$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],

According to the Autoconf manual, "test -e" is not portable to
Solaris.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]