cURL / Mailing Lists / curl-library / Single Mail

curl-library

configure test for _AIX false positive.

From: John E. Malmberg <wb8tyw_at_qsl.net>
Date: Sun, 06 Jan 2013 21:45:06 -0600

The configure test for AIX is producing a false positive.

This is resulting in the _ALL_SOURCE macro being defined.

As near as I can tell, I do not see any bad effects on VMS.

It looks like the problem is that the test should produce a compile
failure to indicate AIX, and instead a compile success is being used.

  I1 X 96 #ifdef _AIX
  I1 X 97 yes_this_is_aix
  I1 X 98 #endif

configure:6047: checking if OS is AIX (to define _ALL_SOURCE)
configure:6060: result: yes

Regards,
-John
wb8tyw_at_qsl.net
Personal Opinion Only

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-01-07