Skip to content

Commit 76b3396

Browse files
real-or-randomBEULAHEVANJALIN
authored andcommitted
configure: Move "experimental" warning to bottom
to make it more promiment
1 parent e639e6c commit 76b3396

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

configure.ac

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -556,12 +556,7 @@ fi
556556
### Check for --enable-experimental if necessary
557557
###
558558

559-
if test x"$enable_experimental" = x"yes"; then
560-
AC_MSG_NOTICE([******])
561-
AC_MSG_NOTICE([WARNING: experimental build])
562-
AC_MSG_NOTICE([Experimental features do not have stable APIs or properties, and may not be safe for production use.])
563-
AC_MSG_NOTICE([******])
564-
else
559+
if test x"$enable_experimental" = x"no"; then
565560
# The order of the following tests matters. If the user enables a dependent
566561
# module (which automatically enables the module dependencies) we want to
567562
# print an error for the dependent module, not the module dependency. Hence,
@@ -687,3 +682,10 @@ if test x"$print_msan_notice" = x"yes"; then
687682
echo " MemorySanitizer detected, tried to add -fno-sanitize-memory-param-retval to SECP_CFLAGS"
688683
echo " to avoid false positives in ctime_tests. Pass --disable-ctime-tests to avoid this."
689684
fi
685+
686+
if test x"$enable_experimental" = x"yes"; then
687+
echo
688+
echo "WARNING: Experimental build"
689+
echo " Experimental features do not have stable APIs or properties, and may not be safe for"
690+
echo " production use."
691+
fi

0 commit comments

Comments
 (0)