added --enable-hclgo
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-10-27 18:26:24 +09:00
parent de94b4e66f
commit 2f9ed77452
11 changed files with 52 additions and 2734 deletions

View File

@ -20,9 +20,6 @@ dnl m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
dnl determine a C compiler to use
AC_PROG_CC
dnl determine a go compiler to use
AC_PROG_GO
dnl determine some key programs
AC_PROG_INSTALL
AC_PROG_EGREP
@ -665,6 +662,15 @@ AC_ARG_ENABLE([hclx],
)
AM_CONDITIONAL(ENABLE_HCLX, test "x${enable_hclx_is}" = "xyes")
dnl ===== enable-hclgo =====
AC_ARG_ENABLE([hclgo],
[AS_HELP_STRING([--enable-hclgo],[build the go wrapper(default. no)])],
enable_hclgo_is=$enableval,
enable_hclgo_is=no
)
AM_CONDITIONAL(ENABLE_HCLGO, test "x${enable_hclgo_is}" = "xyes")
dnl ==== subsititution of some key items ====
AC_SUBST(HCL_PROJECT_AUTHOR, "${PACKAGE_BUGREPORT}")
AC_SUBST(HCL_PROJECT_URL, "${PACKAGE_URL}")