aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/jenkins.sh
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-07-13 22:14:37 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2017-07-13 22:15:16 +0200
commit1307b7aa606b31a54d6abbb3cf39c07ccf4d2cd0 (patch)
tree9eba7e39ecffe67647cb2f45f4771edeafa1fe00 /contrib/jenkins.sh
parentff8eed24e769800c1f7e946d64a3247cb1d4a9ae (diff)
configure.ac: Fix RTP_SIGNAL_PTR_CAST config in FreeBSD build
Move function definition to the first argument of AC_LANG_PROGRAM (prologue) instead of the second (body). Content of the body is writen into the main() function of the file being compiled, while prologue is writen before it. Compiler from FreeBSD build host doesn't like definitions inside the main function, it fails with the following error: conftest.c:28:73: error: function definition is not allowed here As the compilation test fails, unsigned int is used instead of void*, which doesn't match the current headers in the current build, and then a warning (or error with -Werror) is printed. Change-Id: I83fc3997e5067b499bf43cea4ff953604d6cbeae
Diffstat (limited to 'contrib/jenkins.sh')
0 files changed, 0 insertions, 0 deletions