📄 configure.ac
字号:
# -*- Autoconf -*-# Process this file with autoconf to produce a configure script.AC_PREREQ(2.59)AC_INIT(BitStormLite, 0.2p, gxcoo@hotmail.com)AM_INIT_AUTOMAKE(BitStormLite, 0.2p)AC_CONFIG_SRCDIR([src/bdict.cpp])AM_CONFIG_HEADER(config.h)AC_ARG_ENABLE(debug, [ --enable-debug turn on debug], CXXFLAGS="$CXXFLAGS -g3 -D_DEBUG=1")# Checks for programs.AC_PROG_CXXGETTEXT_PACKAGE=BitStormLiteAC_SUBST(GETTEXT_PACKAGE)dnl check gettextAM_GNU_GETTEXTAM_GNU_GETTEXT_VERSION([0.16.1])AM_GNU_GETTEXT([external])ALL_LINGUAS="zh_CN"# Checks for libraries.PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.6.0)AC_SUBST(GTK_CFLAGS)AC_SUBST(GTK_LIBS)AC_PATH_PROG(CURL_CONFIG, curl-config, no)if test "$CURL_CONFIG" = "no" ; then AC_MSG_ERROR(the curl-config script installed by libcurl could not be found. libcurl is required.)fiLIBCURL_CHECK_CONFIG# Checks for header files.AC_HEADER_DIRENTAC_HEADER_STDCAC_CHECK_HEADERS([arpa/inet.h fcntl.h libintl.h locale.h netinet/in.h string.h sys/socket.h sys/time.h unistd.h netdb.h])# Checks for typedefs, structures, and compiler characteristics.AC_HEADER_STDBOOLAC_C_CONSTAC_C_INLINEAC_TYPE_SIZE_TAC_HEADER_TIME# Checks for library functions.AC_FUNC_CLOSEDIR_VOIDAC_CHECK_FUNCS([ftruncate gettimeofday gethostbyname inet_ntoa memset mkdir socket])AC_CONFIG_FILES(Makefile src/Makefile po/Makefile.in)AC_OUTPUT
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -