Mercurial > audlegacy-plugins
comparison acinclude.m4 @ 2863:dd8b44fbfd6f
Synchronize acinclude.m4.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 04 Aug 2008 06:49:41 +0300 |
parents | 37f75d10f46a |
children | 581bec6e2d33 |
comparison
equal
deleted
inserted
replaced
2862:1439cc16d954 | 2863:dd8b44fbfd6f |
---|---|
89 ]) | 89 ]) |
90 | 90 |
91 | 91 |
92 dnl ** Check for GNU make | 92 dnl ** Check for GNU make |
93 AC_DEFUN([AUD_CHECK_GNU_MAKE],[ | 93 AC_DEFUN([AUD_CHECK_GNU_MAKE],[ |
94 AC_CACHE_CHECK([for GNU make],cv_gnu_make_command,[ | 94 AC_CACHE_CHECK([for GNU make],_cv_gnu_make_command,[ |
95 cv_gnu_make_command="" | 95 _cv_gnu_make_command="" |
96 for a in "$MAKE" make gmake gnumake; do | 96 for a in "$MAKE" make gmake gnumake; do |
97 test "x$a" = "x" && continue | 97 test "x$a" = "x" && continue |
98 if ( sh -c "$a --version" 2>/dev/null | grep "GNU Make" >/dev/null ) ; then | 98 if ( sh -c "$a --version" 2>/dev/null | grep "GNU Make" >/dev/null ) ; then |
99 cv_gnu_make_command="$a" | 99 _cv_gnu_make_command="$a" |
100 break | 100 break |
101 fi | 101 fi |
102 done | 102 done |
103 ]) | 103 ]) |
104 if test "x$cv_gnu_make_command" != "x" ; then | 104 if test "x$_cv_gnu_make_command" != "x" ; then |
105 MAKE="$cv_gnu_make_command" | 105 MAKE="$_cv_gnu_make_command" |
106 else | 106 else |
107 AC_MSG_ERROR([** GNU make not found. If it is installed, try setting MAKE environment variable. **]) | 107 AC_MSG_ERROR([** GNU make not found. If it is installed, try setting MAKE environment variable. **]) |
108 fi | 108 fi |
109 AC_SUBST([MAKE])dnl | 109 AC_SUBST([MAKE])dnl |
110 ])dnl | 110 ])dnl |
204 AC_TRY_RUN([ | 204 AC_TRY_RUN([ |
205 #include <emmintrin.h> | 205 #include <emmintrin.h> |
206 int main() | 206 int main() |
207 { | 207 { |
208 _mm_setzero_pd(); | 208 _mm_setzero_pd(); |
209 asm volatile("xorpd %xmm0,%xmm0\n\t"); | |
209 return 0; | 210 return 0; |
210 } | 211 } |
211 ],[ | 212 ],[ |
212 AC_MSG_RESULT([yes]) | 213 AC_MSG_RESULT([yes]) |
213 AC_DEFINE([HAVE_SSE2], 1, [Define to 1 if your system has SSE2 support]) | 214 AC_DEFINE([HAVE_SSE2], 1, [Define to 1 if your system has SSE2 support]) |