mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
bye bye gstreamer-config
Original commit message from CVS: bye bye gstreamer-config
This commit is contained in:
parent
e3e3e29c91
commit
7e56c1dbe1
4 changed files with 2 additions and 123 deletions
|
@ -40,20 +40,16 @@ $(SUBDIRS_LGG) $(SUBDIRS_DOCS)
|
||||||
DIST_SUBDIRS = include gst libs plugins tools test tests testsuite examples gstplay editor docs debian
|
DIST_SUBDIRS = include gst libs plugins tools test tests testsuite examples gstplay editor docs debian
|
||||||
|
|
||||||
|
|
||||||
bin_SCRIPTS = gstreamer-config
|
|
||||||
|
|
||||||
m4datadir = $(datadir)/aclocal
|
m4datadir = $(datadir)/aclocal
|
||||||
m4data_DATA = gstreamer.m4
|
m4data_DATA = gstreamer.m4
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = gstreamer.pc
|
pkgconfig_DATA = gstreamer.pc
|
||||||
|
|
||||||
man_MANS = gstreamer-config.1
|
EXTRA_DIST = gstreamer.spec.in gstreamer.m4 \
|
||||||
|
|
||||||
EXTRA_DIST = gstreamer.spec.in gstreamer-config.in gstreamer.m4 \
|
|
||||||
gstreamer.pc.in gstreamer-uninstalled.pc.in \
|
gstreamer.pc.in gstreamer-uninstalled.pc.in \
|
||||||
configure.ac autogen.sh depcomp \
|
configure.ac autogen.sh depcomp \
|
||||||
LICENSE REQUIREMENTS ABOUT-NLS $(man_MANS) \
|
LICENSE REQUIREMENTS ABOUT-NLS \
|
||||||
idiottest.mak
|
idiottest.mak
|
||||||
|
|
||||||
dist-hook:
|
dist-hook:
|
||||||
|
|
|
@ -64,11 +64,6 @@ AM_PROG_LIBTOOL
|
||||||
|
|
||||||
AC_HEADER_STDC([])
|
AC_HEADER_STDC([])
|
||||||
|
|
||||||
dnl This is used for the -config script...
|
|
||||||
builddir=`pwd`
|
|
||||||
AC_SUBST(builddir)
|
|
||||||
|
|
||||||
|
|
||||||
dnl ###########################################
|
dnl ###########################################
|
||||||
dnl # Super Duper options for plugin building #
|
dnl # Super Duper options for plugin building #
|
||||||
dnl ###########################################
|
dnl ###########################################
|
||||||
|
@ -1356,11 +1351,9 @@ docs/manual/Makefile
|
||||||
docs/fwg/Makefile
|
docs/fwg/Makefile
|
||||||
debian/Makefile
|
debian/Makefile
|
||||||
stamp.h
|
stamp.h
|
||||||
gstreamer-config
|
|
||||||
gstreamer.pc
|
gstreamer.pc
|
||||||
gstreamer-uninstalled.pc
|
gstreamer-uninstalled.pc
|
||||||
gstreamer.spec,
|
gstreamer.spec,
|
||||||
chmod +x gstreamer-config
|
|
||||||
echo "$infomessages", infomessages="$infomessages"
|
echo "$infomessages", infomessages="$infomessages"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,43 +0,0 @@
|
||||||
.TH GStreamer 1 "March 2001"
|
|
||||||
.SH NAME
|
|
||||||
gstreamer\-config - script to get information about the installed version of GStreamer
|
|
||||||
.SH SYNOPSIS
|
|
||||||
.B gstreamer\-config [\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] [\-\-version] [\-\-libs] [\-\-cflags]
|
|
||||||
.SH DESCRIPTION
|
|
||||||
.PP
|
|
||||||
\fIgstreamer\-config\fP is a tool that is used to configure to determine
|
|
||||||
the compiler and linker flags that should be used to compile
|
|
||||||
and link programs that use \fIGStreamer\fP. It is also used internally
|
|
||||||
to the .m4 macros for GNU autoconf that are included with \fIGStreamer\fP.
|
|
||||||
.
|
|
||||||
.SH OPTIONS
|
|
||||||
.l
|
|
||||||
\fIgstreamer\-config\fP accepts the following options:
|
|
||||||
.TP 8
|
|
||||||
.B \-\-version
|
|
||||||
Print the currently installed version of \fIGStreamer\fP on the standard output.
|
|
||||||
.TP 8
|
|
||||||
.B \-\-libs
|
|
||||||
Print the linker flags that are necessary to link a \fIGStreamer\fP program.
|
|
||||||
.TP 8
|
|
||||||
.B \-\-cflags
|
|
||||||
Print the compiler flags that are necessary to compile a \fIGStreamer\fP program.
|
|
||||||
.TP 8
|
|
||||||
.B \-\-prefix=PREFIX
|
|
||||||
If specified, use PREFIX instead of the installation prefix that \fIGStreamer\fP
|
|
||||||
was built with when computing the output for the \-\-cflags and
|
|
||||||
\-\-libs options. This option is also used for the exec prefix
|
|
||||||
if \-\-exec\-prefix was not specified. This option must be specified
|
|
||||||
before any \-\-libs or \-\-cflags options.
|
|
||||||
.TP 8
|
|
||||||
.B \-\-exec\-prefix=PREFIX
|
|
||||||
If specified, use PREFIX instead of the installation exec prefix that
|
|
||||||
\fIGStreamer\fP was built with when computing the output for the \-\-cflags
|
|
||||||
and \-\-libs options. This option must be specified before any
|
|
||||||
\-\-libs or \-\-cflags options.
|
|
||||||
.SH SEE ALSO
|
|
||||||
.BR gstreamer\-register (1),
|
|
||||||
.BR gstreamer\-inspect (1),
|
|
||||||
.BR gstreamer\-launch (1)
|
|
||||||
.SH AUTHOR
|
|
||||||
The GStreamer team at http://gstreamer.net/
|
|
|
@ -1,67 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
prefix=@prefix@
|
|
||||||
exec_prefix=@exec_prefix@
|
|
||||||
exec_prefix_set=no
|
|
||||||
|
|
||||||
usage="\
|
|
||||||
Usage: $0 [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]"
|
|
||||||
|
|
||||||
if test $# -eq 0; then
|
|
||||||
echo "${usage}" 1>&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
while test $# -gt 0; do
|
|
||||||
case "$1" in
|
|
||||||
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
|
||||||
*) optarg= ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
case $1 in
|
|
||||||
--prefix=*)
|
|
||||||
prefix=$optarg
|
|
||||||
if `echo $prefix | grep -v -q '^/'` ; then
|
|
||||||
prefix=`pwd`/$prefix
|
|
||||||
fi
|
|
||||||
if test $exec_prefix_set = no ; then
|
|
||||||
exec_prefix=$optarg
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
--prefix)
|
|
||||||
echo $prefix
|
|
||||||
;;
|
|
||||||
--exec-prefix=*)
|
|
||||||
exec_prefix=$optarg
|
|
||||||
exec_prefix_set=yes
|
|
||||||
;;
|
|
||||||
--exec-prefix)
|
|
||||||
echo $exec_prefix
|
|
||||||
;;
|
|
||||||
--version)
|
|
||||||
echo @VERSION@
|
|
||||||
;;
|
|
||||||
--cflags)
|
|
||||||
if test $prefix -ef @builddir@ ; then
|
|
||||||
includes=-I@builddir@
|
|
||||||
elif test @includedir@ != /usr/include ; then
|
|
||||||
includes=-I@includedir@
|
|
||||||
fi
|
|
||||||
echo $includes @CORE_CFLAGS@ @GST_DEFINE_CFLAGS@
|
|
||||||
;;
|
|
||||||
--libs)
|
|
||||||
if test $prefix -ef @builddir@ ; then
|
|
||||||
echo @builddir@/libgst.la @CORE_LIBS@
|
|
||||||
else
|
|
||||||
libdirs=-L@libdir@
|
|
||||||
echo $libdirs -lgst @CORE_LIBS@
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "${usage}" 1>&2
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
shift
|
|
||||||
done
|
|
||||||
|
|
Loading…
Reference in a new issue