View | Details | Raw Unified
Collapse All | Expand All

(-) h5utils-1.10/configure.ac.orig (-1 / +2 lines)
 Lines 131-138    Link Here 
else
else
	# try to find installation directory
	# try to find installation directory
	AC_CHECK_PROGS(OCTAVE, octave, echo)
	AC_CHECK_PROGS(OCTAVE, octave, echo)
	AC_CHECK_PROGS(OCTAVE_CONFIG, octave-config, echo)
	AC_MSG_CHECKING(where octave plugins go)
	AC_MSG_CHECKING(where octave plugins go)
	OCT_INSTALL_DIR=`echo "DEFAULT_LOADPATH" | $OCTAVE -q | tr ':' '\n' | grep "site/oct" | head -1`
	OCT_INSTALL_DIR=`${OCTAVE_CONFIG} --oct-site-dir | sed -e "s:${prefix}:\\\${prefix}:"`
	if test -n "$OCT_INSTALL_DIR"; then
	if test -n "$OCT_INSTALL_DIR"; then
		AC_MSG_RESULT($OCT_INSTALL_DIR)
		AC_MSG_RESULT($OCT_INSTALL_DIR)
		H5READ=h5read.oct
		H5READ=h5read.oct