store configure flags in config.flags

Reviewed By: akotulski

Differential Revision: D3399760

fbshipit-source-id: f6dedd9
master
Jules Villard 9 years ago committed by Facebook Github Bot 7
parent 35f86fbe7b
commit def747814a

1
.gitignore vendored

@ -24,6 +24,7 @@ _build
/aclocal.m4 /aclocal.m4
/autom4te.cache /autom4te.cache
/config.status /config.status
/config.flags
/configure /configure
/Makefile.config /Makefile.config
/.buckversion /.buckversion

@ -17,6 +17,11 @@ AC_PREREQ([2.63])
AC_INIT([Infer], AC_INIT([Infer],
[0.8.1], [0.8.1],
[https://github.com/facebook/infer/issues/]) [https://github.com/facebook/infer/issues/])
# this has to happen just after AC_INIT() because later macros may mess with the arguments passed to
# this script
config_flags="$*"
AC_CONFIG_SRCDIR([infer/src/IR/Sil.re]) AC_CONFIG_SRCDIR([infer/src/IR/Sil.re])
# WARNING: keep in sync with above # WARNING: keep in sync with above
@ -274,4 +279,7 @@ AC_CONFIG_FILES([
Makefile.config Makefile.config
]) ])
AC_MSG_NOTICE([saving configure flags to ./config.flags])
echo $config_flags > config.flags
AC_OUTPUT AC_OUTPUT

Loading…
Cancel
Save