[vlc-devel] [RFO] Android configure detection

Rémi Denis-Courmont remi at remlab.net
Wed Jun 1 21:15:04 CEST 2011

Le mercredi 1 juin 2011 17:47:34 Jean-Baptiste Kempf, vous avez écrit :
> Android is a linux, so I believe (but might be wrong) that SYS should still
> be linux. So I declare a HAVE_ flag depending on the presence of the
> compiler defines.

I would run the test outside (i.e. after) the big case switch for flexibility 
and readability. You may still use AS_IF([test "$SYS" = linux],...).

> This might be wrong, so please give me ideas.

I can't think of any cleaner way to determine that in autoconf or in automake. 
We already do this for Qt4-X11. But please use AC_MSG_... when running tests.

Rémi Denis-Courmont

More information about the vlc-devel mailing list