diff options
| author | Michael Biebl <biebl@debian.org> | 2011-08-23 19:17:03 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2011-08-23 19:17:03 +0200 |
| commit | 72acf6b5cf8cf7df57288a5ebca56cd84d21ff62 (patch) | |
| tree | 45a40c078a86d4043a303ca0f81735daf263f175 /m4 | |
| parent | 232698d28a1764e179f668f480738b8c7117e70a (diff) | |
| parent | 263bf4c0c89bb88dc995acd9a6a2de9095fbd461 (diff) | |
Merge commit 'upstream/0.9.0' into experimental
Diffstat (limited to 'm4')
| -rw-r--r-- | m4/libnl-check.m4 | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/m4/libnl-check.m4 b/m4/libnl-check.m4 index f7d6d707..8eef576f 100644 --- a/m4/libnl-check.m4 +++ b/m4/libnl-check.m4 @@ -4,14 +4,12 @@ AC_DEFUN([NM_LIBNL_CHECK], [ save_LDFLAGS="$LDFLAGS" CFLAGS="$CFLAGS $LIBNL_CFLAGS" LDFLAGS="$LDFLAGS $LIBNL_LIBS" - AC_RUN_IFELSE([ + AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include <stdio.h> #include <netlink/route/addr.h> #include <netlink/object-api.h> - -int -main (int argc, char **argv) -{ +]], +[[ struct nl_handle *nlh; struct nl_cache *cache; struct nl_object *obj; @@ -37,8 +35,7 @@ main (int argc, char **argv) return 1; else return 2; -} -], libnl_bug=$?, libnl_bug=$?, libnl_bug=cross) +]])], libnl_bug=$?, libnl_bug=$?, libnl_bug=cross) CFLAGS="$save_CFLAGS" LDFLAGS="$save_LDFLAGS" |