X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fextensions.m4;h=49760791865fb81bb80f0e649d8a72bddfc0cd04;hb=ad7e0cc967251bc0d09999503a51e5fbcfac021d;hp=5f22d42766d2179ba7e9162966352a64b4330d7f;hpb=4255fda8f8668b90ed2ac0847ad8e4f0b396965c;p=gnulib.git diff --git a/m4/extensions.m4 b/m4/extensions.m4 index 5f22d4276..497607918 100644 --- a/m4/extensions.m4 +++ b/m4/extensions.m4 @@ -5,6 +5,9 @@ # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. +# This file is only needed in autoconf <= 2.59. Newer versions of autoconf +# have a macro AC_USE_SYSTEM_EXTENSIONS with identical semantics. + # gl_USE_SYSTEM_EXTENSIONS # ------------------------ # Enable extensions on systems that normally disable them, @@ -33,7 +36,7 @@ AC_DEFUN([gl_USE_SYSTEM_EXTENSIONS], [ AC_INCLUDES_DEFAULT])], [ac_cv_safe_to_define___extensions__=yes], [ac_cv_safe_to_define___extensions__=no])]) - test $ac_cv_safe_to_define___extensions__ == yes && + test $ac_cv_safe_to_define___extensions__ = yes && AC_DEFINE([__EXTENSIONS__]) AC_DEFINE([_POSIX_PTHREAD_SEMANTICS]) ])