[zeromq-dev] [PATCH] test that compiler actually works

Mikko Koppanen mikko.koppanen at gmail.com
Thu Nov 18 21:24:33 CET 2010


Hello,

the attached patch tests that the C and C++ compilers actually exist
and work. autoconf seems to default to 'g++' when C++ compiler is not
found, which causes the following error (when the compiler isn't
there):

checking for uuid_generate in -luuid... no
configure: error: cannot link with -luuid, install uuid-dev.

The config.log contains the real error message "g++ command not found"
but the error message shown to the user is misleading. This issue can
be reproduced by running:

CXX="this.doesnt.exist" ./configure

with current master.

-- 
Mikko Koppanen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Add-a-check-that-the-compiler-actually-works.-Curren.patch
Type: application/octet-stream
Size: 2182 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101118/fafb46e6/attachment.obj>


More information about the zeromq-dev mailing list