"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "m4/libtool.m4" between
libextractor-1.7.tar.gz and libextractor-1.8.tar.gz

About: GNU libextractor is a library used to extract meta-data from files of arbitrary type.

libtool.m4  (libextractor-1.7):libtool.m4  (libextractor-1.8)
skipping to change at line 3990 skipping to change at line 3990
void nm_test_func(void){} void nm_test_func(void){}
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
int main(){nm_test_var='a';nm_test_func();return(0);} int main(){nm_test_var='a';nm_test_func();return(0);}
_LT_EOF _LT_EOF
if AC_TRY_EVAL(ac_compile); then if AC_TRY_EVAL(ac_compile); then
# Now try to grab the symbols. # Now try to grab the symbols.
nlist=conftest.nm nlist=conftest.nm
if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pi
$nlist) && test -s "$nlist"; then pe > $nlist" >&AS_MESSAGE_LOG_FD
if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nli
st 2>&AS_MESSAGE_LOG_FD && test -s "$nlist"; then
# Try sorting and uniquifying the output. # Try sorting and uniquifying the output.
if sort "$nlist" | uniq > "$nlist"T; then if sort "$nlist" | uniq > "$nlist"T; then
mv -f "$nlist"T "$nlist" mv -f "$nlist"T "$nlist"
else else
rm -f "$nlist"T rm -f "$nlist"T
fi fi
# Make sure that we snagged all the symbols we need. # Make sure that we snagged all the symbols we need.
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
skipping to change at line 6361 skipping to change at line 6362
# command for GNU C++ for the case where it uses the native # command for GNU C++ for the case where it uses the native
# linker, instead of GNU ld. If possible, this setting should # linker, instead of GNU ld. If possible, this setting should
# overridden to take advantage of the native linker features on # overridden to take advantage of the native linker features on
# the platform it is being used on. # the platform it is being used on.
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $lib objs $deplibs $postdep_objects $compiler_flags -o $lib' _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $lib objs $deplibs $postdep_objects $compiler_flags -o $lib'
fi fi
# Commands to make compiler produce verbose output that lists # Commands to make compiler produce verbose output that lists
# what "hidden" libraries, object files and flags are used when # what "hidden" libraries, object files and flags are used when
# linking a shared library. # linking a shared library.
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $G REP -v "^Configured with:" | $GREP "\-L"' output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $G REP -v "^Configured with:" | $GREP " \-L"'
else else
GXX=no GXX=no
with_gnu_ld=no with_gnu_ld=no
wlarc= wlarc=
fi fi
# PORTME: fill in a description of your system's C++ link characteristics # PORTME: fill in a description of your system's C++ link characteristics
AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared librarie s]) AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared librarie s])
_LT_TAGVAR(ld_shlibs, $1)=yes _LT_TAGVAR(ld_shlibs, $1)=yes
skipping to change at line 6736 skipping to change at line 6737
aCC*) aCC*)
_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+ b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+ b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
# Commands to make compiler produce verbose output that lists # Commands to make compiler produce verbose output that lists
# what "hidden" libraries, object files and flags are used when # what "hidden" libraries, object files and flags are used when
# linking a shared library. # linking a shared library.
# #
# There doesn't appear to be a way to prevent this compiler from # There doesn't appear to be a way to prevent this compiler from
# explicitly linking system object files so we need to strip them # explicitly linking system object files so we need to strip them
# from the output so that they don't get included in the library # from the output so that they don't get included in the library
# dependencies. # dependencies.
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$obje xt 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$ob jext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_a ll "$list"' output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$obje xt 2>&1) | $EGREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$o bjext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_ all "$list"'
;; ;;
*) *)
if test yes = "$GXX"; then if test yes = "$GXX"; then
_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shar ed -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $prede p_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objd ir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shar ed -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $prede p_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objd ir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
else else
# FIXME: insert proper C++ library support # FIXME: insert proper C++ library support
_LT_TAGVAR(ld_shlibs, $1)=no _LT_TAGVAR(ld_shlibs, $1)=no
fi fi
;; ;;
esac esac
skipping to change at line 6801 skipping to change at line 6802
;; ;;
esac esac
# Commands to make compiler produce verbose output that lists # Commands to make compiler produce verbose output that lists
# what "hidden" libraries, object files and flags are used when # what "hidden" libraries, object files and flags are used when
# linking a shared library. # linking a shared library.
# #
# There doesn't appear to be a way to prevent this compiler from # There doesn't appear to be a way to prevent this compiler from
# explicitly linking system object files so we need to strip them # explicitly linking system object files so we need to strip them
# from the output so that they don't get included in the library # from the output so that they don't get included in the library
# dependencies. # dependencies.
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objex t 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$obje xt) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objex t 2>&1) | $GREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$obj ext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_al l "$list"'
;; ;;
*) *)
if test yes = "$GXX"; then if test yes = "$GXX"; then
if test no = "$with_gnu_ld"; then if test no = "$with_gnu_ld"; then
case $host_cpu in case $host_cpu in
hppa*64*) hppa*64*)
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl +h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compil er_flags' _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl +h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compil er_flags'
;; ;;
ia64*) ia64*)
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $ postdep_objects $compiler_flags' _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $ postdep_objects $compiler_flags'
skipping to change at line 7140 skipping to change at line 7141
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $ allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compile r_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$ wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_location s -o $lib' _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $ allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compile r_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$ wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_location s -o $lib'
;; ;;
esac esac
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
_LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_libdir_separator, $1)=:
# Commands to make compiler produce verbose output that lists # Commands to make compiler produce verbose output that lists
# what "hidden" libraries, object files and flags are used when # what "hidden" libraries, object files and flags are used when
# linking a shared library. # linking a shared library.
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2> &1 | $GREP -v "^Configured with:" | $GREP "\-L"' output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2> &1 | $GREP -v "^Configured with:" | $GREP " \-L"'
else else
# FIXME: insert proper C++ library support # FIXME: insert proper C++ library support
_LT_TAGVAR(ld_shlibs, $1)=no _LT_TAGVAR(ld_shlibs, $1)=no
fi fi
;; ;;
esac esac
;; ;;
psos*) psos*)
skipping to change at line 7224 skipping to change at line 7225
if test yes,no = "$GXX,$with_gnu_ld"; then if test yes,no = "$GXX,$with_gnu_ld"; then
_LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs' _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
if $CC --version | $GREP -v '^2\.7' > /dev/null; then if $CC --version | $GREP -v '^2\.7' > /dev/null; then
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $pr edep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $pr edep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~ cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~ cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
$CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$so name -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~ $RM $lib.exp' $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$so name -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~ $RM $lib.exp'
# Commands to make compiler produce verbose output that lists # Commands to make compiler produce verbose output that lists
# what "hidden" libraries, object files and flags are used when # what "hidden" libraries, object files and flags are used when
# linking a shared library. # linking a shared library.
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
else else
# g++ 2.7 appears to require '-G' NOT '-shared' on this # g++ 2.7 appears to require '-G' NOT '-shared' on this
# platform. # platform.
_LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $l ibobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $l ibobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~ cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~ cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
$CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $p redep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $p redep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
# Commands to make compiler produce verbose output that lists # Commands to make compiler produce verbose output that lists
# what "hidden" libraries, object files and flags are used when # what "hidden" libraries, object files and flags are used when
# linking a shared library. # linking a shared library.
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
fi fi
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
case $host_os in case $host_os in
solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
*) *)
_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$ convenience $wl-z ${wl}defaultextract' _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$ convenience $wl-z ${wl}defaultextract'
;; ;;
esac esac
fi fi
 End of changes. 7 change blocks. 
8 lines changed or deleted 10 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)