modified configure.ac to capture configure command and arguments

This commit is contained in:
2023-10-08 14:29:45 +09:00
parent ea73f9f8d2
commit aad90113f7
5 changed files with 36 additions and 2 deletions

17
configure vendored
View File

@ -18190,6 +18190,23 @@ MOO_PROJECT_AUTHOR="${PACKAGE_BUGREPORT}"
MOO_PROJECT_URL="${PACKAGE_URL}"
if test `expr " $0" : " '.*"` = 0; then
moo_configure_cmd="'$0'"
else
moo_configure_cmd="$0"
fi
cat >>confdefs.h <<_ACEOF
#define MOO_CONFIGURE_ARGS "$ac_configure_args"
_ACEOF
cat >>confdefs.h <<_ACEOF
#define MOO_CONFIGURE_CMD "$moo_configure_cmd"
_ACEOF
ac_config_files="$ac_config_files Makefile tools/Makefile lib/Makefile mod/Makefile bin/Makefile t/Makefile wasm/Makefile"
cat >confcache <<\_ACEOF