[FFmpeg-devel] [PATCH]Only build ffserver if SA_RESTART is defined

Nicolas George nicolas.george at normalesup.org
Sat Jul 13 12:28:50 CEST 2013


Le quintidi 25 messidor, an CCXXI, Carl Eugen Hoyos a écrit :
> New patch attached.

> +check_cpp_condition signal.h "defined(SA_RESTART)" && enable sarestart

Single Unix states:

# The <signal.h> header shall define the following macros which shall expand
# to integer constant expressions that need not be usable in #if preprocessing
# directives:

(and of course this is the list containing SA_RESTART). Therefore, I think
your first patch was correct and this one is not. I suppose Derek missed
that "42;" is a valid C statement, just a completely useless one; some
compilers will issue a warning about it, but warnings in configure are not a
problem.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130713/150702f5/attachment.asc>


More information about the ffmpeg-devel mailing list