--- lintar-0.6.2.orig/src/Makefile.am 2002-04-12 16:17:38.000000000 +0200 +++ lintar-0.6.2/src/Makefile.am 2010-01-08 17:10:34.816324042 +0100 @@ -6,11 +6,8 @@ prefs_dialog.c prefs_dialog.h prog.c prog.h \ prog_single.c prog_single.h prog_tar.c prog_tar.h prog_zip.c prog_zip.h -CFLAGS += -Wall -g - -LDFLAGS += `pkg-config --libs gtk+-2.0 gnome-vfs-2.0` - -INCLUDES += `pkg-config --cflags gtk+-2.0 gnome-vfs-2.0` +lintar_LDADD = @DEPS_LIBS@ +lintar_CFLAGS = @DEPS_CFLAGS@ CLEANFILES = *~ DISTCLEANFILES = .deps/*.P --- lintar-0.6.2.orig/configure.ac 2002-04-12 19:52:50.000000000 +0200 +++ lintar-0.6.2/configure.ac 2010-01-08 17:20:51.006570439 +0100 @@ -1,6 +1,7 @@ # Process this file with autoconf to produce a configure script. AC_INIT(lintar, 0.6.2, jrh@gps.tsc.upc.es) AM_INIT_AUTOMAKE(lintar, 0.6.2) +AC_USE_SYSTEM_EXTENSIONS AC_CONFIG_SRCDIR([src/lintar_global.c]) @@ -9,12 +10,13 @@ # Checks for programs. AC_PROG_CC +AM_PROG_CC_C_O AC_PATH_PROG(USE_PKG_CONFIG, pkg-config,,) if test -z $USE_PKG_CONFIG; then AC_MSG_ERROR([[Need pkg-config to compile lintar.]]) fi - +PKG_CHECK_MODULES(DEPS, gtk+-2.0 gnome-vfs-2.0 ) AC_PATH_PROG(LINTAR_PROG_CP, cp,,) if test -z $LINTAR_PROG_CP; then