X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=4e8dea88e1686df7d43e560240e3719a60051910;hb=1fe3e6cc2add04d9a4b7fd314cf75b619594b127;hp=31bb9020be9374f663fe60487813e90a1cd26486;hpb=9fb595e4d57da3bd65e143a45f74362ec35ead4f;p=sigrok-gtk.git diff --git a/configure.ac b/configure.ac index 31bb902..4e8dea8 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ ## -## This file is part of the sigrok project. +## This file is part of the sigrok-gtk project. ## ## Copyright (C) 2010 Bert Vermeulen ## @@ -20,7 +20,7 @@ # We require at least autoconf 2.63 (AC_INIT format changed there). AC_PREREQ([2.63]) -AC_INIT([sigrok-gtk], [0.1], [gareth@blacksphere.co.nz], +AC_INIT([sigrok-gtk], [0.1.0], [gareth@blacksphere.co.nz], [sigrok-gtk], [http://www.sigrok.org]) AC_CONFIG_SRCDIR([main.c]) @@ -28,19 +28,23 @@ AC_CONFIG_MACRO_DIR([autostuff]) AC_CONFIG_AUX_DIR([autostuff]) # We require at least automake 1.11 (needed for 'silent rules'). -AM_INIT_AUTOMAKE([1.11 -Wall -Werror foreign std-options]) +AM_INIT_AUTOMAKE([1.11 -Wall -Werror std-options check-news]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AH_TOP([#ifndef SIGROK_GTK_CONFIG_H #define SIGROK_GTK_CONFIG_H /* To stop multiple inclusions. */]) AH_BOTTOM([#endif /* SIGROK_GTK_CONFIG_H */]) -CFLAGS="-g -Wall -Wextra" +# Enable more compiler warnings via -Wall and -Wextra. +CFLAGS="$CFLAGS -Wall -Wextra" # Checks for programs. AC_PROG_CC AC_PROG_INSTALL +# Needed for per-target flags or subdir-objects with C sources. +AM_PROG_CC_C_O + # Initialize libtool. LT_INIT @@ -57,7 +61,7 @@ PKG_CHECK_MODULES([gtk], [gtk+-2.0 gmodule-2.0], [CFLAGS="$CFLAGS $gtk_CFLAGS"; LIBS="$LIBS $gtk_LIBS"]) -PKG_CHECK_MODULES([libsigrok], [libsigrok >= 0.2], +PKG_CHECK_MODULES([libsigrok], [libsigrok >= 0.2.0], [CFLAGS="$CFLAGS $libsigrok_CFLAGS"; LIBS="$LIBS $libsigrok_LIBS"])