diff -Naur octave-forge-2006.03.17/configure octave-forge-2006.03.17.new/configure --- octave-forge-2006.03.17/configure 2006-03-17 00:26:16.000000000 -0500 +++ octave-forge-2006.03.17.new/configure 2007-04-13 08:47:33.000000000 -0400 @@ -4493,7 +4493,7 @@ echo "$as_me:$LINENO: checking for autoload in Octave" >&5 echo $ECHO_N "checking for autoload in Octave... $ECHO_C" >&6 -if test `echo 'disp(exist("autoload"))' | $OCTAVE -qf`X != 0X ; then +if test `echo 'disp(exist("autoload"))' | $OCTAVE -qf`X != `echo 'disp(0)' | $OCTAVE -qf`X ; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 @@ -4517,7 +4517,7 @@ echo "$as_me:$LINENO: checking for do_fortran_indexing in Octave" >&5 echo $ECHO_N "checking for do_fortran_indexing in Octave... $ECHO_C" >&6 -if test `echo 'disp(exist("do_fortran_indexing"))' | $OCTAVE -qf`X != 0X ; then +if test `echo 'disp(exist("do_fortran_indexing"))' | $OCTAVE -qf`X != `echo 'disp(0)' | $OCTAVE -qf`X ; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 HAVE_DO_FORTRAN_INDEXING="-DHAVE_DO_FORTRAN_INDEXING" @@ -4531,7 +4531,7 @@ echo "$as_me:$LINENO: checking for propagate_empty_matrices in Octave" >&5 echo $ECHO_N "checking for propagate_empty_matrices in Octave... $ECHO_C" >&6 -if test `echo 'disp(exist("propagate_empty_matrices"))' | $OCTAVE -qf`X != 0X ; then +if test `echo 'disp(exist("propagate_empty_matrices"))' | $OCTAVE -qf`X != `echo 'disp(0)' | $OCTAVE -qf`X ; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 PROPAGATE_EMPTY_MATRICES="-DHAVE_PROPAGATE_EMPTY_MATRICES" @@ -4545,7 +4545,7 @@ echo "$as_me:$LINENO: checking for ok_to_lose_imaginary_part in Octave" >&5 echo $ECHO_N "checking for ok_to_lose_imaginary_part in Octave... $ECHO_C" >&6 -if test `echo 'disp(exist("ok_to_lose_imaginary_part"))' | $OCTAVE -qf`X != 0X ; then +if test `echo 'disp(exist("ok_to_lose_imaginary_part"))' | $OCTAVE -qf`X != `echo 'disp(0)' | $OCTAVE -qf`X ; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 HAVE_OK_TO_LOSE_IMAGINARY_PART="-DHAVE_OK_TO_LOSE_IMAGINARY_PART" @@ -4582,7 +4582,7 @@ echo "$as_me:$LINENO: checking for class in Octave" >&5 echo $ECHO_N "checking for class in Octave... $ECHO_C" >&6 -if test `echo 'disp(exist("class"))' | $OCTAVE -qf`X != 0X ; then +if test `echo 'disp(exist("class"))' | $OCTAVE -qf`X != `echo 'disp(0)' | $OCTAVE -qf`X ; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 TYPEID_HAS_CLASS="-DTYPEID_HAS_CLASS" diff -Naur octave-forge-2006.03.17/configure.base octave-forge-2006.03.17.new/configure.base --- octave-forge-2006.03.17/configure.base 2006-01-07 00:11:56.000000000 -0500 +++ octave-forge-2006.03.17.new/configure.base 2007-04-13 08:47:33.000000000 -0400 @@ -276,7 +276,7 @@ dnl AC_DEFUN(OCTAVE_CHECK_EXIST, [AC_MSG_CHECKING([for $1 in Octave]) -if test `echo 'disp(exist("$1"))' | $OCTAVE -qf`X != 0X ; then +if test `echo 'disp(exist("$1"))' | $OCTAVE -qf`X != `echo 'disp(0)' | $OCTAVE -qf`X ; then AC_MSG_RESULT(yes) $2 else