diff --git a/contrib/unaccent/Makefile b/contrib/unaccent/Makefile index 91b04fc275333e669e822120423cb4e72179e8c4..401f5232831b25c15e2780afa98410b49e3d38de 100644 --- a/contrib/unaccent/Makefile +++ b/contrib/unaccent/Makefile @@ -1,4 +1,4 @@ -# $PostgreSQL: pgsql/contrib/unaccent/Makefile,v 1.1 2009/08/18 10:34:39 teodor Exp $ +# $PostgreSQL: pgsql/contrib/unaccent/Makefile,v 1.2 2009/08/18 15:51:16 tgl Exp $ MODULE_big = unaccent OBJS = unaccent.o @@ -8,17 +8,16 @@ DATA = uninstall_unaccent.sql DATA_TSEARCH = unaccent.rules REGRESS = unaccent +# Adjust REGRESS_OPTS because we need a UTF8 database +REGRESS_OPTS = --dbname=$(CONTRIB_TESTDB) --multibyte=UTF8 --no-locale ifdef USE_PGXS PG_CONFIG = pg_config PGXS := $(shell $(PG_CONFIG) --pgxs) include $(PGXS) else -subdir = contrib/pg_trgm +subdir = contrib/unaccent top_builddir = ../.. include $(top_builddir)/src/Makefile.global include $(top_srcdir)/contrib/contrib-global.mk endif - -#redefine REGRESS_OPTS because of needings of UTF8 database -REGRESS_OPTS = --dbname=$(CONTRIB_TESTDB) --multibyte=UTF8 --no-locale