mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
tried to fix the libglade check as per uraeus's request
Original commit message from CVS: tried to fix the libglade check as per uraeus's request
This commit is contained in:
parent
9d73f2a3b4
commit
92fc9ab1bf
1 changed files with 8 additions and 7 deletions
|
@ -401,19 +401,20 @@ if test x$USE_GLIB2 = xyes; then
|
||||||
LIBGLADE_GNOME_CFLAGS=
|
LIBGLADE_GNOME_CFLAGS=
|
||||||
AC_MSG_WARN(libglade disabled for glib2.0)
|
AC_MSG_WARN(libglade disabled for glib2.0)
|
||||||
else
|
else
|
||||||
|
AM_PATH_LIBGLADE(HAVE_LIBGLADE="yes", HAVE_LIBGLADE="no")
|
||||||
AC_PATH_PROG(LIBGLADE_CONFIG_PATH, libglade-config, no)
|
AC_PATH_PROG(LIBGLADE_CONFIG_PATH, libglade-config, no)
|
||||||
if test x$LIBGLADE_CONFIG_PATH = xno; then
|
if test x$LIBGLADE_CONFIG_PATH = xno; then
|
||||||
AC_MSG_WARN(Couldn't find libglade-config - Can't build gstplay)
|
AC_MSG_WARN(Couldn't find libglade-config - Can't build gstplay)
|
||||||
LIBGLADE_GNOME_LIBS=
|
LIBGLADE_GNOME_LIBS=
|
||||||
LIBGLADE_GNOME_CFLAGS=
|
LIBGLADE_GNOME_CFLAGS=
|
||||||
else
|
else
|
||||||
LIBGLADE_GNOME_LIBS=`libglade-config --libs gnome`
|
LIBGLADE_GNOME_LIBS=$LIBGLADE_LIBS
|
||||||
LIBGLADE_GNOME_CFLAGS=`libglade-config --cflags gnome`
|
LIBGLADE_GNOME_CFLAGS=$LIBGLADE_CFLAGS
|
||||||
AC_TRY_LINK([#include <glade/glade.h>],[glade_gnome_init();],
|
AC_TRY_LINK([#include <glade/glade.h>],[glade_gnome_init();],
|
||||||
HAVE_LIBGLADE_GNOME="yes",
|
HAVE_LIBGLADE_GNOME="yes"
|
||||||
AC_MSG_WARN(
|
AC_MSG_WARN(
|
||||||
[Couldn't find gnome libraries for libglade - Can't build gstmediaplay and gsteditor])
|
[Couldn't find gnome libraries for libglade - Can't build gstmediaplay and gsteditor])
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
AC_SUBST(LIBGLADE_GNOME_LIBS)
|
AC_SUBST(LIBGLADE_GNOME_LIBS)
|
||||||
|
|
Loading…
Reference in a new issue