1# gl_USE_SYSTEM_EXTENSIONS 2# ------------------------ 3# Enable extensions on systems that normally disable them, 4# typically due to standards-conformance issues. 5AC_DEFUN([gl_USE_SYSTEM_EXTENSIONS], [ 6 AC_REQUIRE([AC_GNU_SOURCE]) 7 AH_VERBATIM([__EXTENSIONS__], 8[/* Enable extensions on Solaris. */ 9#ifndef __EXTENSIONS__ 10# undef __EXTENSIONS__ 11#endif]) 12 AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl 13 AC_BEFORE([$0], [AC_RUN_IFELSE])dnl 14 AC_DEFINE([__EXTENSIONS__]) 15]) 16