Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir     : e17/proto/etk


Modified Files:
        Makefile.am configure.in 
Added Files:
        etk.pc.in 


Log Message:
pkg-config:
- play nice with pkg config


===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/etk/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- Makefile.am 30 Oct 2005 00:54:59 -0000      1.3
+++ Makefile.am 7 Dec 2005 09:55:52 -0000       1.4
@@ -7,7 +7,8 @@
                ltconfig ltmain.sh missing mkinstalldirs \
                stamp-h.in build-stamp configure-stamp depcomp \
                etk_docs.tar.gz \
-               README
+               README \
+               etk.pc
 
 bin_SCRIPTS = etk-config
 
@@ -17,8 +18,9 @@
 gendoc \
 Doxyfile \
 README \
-ABOUT-NLS
+ABOUT-NLS \
+etk.pc.in
 
 pkgconfigdir = $(libdir)/pkgconfig
-
+pkgconfig_DATA = etk.pc
 ACLOCAL_AMFLAGS = -I m4
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/etk/configure.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- configure.in        30 Oct 2005 00:54:59 -0000      1.4
+++ configure.in        7 Dec 2005 09:55:52 -0000       1.5
@@ -205,7 +205,18 @@
 AC_SUBST(edje_cflags)
 AC_SUBST(edje_libs)
 
-requirements="evas ecore edje"
+# Build the list of required libs for etk.pc.in. Only works for libs
+# which install a .pc file of course
+if test "x$evas_libs" != "x"; then
+  requirements=evas
+fi
+if test "x$ecore_libs" != "x"; then
+  requirements="$requirements ecore"
+fi
+if test "x$edje_libs" != "x"; then
+  requirements="$requirements edje"
+fi  
+
 AC_SUBST(requirements)
 
 #####################################################################
@@ -213,6 +224,7 @@
 
 AC_OUTPUT([
 Makefile
+etk.pc
 src/Makefile
 src/lib/Makefile
 src/bin/Makefile




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to