initial commit
This commit is contained in:
commit
08d9495a72
47 changed files with 6983 additions and 0 deletions
14
aclocal.m4
vendored
Normal file
14
aclocal.m4
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
dnl --------------------------------------------------------------------------
|
||||
dnl PA_ADD_CFLAGS()
|
||||
dnl
|
||||
dnl Attempt to add the given option to CFLAGS, if it doesn't break compilation
|
||||
dnl --------------------------------------------------------------------------
|
||||
AC_DEFUN(PA_ADD_CFLAGS,
|
||||
[AC_MSG_CHECKING([if $CC accepts $1])
|
||||
pa_add_cflags__old_cflags="$CFLAGS"
|
||||
CFLAGS="$CFLAGS $1"
|
||||
AC_TRY_LINK([#include <stdio.h>],
|
||||
[printf("Hello, World!\n");],
|
||||
AC_MSG_RESULT([yes]),
|
||||
AC_MSG_RESULT([no])
|
||||
CFLAGS="$pa_add_cflags__old_cflags")])
|
Loading…
Add table
Add a link
Reference in a new issue