pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build problems


From: Ed
Subject: Re: build problems
Date: Mon, 26 May 2008 05:38:11 +0100

2008/5/26 Ed <address@hidden>:
> 2008/5/26 John Darrington <address@hidden>:
>> This is overly complex.  You don't need these conditionals.  Instead of
>> #ifndef PSPP_WITH_GTK_2_10_0, you can simply use the GTK_CHECK_VERSION
>> macro.  See
>> http://library.gnome.org/devel/gtk/stable/gtk-Feature-Test-Macros.html

This wouldn't necessarily be an improvement.

1/ the AM_CONDITIONAL would still be needed

2/ both tests would still be needed to give the warnings (upgrade to
2.10, 2.12 for more functionality)

3/ this system (while cumbersome) forces you to recognise what
distinct versions you're offering functionality to. It reduces the
risk you'll add another version dependency somewhere in the code
without updating autoconf to know about it and offer the relevant
warnings and options.

Ed




reply via email to

[Prev in Thread] Current Thread [Next in Thread]