[
https://issues.apache.org/jira/browse/SVN-4654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov updated SVN-4654:
--------------------------------
Attachment: configure-reduced.tar.gz
As promised, I have reduced the macro to a minimal reproducible amount of code:
{code:none}
Index: build/ac-macros/svn-macros.m4
===================================================================
--- build/ac-macros/svn-macros.m4 (Revision 1761392)
+++ build/ac-macros/svn-macros.m4 (Arbeitskopie)
@@ -106,21 +106,6 @@
input_flags="$1"
output_flags=""
filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
- for flag in $input_flags; do
- filter="no"
- for dir in $filtered_dirs; do
- if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
- filter="yes"
- break
- fi
- done
- if test "$filter" = "no"; then
- output_flags="$output_flags $flag"
- fi
- done
- if test -n "$output_flags"; then
- printf "%s" "${output_flags# }"
- fi
])
AC_DEFUN([SVN_CHECK_FOR_ATOMIC_BUILTINS],
{code}
Attached is the trace file along with the genereated {{configure}} script.
> configure: command substitution for SVN_REMOVE_STANDARD_LIB_DIRS fails with
> POSIX backticks on HP-UX
> ----------------------------------------------------------------------------------------------------
>
> Key: SVN-4654
> URL: https://issues.apache.org/jira/browse/SVN-4654
> Project: Subversion
> Issue Type: Bug
> Components: compile, install
> Affects Versions: 1.9.4, trunk
> Environment: $ uname -a
> HP-UX blnn724x B.11.31 U ia64 HP-UX
> Reporter: Michael Osipov
> Attachments: SVN-4654.patch, configure-reduced.tar.gz,
> configure.err.tar.gz
>
>
> When running {{configure}} on HP-UX, you see several times
> {{./configure\[4880\]: : Execute permission denied.}} and
> {{./configure\[4880\]: /lib64: not found.}}.
> This is caused by having the command substitution perfomed by backticks
> {{LDFLAGS="`SVN_REMOVE_STANDARD_LIB_DIR(...)`"}} and not with standard POSIX
> {{$()}}.
> See attached trace output w/o patch and with patch applied.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)