Skip to content

Commit

Permalink
configure: Move "experimental" warning to bottom
Browse files Browse the repository at this point in the history
to make it more promiment
  • Loading branch information
real-or-random committed May 22, 2024
1 parent d6846fe commit 6fd0bed
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -435,12 +435,7 @@ fi
### Check for --enable-experimental if necessary
###

if test x"$enable_experimental" = x"yes"; then
AC_MSG_NOTICE([******])
AC_MSG_NOTICE([WARNING: experimental build])
AC_MSG_NOTICE([Experimental features do not have stable APIs or properties, and may not be safe for production use.])
AC_MSG_NOTICE([******])
else
if test x"$enable_experimental" = x"no"; then
if test x"$set_asm" = x"arm32"; then
AC_MSG_ERROR([ARM32 assembly is experimental. Use --enable-experimental to allow.])
fi
Expand Down Expand Up @@ -508,3 +503,10 @@ if test x"$print_msan_notice" = x"yes"; then
echo " MemorySanitizer detected, tried to add -fno-sanitize-memory-param-retval to SECP_CFLAGS"
echo " to avoid false positives in ctime_tests. Pass --disable-ctime-tests to avoid this."
fi

if test x"$enable_experimental" = x"yes"; then
echo
echo "WARNING: Experimental build"
echo " Experimental features do not have stable APIs or properties, and may not be safe for"
echo " production use."
fi

0 comments on commit 6fd0bed

Please sign in to comment.