[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: make HEAD libtoolize work with ksh (was: interix support)
From: |
Ralf Wildenhues |
Subject: |
FYI: make HEAD libtoolize work with ksh (was: interix support) |
Date: |
Fri, 18 Nov 2005 18:37:46 +0100 |
User-agent: |
Mutt/1.5.11 |
* Ralf Wildenhues wrote on Fri, Nov 18, 2005 at 06:13:00PM CET:
>
> Interix support in Libtool [...]
Applied to CVS HEAD.
* libtoolize.m4sh (func_copy_all_files)
(func_massage_aclocal_DATA, func_massage_pkgltdl_files)
(func_massage_pkgconfig_files): Work around ksh limitation.
Reported by Thorsten Glaser <address@hidden>.
Index: libtoolize.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/libtoolize.m4sh,v
retrieving revision 1.45
diff -u -r1.45 libtoolize.m4sh
--- libtoolize.m4sh 14 Nov 2005 20:33:55 -0000 1.45
+++ libtoolize.m4sh 18 Nov 2005 17:34:53 -0000
@@ -302,7 +302,9 @@
# ignore excluded filenames
if test -n "$my_glob_exclude"; then
- eval 'case $my_filename in '$my_glob_exclude') continue ;; esac'
+ my_cont=false
+ eval 'case $my_filename in '$my_glob_exclude') my_cont=: ;; esac'
+ $my_cont && continue
fi
# Add to the appropriate list
@@ -926,7 +928,9 @@
# ignore excluded filenames
if test -n "$my_glob_exclude"; then
- eval 'case $my_filename in '$my_glob_exclude') continue ;; esac'
+ my_cont=false
+ eval 'case $my_filename in '$my_glob_exclude') my_cont=: ;; esac'
+ $my_cont && continue
fi
pkgmacro_files="$pkgmacro_files:$my_filename"
@@ -954,7 +958,9 @@
# ignore excluded filenames
if test -n "$my_glob_exclude"; then
- eval 'case $my_filename in '$my_glob_exclude') continue ;; esac'
+ my_cont=false
+ eval 'case $my_filename in '$my_glob_exclude') my_cont=: ;; esac'
+ $my_cont && continue
fi
# ignore duplicates
@@ -983,7 +989,9 @@
# ignore excluded filenames
if test -n "$my_glob_exclude"; then
- eval 'case $my_filename in '$my_glob_exclude') continue ;; esac'
+ my_cont=false
+ eval 'case $my_filename in '$my_glob_exclude') my_cont=: ;; esac'
+ $my_cont && continue
fi
# ignore duplicates