Skip to content

Commit

Permalink
Merge branch 'sl/customize-sane-tool-path'
Browse files Browse the repository at this point in the history
* sl/customize-sane-tool-path:
  configure: allow user to prevent $PATH "sanitization" on Solaris
  • Loading branch information
Junio C Hamano committed Mar 16, 2012
2 parents 5087aac + 2136394 commit 9721d2f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,23 @@ if test -n "$1"; then
fi
])

# Directories holding "saner" versions of common or POSIX binaries.
AC_ARG_WITH([sane-tool-path],
[AS_HELP_STRING(
[--with-sane-tool-path=DIR-1[[:DIR-2...:DIR-n]]],
[Directories to prepend to PATH in build system and generated scripts])],
[if test "$withval" = "no"; then
withval=''
else
AC_MSG_NOTICE([Setting SANE_TOOL_PATH to '$withval'])
fi
GIT_CONF_APPEND_LINE([SANE_TOOL_PATH=$withval])],
[# If the "--with-sane-tool-path" option was not given, don't touch
# SANE_TOOL_PATH here, but let defaults in Makefile take care of it.
# This should minimize spurious differences in the behaviour of the
# Git build system when configure is used w.r.t. when it is not.
:])

## Site configuration related to programs (before tests)
## --with-PACKAGE[=ARG] and --without-PACKAGE
#
Expand Down

0 comments on commit 9721d2f

Please sign in to comment.