diff --git a/backend/CMakeLists.txt b/backend/CMakeLists.txt index 0bc03a00..772b630d 100644 --- a/backend/CMakeLists.txt +++ b/backend/CMakeLists.txt @@ -4,7 +4,7 @@ project(zint) -configure_file(zintconfig.h.in ../../backend/zintconfig.h) +configure_file(zintconfig.h.in ${CMAKE_CURRENT_SOURCE_DIR}/zintconfig.h) set(zint_COMMON_SRCS common.c library.c large.c reedsol.c gs1.c eci.c general_field.c sjis.c gb2312.c gb18030.c) set(zint_ONEDIM_SRCS code.c code128.c 2of5.c upcean.c telepen.c medical.c plessey.c rss.c) diff --git a/backend/zintconfig.h b/backend/zintconfig.h index 25d50e42..43a236b8 100644 --- a/backend/zintconfig.h +++ b/backend/zintconfig.h @@ -1,5 +1,41 @@ -/* The configured options and settings for libzint */ -#define ZINT_VERSION_MAJOR 2 -#define ZINT_VERSION_MINOR 9 -#define ZINT_VERSION_RELEASE 1 -#define ZINT_VERSION_BUILD 9 +/* zintconfig.h - the configured options and settings for libzint + + libzint - the open source barcode library + Copyright (C) 2021 Robin Stuart + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the project nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + */ +/* vim: set ts=4 sw=4 et : */ + +#ifndef ZINTCONFIG_H +#define ZINTCONFIG_H + +#define ZINT_VERSION_MAJOR 2 +#define ZINT_VERSION_MINOR 9 +#define ZINT_VERSION_RELEASE 1 +#define ZINT_VERSION_BUILD 9 + +#endif /* ZINTCONFIG_H */ diff --git a/backend/zintconfig.h.in b/backend/zintconfig.h.in index 1bff0d0b..7f07fa75 100644 --- a/backend/zintconfig.h.in +++ b/backend/zintconfig.h.in @@ -1,5 +1,41 @@ -/* The configured options and settings for libzint */ -#define ZINT_VERSION_MAJOR @ZINT_VERSION_MAJOR@ -#define ZINT_VERSION_MINOR @ZINT_VERSION_MINOR@ -#define ZINT_VERSION_RELEASE @ZINT_VERSION_RELEASE@ -#define ZINT_VERSION_BUILD @ZINT_VERSION_BUILD@ +/* zintconfig.h - the configured options and settings for libzint + + libzint - the open source barcode library + Copyright (C) 2021 Robin Stuart + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the project nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + */ +/* vim: set ts=4 sw=4 et : */ + +#ifndef ZINTCONFIG_H +#define ZINTCONFIG_H + +#define ZINT_VERSION_MAJOR @ZINT_VERSION_MAJOR@ +#define ZINT_VERSION_MINOR @ZINT_VERSION_MINOR@ +#define ZINT_VERSION_RELEASE @ZINT_VERSION_RELEASE@ +#define ZINT_VERSION_BUILD @ZINT_VERSION_BUILD@ + +#endif /* ZINTCONFIG_H */