bye bye gstreamer-config
authorAndy Wingo <wingo@pobox.com>
Sun, 16 Dec 2001 18:43:10 +0000 (18:43 +0000)
committerAndy Wingo <wingo@pobox.com>
Sun, 16 Dec 2001 18:43:10 +0000 (18:43 +0000)
Original commit message from CVS:
bye bye gstreamer-config

Makefile.am
configure.ac
gstreamer-config.1 [deleted file]
gstreamer-config.in [deleted file]

index 8eaffb0..06ad211 100644 (file)
@@ -40,20 +40,16 @@ $(SUBDIRS_LGG) $(SUBDIRS_DOCS)
 DIST_SUBDIRS = include gst libs plugins tools test tests testsuite examples gstplay editor docs debian
 
 
-bin_SCRIPTS = gstreamer-config
-
 m4datadir = $(datadir)/aclocal
 m4data_DATA = gstreamer.m4
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = gstreamer.pc
 
-man_MANS = gstreamer-config.1
-
-EXTRA_DIST = gstreamer.spec.in gstreamer-config.in gstreamer.m4 \
+EXTRA_DIST = gstreamer.spec.in gstreamer.m4 \
             gstreamer.pc.in gstreamer-uninstalled.pc.in \
             configure.ac autogen.sh depcomp \
-            LICENSE REQUIREMENTS ABOUT-NLS $(man_MANS) \
+            LICENSE REQUIREMENTS ABOUT-NLS \
             idiottest.mak
 
 dist-hook:
index 4023d04..19868ea 100644 (file)
@@ -64,11 +64,6 @@ AM_PROG_LIBTOOL
 
 AC_HEADER_STDC([])
 
-dnl This is used for the -config script...
-builddir=`pwd`
-AC_SUBST(builddir)
-
-
 dnl ###########################################
 dnl # Super Duper options for plugin building #
 dnl ###########################################
@@ -1356,11 +1351,9 @@ docs/manual/Makefile
 docs/fwg/Makefile
 debian/Makefile
 stamp.h
-gstreamer-config
 gstreamer.pc
 gstreamer-uninstalled.pc
 gstreamer.spec,
-chmod +x gstreamer-config
 echo "$infomessages", infomessages="$infomessages"
 )
 
diff --git a/gstreamer-config.1 b/gstreamer-config.1
deleted file mode 100644 (file)
index 254ae31..0000000
+++ /dev/null
@@ -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/
diff --git a/gstreamer-config.in b/gstreamer-config.in
deleted file mode 100644 (file)
index e99bf40..0000000
+++ /dev/null
@@ -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
-