shared library on NetBSD and OpenBSD. match-pattern_regex decides
which are good.
+2004-08-03 Jacob Meuser <jakemsr@jakemsr.com>
+
+ * ltmain.in: Allow some static libraries to be used in generating a
+ shared library on NetBSD and OpenBSD. match-pattern_regex decides
+ which are good.
+
2004-08-02 Geoffrey Keating <geoffk@apple.com>
* m4/libtool.m4 [darwin]: Don't use -all_load.
case " $dlpreconveniencelibs " in
*" $lib "*) ;;
*)
- if test "$deplibs_check_method" != pass_all; then
+ valid_a_lib=no
+ case $deplibs_check_method in
+ match_pattern*)
+ set dummy $deplibs_check_method
+ match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
+ if eval $echo \"$deplib\" 2>/dev/null \
+ | $SED 10q \
+ | $EGREP "$match_pattern_regex" > /dev/null; then
+ valid_a_lib=yes
+ fi
+ ;;
+ pass_all)
+ valid_a_lib=yes
+ ;;
+ esac
+ if test "$valid_a_lib" != yes; then
$echo
$echo "*** Warning: Trying to link with static lib archive $deplib."
$echo "*** I have the capability to make that library automatically link in when"