summaryrefslogtreecommitdiff
path: root/src/configure
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2011-02-15 13:35:30 (GMT)
committerChristian Pointner <equinox@helsinki.at>2011-02-15 13:35:30 (GMT)
commit4d0498e4a7533307241a807cac6de1eb0c56ba18 (patch)
treeac41ad38882bf1597e9e2675f6313a13073eccda /src/configure
parentcef04da3c24cdcf1c1ffeb214c74f6ef0aaaa0ad (diff)
first gstreamer pipeline
Diffstat (limited to 'src/configure')
-rwxr-xr-xsrc/configure9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/configure b/src/configure
index 6aee62a..ef6e03a 100755
--- a/src/configure
+++ b/src/configure
@@ -91,8 +91,11 @@ if [ -n "$ERRORS" ] && [ $EBUILD_COMPAT -ne 1 ]; then
exit 1
fi
-rm -f version.h
+CFLAGS="$CFLAGS $(pkg-config --cflags gstreamer-0.10)"
+LDFLAGS="$LDFLAGS $(pkg-config --libs gstreamer-0.10)"
+
rm -f include.mk
+rm -f config.h
case $TARGET in
Linux)
;;
@@ -118,7 +121,7 @@ if [ -z "$MANDIR" ]; then
MANDIR=$PREFIX/share/man
fi
-cat >> include.mk <<EOF
+cat > include.mk <<EOF
# this file was created automatically
# do not edit this file directly
# use ./configure instead
@@ -154,7 +157,7 @@ fi
HOSTNAME=`hostname`
DATE=`date +"%d.%m.%Y %H:%M:%S %Z"`
-cat >> config.h <<EOF
+cat > config.h <<EOF
/*
* rharchive config header
*