diff options
author | Alexander Gololobov <davenger@yandex-team.com> | 2022-02-10 16:47:38 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:38 +0300 |
commit | fccc62e9bfdce9be2fe7e0f23479da3a5512211a (patch) | |
tree | c0748b5dcbade83af788c0abfa89c0383d6b779c /contrib/libs/pire/configure.ac | |
parent | 39608cdb86363c75ce55b2b9a69841c3b71f22cf (diff) | |
download | ydb-fccc62e9bfdce9be2fe7e0f23479da3a5512211a.tar.gz |
Restoring authorship annotation for Alexander Gololobov <davenger@yandex-team.com>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/pire/configure.ac')
-rw-r--r-- | contrib/libs/pire/configure.ac | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/contrib/libs/pire/configure.ac b/contrib/libs/pire/configure.ac index 2068c63a7e..49f235129c 100644 --- a/contrib/libs/pire/configure.ac +++ b/contrib/libs/pire/configure.ac @@ -1,47 +1,47 @@ -AC_PREREQ([2.63]) -AC_INIT([pire], [0.0.2], [dprokoptsev@yandex-team.ru]) -AM_INIT_AUTOMAKE([foreign -Wall]) -AC_CONFIG_SRCDIR([pire/classes.cpp]) -AC_CONFIG_HEADERS([config.h]) -AC_CONFIG_MACRO_DIR([m4]) - -AC_LANG_CPLUSPLUS - -# Require neccessary binaries to build ourselves -AC_PROG_CXX -AC_PROG_CC -AC_PROG_LEX -AC_PROG_YACC -AC_PROG_LIBTOOL - -# Check for cppunit -AM_PATH_CPPUNIT([0.0.0],[with_unittests=yes],[ - AC_WARN([cppunit not found. Unit tests will not compile and run.]) - with_unittests=no -]) -AM_CONDITIONAL([WITH_UNITTESTS], [test x"$with_unittests" = xyes]) - -# Just for conscience' sake -AC_CHECK_HEADERS([stdlib.h string.h sys/time.h]) -AC_HEADER_STDBOOL -AC_C_INLINE -AC_TYPE_SIZE_T -AC_CHECK_TYPES([ptrdiff_t]) -AC_FUNC_ERROR_AT_LINE -AC_FUNC_MALLOC -AC_CHECK_FUNCS([memset strchr]) - -# Require little-endian platform -AC_C_BIGENDIAN -if test x"$ac_cv_c_bigendian" = xyes; then - AC_ERROR([pire has not been ported to big-endian platforms yet.]) -fi - -# Optional features -AC_ARG_ENABLE([extra], AS_HELP_STRING([--enable-extra], [Add extra functionality (capturing scanner, etc...)])) -AC_ARG_ENABLE([debug], AS_HELP_STRING([--enable-debug], [Make Pire dump all constructed FSMs to std::clog (useless unless debugging Pire)])) -AM_CONDITIONAL([ENABLE_EXTRA], [test x"$enable_extra" = xyes]) -AM_CONDITIONAL([ENABLE_DEBUG], [test x"$enable_debug" = xyes]) - -AC_CONFIG_FILES([Makefile pire/Makefile tests/Makefile pkg/Makefile samples/Makefile samples/bench/Makefile]) -AC_OUTPUT +AC_PREREQ([2.63]) +AC_INIT([pire], [0.0.2], [dprokoptsev@yandex-team.ru]) +AM_INIT_AUTOMAKE([foreign -Wall]) +AC_CONFIG_SRCDIR([pire/classes.cpp]) +AC_CONFIG_HEADERS([config.h]) +AC_CONFIG_MACRO_DIR([m4]) + +AC_LANG_CPLUSPLUS + +# Require neccessary binaries to build ourselves +AC_PROG_CXX +AC_PROG_CC +AC_PROG_LEX +AC_PROG_YACC +AC_PROG_LIBTOOL + +# Check for cppunit +AM_PATH_CPPUNIT([0.0.0],[with_unittests=yes],[ + AC_WARN([cppunit not found. Unit tests will not compile and run.]) + with_unittests=no +]) +AM_CONDITIONAL([WITH_UNITTESTS], [test x"$with_unittests" = xyes]) + +# Just for conscience' sake +AC_CHECK_HEADERS([stdlib.h string.h sys/time.h]) +AC_HEADER_STDBOOL +AC_C_INLINE +AC_TYPE_SIZE_T +AC_CHECK_TYPES([ptrdiff_t]) +AC_FUNC_ERROR_AT_LINE +AC_FUNC_MALLOC +AC_CHECK_FUNCS([memset strchr]) + +# Require little-endian platform +AC_C_BIGENDIAN +if test x"$ac_cv_c_bigendian" = xyes; then + AC_ERROR([pire has not been ported to big-endian platforms yet.]) +fi + +# Optional features +AC_ARG_ENABLE([extra], AS_HELP_STRING([--enable-extra], [Add extra functionality (capturing scanner, etc...)])) +AC_ARG_ENABLE([debug], AS_HELP_STRING([--enable-debug], [Make Pire dump all constructed FSMs to std::clog (useless unless debugging Pire)])) +AM_CONDITIONAL([ENABLE_EXTRA], [test x"$enable_extra" = xyes]) +AM_CONDITIONAL([ENABLE_DEBUG], [test x"$enable_debug" = xyes]) + +AC_CONFIG_FILES([Makefile pire/Makefile tests/Makefile pkg/Makefile samples/Makefile samples/bench/Makefile]) +AC_OUTPUT |