From 8f7c8f3c07038ce40e28cde141f936a8fd92eea9 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 7 Dec 2009 15:32:38 +0000 Subject: fix libatomic usage on arm, cris, hppa, m68k, and sparc platforms --- auto/lib/libatomic/conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'auto/lib') diff --git a/auto/lib/libatomic/conf b/auto/lib/libatomic/conf index 214feb37a..5cf16f381 100644 --- a/auto/lib/libatomic/conf +++ b/auto/lib/libatomic/conf @@ -14,7 +14,8 @@ else ngx_feature="atomic_ops library" ngx_feature_name=NGX_HAVE_LIBATOMIC ngx_feature_run=yes - ngx_feature_incs="#include " + ngx_feature_incs="#define AO_REQUIRE_CAS + #include " ngx_feature_path= ngx_feature_libs="-latomic_ops" ngx_feature_test="long n = 0; -- cgit