📄 configure.in
字号:
# Copyright (C) (2008) (Jiakai) <gy_jk@126.com># 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 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.61)AC_INIT([injuslin], [0.2-alpha], [gy_jk@126.com])AM_INIT_AUTOMAKE([injuslin], [0.2-alpha])AC_CONFIG_SRCDIR([src/main.cpp])AC_CONFIG_HEADER([config.h])# Checks for programs.AC_PROG_CXXAC_PROG_CC# Checks for libraries.AC_CHECK_LIB([ncurses], [initscr], [], [AC_MSG_ERROR([Sorry, you have to install ncurses first.])])AC_CHECK_LIB([menu], [new_menu], [], [AC_MSG_ERROR([Sorry, you have to install menu in ncurses first.])])AC_CHECK_LIB([panel], [new_panel], [], [AC_MSG_ERROR([Sorry, you have to install panel in ncurses first.])])AC_CHECK_LIB([z], [compress2], [], [AC_MSG_ERROR([Sorry, you have to install zlib first.])])AC_CHECK_LIB([pthread], [pthread_create], [], [AC_MSG_ERROR([Sorry, pthread is required but not found.])])# Checks for header files.AC_HEADER_DIRENTAC_HEADER_SYS_WAITAC_CHECK_HEADERS([sys/time.h unistd.h], [], [AC_MSG_ERROR([Required headers not found.])])# Checks for typedefs, structures, and compiler characteristics.AC_HEADER_STDBOOLAC_C_CONSTAC_C_INLINEAC_TYPE_PID_T# Checks for library functions.AC_FUNC_CLOSEDIR_VOIDAC_FUNC_FORKAC_HEADER_STDCAC_CHECK_FUNCS([memset mkdir rmdir strerror])AC_OUTPUT([Makefile src/Makefile])
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -