Mercurial > hg > octave-max
comparison configure.ac @ 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 | e517da95bf98 |
children | 49563d18ca78 |
comparison
equal
deleted
inserted
replaced
10010:c5e9931c7ba7 | 10011:411325ce32d7 |
---|---|
2388 if test -n "$warn_64_bit"; then | 2388 if test -n "$warn_64_bit"; then |
2389 AC_MSG_WARN([$warn_64_bit]) | 2389 AC_MSG_WARN([$warn_64_bit]) |
2390 warn_msg_printed=true | 2390 warn_msg_printed=true |
2391 fi | 2391 fi |
2392 | 2392 |
2393 if test -n "$warn_gnuplot"; then | |
2394 | |
2395 ## If you change this text, be sure to also change the corresponding | |
2396 ## set of warnings above. | |
2397 | |
2398 AC_MSG_WARN([]) | |
2399 AC_MSG_WARN([I didn't find gnuplot. It isn't necessary to have gnuplot]) | |
2400 AC_MSG_WARN([installed, but you won't be able to use any of Octave's]) | |
2401 AC_MSG_WARN([plotting commands without it.]) | |
2402 AC_MSG_WARN([]) | |
2403 AC_MSG_WARN([If gnuplot is installed but it isn't in your path, you can]) | |
2404 AC_MSG_WARN([tell Octave where to find it using the gnuplot_binary]) | |
2405 AC_MSG_WARN([function. For example,]) | |
2406 AC_MSG_WARN([]) | |
2407 AC_MSG_WARN([gnuplot_binary ("/full/name/of/gnuplot/binary")]) | |
2408 AC_MSG_WARN([]) | |
2409 AC_MSG_WARN([at the Octave prompt.]) | |
2410 AC_MSG_WARN([]) | |
2411 AC_MSG_WARN([Setting default value to $GNUPLOT]) | |
2412 AC_MSG_WARN([]) | |
2413 warn_msg_printed=true | |
2414 fi | |
2415 | |
2416 if $USE_64_BIT_IDX_T; then | 2393 if $USE_64_BIT_IDX_T; then |
2417 AC_MSG_WARN([]) | 2394 AC_MSG_WARN([]) |
2418 AC_MSG_WARN([You used the EXPERIMENTAL --enable-64 option.]) | 2395 AC_MSG_WARN([You used the EXPERIMENTAL --enable-64 option.]) |
2419 AC_MSG_WARN([Are you sure that is what you want to do?]) | 2396 AC_MSG_WARN([Are you sure that is what you want to do?]) |
2420 AC_MSG_WARN([]) | 2397 AC_MSG_WARN([]) |
2454 if $native_graphics; then | 2431 if $native_graphics; then |
2455 true; | 2432 true; |
2456 else | 2433 else |
2457 AC_MSG_WARN([]) | 2434 AC_MSG_WARN([]) |
2458 AC_MSG_WARN([I didn't find the necessary libraries to compile native]) | 2435 AC_MSG_WARN([I didn't find the necessary libraries to compile native]) |
2459 AC_MSG_WARN([graphics. It isn't necessary to have native graphics]) | 2436 AC_MSG_WARN([graphics. It isn't necessary to have native graphics,]) |
2460 AC_MSG_WARN([but you will have to use gnuplot or you won't be able]) | 2437 AC_MSG_WARN([but you will need to have gnuplot installed or you won't]) |
2461 AC_MSG_WARN([to use any of Octave's plotting commands]) | 2438 AC_MSG_WARN([be able to use any of Octave's plotting commands]) |
2462 AC_MSG_WARN([]) | 2439 AC_MSG_WARN([]) |
2463 warn_msg_printed=true | 2440 warn_msg_printed=true |
2464 fi | 2441 fi |
2442 | |
2443 if test -n "$warn_gnuplot"; then | |
2444 if $native_graphics; then | |
2445 AC_MSG_WARN([]) | |
2446 AC_MSG_WARN([I didn't find gnuplot. Plotting commands will use the]) | |
2447 AC_MSG_WARN([native graphics backend.]) | |
2448 else | |
2449 AC_MSG_WARN([I didn't find gnuplot. It isn't necessary to have gnuplot]) | |
2450 AC_MSG_WARN([installed, but you won't be able to use any of Octave's]) | |
2451 AC_MSG_WARN([plotting commands without it.]) | |
2452 fi | |
2453 AC_MSG_WARN([]) | |
2454 AC_MSG_WARN([If gnuplot is installed, but isn't in your path, you can]) | |
2455 AC_MSG_WARN([tell Octave where to find it by using the gnuplot_binary]) | |
2456 AC_MSG_WARN([function. For example,]) | |
2457 AC_MSG_WARN([]) | |
2458 AC_MSG_WARN([gnuplot_binary ("/full/path/and/name/of/gnuplot/binary")]) | |
2459 AC_MSG_WARN([]) | |
2460 AC_MSG_WARN([at the Octave prompt.]) | |
2461 AC_MSG_WARN([]) | |
2462 AC_MSG_WARN([Setting default value to $GNUPLOT]) | |
2463 AC_MSG_WARN([]) | |
2464 | |
2465 warn_msg_printed=true | |
2466 fi | |
2467 | |
2468 | |
2469 | |
2470 | |
2465 | 2471 |
2466 if $warn_msg_printed; then | 2472 if $warn_msg_printed; then |
2467 AC_MSG_NOTICE([]) | 2473 AC_MSG_NOTICE([]) |
2468 AC_MSG_NOTICE([NOTE: libraries may be skipped if a library is not found OR]) | 2474 AC_MSG_NOTICE([NOTE: libraries may be skipped if a library is not found OR]) |
2469 AC_MSG_NOTICE([NOTE: if the library on your system is missing required features.]) | 2475 AC_MSG_NOTICE([NOTE: if the library on your system is missing required features.]) |