View | Details | Raw Unified
Collapse All | Expand All

(-) h5utils-1.7.2/configure.in.orig (-2 / +3 lines)
 Lines 95-106    Link Here 
	# 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}/::"`
	if test -n "$OCT_INSTALL_DIR"; then
	if test -n "$OCT_INSTALL_DIR"; then
		H5READ_INSTALL_TARGET="h5read-install"
		H5READ_INSTALL_TARGET="h5read-install"
		H5READ_UNINSTALL_TARGET="h5read-uninstall"
		H5READ_UNINSTALL_TARGET="h5read-uninstall"
		AC_MSG_RESULT($OCT_INSTALL_DIR)
		AC_MSG_RESULT($prefix/$OCT_INSTALL_DIR)
	else
	else
		AC_MSG_RESULT(unknown)
		AC_MSG_RESULT(unknown)
	fi
	fi