Mercurial > hg > octave-nkf
comparison acinclude.m4 @ 10011:411325ce32d7
Better warnings when gnuplot is not installed but native graphics are available
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Sun, 20 Dec 2009 18:24:42 -0800 |
parents | f0f7c2477cdb |
children | 2441327485a3 |
comparison
equal
deleted
inserted
replaced
10010:c5e9931c7ba7 | 10011:411325ce32d7 |
---|---|
633 if test -z "$GNUPLOT"; then | 633 if test -z "$GNUPLOT"; then |
634 warn_gnuplot=yes | 634 warn_gnuplot=yes |
635 | 635 |
636 GNUPLOT="$gp_default" | 636 GNUPLOT="$gp_default" |
637 | 637 |
638 ## If you change this text, be sure to also copy it to the set of | 638 AC_MSG_WARN([gnuplot not found. It isn't necessary to have gnuplot]) |
639 ## warnings at the end of the script | 639 AC_MSG_WARN([installed, but without native graphics or gnuplot]) |
640 | 640 AC_MSG_WARN([you won't be able to use any of Octave's plotting commands.]) |
641 AC_MSG_WARN([I didn't find gnuplot. It isn't necessary to have gnuplot]) | |
642 AC_MSG_WARN([installed, but you won't be able to use any of Octave's]) | |
643 AC_MSG_WARN([plotting commands without it.]) | |
644 AC_MSG_WARN([]) | |
645 AC_MSG_WARN([If gnuplot is installed but it isn't in your path, you can]) | |
646 AC_MSG_WARN([tell Octave where to find it using the gnuplot_binary]) | |
647 AC_MSG_WARN([function. For example,]) | |
648 AC_MSG_WARN([]) | |
649 AC_MSG_WARN([gnuplot_binary ("/full/name/of/gnuplot/binary")]) | |
650 AC_MSG_WARN([]) | |
651 AC_MSG_WARN([at the Octave prompt.]) | |
652 AC_MSG_WARN([]) | |
653 AC_MSG_WARN([Setting default value to $GNUPLOT]) | |
654 fi | 641 fi |
655 fi | 642 fi |
656 AC_SUBST(GNUPLOT) | 643 AC_SUBST(GNUPLOT) |
657 ]) | 644 ]) |
658 dnl | 645 dnl |