From bb6908c9f064c5fdb99deb581f5e873dfd3efd2a Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Fri, 6 Dec 2013 23:36:36 +0000 Subject: [PATCH] Fix ordering problem in AC_CONFIG_FILE actions. The chmod action statements need to be put in individual AC_CONFIG_FILE statements that generate the target file in question. With the original code, the 2 chmod statements were executed for ''each'' file in the AC_CONFIG_FILES block (resulting in both error messages before the files were created, and needless chmods after the files were created). This commit was SVN r29829. --- configure.ac | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index 64f68c8c82..ab040fa51c 100644 --- a/configure.ac +++ b/configure.ac @@ -1342,9 +1342,7 @@ AC_CONFIG_FILES([ contrib/Makefile - contrib/dist/mofed/compile_debian_mlnx_example contrib/dist/mofed/debian/changelog - contrib/dist/mofed/debian/rules contrib/dist/mofed/debian/control contrib/dist/mofed/debian/copyright:LICENSE @@ -1356,10 +1354,11 @@ AC_CONFIG_FILES([ test/support/Makefile test/threads/Makefile test/util/Makefile -],[ - chmod +x contrib/dist/mofed/debian/rules - chmod +x contrib/dist/mofed/compile_debian_mlnx_example - ]) +]) +AC_CONFIG_FILES([contrib/dist/mofed/debian/rules], + [chmod +x contrib/dist/mofed/debian/rules]) +AC_CONFIG_FILES([contrib/dist/mofed/compile_debian_mlnx_example], + [chmod +x contrib/dist/mofed/compile_debian_mlnx_example]) OPAL_CONFIG_FILES m4_ifdef([project_orte], [ORTE_CONFIG_FILES])