comparison m4/acinclude.m4 @ 14419:2258a0b73eb8

Fix path to missing helper script
author Mike Miller <mtmiller@ieee.org>
date Tue, 28 Feb 2012 19:02:03 -0500
parents 99428221b4e1
children bc4c574ab3b6
comparison
equal deleted inserted replaced
14418:933101fd5cbb 14419:2258a0b73eb8
476 LFLAGS="-I" 476 LFLAGS="-I"
477 AC_MSG_RESULT([defining LFLAGS to be $LFLAGS]) 477 AC_MSG_RESULT([defining LFLAGS to be $LFLAGS])
478 LEXLIB= 478 LEXLIB=
479 ;; 479 ;;
480 *) 480 *)
481 LEX='$(top_srcdir)/missing flex' 481 LEX='$(top_srcdir)/build-aux/missing flex'
482 warn_flex="I didn't find flex, but it's only a problem if you need to reconstruct lex.cc" 482 warn_flex="I didn't find flex, but it's only a problem if you need to reconstruct lex.cc"
483 AC_MSG_WARN([$warn_flex]) 483 AC_MSG_WARN([$warn_flex])
484 ;; 484 ;;
485 esac 485 esac
486 AC_SUBST(LFLAGS) 486 AC_SUBST(LFLAGS)
492 AC_PROG_YACC 492 AC_PROG_YACC
493 case "$YACC" in 493 case "$YACC" in
494 bison*) 494 bison*)
495 ;; 495 ;;
496 *) 496 *)
497 YACC='$(top_srcdir)/missing bison' 497 YACC='$(top_srcdir)/build-aux/missing bison'
498 warn_bison="I didn't find bison, but it's only a problem if you need to reconstruct parse.cc" 498 warn_bison="I didn't find bison, but it's only a problem if you need to reconstruct parse.cc"
499 AC_MSG_WARN([$warn_bison]) 499 AC_MSG_WARN([$warn_bison])
500 ;; 500 ;;
501 esac 501 esac
502 ]) 502 ])
551 dnl 551 dnl
552 dnl OCTAVE_PROG_GPERF 552 dnl OCTAVE_PROG_GPERF
553 AC_DEFUN([OCTAVE_PROG_GPERF], [ 553 AC_DEFUN([OCTAVE_PROG_GPERF], [
554 AC_CHECK_PROG(GPERF, gperf, gperf, []) 554 AC_CHECK_PROG(GPERF, gperf, gperf, [])
555 if test -z "$GPERF"; then 555 if test -z "$GPERF"; then
556 GPERF='$(top_srcdir)/missing gperf' 556 GPERF='$(top_srcdir)/build-aux/missing gperf'
557 warn_gperf="I didn't find gperf, but it's only a problem if you need to reconstruct oct-gperf.h" 557 warn_gperf="I didn't find gperf, but it's only a problem if you need to reconstruct oct-gperf.h"
558 AC_MSG_WARN([$warn_gperf]) 558 AC_MSG_WARN([$warn_gperf])
559 fi 559 fi
560 AC_SUBST(GPERF) 560 AC_SUBST(GPERF)
561 ]) 561 ])
572 gs_names="gs" 572 gs_names="gs"
573 ;; 573 ;;
574 esac 574 esac
575 AC_CHECK_PROGS(GHOSTSCRIPT, [$gs_names]) 575 AC_CHECK_PROGS(GHOSTSCRIPT, [$gs_names])
576 if test -z "$GHOSTSCRIPT"; then 576 if test -z "$GHOSTSCRIPT"; then
577 GHOSTSCRIPT='$(top_srcdir)/missing gs' 577 GHOSTSCRIPT='$(top_srcdir)/build-aux/missing gs'
578 warn_ghostscript="I didn't find ghostscript, so reconstructing figures for the manual will fail, and saving graphics in some output formats will fail when using Octave" 578 warn_ghostscript="I didn't find ghostscript, so reconstructing figures for the manual will fail, and saving graphics in some output formats will fail when using Octave"
579 AC_MSG_WARN([$warn_ghostscript]) 579 AC_MSG_WARN([$warn_ghostscript])
580 fi 580 fi
581 AC_SUBST(GHOSTSCRIPT) 581 AC_SUBST(GHOSTSCRIPT)
582 ]) 582 ])
585 dnl 585 dnl
586 dnl OCTAVE_PROG_TEXI2DVI 586 dnl OCTAVE_PROG_TEXI2DVI
587 AC_DEFUN([OCTAVE_PROG_TEXI2DVI], [ 587 AC_DEFUN([OCTAVE_PROG_TEXI2DVI], [
588 AC_CHECK_PROG(TEXI2DVI, texi2dvi, texi2dvi, []) 588 AC_CHECK_PROG(TEXI2DVI, texi2dvi, texi2dvi, [])
589 if test -z "$TEXI2DVI"; then 589 if test -z "$TEXI2DVI"; then
590 TEXI2DVI='$(top_srcdir)/missing texi2dvi' 590 TEXI2DVI='$(top_srcdir)/build-aux/missing texi2dvi'
591 warn_texi2dvi="I didn't find texi2dvi, but it's only a problem if you need to reconstruct the DVI version of the manual" 591 warn_texi2dvi="I didn't find texi2dvi, but it's only a problem if you need to reconstruct the DVI version of the manual"
592 AC_MSG_WARN([$warn_texi2dvi]) 592 AC_MSG_WARN([$warn_texi2dvi])
593 fi 593 fi
594 AC_SUBST(TEXI2DVI) 594 AC_SUBST(TEXI2DVI)
595 ]) 595 ])
608 fi 608 fi
609 else 609 else
610 missing=false; 610 missing=false;
611 fi 611 fi
612 if $missing; then 612 if $missing; then
613 TEXI2PDF='$(top_srcdir)/missing texi2pdf' 613 TEXI2PDF='$(top_srcdir)/build-aux/missing texi2pdf'
614 warn_texi2pdf="I didn't find texi2pdf, but it's only a problem if you need to reconstruct the PDF version of the manual" 614 warn_texi2pdf="I didn't find texi2pdf, but it's only a problem if you need to reconstruct the PDF version of the manual"
615 AC_MSG_WARN([$warn_texi2pdf]) 615 AC_MSG_WARN([$warn_texi2pdf])
616 fi 616 fi
617 AC_SUBST(TEXI2PDF) 617 AC_SUBST(TEXI2PDF)
618 ]) 618 ])