EXTRA_DIST = autogen.sh
-# TODO: After migration to autoconf-1.13+, remove check-nolink definition
-# from this Makefile.am and add AM_EXTRA_RECURSIVE_TARGETS([check-nolink])
-# back to configure.ac file.
+## TODO: After migration to autoconf-1.13+, remove check-nolink definition
+## from this Makefile.am and add AM_EXTRA_RECURSIVE_TARGETS([check-nolink])
+## back to configure.ac file.
.PHONY: check-nolink check-nolink-local
check-nolink: check-nolink-local
$(MAKE) --directory tests $(AM_MAKEFLAGS) check-nolink-local
-# Process this file with autoconf to produce a configure script.
+# Copyright (c) 2005-2006 Hewlett-Packard Development Company, L.P.
+# Copyright (c) 2009-2018 Ivan Maidanski
+#
+# THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
+# OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
+#
+# Permission is hereby granted to use or copy this program
+# for any purpose, provided the above notices are retained on all copies.
+# Permission to modify the code and to distribute modified code is granted,
+# provided the above notices are retained, and a notice that the code was
+# modified is included with the above copyright notice.
+
+dnl Process this file with autoconf to produce configure.
+
AC_INIT([libatomic_ops],[7.7.0],https://github.com/ivmai/libatomic_ops/issues)
AC_PREREQ(2.61)
AC_CONFIG_HEADERS([src/config.h])
-# Checks for programs.
+dnl Checks for programs.
AM_PROG_CC_C_O
AM_PROG_AS
LT_INIT([disable-shared])
-# Checks for functions.
+dnl Checks for functions.
AC_FUNC_MMAP
# Determine PIC flag.
AC_SUBST(PICFLAG)
AC_SUBST(DEFS)
-# Extra user-defined C flags.
+dnl Extra user-defined C flags.
AC_SUBST([CFLAGS_EXTRA])
AH_TEMPLATE([_PTHREADS], [Indicates the use of pthreads (NetBSD).])
are emulated)])
AH_TEMPLATE([AO_TRACE_MALLOC], [Trace AO_malloc/free calls (for debug only)])
-# These macros are tested in public headers
+dnl These macros are tested in public headers.
AH_TEMPLATE([AO_GENERALIZE_ASM_BOOL_CAS],
[Force compare_and_swap definition via fetch_compare_and_swap])
AH_TEMPLATE([AO_PREFER_GENERALIZED],