Branch: Tag:

2017-06-11

2017-06-11 11:51:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Configure: Define _POSIX_C_SOURCE after configuring C compiler.

Fixes configuration issues on eg Solaris due to C- and POSIX-
standard mismatches.

813:   fi #if test "x$enable_binary" != "xno"   #############################################################################    - # Define various *_SOURCE macros to enable later POSIX versions, etc. - # NB: As these affect the visibility/availability of symbols these - # must be defined before other probes. - PIKE_USE_SYSTEM_EXTENSIONS -  +    # Something seems to mess with the stack ulimit on some architectures...   #   # Cause found. GNU make 3.81 apparently raises the stack ulimit to max
2229:    ])   fi    + # Define various *_SOURCE macros to enable later POSIX versions, etc. + # NB: As these affect the visibility/availability of symbols these + # must be defined before other probes. + PIKE_USE_SYSTEM_EXTENSIONS +    AC_MSG_CHECKING([crc32 intrinsics])   AC_CACHE_VAL(pike_cv_sys_have_crc_intrinsics,[    AC_TRY_LINK([