📄 configure.in
字号:
dnl $Id: configure.in,v 1.3 2002/06/17 17:21:42 dlowder Exp $dnl Process this file with autoconf to produce a configure script.AC_INIT(src/ts_close.c)AM_INIT_AUTOMAKE(libts,0.0.1)AM_CONFIG_HEADER(config.h)AC_ARG_ENABLE(linear, [ --enable-linear Enable building of linear scaling [default=yes]], [ "x$enableval" = "xyes" ] && PLUGINS="$PLUGINS linear.la", PLUGINS="$PLUGINS linear.la")AC_ARG_ENABLE(dejitter, [ --enable-dejitter Enable building of dejitter filter [default=yes]], [ "x$enableval" = "xyes" ] && PLUGINS="$PLUGINS dejitter.la", PLUGINS="$PLUGINS dejitter.la")AC_ARG_ENABLE(variance, [ --enable-variance Enable building of variance filter [default=yes]], [ "x$enableval" = "xyes" ] && PLUGINS="$PLUGINS variance.la", PLUGINS="$PLUGINS variance.la")AC_ARG_ENABLE(variance, [ --enable-mousebuts Enable building of mouse buttons filter [default=yes]], [ "x$enableval" = "xyes" ] && PLUGINS="$PLUGINS mousebuts.la", PLUGINS="$PLUGINS mousebuts.la")AC_MSG_CHECKING(--enable-debug argument)AC_ARG_ENABLE(debug, [ --enable-debug Enable debug messages from filters [default=no]], , [enable_debug="no"])AC_MSG_RESULT($enable_debug)if test "$enable_debug" = "yes"; then DEBUGFLAGS="-g -ggdb -DDEBUG"else DEBUGFLAGS=""fiAC_MSG_CHECKING(--enable-inputapi argument)AC_ARG_ENABLE(inputapi, [ --enable-inputapi Enable use of the input API [default=yes]], , [enable_inputapi="yes"])AC_MSG_RESULT($enable_inputapi)if test "$enable_inputapi" = "yes"; then INPUTAPIFLAG="-DUSE_INPUT_API"else INPUTAPIFLAG=""fiAC_SUBST(DEBUGFLAGS)AC_SUBST(INPUTAPIFLAG)AC_SUBST(PLUGINS)AM_DISABLE_STATICAM_ENABLE_SHAREDPLUGIN_DIR='${datadir}/ts/plugins'AC_SUBST(PLUGIN_DIR)TS_CONF='${sysconfdir}/ts.conf'AC_SUBST(TS_CONF)dnl Library versioningLT_RELEASE=0.0LT_CURRENT=1LT_REVISION=0LT_AGE=1AC_SUBST(LT_RELEASE)AC_SUBST(LT_CURRENT)AC_SUBST(LT_REVISION)AC_SUBST(LT_AGE)dnl Checks for programs.AC_PROG_CCAC_LIBTOOL_DLOPENAM_PROG_LIBTOOLdnl Checks for libraries.AC_CHECK_LIB(dl, dlopen)dnl Checks for header files.AC_HEADER_STDCAC_CHECK_HEADERS(limits.h sys/time.h unistd.h)dnl Checks for typedefs, structures, and compiler characteristics.AC_C_CONSTAC_HEADER_TIMEdnl Checks for library functions.AC_FUNC_ALLOCAAC_FUNC_VPRINTFAC_CHECK_FUNCS(strsep strdup strtoul)AC_OUTPUT(Makefile etc/Makefile src/Makefile plugins/Makefile tests/Makefile)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -