filename | configure.in |
changeset | 923:13ac59a786f4 |
prev | 913:edc494bde24b |
next | 927:17b6b9e245d8 |
author | nkeynes |
date | Thu Dec 11 23:28:50 2008 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Make HAVE_FASTCALL dependent on whether the compiler supports the attribute, rather than on whether we're making an optimized build - in any case there's no good reason to disable it for debug builds. |
file | annotate | diff | log | raw |
1.1 --- a/configure.in Fri Oct 31 03:27:43 2008 +00001.2 +++ b/configure.in Thu Dec 11 23:28:50 2008 +00001.3 @@ -67,7 +67,6 @@1.4 CFLAGS="$CFLAGS -fexceptions -fomit-frame-pointer"1.5 AC_DEFINE(HAVE_EXCEPTIONS, [1], [Have exception stack-frame information])1.6 fi1.7 - AC_DEFINE(HAVE_FASTCALL, [1], [Use fast register-passing calling conventions])1.8 else1.9 CFLAGS="-g3"1.10 fi1.11 @@ -81,6 +80,10 @@1.12 CFLAGS="$CFLAGS -fno-strict-aliasing"1.13 fi1.15 +AC_CHECK_FASTCALL([1.16 + AC_DEFINE(HAVE_FASTCALL, [1], [Use fast register-passing calling conventions])1.17 +])1.18 +1.20 dnl ------------ Check if we're building on Darwin --------------
.