Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
0293ad13
Commit
0293ad13
authored
Feb 10, 2000
by
David Lawrence
Browse files
make sure INSTALL has an absolute path [RT 36]
parent
02da394e
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
configure
View file @
0293ad13
This diff is collapsed.
Click to expand it.
configure.in
View file @
0293ad13
...
...
@@ -13,7 +13,7 @@ dnl PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
dnl ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
dnl SOFTWARE.
AC_REVISION($Revision: 1.9
7
$)
AC_REVISION($Revision: 1.9
8
$)
AC_PREREQ(2.13)
...
...
@@ -73,6 +73,32 @@ case "$prefix" in
;;
esac
dnl
dnl Make sure INSTALL uses an absolute path, else it will be wrong in all
dnl Makefiles, since they use make/rules.in and INSTALL will be adjusted by
dnl configure based on the location of the file where it is substituted.
dnl Since in BIND9 INSTALL is only substituted into make/rules.in, an immediate
dnl subdirectory of install-sh, This relative path will be wrong for all
dnl directories more than one level down from install-sh.
dnl
case "$INSTALL" in
/*)
;;
*)
dnl
dnl Not all systems have dirname.
dnl
changequote({, })
ac_dir="`echo $INSTALL | sed 's%/[^/]*$%%'`"
changequote([, ])
ac_prog="`echo $INSTALL | sed 's%.*/%%'`"
test "$ac_dir" = "$ac_prog" && ac_dir=.
test -d "$ac_dir" && ac_dir="`(cd \"$ac_dir\" && pwd)`"
INSTALL="$ac_dir/$ac_prog"
;;
esac
dnl
dnl On these hosts, we really want to use cc, not gcc, even if it is
dnl found. The gcc that these systems have will not correctly handle
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment