Skip to content

Commit 6fd0bed

Browse files
configure: Move "experimental" warning to bottom
to make it more promiment
1 parent d6846fe commit 6fd0bed

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
@@ -435,12 +435,7 @@ fi
435435
### Check for --enable-experimental if necessary
436436
###
437437

438-
if test x"$enable_experimental" = x"yes"; then
439-
AC_MSG_NOTICE([******])
440-
AC_MSG_NOTICE([WARNING: experimental build])
441-
AC_MSG_NOTICE([Experimental features do not have stable APIs or properties, and may not be safe for production use.])
442-
AC_MSG_NOTICE([******])
443-
else
438+
if test x"$enable_experimental" = x"no"; then
444439
if test x"$set_asm" = x"arm32"; then
445440
AC_MSG_ERROR([ARM32 assembly is experimental. Use --enable-experimental to allow.])
446441
fi
@@ -508,3 +503,10 @@ if test x"$print_msan_notice" = x"yes"; then
508503
echo " MemorySanitizer detected, tried to add -fno-sanitize-memory-param-retval to SECP_CFLAGS"
509504
echo " to avoid false positives in ctime_tests. Pass --disable-ctime-tests to avoid this."
510505
fi
506+
507+
if test x"$enable_experimental" = x"yes"; then
508+
echo
509+
echo "WARNING: Experimental build"
510+
echo " Experimental features do not have stable APIs or properties, and may not be safe for"
511+
echo " production use."
512+
fi

0 commit comments

Comments
 (0)