[Fingerforce-commits] [libfprint] 01/20: build: fix autoreconf warnings
Didier Raboud
odyx at alioth.debian.org
Sun Sep 29 13:43:35 UTC 2013
This is an automated email from the git hooks/post-receive script.
odyx pushed a commit to branch master
in repository libfprint.
commit 0e843ad6b36e370f9b7150a285a901075657cc8d
Author: Vasily Khoruzhick <anarsoul at gmail.com>
Date: Mon Feb 18 12:58:28 2013 +0300
build: fix autoreconf warnings
Replace AC_LANG_PROGRAM with AC_LANG_SOURCE and INCLUDES with AM_CFLAGS to fix
autoreconf warnings
https://bugs.freedesktop.org/show_bug.cgi?id=62748
---
configure.ac | 2 +-
examples/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index b2ec4a7..deb2b90 100644
--- a/configure.ac
+++ b/configure.ac
@@ -264,7 +264,7 @@ fi
# Restore gnu89 inline semantics on gcc 4.3 and newer
saved_cflags="$CFLAGS"
CFLAGS="$CFLAGS -fgnu89-inline"
-AC_COMPILE_IFELSE(AC_LANG_PROGRAM([]), inline_cflags="-fgnu89-inline", inline_cflags="")
+AC_COMPILE_IFELSE([AC_LANG_SOURCE([[]])], inline_cflags="-fgnu89-inline", inline_cflags="")
CFLAGS="$saved_cflags"
AC_DEFINE([API_EXPORTED], [__attribute__((visibility("default")))], [Default visibility])
diff --git a/examples/Makefile.am b/examples/Makefile.am
index b045ddb..8aa486c 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -1,4 +1,4 @@
-INCLUDES = -I$(top_srcdir)
+AM_CFLAGS = -I$(top_srcdir)
noinst_PROGRAMS = verify_live enroll verify img_capture cpp-test
verify_live_SOURCES = verify_live.c
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/fingerforce/libfprint.git
More information about the Fingerforce-commits
mailing list