summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2011-05-10 16:37:18 -0700
committerDavid Schleef <ds@schleef.org>2011-05-18 12:54:07 -0700
commitb0ce6d117892673c7ff697cfbbfbda4b3f4852b0 (patch)
tree9c109b4f92e86ac2acfe919baf4c4590c1427505
parent9e5bbd508588961696e70c38e764492e0312ec4c (diff)
gst-feature.m4: Remove AG_GST_CHECK_CONFIGPROG
No longer do we accept the abomination that is the -config script.
-rw-r--r--m4/gst-feature.m429
1 files changed, 0 insertions, 29 deletions
diff --git a/m4/gst-feature.m4 b/m4/gst-feature.m4
index bfb3a1c..c8e5343 100644
--- a/m4/gst-feature.m4
+++ b/m4/gst-feature.m4
@@ -122,35 +122,6 @@ dnl *** Define the conditional as appropriate
AM_CONDITIONAL(USE_[$1], test x$USE_[$1] = xyes)
])
-dnl Use a -config program which accepts --cflags and --libs parameters
-dnl to set *_CFLAGS and *_LIBS and check existence of a feature.
-dnl Richard Boulton <richard-alsa@tartarus.org>
-dnl Last modification: 26/06/2001
-dnl AG_GST_CHECK_CONFIGPROG(FEATURE-NAME, CONFIG-PROG-FILENAME, MODULES)
-dnl
-dnl This check was written for GStreamer: it should be renamed and checked
-dnl for portability if you decide to use it elsewhere.
-dnl
-AC_DEFUN([AG_GST_CHECK_CONFIGPROG],
-[
- AC_PATH_PROG([$1]_CONFIG, [$2], no)
- if test x$[$1]_CONFIG = xno; then
- [$1]_LIBS=
- [$1]_CFLAGS=
- HAVE_[$1]=no
- else
- if [$2] --plugin-libs [$3] &> /dev/null; then
- [$1]_LIBS=`[$2] --plugin-libs [$3]`
- else
- [$1]_LIBS=`[$2] --libs [$3]`
- fi
- [$1]_CFLAGS=`[$2] --cflags [$3]`
- HAVE_[$1]=yes
- fi
- AC_SUBST([$1]_LIBS)
- AC_SUBST([$1]_CFLAGS)
-])
-
dnl Use AC_CHECK_LIB and AC_CHECK_HEADER to do both tests at once
dnl sets HAVE_module if we have it
dnl Richard Boulton <richard-alsa@tartarus.org>