VirtualBox

source: vbox/trunk/src/libs/libvorbis-1.3.7/m4/add_cflags.m4

最後變更 在這個檔案是 96468,由 vboxsync 提交於 2 年 前

libs/libvorbis-1.3.7: Re-exporting, hopefully this time everything is there. bugref:10275

檔案大小: 405 位元組
 
1dnl @synopsis AC_ADD_CFLAGS
2dnl
3dnl Add the given option to CFLAGS, if it doesn't break the compiler
4
5AC_DEFUN([AC_ADD_CFLAGS],
6[AC_MSG_CHECKING([if $CC accepts $1])
7 ac_add_cflags__old_cflags="$CFLAGS"
8 CFLAGS="$CFLAGS $1"
9 AC_TRY_LINK([#include <stdio.h>],
10 [puts("Hello, World!"); return 0;],
11 AC_MSG_RESULT([yes]),
12 AC_MSG_RESULT([no])
13 CFLAGS="$ac_add_cflags__old_cflags")
14 ])
15])# AC_ADD_CFLAGS
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette