From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 889B3138245 for ; Wed, 2 Jan 2013 08:01:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46B1E21C011; Wed, 2 Jan 2013 08:01:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B9B2721C011 for ; Wed, 2 Jan 2013 08:01:49 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C58ED33D9E8 for ; Wed, 2 Jan 2013 08:01:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 63539E5446 for ; Wed, 2 Jan 2013 08:01:47 +0000 (UTC) From: "Sven Eden" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Eden" Message-ID: <1357111360.6106f530caf229485db7d71a310450678ef5289f.yamakuzure@gentoo> Subject: [gentoo-commits] proj/ufed:master commit in: / X-VCS-Repository: proj/ufed X-VCS-Files: configure.ac X-VCS-Directories: / X-VCS-Committer: yamakuzure X-VCS-Committer-Name: Sven Eden X-VCS-Revision: 6106f530caf229485db7d71a310450678ef5289f X-VCS-Branch: master Date: Wed, 2 Jan 2013 08:01:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2e5c373a-91b3-4882-b666-77859d911249 X-Archives-Hash: c4bb6acc6f4c9333e7980e85c316ba31 commit: 6106f530caf229485db7d71a310450678ef5289f Author: Sven Eden gmx de> AuthorDate: Wed Jan 2 07:22:40 2013 +0000 Commit: Sven Eden gmx de> CommitDate: Wed Jan 2 07:22:40 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/ufed.git;a=commit;h=6106f530 Updated AC_PREREQ to current version, added warning flags to CFLAGS (important for later development) and corrected AC_PATH_PROG() for perl, the current version of autoconf needs a mandatory third argument. --- configure.ac | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index fa17bd3..bf34d16 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_PREREQ(2.63) +AC_PREREQ(2.68) AC_INIT([ufed],[git],[https://bugs.gentoo.org/]) AM_INIT_AUTOMAKE([foreign -Wall -Werror]) AC_CONFIG_SRCDIR([ufed-curses.c]) @@ -8,12 +8,14 @@ AC_PROG_CC AC_PROG_CC_C99 if test "$ac_cv_prog_cc_c99" != no then + CFLAGS="$CFLAGS -Wall -Wextra -pedantic" CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=600" AC_DEFINE([FLEXIBLE_ARRAY_MEMBER], []) else AC_PROG_CC_C89 AC_C_INLINE AC_C_FLEXIBLE_ARRAY_MEMBER + CFLAGS="$CFLAGS -Wall -W" CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=500" fi @@ -23,7 +25,7 @@ AC_ARG_WITH([curses], [curses="ncursesw ncurses curses"]) AC_SEARCH_LIBS([initscr], [$curses], [], [AC_MSG_ERROR([curses library not found])]) -AC_PATH_PROG([PERL], [perl]) +AC_PATH_PROG([PERL], [perl], []) AC_CONFIG_FILES([Makefile]) AC_OUTPUT