Enlightenment CVS committal

Author  : xcomputerman
Project : e17
Module  : apps/entrance

Dir     : e17/apps/entrance


Modified Files:
        configure.in 


Log Message:
- Make sure installed ecore is up to date with new data functions
- Add check for ecore_ipc
- Throw the whole LDFLAGS shebang in there since we're using almost all
  of them now anyways.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/configure.in,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- configure.in        23 Mar 2004 00:51:08 -0000      1.26
+++ configure.in        28 Mar 2004 03:54:07 -0000      1.27
@@ -77,26 +77,41 @@
 AC_SUBST(evas_libs)
 AC_SUBST(evas_cflags)
 
+have_ecore=no
+AC_CHECK_HEADER(Ecore.h,, 
+   AC_MSG_ERROR([Ecore.h not found! Have you installed Ecore?]))
+AC_CHECK_LIB(ecore, ecore_list_new, 
+   [have_ecore=yes],
+   AC_MSG_ERROR([Ecore check failed! Make sure you have the latest version of Ecore 
installed.]))
+
 have_ecore_evas=no
-AC_CHECK_HEADERS(Ecore.h Ecore_Evas.h,,
-    AC_MSG_ERROR(Cannot find Ecore headers!))
+AC_CHECK_HEADER(Ecore_Evas.h,,
+   AC_MSG_ERROR([Ecore_Evas.h not found! Did you compile Ecore with Evas support?]))
 
 AC_CHECK_LIB(ecore_evas, main, [
-       ecore_libs="-lecore -lecore_evas"
        have_ecore_evas=yes],
-    AC_MSG_ERROR(Cannot find ecore_evas!))
+   AC_MSG_ERROR([Cannot find Ecore_Evas!]))
 
 have_ecore_software_x11=no
 AC_CHECK_LIB(ecore_evas, ecore_evas_software_x11_new, [
     have_ecore_software_x11=yes],
-    AC_MSG_ERROR(Ecore_Evas does not have Software/X11 support!))
+    AC_MSG_ERROR([Ecore_Evas does not have Software/X11 support!]))
 
 have_ecore_gl_x11=no
 AC_CHECK_LIB(ecore_evas, ecore_evas_gl_x11_new, [
     have_ecore_gl_x11=yes
     AC_DEFINE(HAVE_ECORE_GL_X11, 1, [OpenGL support])])
 
+have_ecore_ipc=no
+AC_CHECK_HEADER(Ecore_Ipc.h,,
+    AC_MSG_ERROR([Ecore_Ipc.h not found! Did you compile Ecore with IPC support?]))
+
+AC_CHECK_LIB(ecore_ipc, ecore_ipc_init, [
+    have_ecore_ipc=yes],
+    AC_MSG_ERROR([Cannot find Ecore_Ipc!]))
+
 ecore_cflags=`ecore-config --cflags`
+ecore_libs=`ecore-config --libs`
 AC_SUBST(ecore_libs)
 AC_SUBST(ecore_cflags)
 




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to