configure.ac

Mon, 30 Dec 2019 09:52:44 +0100

author
Mike Becker <universe@uap-core.de>
date
Mon, 30 Dec 2019 09:52:44 +0100
changeset 388
871a8ffe6c9d
parent 368
97c53f7ef5e4
permissions
-rw-r--r--

merges closed feature/array branch

universe@256 1 #
universe@256 2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
universe@256 3 #
universe@338 4 # Copyright 2019 Mike Becker, Olaf Wintermann All rights reserved.
universe@256 5 #
universe@256 6 # Redistribution and use in source and binary forms, with or without
universe@256 7 # modification, are permitted provided that the following conditions are met:
universe@256 8 #
universe@256 9 # 1. Redistributions of source code must retain the above copyright
universe@256 10 # notice, this list of conditions and the following disclaimer.
universe@256 11 #
universe@256 12 # 2. Redistributions in binary form must reproduce the above copyright
universe@256 13 # notice, this list of conditions and the following disclaimer in the
universe@256 14 # documentation and/or other materials provided with the distribution.
universe@256 15 #
universe@256 16 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
universe@256 17 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
universe@256 18 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
universe@256 19 # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
universe@256 20 # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
universe@256 21 # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
universe@256 22 # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
universe@256 23 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
universe@256 24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
universe@256 25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
universe@256 26 # POSSIBILITY OF SUCH DAMAGE.
universe@256 27 #
universe@256 28
universe@253 29 # the package version must match the macros in ucx.h
universe@306 30 # the lib version must follow the libtool versioning convention
universe@367 31 AC_PREREQ([2.60])
universe@338 32 AC_INIT([ucx], [2.1.0], [olaf.wintermann@gmail.com])
universe@341 33 AC_SUBST([UCX_LIB_VERSION], [4:0:1])
universe@255 34
universe@255 35 # don't place everything in the project root
universe@252 36 AC_CONFIG_AUX_DIR([build-aux])
universe@252 37 AC_CONFIG_MACRO_DIR([m4])
universe@255 38
universe@255 39 # we use our own directory structure
universe@252 40 AM_INIT_AUTOMAKE([foreign -Wall -Werror])
universe@255 41
universe@255 42 # if there is an archiver, use it
universe@252 43 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
universe@255 44
universe@255 45 # we are compiling a library
universe@252 46 LT_INIT
universe@255 47
universe@367 48 # we want c11, and may fall back to c99
universe@368 49 AC_PROG_CC_C99
universe@255 50
universe@255 51 # we want to support automake < 1.14, so we need this deprecated macro
universe@255 52 # it tests, whether the compiler allows -c and -o simultaneously
universe@255 53 # in modern versions of autoconf, this is done by AC_PROG_CC
universe@255 54 AM_PROG_CC_C_O
universe@255 55
universe@255 56 # where to place config macros
universe@252 57 AC_CONFIG_HEADERS([config.h])
universe@255 58
universe@255 59 # our Makefiles
universe@252 60 AC_CONFIG_FILES([Makefile src/Makefile test/Makefile])
universe@255 61
universe@255 62 # GO
universe@252 63 AC_OUTPUT
universe@252 64

mercurial