1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
$NetBSD: patch-ab,v 1.3 2013/05/09 06:40:27 adam Exp $
Disable ucontext.h detection, which leads to problems on some platforms.
Shell portabibility fix.
Disable univeral binary build on Mac OS X.
--- configure.orig 2013-03-14 16:58:22.000000000 +0000
+++ configure
@@ -19773,7 +19773,7 @@ fi
-for ac_header in limits.h unistd.h ucontext.h
+for ac_header in limits.h unistd.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
@@ -20524,7 +20524,7 @@ LIB_SUFFIX=""
lib_suffix_valid="no"
lib_namespace=""
-if test "x${library_namespace_versioning}" == xyes ; then
+if test "x${library_namespace_versioning}" = xyes ; then
cat >>confdefs.h <<_ACEOF
#define IMATH_INTERNAL_NAMESPACE Imath_${ILMBASE_VERSION_API}
_ACEOF
@@ -20545,7 +20545,7 @@ _ACEOF
lib_namespace="${ILMBASE_VERSION_API}"
LIB_SUFFIX="${ILMBASE_VERSION_API}"
lib_suffix_valid="yes"
-elif test "x${library_namespace_versioning}" == xno ; then
+elif test "x${library_namespace_versioning}" = xno ; then
cat >>confdefs.h <<_ACEOF
#define IMATH_INTERNAL_NAMESPACE Imath
_ACEOF
@@ -20583,7 +20583,7 @@ _ACEOF
fi
-if test "x${lib_suffix_valid}" == xyes ; then
+if test "x${lib_suffix_valid}" = xyes ; then
LIB_SUFFIX_DASH="-${LIB_SUFFIX}"
@@ -20622,7 +20622,7 @@ else
custom_public_namespace=no
fi;
-if test "x${custom_public_namespace}" == xyes ; then
+if test "x${custom_public_namespace}" = xyes ; then
{ echo "$as_me:$LINENO: WARNING: Enabling 'custom user namespace' requires an additional argument, reverting to default" >&5
echo "$as_me: WARNING: Enabling 'custom user namespace' requires an additional argument, reverting to default" >&2;}
cat >>confdefs.h <<\_ACEOF
@@ -20640,7 +20640,7 @@ _ACEOF
public_namespace=""
custom_public_namespace=no
-elif test "x${custom_public_namespace}" == xno ; then
+elif test "x${custom_public_namespace}" = xno ; then
cat >>confdefs.h <<\_ACEOF
#define IMATH_NAMESPACE Imath
_ACEOF
@@ -20690,23 +20690,7 @@ else
fi;
if test "${osx_arch}" != default ; then
- osx_arch_flags="-arch ${osx_arch// / -arch }"
CXXFLAGS="$CXXFLAGS $osx_arch_flags"
-
- if test "$enable_dependency_tracking" != no ; then
- osx_arch_array=( ${osx_arch} )
- if test ${#osx_arch_array[@]} -gt 1 ; then
- { { echo "$as_me:$LINENO: error: building multiple OS X architectures requires --disable-dependency-tracking.
-Please re-run configure with these options:
- --enable-osx-arch=\"${osx_arch}\" --disable-dependency-tracking
- " >&5
-echo "$as_me: error: building multiple OS X architectures requires --disable-dependency-tracking.
-Please re-run configure with these options:
- --enable-osx-arch=\"${osx_arch}\" --disable-dependency-tracking
- " >&2;}
- { (exit 1); exit 1; }; }
- fi
- fi
fi
# Check whether --enable-osx-sdk or --disable-osx-sdk was given.
|