From 049674d67f7e512740dd246aa0891a8e9db89f2c Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 8 Dec 2010 14:13:44 -0700 Subject: Update compiler flags to get Gnulib replacement functions --- src/Makefile.am | 3 ++- src/Makefile.in | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index dfd82d1f..558ad7c2 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -7,7 +7,8 @@ bin_PROGRAMS += hdfsee endif AM_CFLAGS = -Wall -AM_CPPFLAGS = -DDATADIR=\""$(datadir)"\" +AM_CPPFLAGS = -DDATADIR=\""$(datadir)"\" -I$(top_builddir)/lib -I$(top_srcdir)/lib +LDADD = lib/libgnu.a ACLOCAL_AMFLAGS = -I m4 pattern_sim_SOURCES = pattern_sim.c diffraction.c utils.c image.c cell.c \ diff --git a/src/Makefile.in b/src/Makefile.in index 4ff655f3..d280bafa 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -397,7 +397,8 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AM_CFLAGS = -Wall -AM_CPPFLAGS = -DDATADIR=\""$(datadir)"\" +AM_CPPFLAGS = -DDATADIR=\""$(datadir)"\" -I$(top_builddir)/lib -I$(top_srcdir)/lib +LDADD = lib/libgnu.a ACLOCAL_AMFLAGS = -I m4 pattern_sim_SOURCES = pattern_sim.c diffraction.c utils.c image.c \ cell.c hdf5-file.c detector.c sfac.c peaks.c reflections.c \ -- cgit v1.2.3