mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-21 06:55:39 +00:00
* configure.ac: Replace obsolete AC_TRY_LINK with AC_LINK_IFELSE.
This commit is contained in:
parent
45e964755b
commit
5f078928bb
@ -4715,10 +4715,10 @@ if test "$USE_X_TOOLKIT" != "none"; then
|
||||
else
|
||||
OTHERLIBS="-lXt -$LIBXMU"
|
||||
fi
|
||||
AC_TRY_LINK(
|
||||
[#include <X11/Intrinsic.h>
|
||||
#include <X11/Xmu/Editres.h>],
|
||||
[_XEditResCheckMessages (0, 0, 0, 0);],
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM(
|
||||
[[#include <X11/Intrinsic.h>
|
||||
#include <X11/Xmu/Editres.h>]],
|
||||
[[_XEditResCheckMessages (0, 0, 0, 0);]])],
|
||||
[AC_DEFINE([X_TOOLKIT_EDITRES], 1,
|
||||
[Define to 1 if we should use XEditRes.])])
|
||||
LIBS=$OLDLIBS
|
||||
|
Loading…
Reference in New Issue
Block a user