/
githubmirror
/
fstrm
Обзор
Документация
Войти
/
githubmirror
/
fstrm
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
configure.ac
89 строк
2 KB
Jeremy C. Reed
This is release 0.6.1.
05 апр 2021, 20:06
05 апр 2021, 20:06
1d6e11d
Код
Авторство
О чём код?
AC_PREREQ(2.64) AC_INIT([fstrm], [0.6.1], [https://github.com/farsightsec/fstrm/issues], [fstrm], [https://github.com/farsightsec/fstrm]) PACKAGE_DESCRIPTION="Frame Streams implementation in C" AC_SUBST(PACKAGE_DESCRIPTION) AC_CONFIG_SRCDIR([fstrm/fstrm.h]) AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([foreign 1.11 -Wall -Wno-portability silent-rules subdir-objects]) AC_PROG_CC_STDC AC_USE_SYSTEM_EXTENSIONS AC_SYS_LARGEFILE AC_CONFIG_MACRO_DIR([m4]) AM_SILENT_RULES([yes]) LT_INIT AC_CONFIG_HEADERS(config.h) AC_CONFIG_FILES([Makefile fstrm/libfstrm.pc]) AC_CONFIG_FILES([t/program_tests/test_fstrm_dump.sh], [chmod +x t/program_tests/test_fstrm_dump.sh]) AC_CONFIG_FILES([t/program_tests/test_fstrm_replay.sh], [chmod +x t/program_tests/test_fstrm_replay.sh]) my_PKG_CONFIG_FILES([LIBFSTRM_PC], [fstrm/libfstrm.pc]) my_CFLAGS="-Wall \ -Wmissing-declarations -Wmissing-prototypes \ -Wnested-externs -Wpointer-arith \ -Wpointer-arith -Wsign-compare -Wchar-subscripts \ -Wstrict-prototypes -Wshadow \ -Wformat-security" AC_SUBST([my_CFLAGS]) AC_CHECK_PROGS([DOXYGEN], [doxygen]) AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"]) AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([Doxyfile]) DOXYGEN_INPUT="${srcdir}/fstrm" AC_SUBST(DOXYGEN_INPUT) ]) AX_PTHREAD([ LIBS="$PTHREAD_LIBS $LIBS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS" CC="$PTHREAD_CC" ]) AC_SEARCH_LIBS([clock_gettime], [rt]) AC_CHECK_FUNCS([clock_gettime pthread_condattr_setclock]) AC_SEARCH_LIBS([socket], [socket]) AC_CHECK_DECLS([fread_unlocked, fwrite_unlocked, fflush_unlocked]) gl_LD_VERSION_SCRIPT gl_VALGRIND_TESTS MY_CODE_COVERAGE AC_ARG_ENABLE([programs], AS_HELP_STRING([--disable-programs], [Disable building fstrm utility programs])) AS_IF([test "x$enable_programs" != "xno"], [ PKG_CHECK_MODULES([libevent], [libevent >= 2]) ]) AM_CONDITIONAL([BUILD_PROGRAMS], [test "x$enable_programs" != "xno"]) AC_OUTPUT AC_MSG_RESULT([ $PACKAGE $VERSION compiler: ${CC} cflags: ${CFLAGS} ldflags: ${LDFLAGS} libs: ${LIBS} prefix: ${prefix} sysconfdir: ${sysconfdir} libdir: ${libdir} includedir: ${includedir} pkgconfigdir: ${pkgconfigdir} ])