mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
* configure.ac: Check for libgib if libungif is not found. Fixes Bug #14454.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21710 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e97187862a
commit
7f1de7d268
3 changed files with 17 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-09-10 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* configure.ac: Check for libgib if libungif is not found.
|
||||
Fixes Bug #14454.
|
||||
|
||||
2005-08-25 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSView.m: ([_viewDidMoveToWindow]) Implemented and used to
|
||||
|
|
7
configure
vendored
7
configure
vendored
|
@ -5873,6 +5873,7 @@ if test "${enable_libgif}" = yes; then
|
|||
enable_ungif=no
|
||||
fi
|
||||
|
||||
have_ungif=no
|
||||
if test "${enable_ungif}" = yes; then
|
||||
|
||||
echo "$as_me:$LINENO: checking for DGifOpen in -lungif" >&5
|
||||
|
@ -5948,6 +5949,9 @@ _ACEOF
|
|||
|
||||
fi
|
||||
|
||||
if test "${ac_cv_lib_ungif_DGifOpen}" = yes; then
|
||||
have_ungif=yes
|
||||
fi
|
||||
|
||||
if test "${with_x}" != no && test "${ac_cv_lib_ungif_DGifOpen}" = no; then
|
||||
orig_CPPFLAGS="${CPPFLAGS}"
|
||||
|
@ -6050,11 +6054,12 @@ fi
|
|||
echo "$as_me: -gui will be linked against -lX11 to support ungif images" >&6;}
|
||||
GRAPHIC_CFLAGS="-I${ac_x_includes} $GRAPHIC_CFLAGS"
|
||||
GRAPHIC_LFLAGS="-L${ac_x_libraries} $GRAPHIC_LFLAGS"
|
||||
have_ungif=yes
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "${enable_libgif}" = yes; then
|
||||
if test "$have_ungif" = no -o "${enable_libgif}" = yes; then
|
||||
|
||||
echo "$as_me:$LINENO: checking for DGifOpen in -lgif" >&5
|
||||
echo $ECHO_N "checking for DGifOpen in -lgif... $ECHO_C" >&6
|
||||
|
|
|
@ -232,8 +232,12 @@ if test "${enable_libgif}" = yes; then
|
|||
enable_ungif=no
|
||||
fi
|
||||
|
||||
have_ungif=no
|
||||
if test "${enable_ungif}" = yes; then
|
||||
AC_CHECK_LIB(ungif, DGifOpen)
|
||||
if test "${ac_cv_lib_ungif_DGifOpen}" = yes; then
|
||||
have_ungif=yes
|
||||
fi
|
||||
|
||||
if test "${with_x}" != no && test "${ac_cv_lib_ungif_DGifOpen}" = no; then
|
||||
orig_CPPFLAGS="${CPPFLAGS}"
|
||||
|
@ -261,11 +265,12 @@ if test "${enable_ungif}" = yes; then
|
|||
AC_MSG_NOTICE([-gui will be linked against -lX11 to support ungif images])
|
||||
GRAPHIC_CFLAGS="-I${ac_x_includes} $GRAPHIC_CFLAGS"
|
||||
GRAPHIC_LFLAGS="-L${ac_x_libraries} $GRAPHIC_LFLAGS"
|
||||
have_ungif=yes
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "${enable_libgif}" = yes; then
|
||||
if test "$have_ungif" = no -o "${enable_libgif}" = yes; then
|
||||
AC_CHECK_LIB(gif, DGifOpen)
|
||||
|
||||
if test "${with_x}" != no && test "${ac_cv_lib_gif_DGifOpen}" = no; then
|
||||
|
|
Loading…
Reference in a new issue