Re: FVWM: configure do not recognize xpm

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Mon, 5 Aug 2002 03:25:16 +0200

On Sun, Aug 04, 2002 at 11:05:06PM +0000, Mikhael Goikhman wrote:
> On 05 Aug 2002 00:39:55 +0200, Dominik Vogt wrote:
> >
> > > It seems that the program is compiled, but returns a non zero.
> >
> > Note: If it has compiled, there must be an explanation in thei
> > configure summary. If there was no explanation, then the program
> > was not successfully compiled or not started.
>
> Sorry, this is not correct. The helpful explanation is always printed
> regardless of the failed stage. Since there is no such answer as "NO", but
> "no: explanation", it is clear that Sigmund just did not write it down.

But it *is* correct. If compilation fails, you don't get an
explanation:

    [edit configure.in, add a syntax error in the C code]
    $ grep --before-context=1 --after-context=4 "#error" configure.in
    AC_TRY_RUN([#include <X11/xpm.h>
--> #error
     int main(int c, char **v) {
     return c == 1 ? 0 :
       XpmIncludeVersion != XpmLibraryVersion() ? 1 :
       XpmIncludeVersion < 30407 ? 2 : 0 ;}],
    $ autoreconf > /dev/null && ./configure | grep "With XPM"
--> With XPM image support? no
                                         ^^^^

Bye

Dominik ^_^ ^_^

 --
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.de
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sun Aug 04 2002 - 20:23:37 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:53 BST