Added checking for all the tools used to make documentation.
[platform/upstream/gstreamer.git] / gstreamer.m4
1 # a macro to get the libs/cflags for gscope
2 # serial 1
3
4 dnl AM_PATH_GSTREAMER([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
5 dnl Test to see if timestamp is installed, and define GSTREAMER_CFLAGS, LIBS
6 dnl
7 AC_DEFUN(AM_PATH_GSTREAMER,
8 [dnl
9 dnl Get the cflags and libraries for the GtkScope widget
10 dnl
11 AC_ARG_WITH(gscope-prefix,
12 [  --with-gscope-prefix=PFX Prefix where GtkScope is installed],
13 GSTREAMER_PREFIX="$withval")
14
15 AC_CHECK_LIB(gscope,gtk_scope_new,
16   AC_MSG_RESULT(yes),
17   AC_MSG_RESULT(no),"$GSTREAMER_PREFIX $LIBS")
18 AC_SUBST(GSTREAMER_CFLAGS)
19 AC_SUBST(GSTREAMER_LIBS)
20 AC_SUBST(HAVE_GSTREAMER)
21 ])