"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "m4/libtool.m4" between
gparted-1.3.0.tar.gz and gparted-1.3.1.tar.gz

About: GParted is a graphical partition editor for creating, reorganizing, and deleting disk partitions (using GNU libparted).

libtool.m4  (gparted-1.3.0):libtool.m4  (gparted-1.3.1)
skipping to change at line 1002 skipping to change at line 1002
LDFLAGS=$save_LDFLAGS LDFLAGS=$save_LDFLAGS
]) ])
AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
[lt_cv_ld_force_load=no [lt_cv_ld_force_load=no
cat > conftest.c << _LT_EOF cat > conftest.c << _LT_EOF
int forced_loaded() { return 2;} int forced_loaded() { return 2;}
_LT_EOF _LT_EOF
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD echo "$AR cr libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
$AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD $AR cr libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
$RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
cat > conftest.c << _LT_EOF cat > conftest.c << _LT_EOF
int main() { return 0;} int main() { return 0;}
_LT_EOF _LT_EOF
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./li bconftest.a" >&AS_MESSAGE_LOG_FD echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./li bconftest.a" >&AS_MESSAGE_LOG_FD
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconft est.a 2>conftest.err $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconft est.a 2>conftest.err
_lt_result=$? _lt_result=$?
if test -s conftest.err && $GREP force_load conftest.err; then if test -s conftest.err && $GREP force_load conftest.err; then
cat conftest.err >&AS_MESSAGE_LOG_FD cat conftest.err >&AS_MESSAGE_LOG_FD
skipping to change at line 1447 skipping to change at line 1447
esac esac
need_locks=$enable_libtool_lock need_locks=$enable_libtool_lock
])# _LT_ENABLE_LOCK ])# _LT_ENABLE_LOCK
# _LT_PROG_AR # _LT_PROG_AR
# ----------- # -----------
m4_defun([_LT_PROG_AR], m4_defun([_LT_PROG_AR],
[AC_CHECK_TOOLS(AR, [ar], false) [AC_CHECK_TOOLS(AR, [ar], false)
: ${AR=ar} : ${AR=ar}
: ${AR_FLAGS=cru} : ${AR_FLAGS=cr}
_LT_DECL([], [AR], [1], [The archiver]) _LT_DECL([], [AR], [1], [The archiver])
_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
[lt_cv_ar_at_file=no [lt_cv_ar_at_file=no
AC_COMPILE_IFELSE([AC_LANG_PROGRAM], AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
[echo conftest.$ac_objext > conftest.lst [echo conftest.$ac_objext > conftest.lst
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD' lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
AC_TRY_EVAL([lt_ar_try]) AC_TRY_EVAL([lt_ar_try])
if test 0 -eq "$ac_status"; then if test 0 -eq "$ac_status"; then
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 4629 skipping to change at line 4630
;; ;;
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
case $cc_basename in case $cc_basename in
# old Intel for x86_64, which still supported -KPIC. # old Intel for x86_64, which still supported -KPIC.
ecc*) ecc*)
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
;; ;;
# flang / f18. f95 an alias for gfortran or flang on Debian
flang* | f18* | f95*)
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
;;
# icc used to be incompatible with GCC. # icc used to be incompatible with GCC.
# ICC 10 doesn't accept -KPIC any more. # ICC 10 doesn't accept -KPIC any more.
icc* | ifort*) icc* | ifort*)
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
;; ;;
# Lahey Fortran 8.1. # Lahey Fortran 8.1.
lf95*) lf95*)
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
skipping to change at line 6361 skipping to change at line 6368
# 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 6743
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 6808
;; ;;
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 7147
_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 7231
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. 10 change blocks. 
11 lines changed or deleted 19 lines changed or added

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