1 Star 0 Fork 1

tiderfang / Fast-CDR

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
configure.ac 2.15 KB
一键复制 编辑 原始数据 按行查看 历史
Miguel Company 提交于 2020-12-04 10:26 . Bump version to 1.0.17 (#96)
# Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima).
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Autoconf script FastCDR
#
#
# Define variables for the FastCDR version number.
#
m4_define([version_major],[1])
m4_define([version_minor],[0])
m4_define([version_micro],[17])
AC_INIT([fastcdr], [version_major.version_minor.version_micro], [support@eprosima.com], [eProsima FastCDR], [http://eprosima.com/])
CONFIG_ARGS="$*"
AC_SUBST(CONFIG_ARGS)
#Minimum autoconf version we require.
AC_PREREQ([2.59])
AM_INIT_AUTOMAKE([1.10 no-define foreign subdir-objects])
# Makes version available in config.h
AC_DEFINE(FASTCDR_VERSION_MAJOR, version_major, [fastcdr version major])
AC_DEFINE(FASTCDR_VERSION_MINOR, version_minor, [fastcdr version minor])
AC_DEFINE(FASTCDR_VERSION_MICRO, version_micro, [fastcdr version micro])
# Check stdcxx
AX_CXX_COMPILE_STDCXX_11(,optional)
AS_IF([test $HAVE_CXX11 = 1],
[AC_DEFINE(HAVE_CXX0X, 1, ["Define if g++ supports C++0x features. "]),
AC_DEFINE(HAVE_CXX_CONSTEXPR, 1, [""])],
[AC_DEFINE(HAVE_CXX_CONSTEXPR, 0, [""]), AX_CXX_COMPILE_STDCXX_0X()])
# Check endianess
AC_C_BIGENDIAN(
AC_DEFINE(FASTCDR_IS_BIG_ENDIAN_TARGET, 1, [machine is bigendian]),
AC_DEFINE(FASTCDR_IS_BIG_ENDIAN_TARGET, 0, [machine is littleendian]),
AC_MSG_ERROR(unknown endianess),
AC_MSG_ERROR(universial endianess not supported)
)
# Check for libraries used in the main build process
AC_PROG_CXX
AC_PROG_CPP
# Init libtool
AC_CONFIG_MACRO_DIR([m4])
LT_INIT
AC_CONFIG_HEADERS([include/fastcdr/config.h:include/fastcdr/config.h.in])
AC_CONFIG_FILES([Makefile
include/Makefile
src/cpp/Makefile])
AC_OUTPUT
1
https://gitee.com/tiderfang/Fast-CDR.git
git@gitee.com:tiderfang/Fast-CDR.git
tiderfang
Fast-CDR
Fast-CDR
master

搜索帮助