updated configure.ac to capture configure command and arguments
All checks were successful
continuous-integration/drone Build is passing

> used the captured info in bin/main.c
This commit is contained in:
2023-10-08 00:51:07 +09:00
parent 206df863cf
commit fe2b9456f4
10 changed files with 101 additions and 59 deletions

View File

@ -1,7 +1,7 @@
# Makefile.in generated by automake 1.16.2 from Makefile.am.
# Makefile.in generated by automake 1.16.1 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2020 Free Software Foundation, Inc.
# Copyright (C) 1994-2018 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@ -244,8 +244,8 @@ am__pkginclude_HEADERS_DIST = hcl.h hcl-cmn.h hcl-fmt.h hcl-opt.h \
hcl-rbt.h hcl-utl.h hcl-xma.h hcl-c.h hcl-s.h hcl-tmr.h \
hcl-xutl.h hcl-json.h
HEADERS = $(pkginclude_HEADERS)
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
hcl-cfg.h.in
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
$(LISP)hcl-cfg.h.in
# Read a list of newline-separated strings from the standard input,
# and print each of them once, without duplicates. Input order is
# *not* preserved.

View File

@ -291,6 +291,12 @@
/* build release/debug */
#undef HCL_BUILD_RELEASE
/* configure arguments */
#undef HCL_CONFIGURE_ARGS
/* configure command */
#undef HCL_CONFIGURE_CMD
/* enable dynamic module capability */
#undef HCL_ENABLE_DYNAMIC_MODULE