@@ -300,15 +300,15 @@ ]) AC_SUBST(TESTPLUGIN_LIBS) ]) AC_MSG_CHECKING(whether we need -D_GNU_SOURCE) -AC_EGREP_CPP(yes, [ +AC_EGREP_CPP(egrep_cpp_yes, [ #include #if defined(__GLIBC__) || defined(__MINGW32__) || defined(__NEWLIB__) - yes + egrep_cpp_yes #endif ], [ CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS" AC_MSG_RESULT(yes) ], [ @@ -329,15 +329,15 @@ AC_ARG_ENABLE(seluid24, AS_HELP_STRING([--enable-seluid24], [use 24 bit instead of 16 bit for selector UIDs])) AS_IF([test x"$enable_runtime" != x"yes"], [ AS_IF([test x"$ac_cv_header_objc_objc_h" = x"yes"], [ - AC_EGREP_CPP(yes, [ + AC_EGREP_CPP(egrep_cpp_yes, [ #import #ifdef OBJC_BOOL_DEFINED - yes + egrep_cpp_yes #endif ], [ objc_runtime="Apple runtime" ], [ dnl We don't want the GNU runtime @@ -525,28 +525,28 @@ AS_IF([test x"$ac_cv_c_bigendian" = x"universal"], [ AC_DEFINE(OF_UNIVERSAL, 1, [Whether we are building a universal binary]) ]) AC_MSG_CHECKING(for SIZE_MAX) -AC_EGREP_CPP(yes, [ +AC_EGREP_CPP(egrep_cpp_yes, [ #include #include #ifdef SIZE_MAX - yes + egrep_cpp_yes #endif ], [ AC_MSG_RESULT(yes) ], [ AC_MSG_RESULT(no) AC_MSG_CHECKING(for SIZE_T_MAX) - AC_EGREP_CPP(yes, [ + AC_EGREP_CPP(egrep_cpp_yes, [ #include #include #ifdef SIZE_T_MAX - yes + egrep_cpp_yes #endif ], [ AC_MSG_RESULT(yes) size_max="SIZE_T_MAX" ], [ @@ -554,31 +554,31 @@ size_max="(~(size_t)0)" ]) AC_DEFINE_UNQUOTED(SIZE_MAX, $size_max, [Maximum value for size_t]) ]) AC_MSG_CHECKING(for SSIZE_MAX) -AC_EGREP_CPP(yes, [ +AC_EGREP_CPP(egrep_cpp_yes, [ #include #include #ifdef SSIZE_MAX - yes + egrep_cpp_yes #endif ], [ AC_MSG_RESULT(yes) ], [ AC_MSG_RESULT(no) AC_DEFINE(SSIZE_MAX, [((ssize_t)(SIZE_MAX / 2))], [Maximum value for ssize_t]) ]) AC_MSG_CHECKING(for UINTPTR_MAX) -AC_EGREP_CPP(yes, [ +AC_EGREP_CPP(egrep_cpp_yes, [ #include #include #ifdef UINTPTR_MAX - yes + egrep_cpp_yes #endif ], [ AC_MSG_RESULT(yes) ], [ AC_MSG_RESULT(no) @@ -932,16 +932,16 @@ ]) atomic_ops="none" AC_MSG_CHECKING(whether we have an atomic ops assembly implementation) - AC_EGREP_CPP(yes, [ + AC_EGREP_CPP(egrep_cpp_yes, [ #if defined(__GNUC__) && (defined(__i386__) || \ defined(__x86_64__) || defined(__amd64__)) || \ ((defined(__ppc__) || defined(__PPC__) || \ defined(__powerpc__)) && !defined(__APPLE_CC__)) - yes + egrep_cpp_yes #endif ], [ AC_MSG_RESULT(yes) atomic_ops="assembly implementation" ], [ @@ -1089,11 +1089,11 @@ [Whether we have netinet/tcp.h]) ]) AC_CHECK_HEADERS([arpa/inet.h netdb.h]) AC_CHECK_MEMBER([struct sockaddr_in6.sin6_addr], [ - AC_EGREP_CPP(yes, [ + AC_EGREP_CPP(egrep_cpp_yes, [ #ifdef OF_HAVE_SYS_SOCKET_H # include #endif #ifdef _WIN32 @@ -1106,11 +1106,11 @@ # include # include #endif #ifdef AF_INET6 - yes + egrep_cpp_yes #endif ], [ AC_DEFINE(OF_HAVE_IPV6, 1, [Whether we have IPv6]) ]) ], [ @@ -1230,11 +1230,11 @@ ;; esac AS_IF([test x"$have_threadsafe_getaddrinfo" = \ x"unknown"], [ - AC_EGREP_CPP(yes, [ + AC_EGREP_CPP(egrep_cpp_yes, [ #ifdef OF_HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_SOCKET_H # include @@ -1247,11 +1247,11 @@ # include # include #endif #ifdef h_errno - yes + egrep_cpp_yes #end ], [ have_threadsafe_getaddrinfo="yes" ], [ have_threadsafe_getaddrinfo="no"