From: Andreas Schwab <schwab@linux-m68k.org>
To: Naohiro Tamura <naohirot@fujitsu.com>
Cc: libc-alpha@sourceware.org
Subject: Re: [PATCH 2/3] Replaced obsolete AC_TRY_LINK to AC_LINK_IFELSE
Date: Tue, 16 Feb 2021 14:04:50 +0100 [thread overview]
Message-ID: <87ft1wqi31.fsf@igel.home> (raw)
In-Reply-To: <20210216120021.213600-1-naohirot@fujitsu.com> (Naohiro Tamura's message of "Tue, 16 Feb 2021 12:00:21 +0000")
On Feb 16 2021, Naohiro Tamura wrote:
> diff --git a/configure.ac b/configure.ac
> index d8ccb6c119..b7f6f8f008 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1579,7 +1579,7 @@ if test "$with_gd" != "no"; then
> LDFLAGS="$LDFLAGS $libgd_ldflags"
> old_LIBS="$LIBS"
> LIBS="$LIBS -lgd -lpng -lz -lm"
> - AC_TRY_LINK([#include <gd.h>], [gdImagePng (0, 0)], LIBGD=yes, LIBGD=no)
> + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <gd.h>]], [[gdImagePng (0, 0)]])],[LIBGD=yes],[LIBGD=no])
Please fold to avoid long lines.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
next prev parent reply other threads:[~2021-02-16 13:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-16 12:00 Naohiro Tamura
2021-02-16 13:04 ` Andreas Schwab [this message]
2021-02-17 1:08 ` naohirot
2021-02-17 1:20 ` [PATCH v2 " Naohiro Tamura
2021-02-21 23:40 ` Mike Frysinger
2021-02-22 1:50 ` naohirot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ft1wqi31.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=libc-alpha@sourceware.org \
--cc=naohirot@fujitsu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).