* [PATCH] configure: Remove obsolete check for -b i486-linuxaout
@ 2022-12-23 17:49 Florian Weimer
2022-12-24 8:11 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Florian Weimer @ 2022-12-23 17:49 UTC (permalink / raw)
To: emacs-devel
If there are still a.out system arounds, they shouldn't need this
anymore because the toolchain has been fixed.
* configure.ac (emacs_cv_b_link): Remove obsolete check.
diff --git a/configure.ac b/configure.ac
index 6e9b11986c..47a9065e54 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2695,39 +2695,6 @@ if test "${HAVE_X11}" = "yes"; then
export LD_RUN_PATH
fi
- if test "${opsys}" = "gnu-linux"; then
- AC_CACHE_CHECK([whether X on GNU/Linux needs -b to link], [emacs_cv_b_link],
- [AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],
- [[XOpenDisplay ("foo");]])],
- [xgnu_linux_first_failure=no],
- [xgnu_linux_first_failure=yes])
- if test "${xgnu_linux_first_failure}" = "yes"; then
- OLD_CPPFLAGS="$CPPFLAGS"
- OLD_LIBS="$LIBS"
- CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
- LIBS="$LIBS -b i486-linuxaout"
- AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],
- [[XOpenDisplay ("foo");]])],
- [xgnu_linux_second_failure=no],
- [xgnu_linux_second_failure=yes])
- if test "${xgnu_linux_second_failure}" = "yes"; then
- # If we get the same failure with -b, there is no use adding -b.
- # So leave it out. This plays safe.
- emacs_cv_b_link=no
- else
- emacs_cv_b_link=yes
- fi
- CPPFLAGS=$OLD_CPPFLAGS
- LIBS=$OLD_LIBS
- else
- emacs_cv_b_link=no
- fi])
- if test "x$emacs_cv_b_link" = xyes ; then
- LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout"
- C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout"
- fi
- fi
-
# Reportedly, some broken Solaris systems have XKBlib.h but are missing
# header files included from there.
AC_CACHE_CHECK([for Xkb], [emacs_cv_xkb],
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] configure: Remove obsolete check for -b i486-linuxaout
2022-12-23 17:49 [PATCH] configure: Remove obsolete check for -b i486-linuxaout Florian Weimer
@ 2022-12-24 8:11 ` Eli Zaretskii
2023-01-02 13:01 ` Florian Weimer
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2022-12-24 8:11 UTC (permalink / raw)
To: Florian Weimer; +Cc: emacs-devel
> From: Florian Weimer <fweimer@redhat.com>
> Date: Fri, 23 Dec 2022 18:49:25 +0100
>
> If there are still a.out system arounds, they shouldn't need this
> anymore because the toolchain has been fixed.
>
> * configure.ac (emacs_cv_b_link): Remove obsolete check.
Thanks, I installed this on the master branch, since it sounds like
this is a cleanup, not a real problem. If my conclusion is wrong, and
this part of the configure script does cause problems, please post
the details, and I will consider back-porting to the release branch.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] configure: Remove obsolete check for -b i486-linuxaout
2022-12-24 8:11 ` Eli Zaretskii
@ 2023-01-02 13:01 ` Florian Weimer
0 siblings, 0 replies; 3+ messages in thread
From: Florian Weimer @ 2023-01-02 13:01 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
* Eli Zaretskii:
>> From: Florian Weimer <fweimer@redhat.com>
>> Date: Fri, 23 Dec 2022 18:49:25 +0100
>>
>> If there are still a.out system arounds, they shouldn't need this
>> anymore because the toolchain has been fixed.
>>
>> * configure.ac (emacs_cv_b_link): Remove obsolete check.
>
> Thanks, I installed this on the master branch, since it sounds like
> this is a cleanup, not a real problem. If my conclusion is wrong, and
> this part of the configure script does cause problems, please post
> the details, and I will consider back-porting to the release branch.
Thanks!
It causes issues with a particular approach to C99 porting. But to my
knowledge, only Fedora uses this approach, and we are carrying it as a
downstream-only patch for now.
Florian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-01-02 13:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-23 17:49 [PATCH] configure: Remove obsolete check for -b i486-linuxaout Florian Weimer
2022-12-24 8:11 ` Eli Zaretskii
2023-01-02 13:01 ` Florian Weimer
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).