📄 configure.ac
字号:
# -*- Autoconf -*-# Process this file with autoconf to produce a configure script.# $Id: configure.ac 4761 2008-07-27 00:55:16Z cjm $AC_PREREQ(2.59)AC_INIT([[Visual Binary Diff]], [[3.0_beta4]], [[vbindiff AT cjmweb.net]], [[vbindiff]])AM_INIT_AUTOMAKEAC_CONFIG_SRCDIR([vbindiff.cpp])AC_CONFIG_HEADER([config.h])AC_LANG([C++])AC_REVISION($Revision: 4761 $)# Decide whether to enable debugging:CFLAGS="${CFLAGS=}"AC_MSG_CHECKING(whether to enable debugging)AC_ARG_ENABLE(debug, [AS_HELP_STRING([--enable-debug], [turn on debugging (default is no)])], , enable_debug=no)if test "x$enable_debug" = "xyes"; then CFLAGS="-g -DDEBUG $CFLAGS" AC_MSG_RESULT(yes)else CFLAGS="-O2 $CFLAGS" AC_MSG_RESULT(no)fi# Checks for programs.AC_PROG_CXXAC_PROG_CC# Checks for libraries.AC_CHECK_LIB([ncurses], [initscr], , [AC_MSG_ERROR([The ncurses library is required])])AC_CHECK_LIB([panel], [new_panel], , [AC_MSG_ERROR([The panel library is required])])# Checks for header files.AC_HEADER_STDCAC_CHECK_HEADERS([errno.h fcntl.h limits.h panel.h stdlib.h string.h unistd.h])# Checks for typedefs, structures, and compiler characteristics.AC_HEADER_STDBOOLAC_C_CONSTAC_C_INLINEAC_TYPE_OFF_TAC_TYPE_SIZE_T# Checks for library functions.AC_FUNC_MEMCMPAC_CHECK_FUNCS([atexit memset strchr strerror strrchr strtoul])AC_CONFIG_FILES([Makefile])AC_OUTPUT
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -