Wed, 16 May 2018 19:27:45 +0200
adds scstr_t to modules.md + fixes parenthesis bug in sstrsplit_a macro
universe@256 | 1 | # |
universe@256 | 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
universe@256 | 3 | # |
universe@259 | 4 | # Copyright 2017 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@306 | 31 | AC_INIT([ucx], [2.0.0], [olaf.wintermann@gmail.com]) |
universe@306 | 32 | AC_SUBST([UCX_LIB_VERSION], [3:0:0]) |
universe@255 | 33 | |
universe@255 | 34 | # don't place everything in the project root |
universe@252 | 35 | AC_CONFIG_AUX_DIR([build-aux]) |
universe@252 | 36 | AC_CONFIG_MACRO_DIR([m4]) |
universe@255 | 37 | |
universe@255 | 38 | # we use our own directory structure |
universe@252 | 39 | AM_INIT_AUTOMAKE([foreign -Wall -Werror]) |
universe@255 | 40 | |
universe@255 | 41 | # if there is an archiver, use it |
universe@252 | 42 | m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) |
universe@255 | 43 | |
universe@255 | 44 | # we are compiling a library |
universe@252 | 45 | LT_INIT |
universe@255 | 46 | |
universe@255 | 47 | # we are dealing with C source code |
universe@252 | 48 | AC_PROG_CC |
universe@255 | 49 | |
universe@255 | 50 | # we want to support automake < 1.14, so we need this deprecated macro |
universe@255 | 51 | # it tests, whether the compiler allows -c and -o simultaneously |
universe@255 | 52 | # in modern versions of autoconf, this is done by AC_PROG_CC |
universe@255 | 53 | AM_PROG_CC_C_O |
universe@255 | 54 | |
universe@255 | 55 | # we require the current C standard |
universe@252 | 56 | AC_PROG_CC_STDC |
universe@255 | 57 | |
universe@255 | 58 | # where to place config macros |
universe@252 | 59 | AC_CONFIG_HEADERS([config.h]) |
universe@255 | 60 | |
universe@255 | 61 | # our Makefiles |
universe@252 | 62 | AC_CONFIG_FILES([Makefile src/Makefile test/Makefile]) |
universe@255 | 63 | |
universe@255 | 64 | # GO |
universe@252 | 65 | AC_OUTPUT |
universe@252 | 66 |