Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 109684 | Differences between
and this patch

Collapse All | Expand All

(-)h5utils-1.7.2/configure.in.orig (-2 / +3 lines)
Lines 95-106 Link Here
95
95
96
	# try to find installation directory
96
	# try to find installation directory
97
	AC_CHECK_PROGS(OCTAVE, octave, echo)
97
	AC_CHECK_PROGS(OCTAVE, octave, echo)
98
	AC_CHECK_PROGS(OCTAVE_CONFIG, octave-config, echo)
98
	AC_MSG_CHECKING(where octave plugins go)
99
	AC_MSG_CHECKING(where octave plugins go)
99
	OCT_INSTALL_DIR=`echo "DEFAULT_LOADPATH" | $OCTAVE -q | tr ':' '\n' | grep "site/oct" | head -1`
100
	OCT_INSTALL_DIR=`$OCTAVE_CONFIG --oct-site-dir|sed -e "s:^${prefix}/::"`
100
	if test -n "$OCT_INSTALL_DIR"; then
101
	if test -n "$OCT_INSTALL_DIR"; then
101
		H5READ_INSTALL_TARGET="h5read-install"
102
		H5READ_INSTALL_TARGET="h5read-install"
102
		H5READ_UNINSTALL_TARGET="h5read-uninstall"
103
		H5READ_UNINSTALL_TARGET="h5read-uninstall"
103
		AC_MSG_RESULT($OCT_INSTALL_DIR)
104
		AC_MSG_RESULT($prefix/$OCT_INSTALL_DIR)
104
	else
105
	else
105
		AC_MSG_RESULT(unknown)
106
		AC_MSG_RESULT(unknown)
106
	fi
107
	fi

Return to bug 109684