diff -up ./configure.localedir ./configure --- ./configure.localedir 2010-02-13 11:03:27.000000000 +0100 +++ ./configure 2010-03-07 21:35:50.252004551 +0100 @@ -148,6 +148,7 @@ create_makefile() { replace_default prefix "${PREFIX}" replace_default mandir "${MANDIR}" replace_default CFLAGS "${CFLAGS}" + replace_default BIND_DIR "${BIND_DIR}" [ -n "${TEST_INSTALL}" ] && replace_default INSTALL "${INSTALL}" @@ -216,6 +217,9 @@ EOF --prefix=*) PREFIX=`echo "${PARAM}" | sed 's/^--prefix=//'` ;; + --binddir=*) + BIND_DIR=`echo "${PARAM}" | sed 's/--binddir=//g'` + ;; --mandir=*) MANDIR=`echo "${PARAM}" | sed 's/^--mandir=//'` ;; diff -up ./Makefile.in.localedir ./Makefile.in --- ./Makefile.in.localedir 2010-02-13 11:03:26.000000000 +0100 +++ ./Makefile.in 2010-03-07 22:03:35.128020176 +0100 @@ -34,6 +34,7 @@ GETTEXTLIBS= # translations. LOCALEDIR=$(prefix)/share/locale LINGUAS= +BIND_DIR=$(prefix)/share/locale # Unicode/ICU config # If unicode support is to be enabled, the following flags should be set @@ -81,7 +82,7 @@ dist-clean: clean rm -rf dwdiff config.log Makefile .c.o: - $(CC) $(CFLAGS) $(GETTEXTFLAGS) $(DIFF_FLAGS) -DDIFF=\"$(DIFF)\" -DDWDIFF=\"$(bindir)/dwdiff\" -DLOCALEDIR=\"$(LOCALEDIR)\" $(ICUFLAGS) -c -o $@ $< + $(CC) $(CFLAGS) $(GETTEXTFLAGS) $(DIFF_FLAGS) -DDIFF=\"$(DIFF)\" -DLOCALEDIR=\"$(BIND_DIR)\" $(ICUFLAGS) -c -o $@ $< dwdiff: $(OBJECTS_DWDIFF) $(CC) $(CFLAGS) $(LDFLAGS) -o dwdiff $(OBJECTS_DWDIFF) $(LDLIBS) $(ICULIBS) $(GETTEXTLIBS)