| configure.ac (530c8301) | configure.ac (3187fb04) |
|---|---|
| 1dnl * ************************************************************* 2dnl * 3dnl * Licensed to the Apache Software Foundation (ASF) under one 4dnl * or more contributor license agreements. See the NOTICE file 5dnl * distributed with this work for additional information 6dnl * regarding copyright ownership. The ASF licenses this file 7dnl * to you under the Apache License, Version 2.0 (the 8dnl * "License"); you may not use this file except in compliance --- 1149 unchanged lines hidden (view full) --- 1158 if test ! -n "$CC"; then 1159 CC="`xcrun -f clang` -arch x86_64" 1160 fi 1161 if test ! -n "$CXX"; then 1162 CXX="`xcrun -f clang++` -std=c++11 -stdlib=libc++ -arch x86_64" 1163 fi 1164 # Don't use OSVERSION until we know no conflicts result from it 1165 _darwin_version="`uname -r | $AWK -F . '{ print $1 }'`" | 1dnl * ************************************************************* 2dnl * 3dnl * Licensed to the Apache Software Foundation (ASF) under one 4dnl * or more contributor license agreements. See the NOTICE file 5dnl * distributed with this work for additional information 6dnl * regarding copyright ownership. The ASF licenses this file 7dnl * to you under the Apache License, Version 2.0 (the 8dnl * "License"); you may not use this file except in compliance --- 1149 unchanged lines hidden (view full) --- 1158 if test ! -n "$CC"; then 1159 CC="`xcrun -f clang` -arch x86_64" 1160 fi 1161 if test ! -n "$CXX"; then 1162 CXX="`xcrun -f clang++` -std=c++11 -stdlib=libc++ -arch x86_64" 1163 fi 1164 # Don't use OSVERSION until we know no conflicts result from it 1165 _darwin_version="`uname -r | $AWK -F . '{ print $1 }'`" |
| 1166 # FIXME: Assumes 10.x, breaks w/ Big Sur |
|
| 1166 _osx_version="10.`expr $_darwin_version - 4`" 1167 AC_MSG_NOTICE([Detected Darwin version: $_darwin_version ($_osx_version)]) 1168 ;; 1169 os2*) 1170 test_x=no 1171 test_cups=no 1172 test_randr=no 1173 test_gtk=no --- 6318 unchanged lines hidden --- | 1167 _osx_version="10.`expr $_darwin_version - 4`" 1168 AC_MSG_NOTICE([Detected Darwin version: $_darwin_version ($_osx_version)]) 1169 ;; 1170 os2*) 1171 test_x=no 1172 test_cups=no 1173 test_randr=no 1174 test_gtk=no --- 6318 unchanged lines hidden --- |