Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Side by Side Diff: third_party/opus/src/m4/opus-intrinsics.m4

Issue 2195313002: Remove Opus from DEPS and import a local copy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Local copy of opus, opus/src/.gitignore, opus/DEPS, update README.chromium Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/opus/src/m4/as-gcc-inline-assembly.m4 ('k') | third_party/opus/src/opus.m4 » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 dnl opus-intrinsics.m4
2 dnl macro for testing for support for compiler intrinsics, either by default or with a compiler flag
3
4 dnl OPUS_CHECK_INTRINSICS(NAME-OF-INTRINSICS, COMPILER-FLAG-FOR-INTRINSICS, VAR- IF-PRESENT, VAR-IF-DEFAULT, TEST-PROGRAM-HEADER, TEST-PROGRAM-BODY)
5 AC_DEFUN([OPUS_CHECK_INTRINSICS],
6 [
7 AC_MSG_CHECKING([if compiler supports $1 intrinsics])
8 AC_LINK_IFELSE(
9 [AC_LANG_PROGRAM($5, $6)],
10 [
11 $3=1
12 $4=1
13 AC_MSG_RESULT([yes])
14 ],[
15 $4=0
16 AC_MSG_RESULT([no])
17 AC_MSG_CHECKING([if compiler supports $1 intrinsics with $2])
18 save_CFLAGS="$CFLAGS"; CFLAGS="$CFLAGS $2"
19 AC_LINK_IFELSE([AC_LANG_PROGRAM($5, $6)],
20 [
21 AC_MSG_RESULT([yes])
22 $3=1
23 ],[
24 AC_MSG_RESULT([no])
25 $3=0
26 ])
27 CFLAGS="$save_CFLAGS"
28 ])
29 ])
OLDNEW
« no previous file with comments | « third_party/opus/src/m4/as-gcc-inline-assembly.m4 ('k') | third_party/opus/src/opus.m4 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698