modified configure.ac to capture configure command and arguments
This commit is contained in:
11
configure.ac
11
configure.ac
@ -1057,6 +1057,17 @@ dnl ==== subsititution of some key items ====
|
||||
AC_SUBST(HAWK_PROJECT_AUTHOR, "${PACKAGE_BUGREPORT}")
|
||||
AC_SUBST(HAWK_PROJECT_URL, "${PACKAGE_URL}")
|
||||
|
||||
dnl === configure arguments
|
||||
if test `expr " [$]0" : " '.*"` = 0; then
|
||||
hawk_configure_cmd="'[$]0'"
|
||||
else
|
||||
hawk_configure_cmd="[$]0"
|
||||
fi
|
||||
|
||||
AC_DEFINE_UNQUOTED(HAWK_CONFIGURE_ARGS, ["$ac_configure_args"], [configure arguments])
|
||||
AC_DEFINE_UNQUOTED(HAWK_CONFIGURE_CMD, ["$hawk_configure_cmd"], [configure command])
|
||||
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
tools/Makefile
|
||||
|
Reference in New Issue
Block a user