📄 configure.in
字号:
# Copyright (C) (2007) (Benoit Favre) <favre@icsi.berkeley.edu>## This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later # version.## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.## You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.AC_PREREQ(2.59)AC_INIT([icsiboost],[0.3],[favre@icsi.berkeley.edu])#AC_CONFIG_SRCDIR([src/icsiboost.c])AM_INIT_AUTOMAKE()AM_CONFIG_HEADER([config.h])case `uname` in *Darwin*) CFLAGS="$CFLAGS -fnested-functions" ;;esac# Checks for programs.AC_PROG_CC# Checks for libraries.# FIXME: Replace `main' with a function in `-lm':AC_CHECK_LIB([m], [main])# FIXME: Replace `main' with a function in `-lpthread':AC_CHECK_LIB([pthread], [main])# Checks for header files.AC_HEADER_STDCAC_CHECK_HEADERS([fcntl.h stdlib.h string.h unistd.h])# Checks for typedefs, structures, and compiler characteristics.AC_C_CONSTAC_TYPE_OFF_TAC_TYPE_SIZE_T# Checks for library functions.AC_FUNC_FSEEKOAC_FUNC_MMAPAC_FUNC_STRTODAC_CHECK_FUNCS([memmove memset munmap regcomp sqrt strdup strtol])# generate version information#svn info|awk 'BEGIN{print "#ifndef _VERSION_H_\n#define _VERSION_H_\n#define SVN_INFO \\"}{print "\" " $0 "\\n\" \\"}END{print "\"\"\n#endif"}' > $SOURCE_DIR/version.hAC_CONFIG_FILES([Makefile src/Makefile])AC_OUTPUT
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -