autoconf
[Top][All Lists]
Advanced

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

autoconf 2.57 and DJGPP: POSIX::WEXITSTATUS doesn't work under DJGPP


From: Richard Dawe
Subject: autoconf 2.57 and DJGPP: POSIX::WEXITSTATUS doesn't work under DJGPP
Date: Sat, 11 Jan 2003 11:49:05 +0000

Hello.

The DJGPP port of Perl 5.6.1 has a POSIX::WEXITSTATUS module that doesn't
work. It always seems to return 0. I don't know why - I haven't investigated
it yet. But this causes lib/Autom4te/General.pm to think that 'm4
--fatal-warnings' has succeeded sometimes, when it has failed.

The solution I adopted for the DJGPP port was to use the return value of
system >> 8 instead. This seems to work fine.

I see that POSIX::WEXITSTATUS is used, because it's portable. So this message
is a heads-up about the problem.

Thanks, regards,

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]




reply via email to

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