mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
make pixbuf loader dir configurable
Original commit message from CVS: make pixbuf loader dir configurable
This commit is contained in:
parent
2ceca944ba
commit
47d0444174
3 changed files with 32 additions and 14 deletions
|
@ -1,11 +1,15 @@
|
|||
2003-12-14 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* configure.ac: make pixbuf loader configurable
|
||||
|
||||
2003-12-14 Amaury Jacquot <sxpert@esitcom.org>
|
||||
|
||||
* sys/xvideo/gstximage.c: remove 3 unnecessary X headers
|
||||
* sys/xvideo/gstxvimage.c: same
|
||||
* sys/xvideo/gstxwindow.c: same
|
||||
these problems occur when using the X server from freedestkop.org
|
||||
these problems occur when using the X server from freedesktop.org
|
||||
|
||||
2003-12-03 set REAL_NAME environment variable <thomas at apestaart dot org>
|
||||
2003-12-03 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* common/m4/gst-feature.m4: *** instead of newline when not built
|
||||
* configure.ac: fix X detection when no X stuff present
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit fcdc6ccbcc674dd487021d87a0313abf02bae396
|
||||
Subproject commit 9f37b3e515260c7b294222a502b2cc75dd0983b6
|
36
configure.ac
36
configure.ac
|
@ -215,6 +215,12 @@ case "x${target_cpu}" in
|
|||
xhppa*) HAVE_CPU_HPPA=yes
|
||||
AC_DEFINE(HAVE_CPU_HPPA, 1, [Define if the target CPU is a HPPA]) ;;
|
||||
esac
|
||||
# make these available to automake
|
||||
AM_CONDITIONAL(HAVE_CPU_I386, test "x$HAVE_CPU_I386" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_CPU_PPC, test "x$HAVE_CPU_PPC" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_CPU_ALPHA, test "x$HAVE_CPU_ALPHA" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_CPU_ARM, test "x$HAVE_CPU_ARM" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_CPU_SPARC, test "x$HAVE_CPU_SPARC" = "xyes")
|
||||
|
||||
dnl Determine endianness
|
||||
AC_C_BIGENDIAN
|
||||
|
@ -256,20 +262,32 @@ AC_SUBST(GTK_CFLAGS)
|
|||
AC_SUBST(HAVE_GTK)
|
||||
AM_CONDITIONAL(HAVE_GDK_LOADERS, test "x$HAVE_GTK_22" = "xyes")
|
||||
|
||||
GDK_PIXBUF_LOADER_DIR="$GDK_PIXBUF_LIBDIR/gtk-2.0/\$(GTK_VERSION)/loaders"
|
||||
# allow customization of pixbuf loader install location
|
||||
# when nothing specified, adhere to prefix settings
|
||||
# when called without any option with this argument, autodetect
|
||||
# when called with a path, set to the given path
|
||||
AC_ARG_WITH(gdk-pixbuf-loader-dir,
|
||||
AC_HELP_STRING([--with-gdk-pixbuf-loader-dir],
|
||||
[directory to install the gdk_pixbuf loader]),
|
||||
[if test "x${withval}" != x ; then
|
||||
[directory to install the gdk_pixbuf loader (none for pkg-config default)]),
|
||||
[
|
||||
if test "x${withval}" != xyes ; then
|
||||
GDK_PIXBUF_LOADER_DIR="${withval}"
|
||||
else
|
||||
GDK_PIXBUF_LOADER_DIR="$GDK_PIXBUF_LIBDIR/gtk-2.0/\$GTK_VERSION/loaders"
|
||||
fi
|
||||
])
|
||||
],
|
||||
# nothing specified
|
||||
GDK_PIXBUF_LOADER_DIR=${libdir}/gtk-2.0/\$GTK_VERSION/loaders
|
||||
)
|
||||
|
||||
AS_AC_EXPAND(GDK_PIXBUF_LOADER_DIR, $GDK_PIXBUF_LOADER_DIR)
|
||||
AC_SUBST(GDK_PIXBUF_LOADER_DIR)
|
||||
AC_MSG_NOTICE([Putting GTK+-2 pixbuf loaders in $GDK_PIXBUF_LOADER_DIR])
|
||||
|
||||
GDK_PIXBUF_CONFDIR="$GDK_PIXBUF_PREFIXDIR/etc/gtk-2.0/"
|
||||
AC_ARG_WITH(gdk-pixbuf-conffile,
|
||||
AC_HELP_STRING([--with-gdk-pixbuf-confdir],
|
||||
[path to the gdk_pixbuf config directroy]),
|
||||
AC_HELP_STRING([--with-gdk-pixbuf-conf-dir],
|
||||
[path to the gdk_pixbuf config directory]),
|
||||
[if test "x${withval}" != x ; then
|
||||
GDK_PIXBUF_CONFDIR="${withval}"
|
||||
fi
|
||||
|
@ -1277,11 +1295,6 @@ dnl #############################
|
|||
|
||||
dnl These should be "USE_*" instead of "HAVE_*", but some packages expect
|
||||
dnl HAVE_ and it is likely to be easier to stick with the old name
|
||||
AM_CONDITIONAL(HAVE_CPU_I386, test "x$HAVE_CPU_I386" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_CPU_PPC, test "x$HAVE_CPU_PPC" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_CPU_ALPHA, test "x$HAVE_CPU_ALPHA" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_CPU_ARM, test "x$HAVE_CPU_ARM" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_CPU_SPARC, test "x$HAVE_CPU_SPARC" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_LIBMMX, test "x$USE_LIBMMX" = "xyes")
|
||||
|
||||
AM_CONDITIONAL(HAVE_ATOMIC_H, test "x$USE_ATOMIC_H" = "xyes")
|
||||
|
@ -1501,6 +1514,7 @@ gst-libs/gst/play/Makefile
|
|||
gst-libs/gst/propertyprobe/Makefile
|
||||
gst-libs/gst/resample/Makefile
|
||||
gst-libs/gst/riff/Makefile
|
||||
gst-libs/gst/tag/Makefile
|
||||
gst-libs/gst/tuner/Makefile
|
||||
gst-libs/gst/video/Makefile
|
||||
gst-libs/gst/xoverlay/Makefile
|
||||
|
|
Loading…
Reference in a new issue