Ola, >> #include <hildon-1/hildon/hildon-program.h> > That's not the best way. You should check for hildon-1 pkg-config files > in > configure.in, which will add /usr/include/hildon-1 to your include path. > Then, in the source files, you should include hildon/hildon-program.h.
Yes, I did something like this in configure.ac : AC_ARG_ENABLE(hildon, AS_HELP_STRING([--enable-hildon],[compile for Hildon environment @<:@default=no@:>@]),,enable_hildon=no) dnl ******** dnl Hildon dnl ******** if test "x$enable_hildon" = "xyes"; then dnl AC_MSG_CHECKING([for GtkHTML2 support]) PKG_CHECK_MODULES([HILDON], hildon-1 >= 1.0.5,enable_hildon=yes,enable_hildon=no) else enable_hildon=no fi AM_CONDITIONAL(WITH_HILDON, test "x$enable_hildon" = "xyes") HTH []'s Ian -- http://ianlawrence.info _______________________________________________ maemo-developers mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-developers
