configure.in: additional note suggested by Greg Troxel
authorNeil Jerram <neil@ossau.uklinux.net>
Tue, 12 Feb 2008 21:00:05 +0000 (21:00 +0000)
committerNeil Jerram <neil@ossau.uklinux.net>
Tue, 12 Feb 2008 21:00:05 +0000 (21:00 +0000)
configure.in

index 13d590f..48facc8 100644 (file)
@@ -720,8 +720,11 @@ AC_SEARCH_LIBS(crypt, crypt,
   [AC_DEFINE(HAVE_CRYPT,1,
              [Define to 1 if you have the `crypt' function.])])
 
-# When compiling with GCC on some OSs (Solaris, AIX), _Complex_I doesn't work;
-# in the reported cases so far, 1.0fi works well instead.
+# When compiling with GCC on some OSs (Solaris, AIX), _Complex_I doesn't
+# work; in the reported cases so far, 1.0fi works well instead.  According
+# to the C99 spec, the complex.h header must provide a working definition
+# of _Complex_I, so we always try _Complex_I first.  The 1.0fi fallback
+# is a workaround for the failure of some systems to conform to C99.
 if test "$ac_cv_type_complex_double" = yes; then
   AC_MSG_CHECKING([for i])
   AC_TRY_COMPILE([