Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Mistakes in autotools code (configure.ac) #5067
CentOS 6 with gcc 4.9.2.
upstream (commit 94ced8e)
I did this
I expected the following
Some compiler id and version number (492) in output
Empty $compiler_id, $compiler_num at first echo
Problems and possible solutions:
As solution: put code about CURL_CFLAG_EXTRAS after CURL_CHECK_COMPILER.
For (1), yes that seems correct.
For (2), that seems insufficient. On my machine:
Checking older gcc versions it seems configure is okay: