[maemo-developers] Check existance of hildon header files

From: Ngurah ignabandika at yahoo.com
Date: Tue Jun 26 05:13:11 EEST 2007
Hi,
 
  Last night i trying to make some configure.in script on scratchbox.Basically i need to define when to use hildon and when to only use gtk , so in my configure.in i include this line :

  AC_CHECK_HEADERS([hildon-widgets/hildon-program.h],[have_hildon=yes],[have_hildon=no])
if test x$have_hildon = xyes; then
       AC_DEFINE(HAVE_HILDON,,[define this if have hildon framework])
fi             
AM_CONDITIONAL([HAVE_HILDON], [test x$have_hildon = xyes])

but when i check the generated config.h , my HAVE_HILDON macro always undefine even there are the specified header file on system.

Anyone has experience on autoconf/automake regarding of this, please help me out of this problem.
Thnks

BG
Gusti

       
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070625/024827f6/attachment.htm 
More information about the maemo-developers mailing list