forked from wolfSSL/wolfssl
move touch fips files for non fips distribution to autogen.sh for cleaner autoconf handling
This commit is contained in:
@@ -113,9 +113,6 @@ tests/unit.log: testsuite/testsuite.log
|
|||||||
|
|
||||||
DISTCLEANFILES+= cyassl-config
|
DISTCLEANFILES+= cyassl-config
|
||||||
DISTCLEANFILES+= wolfssl-config
|
DISTCLEANFILES+= wolfssl-config
|
||||||
# fips files shouldn't be left after make distclean
|
|
||||||
DISTCLEANFILES+= ctaocrypt/src/fips.c
|
|
||||||
DISTCLEANFILES+= ctaocrypt/src/fips_test.c
|
|
||||||
|
|
||||||
maintainer-clean-local:
|
maintainer-clean-local:
|
||||||
-rm Makefile.in
|
-rm Makefile.in
|
||||||
|
@@ -15,6 +15,9 @@ fi
|
|||||||
# If this is a source checkout then call autoreconf with error as well
|
# If this is a source checkout then call autoreconf with error as well
|
||||||
if test -d .git; then
|
if test -d .git; then
|
||||||
WARNINGS="all,error"
|
WARNINGS="all,error"
|
||||||
|
# touch fips files for non fips distribution
|
||||||
|
touch ./ctaocrypt/src/fips.c
|
||||||
|
touch ./ctaocrypt/src/fips_test.c
|
||||||
else
|
else
|
||||||
WARNINGS="all"
|
WARNINGS="all"
|
||||||
fi
|
fi
|
||||||
|
@@ -2319,11 +2319,6 @@ AC_OUTPUT
|
|||||||
echo "---"
|
echo "---"
|
||||||
echo "Running make clean..."
|
echo "Running make clean..."
|
||||||
make clean >/dev/null 2>&1
|
make clean >/dev/null 2>&1
|
||||||
# Touch files that may not be in repository
|
|
||||||
echo "Touching File..."
|
|
||||||
touch ctaocrypt/src/fips.c
|
|
||||||
touch ctaocrypt/src/fips_test.c
|
|
||||||
echo
|
|
||||||
|
|
||||||
# generate user options header
|
# generate user options header
|
||||||
echo "---"
|
echo "---"
|
||||||
|
Reference in New Issue
Block a user