some fixes to handle builddirs, which distcheck uses, along with complete .pc files

Original commit message from CVS:
some fixes to handle builddirs, which distcheck uses, along with complete .pc files
This commit is contained in:
Erik Walthinsen 2001-05-28 07:46:21 +00:00
parent 13502fc293
commit c442db8165
4 changed files with 16 additions and 15 deletions

View file

@ -515,7 +515,7 @@ AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_MSG_CHECKING(arts library)
dnl AC_CHECK_LIB(artsflow, convert_stereo_ifloat_2float, HAVE_ARTS=yes, HAVE_ARTS=no, -lmcop -lartsflow_idl)
AC_CHECK_HEADER(arts/artsflow.h, HAVE_ARTS=yes, HAVE_ARTS=no)
dnl AC_CHECK_HEADER(arts/artsflow.h, HAVE_ARTS=yes, HAVE_ARTS=no)
AC_LANG_RESTORE
dnl Check for libraw1394
@ -939,18 +939,18 @@ AC_SUBST(CORE_CFLAGS)
dnl FIXME: having to AC_SUBST these is messy. Not sure if CPPFLAGS and LDFLAGS
dnl need it, either.
dnl Private vars for libgst only
LIBGST_LIBS="$LIBS"
LIBGST_CFLAGS="$CFLAGS"
AC_SUBST(LIBGST_LIBS)
AC_SUBST(LIBGST_CFLAGS)
dnl Vars for everyone else
GST_LIBS="\$(top_builddir)/gst/libgst.la"
GST_CFLAGS="-I\$(top_srcdir) -I\$(top_srcdir)/include"
AC_SUBST(GST_LIBS)
AC_SUBST(GST_CFLAGS)
dnl Private vars for libgst only
LIBGST_LIBS="$LIBS"
LIBGST_CFLAGS="$CFLAGS $GST_CFLAGS"
AC_SUBST(LIBGST_LIBS)
AC_SUBST(LIBGST_CFLAGS)
dnl CFLAGS for everyone else
CFLAGS="$CFLAGS $GST_CFLAGS"
AC_SUBST(LIBS)

View file

@ -52,11 +52,12 @@ libgst_la_SOURCES = \
#LTCOMPILE2=$(LTCOMPILE) -O2
#COMPILE2=$(COMPILE) -O2
cothreads.lo: cothreads.c cothreads.h gst_private.h ../config.h gstinfo.c \
gstarch.h gsti386.h
# FIXME this only lists the x86 arch file, we really should merge them all
cothreads.lo: $(srcdir)/cothreads.c $(srcdir)/cothreads.h $(srcdir)/gst_private.h \
$(top_builddir)/config.h $(srcdir)/gstinfo.c $(srcdir)/gstarch.h $(srcdir)/gsti386.h
$(LIBTOOL) --mode=compile $(COMPILE) -O2 -c $<
cothreads.o: cothreads.c cothreads.h gst_private.h ../config.h gstinfo.c \
gstarch.h gsti386.h
cothreads.o: $(srcdir)/cothreads.c $(srcdir)/cothreads.h $(srcdir)/gst_private.h \
$(top_builddir)/config.h $(srcdir)/gstinfo.c $(srcdir)/gstarch.h $(srcdir)/gsti386.h
$(COMPILE) -O2 -c $<
# NOTDEPEND.cothreads.lo: cothreads.c

View file

@ -6,6 +6,6 @@ includedir=@includedir@
Name: GStreamer Uninstalled
Description: Streaming-media framework, Not Installed
Version: @VERSION@
Requires: glib gtk+
Libs: ${pcbuilddir}/${pcfiledir}/gst/libgst.la
Requires: glib >= 1.2.0, gtk+ >= 1.2.0, libxml >= 1.8.1
Libs: ${pcbuilddir}/${pcfiledir}/gst/libgst.la
Cflags: -I${pcbuilddir}/${pcfiledir}

View file

@ -5,7 +5,7 @@ includedir=@includedir@
Name: GStreamer
Description: Streaming-media framework
Requires:
Requires: glib >= 1.2.0, gtk+ >= 1.2.0, libxml >= 1.8.1
Version: @VERSION@
Libs: -L${libdir} -lgst
Cflags:
Cflags: -I${includedir}