Mercurial > vim
comparison src/configure.in @ 7231:a4d10eec6356 v7.4.924
commit https://github.com/vim/vim/commit/32d03b34ac8a34a962f57847fc431a2b4e14efea
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 19 13:46:48 2015 +0100
patch 7.4.924
Problem: DEVELOPER_DIR gets reset by configure.
Solution: Do not reset DEVELOPER_DIR when there is no --with-developer-dir
argument. (Kazuki Sakamoto, closes #482)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 19 Nov 2015 14:00:05 +0100 |
parents | 793ca14b5654 |
children | 6f398bb76c29 |
comparison
equal
deleted
inserted
replaced
7230:8ea206ecba1d | 7231:a4d10eec6356 |
---|---|
151 MACARCH="current"; AC_MSG_RESULT(defaulting to $MACARCH)) | 151 MACARCH="current"; AC_MSG_RESULT(defaulting to $MACARCH)) |
152 | 152 |
153 AC_MSG_CHECKING(--with-developer-dir argument) | 153 AC_MSG_CHECKING(--with-developer-dir argument) |
154 AC_ARG_WITH(developer-dir, [ --with-developer-dir=PATH use PATH as location for Xcode developer tools], | 154 AC_ARG_WITH(developer-dir, [ --with-developer-dir=PATH use PATH as location for Xcode developer tools], |
155 DEVELOPER_DIR="$withval"; AC_MSG_RESULT($DEVELOPER_DIR), | 155 DEVELOPER_DIR="$withval"; AC_MSG_RESULT($DEVELOPER_DIR), |
156 DEVELOPER_DIR=""; AC_MSG_RESULT(not present)) | 156 AC_MSG_RESULT(not present)) |
157 | 157 |
158 if test "x$DEVELOPER_DIR" = "x"; then | 158 if test "x$DEVELOPER_DIR" = "x"; then |
159 AC_PATH_PROG(XCODE_SELECT, xcode-select) | 159 AC_PATH_PROG(XCODE_SELECT, xcode-select) |
160 if test "x$XCODE_SELECT" != "x"; then | 160 if test "x$XCODE_SELECT" != "x"; then |
161 AC_MSG_CHECKING(for developer dir using xcode-select) | 161 AC_MSG_CHECKING(for developer dir using xcode-select) |