From: <ai...@us...> - 2011-11-25 01:23:18
|
Revision: 12044 http://plplot.svn.sourceforge.net/plplot/?rev=12044&view=rev Author: airwin Date: 2011-11-25 01:23:11 +0000 (Fri, 25 Nov 2011) Log Message: ----------- Fix bug where an attempt to run special interactive C++ examples could happen when C++ was not configured. Modified Paths: -------------- trunk/plplot_test/plplot-test-interactive.sh.in Modified: trunk/plplot_test/plplot-test-interactive.sh.in =================================================================== --- trunk/plplot_test/plplot-test-interactive.sh.in 2011-11-25 01:20:57 UTC (rev 12043) +++ trunk/plplot_test/plplot-test-interactive.sh.in 2011-11-25 01:23:11 UTC (rev 12044) @@ -168,14 +168,14 @@ COUNT=$(( $COUNT + 1 )) fi -if [ "@ENABLE_wxwidgets@" = "ON" ] ; then +if [ "@ENABLE_wxwidgets@" = "ON" -a "@ENABLE_cxx@" = "ON" ] ; then INDEX_LIST="$INDEX_LIST $COUNT" DIRECTORY[$COUNT]="${EXAMPLES_DIR}/c++" COMMAND[$COUNT]="./wxPLplotDemo" COUNT=$(( $COUNT + 1 )) fi -if [ "@PLD_extqt@" = "ON" ] ; then +if [ "@PLD_extqt@" = "ON" -a "@ENABLE_cxx@" = "ON" ] ; then INDEX_LIST="$INDEX_LIST $COUNT" DIRECTORY[$COUNT]="${EXAMPLES_DIR}/c++" COMMAND[$COUNT]="./qt_example" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |