# HG changeset patch # User Bruno Haible # Date 1241213800 -7200 # Node ID 16e511eaf7d51bf35b69c8a89136078d5283ab93 # Parent 4fe203c3f8289788cb865c5f93c0223207ba3c8d Make it possible for the first build to be a VPATH build. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,28 @@ +2009-05-01 Ralf Wildenhues + Bruno Haible + + Make it possible for the first build to be a VPATH build. + * modules/unicase/locale-language (configure.ac): Invoke + AC_PROG_MKDIR_P. + (Makefile.am): When invoking gperf, ensure the destination file's + subdirectory exists also in the build tree. + * modules/unicase/special-casing (configure.ac): Invoke + AC_PROG_MKDIR_P. + (Makefile.am): When invoking gperf, ensure the destination file's + subdirectory exists also in the build tree. + * modules/unictype/property-byname (configure.ac): Invoke + AC_PROG_MKDIR_P. + (Makefile.am): When invoking gperf, ensure the destination file's + subdirectory exists also in the build tree. + * modules/unictype/scripts (configure.ac): Invoke AC_PROG_MKDIR_P. + (Makefile.am): When invoking gperf, ensure the destination file's + subdirectory exists also in the build tree. + * modules/uninorm/composition (configure.ac): Invoke AC_PROG_MKDIR_P. + (Makefile.am): When invoking gperf, ensure the destination file's + subdirectory exists also in the build tree. + * lib/uninorm/composition.c: Include "uninorm/composition-table.h", not + "composition-table.h". + 2009-05-01 Bruno Haible * lib/wchar.in.h (wcsnrtombs): Define if REPLACE_WCSNRTOMBS is 1. diff --git a/lib/uninorm/composition.c b/lib/uninorm/composition.c --- a/lib/uninorm/composition.c +++ b/lib/uninorm/composition.c @@ -24,7 +24,7 @@ struct composition_rule { char codes[4]; unsigned short combined; }; -#include "composition-table.h" +#include "uninorm/composition-table.h" ucs4_t uc_composition (ucs4_t uc1, ucs4_t uc2) diff --git a/modules/unicase/locale-language b/modules/unicase/locale-language --- a/modules/unicase/locale-language +++ b/modules/unicase/locale-language @@ -11,11 +11,13 @@ gperf configure.ac: +AC_PROG_MKDIR_P Makefile.am: lib_SOURCES += unicase/locale-language.c unicase/locale-languages.h: $(srcdir)/unicase/locale-languages.gperf + @MKDIR_P@ unicase $(GPERF) -m 10 $(srcdir)/unicase/locale-languages.gperf > $@-t mv $@-t $@ BUILT_SOURCES += unicase/locale-languages.h diff --git a/modules/unicase/special-casing b/modules/unicase/special-casing --- a/modules/unicase/special-casing +++ b/modules/unicase/special-casing @@ -10,11 +10,13 @@ gperf configure.ac: +AC_PROG_MKDIR_P Makefile.am: lib_SOURCES += unicase/special-casing.c unicase/special-casing-table.h: $(srcdir)/unicase/special-casing-table.gperf + @MKDIR_P@ unicase $(GPERF) -m 10 $(srcdir)/unicase/special-casing-table.gperf > $@-t mv $@-t $@ BUILT_SOURCES += unicase/special-casing-table.h diff --git a/modules/unictype/property-byname b/modules/unictype/property-byname --- a/modules/unictype/property-byname +++ b/modules/unictype/property-byname @@ -89,11 +89,13 @@ gperf configure.ac: +AC_PROG_MKDIR_P Makefile.am: lib_SOURCES += unictype/pr_byname.c unictype/pr_byname.h: unictype/pr_byname.gperf + @MKDIR_P@ unictype $(GPERF) -m 10 $(srcdir)/unictype/pr_byname.gperf > $@-t mv $@-t $@ BUILT_SOURCES += unictype/pr_byname.h diff --git a/modules/unictype/scripts b/modules/unictype/scripts --- a/modules/unictype/scripts +++ b/modules/unictype/scripts @@ -11,11 +11,13 @@ gperf configure.ac: +AC_PROG_MKDIR_P Makefile.am: lib_SOURCES += unictype/scripts.c unictype/scripts_byname.h: unictype/scripts_byname.gperf + @MKDIR_P@ unictype $(GPERF) -m 10 $(srcdir)/unictype/scripts_byname.gperf > $@-t mv $@-t $@ BUILT_SOURCES += unictype/scripts_byname.h diff --git a/modules/uninorm/composition b/modules/uninorm/composition --- a/modules/uninorm/composition +++ b/modules/uninorm/composition @@ -10,11 +10,13 @@ gperf configure.ac: +AC_PROG_MKDIR_P Makefile.am: lib_SOURCES += uninorm/composition.c uninorm/composition-table.h: $(srcdir)/uninorm/composition-table.gperf + @MKDIR_P@ uninorm $(GPERF) -m 1 $(srcdir)/uninorm/composition-table.gperf > $@-t mv $@-t $@ BUILT_SOURCES += uninorm/composition-table.h