universe@256: # universe@256: # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. universe@256: # universe@259: # Copyright 2017 Mike Becker, Olaf Wintermann All rights reserved. universe@256: # universe@256: # Redistribution and use in source and binary forms, with or without universe@256: # modification, are permitted provided that the following conditions are met: universe@256: # universe@256: # 1. Redistributions of source code must retain the above copyright universe@256: # notice, this list of conditions and the following disclaimer. universe@256: # universe@256: # 2. Redistributions in binary form must reproduce the above copyright universe@256: # notice, this list of conditions and the following disclaimer in the universe@256: # documentation and/or other materials provided with the distribution. universe@256: # universe@256: # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" universe@256: # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE universe@256: # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE universe@256: # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE universe@256: # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR universe@256: # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF universe@256: # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS universe@256: # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN universe@256: # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) universe@256: # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE universe@256: # POSSIBILITY OF SUCH DAMAGE. universe@256: # universe@256: universe@253: # the package version must match the macros in ucx.h universe@253: # if you change the package version, don't forget to adjust the library version universe@259: AC_INIT([ucx], [1.0], [olaf.wintermann@gmail.com]) universe@255: universe@255: # don't place everything in the project root universe@252: AC_CONFIG_AUX_DIR([build-aux]) universe@252: AC_CONFIG_MACRO_DIR([m4]) universe@255: universe@255: # we use our own directory structure universe@252: AM_INIT_AUTOMAKE([foreign -Wall -Werror]) universe@255: universe@255: # if there is an archiver, use it universe@252: m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) universe@255: universe@255: # we are compiling a library universe@252: LT_INIT universe@255: universe@255: # we are dealing with C source code universe@252: AC_PROG_CC universe@255: universe@255: # we want to support automake < 1.14, so we need this deprecated macro universe@255: # it tests, whether the compiler allows -c and -o simultaneously universe@255: # in modern versions of autoconf, this is done by AC_PROG_CC universe@255: AM_PROG_CC_C_O universe@255: universe@255: # we require the current C standard universe@252: AC_PROG_CC_STDC universe@255: universe@255: # where to place config macros universe@252: AC_CONFIG_HEADERS([config.h]) universe@255: universe@255: # our Makefiles universe@252: AC_CONFIG_FILES([Makefile src/Makefile test/Makefile]) universe@255: universe@255: # GO universe@252: AC_OUTPUT universe@252: