>  Now for my next question: How do i detect maemo correctly in autoconf? I'd
>  like to port a project and add some maemo specific options but don't like to
>  do non-portable changes.

One way is:
AC_ARG_ENABLE(maemo,        [  --enable-maemo           Enable
Maemo-specific build options],
                           [enable_maemo=true],
                           [enable_maemo=false])

if test x"$enable_maemo" = xtrue; then
    #Do stuff
fi

-- 
"Oohbuntoo is an ancient african word meaning, not just a big bucket
and a scheduling calendar for sharing access to the modern science of
linguistics in the bathroom." --leeta
http://www.gnu.org/philosophy/shouldbefree.html
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to