代码拉取完成,页面将自动刷新
AC_PREREQ([2.69])
AC_INIT([warpdrive], [0.1], [liguozhu@hisilicon.com])
AC_CONFIG_SRCDIR([wd.c])
AM_INIT_AUTOMAKE([1.10 no-define])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
# Checks for programs.
AC_PROG_AWK
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AM_PROG_AR
AC_PROG_LIBTOOL
AM_PROG_LIBTOOL
LT_INIT
AM_PROG_CC_C_O
AC_ARG_ENABLE([debug-log],
AS_HELP_STRING([--enable-debug-log], [enable debug logging globally]),
[ AS_IF([test "x$enable_debug_log" = "xyes"],
AC_DEFINE(DEBUG_LOG, 1, [Enable debug log])
debug_log=true,
debug_log=false)
],
[debug_log=false]
)
AC_ARG_ENABLE([perf],
AS_HELP_STRING([--disble-perf], [enable measuring performance]),
[ AS_IF([test "x$enable_perf" = "xyes"],
AC_DEFINE(HAVE_PERF, 1, [Support for measuring performance])
perf=true
],
[perf=false])
[perf=false]
)
AC_CHECK_LIB(z, zlibVersion,
[ AC_DEFINE(HAVE_ZLIB, 1, [Have zlib])
have_zlib=true ],
[ have_zlib=false ])
AM_CONDITIONAL([HAVE_ZLIB], [test "x$have_zlib" = "xtrue"])
AC_ARG_WITH(log_file,
AS_HELP_STRING([--with-log_file], [File to write log]),
WITH_LOG_FILE=$withvar, WITH_LOG_FILE=)
AC_SUBST(with_log_file)
AM_CONDITIONAL([WITH_LOG_FILE], [test -n "$with_log_file"])
AC_ARG_WITH(static_drv,
AS_HELP_STRING([--with-static_drv], [Built as static library]),
WD_STATIC_DRV=$withvar, WD_STATIC_DRV=)
AC_SUBST(with_static_drv)
AM_CONDITIONAL([WD_STATIC_DRV], [test -n "$with_static_drv"])
AC_ARG_WITH(openssl_dir,
AS_HELP_STRING([--with-openssl_dir], [Path to OpenSSL source code]))
AC_SUBST(with_openssl_dir)
AM_CONDITIONAL([WITH_OPENSSL_DIR], [test -n "$with_openssl_dir"])
# Checks for header files.
AC_CHECK_HEADERS([fcntl.h limits.h stddef.h stdint.h stdlib.h string.h sys/ioctl.h sys/time.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_CHECK_HEADER_STDBOOL
AC_C_INLINE
AC_TYPE_OFF_T
AC_TYPE_SIZE_T
AC_TYPE_UINT16_T
AC_TYPE_UINT32_T
AC_TYPE_UINT64_T
AC_TYPE_UINT8_T
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_MMAP
AC_CHECK_FUNCS([gettimeofday memmove memset munmap strstr strtoul strtoull])
AC_CONFIG_FILES([Makefile
test/Makefile
test/hisi_hpre_test/Makefile
test/hisi_sec_test/Makefile
test/hisi_zip_test/Makefile
uadk_tool/Makefile
sample/Makefile
v1/test/Makefile
v1/test/bmm_test/Makefile
v1/test/test_mm/Makefile
v1/test/hisi_hpre_test/Makefile
v1/test/hisi_trng_test/Makefile
v1/test/hisi_sec_test/Makefile
v1/test/hisi_sec_test_sgl/Makefile
v1/test/hisi_zip_test/Makefile
v1/test/hisi_zip_test_sgl/Makefile])
AC_OUTPUT
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。