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

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

View File

@ -11,7 +11,9 @@ else
SUBDIRS += lib mod bin t
endif
if ENABLE_HCLGO
SUBDIRS += go
endif
DIST_SUBDIRS = $(SUBDIRS)

View File

@ -89,6 +89,7 @@ build_triplet = @build@
host_triplet = @host@
@ENABLE_STATIC_MODULE_TRUE@am__append_1 = mod lib bin t
@ENABLE_STATIC_MODULE_FALSE@am__append_2 = lib mod bin t
@ENABLE_HCLGO_TRUE@am__append_3 = go
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_sign.m4 \
@ -164,7 +165,7 @@ am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/ac/ar-lib \
$(top_srcdir)/ac/ltmain.sh $(top_srcdir)/ac/missing \
$(top_srcdir)/go/cfg/cfg.go.in $(top_srcdir)/go/cfg/go.mod.in \
README.md ac/ar-lib ac/compile ac/config.guess ac/config.sub \
ac/install-sh ac/ltmain.sh ac/missing
ac/depcomp ac/install-sh ac/ltmain.sh ac/missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
@ -240,8 +241,6 @@ ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
FILECMD = @FILECMD@
GOC = @GOC@
GOFLAGS = @GOFLAGS@
GREP = @GREP@
HCL_PROJECT_AUTHOR = @HCL_PROJECT_AUTHOR@
HCL_PROJECT_URL = @HCL_PROJECT_URL@
@ -352,7 +351,7 @@ top_srcdir = @top_srcdir@
AUTOMAKE_OPTION = foreign
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = t t/test-bi.hcl
SUBDIRS = $(am__append_1) $(am__append_2) go
SUBDIRS = $(am__append_1) $(am__append_2) $(am__append_3)
DIST_SUBDIRS = $(SUBDIRS)
all: all-recursive

View File

@ -248,8 +248,6 @@ ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
FILECMD = @FILECMD@
GOC = @GOC@
GOFLAGS = @GOFLAGS@
GREP = @GREP@
HCL_PROJECT_AUTHOR = @HCL_PROJECT_AUTHOR@
HCL_PROJECT_URL = @HCL_PROJECT_URL@

2747
configure vendored

File diff suppressed because it is too large Load Diff

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}")

View File

@ -180,8 +180,6 @@ ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
FILECMD = @FILECMD@
GOC = @GOC@
GOFLAGS = @GOFLAGS@
GREP = @GREP@
HCL_PROJECT_AUTHOR = @HCL_PROJECT_AUTHOR@
HCL_PROJECT_URL = @HCL_PROJECT_URL@

5
go/cfg/cfg.go.in Normal file
View File

@ -0,0 +1,5 @@
package cfg
const BINDIR string = "@bindir@"

3
go/cfg/go.mod.in Normal file
View File

@ -0,0 +1,3 @@
module cfg
go 1.20

View File

@ -298,8 +298,6 @@ ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
FILECMD = @FILECMD@
GOC = @GOC@
GOFLAGS = @GOFLAGS@
GREP = @GREP@
HCL_PROJECT_AUTHOR = @HCL_PROJECT_AUTHOR@
HCL_PROJECT_URL = @HCL_PROJECT_URL@

View File

@ -269,8 +269,6 @@ ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
FILECMD = @FILECMD@
GOC = @GOC@
GOFLAGS = @GOFLAGS@
GREP = @GREP@
HCL_PROJECT_AUTHOR = @HCL_PROJECT_AUTHOR@
HCL_PROJECT_URL = @HCL_PROJECT_URL@

View File

@ -359,8 +359,6 @@ ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
FILECMD = @FILECMD@
GOC = @GOC@
GOFLAGS = @GOFLAGS@
GREP = @GREP@
HCL_PROJECT_AUTHOR = @HCL_PROJECT_AUTHOR@
HCL_PROJECT_URL = @HCL_PROJECT_URL@