[ 
https://issues.apache.org/jira/browse/SVN-4654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15501328#comment-15501328
 ] 

Branko ─îibej commented on SVN-4654:
-----------------------------------

Can you try this patch please:

{noformat}
--- build/ac-macros/svn-macros.m4       (revision 1761332)
+++ build/ac-macros/svn-macros.m4       (working copy)
@@ -103,12 +103,10 @@
 dnl potentially placed in standard library search directories.
 AC_DEFUN([SVN_REMOVE_STANDARD_LIB_DIRS],
 [
-  input_flags="$1"
   output_flags=""
-  filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
-  for flag in $input_flags; do
+  for flag in $1; do
     filter="no"
-    for dir in $filtered_dirs; do
+    for dir in /lib /lib64 /usr/lib /usr/lib64; do
       if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
         filter="yes"
         break
{noformat}


> configure: command substitution for SVN_REMOVE_STANDARD_LIB_DIRS fails with 
> non-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.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)

Reply via email to