[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 03/17] Use AC_LANG_SOURCE inside AC_LANG_CONFTEST to fix autoconf
From: |
Guillem Jover |
Subject: |
[PATCH 03/17] Use AC_LANG_SOURCE inside AC_LANG_CONFTEST to fix autoconf warning |
Date: |
Thu, 25 Aug 2011 15:22:26 +0200 |
* configure.ac (AC_LANG_CONFTEST): Wrap the source into a AC_LANG_SOURCE
call.
---
configure.ac | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 9afa81b..7d64d71 100644
--- a/configure.ac
+++ b/configure.ac
@@ -152,7 +152,8 @@ m4_include([linux/configfrag.ac])
[ssp_possible=yes]
AC_MSG_CHECKING([whether the compiler accepts `-fstack-protector'])
# Is this a reliable test case?
-AC_LANG_CONFTEST([[void foo (void) { volatile char a[8]; a[3]; }]])
+AC_LANG_CONFTEST(
+ [AC_LANG_SOURCE([[void foo (void) { volatile char a[8]; a[3]; }]])])
[# `$CC -c -o ...' might not be portable. But, oh, well... Is calling
# `ac_compile' like this correct, after all?
if eval "$ac_compile -S -fstack-protector -o conftest.s" 2> /dev/null; then]
--
1.7.5.4
- Build improvements and warning fixes, Guillem Jover, 2011/08/25
- [PATCH 04/17] Disable compiler built-in symbols to avoid namespace clashes, Guillem Jover, 2011/08/25
- [PATCH 06/17] Add prototypes for locore functions, Guillem Jover, 2011/08/25
- [PATCH 03/17] Use AC_LANG_SOURCE inside AC_LANG_CONFTEST to fix autoconf warning,
Guillem Jover <=
- [PATCH 05/17] Do not take obsolete and unused bcopy and bzero from libc, Guillem Jover, 2011/08/25
- [PATCH 08/17] Add prototype for free_skbuffs function, Guillem Jover, 2011/08/25
- [PATCH 01/17] Add a .gitignore file, Guillem Jover, 2011/08/25
- [PATCH 02/17] Enable silent builds by default if available, Guillem Jover, 2011/08/25