Hey,

when PKG_CHECK_MODULE does not find a package, it does not display the result. This lead to wrong output.

I've attached a patch that adds AC_MSG_RESULT in some package that I can test on my computer.

regards,

Vincent
? confdefs.h
? configure.in.diff
? confstat1452-15239
? src/modules/engines/software_ddraw
? src/modules/engines/software_16/.deps
? src/modules/engines/software_16/Makefile
? src/modules/engines/software_16/Makefile.in
? src/modules/engines/software_16_x11/.deps
? src/modules/engines/software_16_x11/Makefile.in
Index: configure.in
===================================================================
RCS file: /var/cvs/e/e17/libs/evas/configure.in,v
retrieving revision 1.216
diff -u -r1.216 configure.in
--- configure.in        1 May 2007 13:07:51 -0000       1.216
+++ configure.in        4 May 2007 23:00:16 -0000
@@ -108,6 +108,7 @@
     AC_DEFINE(HAVE_FONTCONFIG, 1, [have fontconfig searching capabilities])
   ], [
     have_fontconfig="no"
+    AC_MSG_RESULT(no)
   ])
 fi
 
@@ -231,9 +232,9 @@
 PKG_CHECK_MODULES(
   XCB,
   xcb xcb-shm xcb-image,
-  [have_evas_software_xcb="yes"],
-  [have_evas_software_xcb="no"],
-  [ have_evas_software_xcb="no" ])
+  [ have_evas_software_xcb="yes" ],
+  [ have_evas_software_xcb="no"
+    AC_MSG_RESULT(no) ])
 
 ## manually disable xcb engine by default - not auto detected.
 have_evas_software_xcb="no"
@@ -269,7 +270,8 @@
 ## Automatic check...
 PKG_CHECK_MODULES(DIRECTFB, directfb >= 0.9.16,
   [ have_evas_directfb="yes" ],
-  [ have_evas_directfb="no" ]
+  [ have_evas_directfb="no"
+    AC_MSG_RESULT(no) ]
 )
 ## manually disable directfb engine by default - not auto detected.
 have_evas_directfb="no"
@@ -590,9 +592,9 @@
 PKG_CHECK_MODULES(
   XCBRENDER,
   xcb xcb-shm xcb-render xcb-image,
-  [have_evas_xrender_xcb="yes"],
-  [have_evas_xrender_xcb="no"],
-  [ have_evas_xrender_xcb="no" ])
+  [ have_evas_xrender_xcb="yes" ],
+  [ have_evas_xrender_xcb="no"
+    AC_MSG_RESULT(no) ])
 
 ## manually disable xcb engine by default - not auto detected.
 have_evas_xrender_xcb="no"
@@ -826,7 +828,11 @@
 
 # next, if she does, check whether EET is available
 if test "$want_eet_image_loader" = yes -o "$want_eet_font_loader" = yes; then
-  PKG_CHECK_MODULES(EET, eet, have_eet=yes, have_eet=no)
+  PKG_CHECK_MODULES(EET,
+     eet,
+     [ have_eet=yes ],
+     [ have_eet=no
+       AC_MSG_RESULT(no) ])
 else
   have_eet=no
 fi
@@ -867,7 +873,11 @@
 
 # next, if she does, check whether EDB is available
 if test "$want_edb_image_loader" = yes; then
-  PKG_CHECK_MODULES(EDB, edb, have_edb=yes, have_edb=no)
+  PKG_CHECK_MODULES(EDB,
+     edb,
+     [ have_edb=yes ],
+     [ have_edb=no
+       AC_MSG_RESULT(no) ])
 else
   have_edb=no
 fi
@@ -976,6 +986,7 @@
         ],
         [ 
             have_svg="no"
+            AC_MSG_RESULT(no)
         ]
     )
    if test "x$have_svg" = "xyes"; then
@@ -1928,7 +1939,11 @@
 # put something in as the 4th parameter, so configure doesn't abort
 # when valgrind.pc isn't found.
 have_valgrind="no"
-PKG_CHECK_MODULES(VALGRIND, valgrind >= 2.4.0, have_valgrind=yes, 
have_valgrind=no)
+PKG_CHECK_MODULES(VALGRIND,
+   valgrind >= 2.4.0,
+   [ have_valgrind=yes ],
+   [ have_valgrind=no
+     AC_MSG_RESULT(no) ])
 VALGRIND_LIBS="" # dont use LIBS
 
 AC_ARG_ENABLE(valgrind,
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to