diff options
author | Marek Safar <marek.safar@gmail.com> | 2013-03-20 14:33:38 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2013-03-20 14:33:38 +0400 |
commit | 85639aee6d458748a864b94b0992fdd581ac05fa (patch) | |
tree | ee38a38e3cb0cb2804ea18caaac153aa5abf85da /scripts | |
parent | a562752c01f53cea74fcc2d6216fa48809ed655e (diff) |
Use 4.0 path when configured with disabled 4.5 profile. Fixes #11233
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.am | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 26c3c193202..e0273c1d060 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -187,19 +187,21 @@ REWRITE_COMMON = sed \ REWRITE = $(REWRITE_COMMON) -e 's,@''mono_interp@,$(mono_interp),g' REWRITE_DEBUG = $(REWRITE_COMMON) -e 's,@''mono_interp@,$(mono_interp) --debug,g' +REWRITE2_DEBUG = $(REWRITE_DEBUG) -e 's,@''framework_version@,2.0,g' REWRITE2 = $(REWRITE) -e 's,@''framework_version@,2.0,g' REWRITE2_1 = $(REWRITE) -e 's,@''framework_version@,2.1,g' -if INSTALL_4_0 +if INSTALL_4_5 REWRITE4 = $(REWRITE) -e 's,@''framework_version@,4.5,g' -else -REWRITE4 = $(REWRITE) -e 's,@''framework_version@,2.0,g' -endif -REWRITE2_DEBUG = $(REWRITE_DEBUG) -e 's,@''framework_version@,2.0,g' -if INSTALL_4_0 REWRITE4_DEBUG = $(REWRITE_DEBUG) -e 's,@''framework_version@,4.5,g' -else -REWRITE4_DEBUG = $(REWRITE_DEBUG) -e 's,@''framework_version@,2.0,g' +else + if INSTALL_4_0 + REWRITE4 = $(REWRITE) -e 's,@''framework_version@,4.0,g' + REWRITE4_DEBUG = $(REWRITE_DEBUG) -e 's,@''framework_version@,4.0,g' + else + REWRITE4 = $(REWRITE) -e 's,@''framework_version@,2.0,g' + REWRITE4_DEBUG = $(REWRITE_DEBUG) -e 's,@''framework_version@,2.0,g' + endif endif peverify: peverify.in Makefile |