aboutsummaryrefslogtreecommitdiff
path: root/common/autoconf/basics.m4
diff options
context:
space:
mode:
Diffstat (limited to 'common/autoconf/basics.m4')
-rw-r--r--common/autoconf/basics.m412
1 files changed, 7 insertions, 5 deletions
diff --git a/common/autoconf/basics.m4 b/common/autoconf/basics.m4
index 9ef7b04..67d0ff9 100644
--- a/common/autoconf/basics.m4
+++ b/common/autoconf/basics.m4
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -386,6 +386,12 @@ AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
[TOOLS_DIR=$with_tools_dir]
)
+ # Xcode version will be validated later
+ AC_ARG_WITH([xcode-path], [AS_HELP_STRING([--with-xcode-path],
+ [explicit path to Xcode 4 (generally for building on 10.9 and later)])],
+ [XCODE_PATH=$with_xcode_path]
+ )
+
AC_ARG_WITH([devkit], [AS_HELP_STRING([--with-devkit],
[use this directory as base for tools-dir and sys-root (for cross-compiling)])],
[
@@ -634,10 +640,6 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
# We can build without it.
LDD="true"
fi
- AC_PATH_PROG(OTOOL, otool)
- if test "x$OTOOL" = "x"; then
- OTOOL="true"
- fi
AC_PATH_PROGS(READELF, [readelf greadelf])
AC_PATH_PROG(HG, hg)
AC_PATH_PROG(STAT, stat)