Commit 89f2e6db authored by fogal1's avatar fogal1

Pause when a user expects the graphical iface but won't get it.

Merge from 1.12.


git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@7906 18c085ea-50e0-402c-830e-de6fd14e8384
parent 36fdd8d6
......@@ -220,6 +220,8 @@ enhancements and bug-fixes that were added to this release.</p>
<li>The IceT compositing code path will now fall back to other compositors
when transparency is in use, making it 'safe' to leave enabled in all
cases.</li>
<li><TT>build_visit</TT> will pause when notifying the user that it cannot
find required programs for the curses-based interface.</li>
</ul>
<a name="Config_changes"></a>
......
......@@ -653,6 +653,9 @@
# Hank Childs, Tue Jul 14 15:32:09 PDT 2009
# Fix problem where .conf file is setting up CXXFLAGS and CFLAGS improperly.
#
# Tom Fogal, Thu Jul 23 15:52:24 MDT 2009
# Make sure the user knows why we couldn't use the dialog interface.
#
# *****************************************************************************
# #
# *************************************************************************** #
......@@ -8594,16 +8597,23 @@ if [[ "$GRAPHICAL" == "yes" ]] ; then
DLG=""
fi
if [[ "$DLG" == "" ]] ; then
warn "Could not find 'dialog'; looking for 'whiptail'."
DLG=$(which whiptail)
if [[ "${DLG#no }" != "${DLG}" ]] ; then
DLG=""
fi
if [[ "$DLG" == "" ]] ; then
GRAPHICAL="no"
warn "'whiptail' not found."
warn ""
warn "Unable to find utility for graphical build..."
warn "Continuing in command line mode..."
warn ""
test -t 1
if test $? != 1 ; then
warn "Please hit enter to continue."
(read junkvar)
fi
fi
fi
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment