Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update and install enigma2.pc

  • Loading branch information...
commit 2c83d31ceec4b7014783a8c207b66b8f5ae0c318 1 parent fb41a54
@opendreambox opendreambox authored
Showing with 10 additions and 3 deletions.
  1. +3 −0  Makefile.am
  2. +5 −1 configure.ac
  3. +2 −2 enigma2.pc.in
View
3  Makefile.am
@@ -8,6 +8,9 @@ install_PYTHON = \
keyids.py keymapparser.py mytest.py skin.py timer.py tools.py GlobalActions.py \
e2reactor.py
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = enigma2.pc
+
metadir = $(datadir)/meta
meta_DATA = index-enigma2.xml
CLEANFILES = index-enigma2.xml
View
6 configure.ac
@@ -92,8 +92,12 @@ if test "$with_po" = "yes"; then
fi
AM_CONDITIONAL(UPDATE_PO, test "$with_po" = "yes")
+ENIGMA2_CFLAGS="-fno-rtti -fno-exceptions"
+AC_SUBST(ENIGMA2_CFLAGS)
+
CPPFLAGS="$CPPFLAGS $PYTHON_CPPFLAGS"
-CXXFLAGS="$CXXFLAGS $BASE_CFLAGS $PTHREAD_CFLAGS $DEBUG_CFLAGS -fno-rtti -fno-exceptions -Wall"
+CFLAGS="$CFLAGS $DEBUG_CFLAGS -Wall"
+CXXFLAGS="$CXXFLAGS $DEBUG_CFLAGS -Wall $BASE_CFLAGS $ENIGMA2_CFLAGS $PTHREAD_CFLAGS"
AC_CONFIG_FILES([
Makefile
View
4 enigma2.pc.in
@@ -6,5 +6,5 @@ includedir=@includedir@
Name: enigma2
Description: Enigma2
Version: @VERSION@
-Libs:
-Cflags: -I${includedir}/enigma2
+Cflags: -I${includedir}/enigma2 @ENIGMA2_CFLAGS@
+Requires.private: sigc++-1.2
Please sign in to comment.
Something went wrong with that request. Please try again.