1 # a macro to get the libs/cflags for gscope
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
7 AC_DEFUN(AM_PATH_GSTREAMER,
9 dnl Get the cflags and libraries for the GtkScope widget
11 AC_ARG_WITH(gscope-prefix,
12 [ --with-gscope-prefix=PFX Prefix where GtkScope is installed],
13 GSTREAMER_PREFIX="$withval")
15 AC_CHECK_LIB(gscope,gtk_scope_new,
17 AC_MSG_RESULT(no),"$GSTREAMER_PREFIX $LIBS")
18 AC_SUBST(GSTREAMER_CFLAGS)
19 AC_SUBST(GSTREAMER_LIBS)
20 AC_SUBST(HAVE_GSTREAMER)