diff options
author | Anoop C S <anoopcs@redhat.com> | 2015-10-14 13:11:37 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2015-11-09 01:11:58 -0800 |
commit | f68c95a429b44afc0197152a7819d17ce1de734c (patch) | |
tree | c4b5e670ecabeb6d8d2d07e16cdce5f49f7d1a19 /geo-replication/syncdaemon/resource.py | |
parent | 01ed634a490d3ea7c4bbb051a0a9f0512f8f7694 (diff) |
build: Fix autoconf warnings
This patch avoids the following warnings on running autogen script
. . .
Running autoconf...
configure.ac:896: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in
body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
configure.ac:896: the top level
. . .
This change uses AC_LINK_IFELSE for checking the atomic built-in function
support. Since AC_COMPILE_IFELSE checks for syntactical errors only, we need
to use AC_LINK_IFELSE to achieve the same which is more appropriate.
Reference links:
[1] https://autotools.io/forwardporting/autoconf.html
[2] http://www.gnu.org/software/autoconf/manual/autoconf.html#Generating-Sources
[3] http://www.gnu.org/software/autoconf/manual/autoconf.html#Running-the-Compiler
Change-Id: I4597f2976623496745b66f98bb78a0c9f1b07f79
BUG: 1198849
Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-on: http://review.gluster.org/12351
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'geo-replication/syncdaemon/resource.py')
0 files changed, 0 insertions, 0 deletions