68 lines
2.1 KiB
Diff
68 lines
2.1 KiB
Diff
--- libmonit/configure.orig
|
|
+++ libmonit/configure
|
|
@@ -12584,65 +12584,6 @@
|
|
fi
|
|
|
|
# ------------------------------------------------------------------------
|
|
-# Atomic support
|
|
-# ------------------------------------------------------------------------
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Atomic support" >&5
|
|
-$as_echo_n "checking for Atomic support... " >&6; }
|
|
-if test `uname` = "Darwin" -o `uname` = "FreeBSD"
|
|
-then
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
-$as_echo "yes" >&6; }
|
|
-elif test `uname` = "SunOS"
|
|
-then
|
|
- ac_fn_c_check_header_mongrel "$LINENO" "atomic.h" "ac_cv_header_atomic_h" "$ac_includes_default"
|
|
-if test "x$ac_cv_header_atomic_h" = xyes; then :
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
-$as_echo "yes" >&6; }
|
|
-else
|
|
- as_fn_error $? "atomic.h is required for atomic support" "$LINENO" 5
|
|
-fi
|
|
-
|
|
-
|
|
-else
|
|
- if test "$cross_compiling" = yes; then :
|
|
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
-as_fn_error $? "cannot run test program while cross compiling
|
|
-See \`config.log' for more details" "$LINENO" 5; }
|
|
-else
|
|
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
-/* end confdefs.h. */
|
|
-
|
|
-int
|
|
-main ()
|
|
-{
|
|
-
|
|
- #if ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 1)))
|
|
- return 0;
|
|
- #else
|
|
- return 1;
|
|
- #endif
|
|
-
|
|
- ;
|
|
- return 0;
|
|
-}
|
|
-_ACEOF
|
|
-if ac_fn_c_try_run "$LINENO"; then :
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
-$as_echo "yes" >&6; }
|
|
-else
|
|
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
-as_fn_error $? "GCC version > 4.1 is required for atomic support
|
|
-See \`config.log' for more details" "$LINENO" 5; }
|
|
-fi
|
|
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
- conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
-fi
|
|
-
|
|
-fi
|
|
-
|
|
-# ------------------------------------------------------------------------
|
|
# IPv6 Support
|
|
# ------------------------------------------------------------------------
|
|
|