Revision: 76761
          http://sourceforge.net/p/brlcad/code/76761
Author:   brlcad
Date:     2020-08-14 20:00:07 +0000 (Fri, 14 Aug 2020)
Log Message:
-----------
note that this is a fatal error condition, not a warning, and tell the caller 
why configure is being halted so the causality is obvious.

Modified Paths:
--------------
    brlcad/trunk/CMakeLists.txt

Modified: brlcad/trunk/CMakeLists.txt
===================================================================
--- brlcad/trunk/CMakeLists.txt 2020-08-14 19:42:12 UTC (rev 76760)
+++ brlcad/trunk/CMakeLists.txt 2020-08-14 20:00:07 UTC (rev 76761)
@@ -3699,7 +3699,7 @@
   string(REGEX REPLACE "\r?\n" "" NEW_STR "${BIN_STR}")
   if(NOT "${OLD_STR}" STREQUAL "${NEW_STR}")
     set(CONFIG_FATAL_ERROR 1 PARENT_SCOPE)
-    message("\n\"${BRLCAD_SOURCE_DIR}/${filename}\" is out of date.  An 
updated version has been generated at 
\"${BRLCAD_BINARY_DIR}/${filename}.new\"\nTo clear this warning, replace 
\"${BRLCAD_SOURCE_DIR}/${filename}\" with 
\"${BRLCAD_BINARY_DIR}/${filename}.new\"\n")
+    message("\nERROR: \"${BRLCAD_SOURCE_DIR}/${filename}\" is out of date.  An 
updated version has been generated at 
\"${BRLCAD_BINARY_DIR}/${filename}.new\"\nTo clear this, replace 
\"${BRLCAD_SOURCE_DIR}/${filename}\" with 
\"${BRLCAD_BINARY_DIR}/${filename}.new\" or find the source of the 
difference.\n")
   endif(NOT "${OLD_STR}" STREQUAL "${NEW_STR}")
 endfunction(DIFF_FILE filename)
 
@@ -3725,7 +3725,7 @@
 DIFF_FILE(configure)
 
 if(CONFIG_FATAL_ERROR)
-  message(FATAL_ERROR "Configure haulted.")
+  message(FATAL_ERROR "Configure haulted because INSTALL and/or configure 
script are out of date.")
 endif(CONFIG_FATAL_ERROR)
 
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to