On Tue, May 19, 2015 at 9:01 PM, David Bremner <david@tethera.net> wrote: > Ronny Chevalier <chevalier.ronny@gmail.com> writes: > >> Hi, >> >> I'm curious about the reason behind choosing to do your own configure >> tool instead of using tools like autotools or cmake? > > I guess the most relevant discussion is not that recent: > > http://mid.gmane.org/1258897630-22282-1-git-send-email-jeff@ocjtech.us > > and to a lesser extent the discussion starting atL > > http://article.gmane.org/gmane.mail.notmuch.general/635 > Ok thanks I will look into it. >> For example, I noticed that the part that check if the compiler >> options are supported, is not working. Try adding a flag supported by >> gcc but not by clang and use clang to compile or vice-versa. > > Sure, of course there can be bugs, just as in any configuration system. > Can you give a more specific recipe to reproduce it? Yeah I forgot to provide an example sorry. -Wdouble-promotion for example is available on gcc but not clang and it is still added to the command line when using clang. I think this is because clang does not return an error code, but just prints a warning. > > Thanks, > > d