diff options
| author | Po Lu | 2022-04-05 09:07:36 +0800 |
|---|---|---|
| committer | Po Lu | 2022-04-05 09:07:36 +0800 |
| commit | c51d7c9e43f5bb0b030a992b291f31d31702437d (patch) | |
| tree | 21a0fb8cf2baad358ac9f1759eba1ab0d8038a6e | |
| parent | 1e1a66831bf1d8ca33b3ad37d23211fa98d92e63 (diff) | |
| download | emacs-c51d7c9e43f5bb0b030a992b291f31d31702437d.tar.gz emacs-c51d7c9e43f5bb0b030a992b291f31d31702437d.zip | |
* configure.ac (HAVE_GIF): Respect --with-gif on PGTK. (bug#54633)
| -rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 254f15bef3e..cda2a04be95 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -4292,7 +4292,8 @@ if test "${opsys}" = "mingw32"; then | |||
| 4292 | fi | 4292 | fi |
| 4293 | elif test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no" \ | 4293 | elif test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no" \ |
| 4294 | || test "${HAVE_W32}" = "yes" || test "${HAVE_NS}" = "yes" \ | 4294 | || test "${HAVE_W32}" = "yes" || test "${HAVE_NS}" = "yes" \ |
| 4295 | || test "${HAVE_BE_APP}" = "yes" || test "$window_system" = "pgtk"; then | 4295 | || test "${HAVE_BE_APP}" = "yes" || test "$window_system" = "pgtk" \ |
| 4296 | && test "${with_gif}" != "no"; then | ||
| 4296 | AC_CHECK_HEADER(gif_lib.h, | 4297 | AC_CHECK_HEADER(gif_lib.h, |
| 4297 | # EGifPutExtensionLast only exists from version libungif-4.1.0b1. | 4298 | # EGifPutExtensionLast only exists from version libungif-4.1.0b1. |
| 4298 | # Earlier versions can crash Emacs, but version 5.0 removes EGifPutExtensionLast. | 4299 | # Earlier versions can crash Emacs, but version 5.0 removes EGifPutExtensionLast. |