From: Gordon Matzigkeit Date: Tue, 10 Nov 1998 22:04:14 +0000 (+0000) Subject: Soften the relink warning. X-Git-Tag: start~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=516e84bd94d418a24ee145f6aa2ef97c8e1f1572;p=thirdparty%2Flibtool.git Soften the relink warning. CVS: CVS: --- diff --git a/ChangeLog b/ChangeLog index d0c4985cc..5f5e7273c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +1998-11-10 Gordon Matzigkeit + + * ltmain.in (link): Make the relink warning less harsh. + 1998-11-07 William M. Perry * ltconfig.in (aix3, aix4): uniquify symbol names in archive_cmds @@ -9,8 +13,8 @@ strings, because some echo commands would just core dump (e.g., Solaris' printf). If too large strings fail, smaller ones are tested. - (ltecho): arrange that, if the --fallback-echo method is selected, - echo will be defined in the libtool script so as to re-run itself, + (ltecho): arrange that, if the --fallback-echo method is selected, + echo will be defined in the libtool script so as to re-run itself, not ltconfig * ltmain.in: add --fallback-echo (qecho) ensure that, if --falback-echo is being used, qecho is @@ -19,7 +23,7 @@ 1998-11-07 Thomas Tanner * mdemo/main.c: removed hardcoded library names; link against -lm - * tests/mdemo-exec, tests/mdemo-inst: pass the library names + * tests/mdemo-exec, tests/mdemo-inst: pass the library names to the program 1998-11-07 Marc J. Fraioli @@ -39,7 +43,7 @@ 1998-11-04 Thomas Tanner - * mdemo/*: added new demo to demonstrate building of dlopenend + * mdemo/*: added new demo to demonstrate building of dlopenend modules * tests/Makefile.am, tests/mdemo*: added some tests for mdemo @@ -107,8 +111,8 @@ * ltconfig.in (hardcode_minus_L): Revert Ian's patch for ltconfig.in. Although -L hardcoding is not used with GNU ld, it does happen, so hardcode_minus_L must be set to yes. - - * ltconfig.in (compiler_o_lo): check whether we can write directly + + * ltconfig.in (compiler_o_lo): check whether we can write directly to a .lo * ltmain.in (compiler_o_lo): if not, write to .o and rename it @@ -147,7 +151,7 @@ * ltconfig.in (disable-lock): control need_locks (hard_links): check whether hard-links can be used for locking * ltmain.in (need_locks): use $output_obj.lock for locking - + 1998-11-03 Alexandre Oliva * ltmain.in: correctly create libraries and programs with diff --git a/ltmain.in b/ltmain.in index 0bdd62d66..eb7c1acd4 100644 --- a/ltmain.in +++ b/ltmain.in @@ -416,7 +416,7 @@ compiler." fi echo $srcfile > "$lockfile" fi - + if test -n "$fix_srcfile_path"; then eval srcfile=\"$fix_srcfile_path\" fi @@ -464,7 +464,7 @@ compiler." fi # Just move the object if needed, then go on to compile the next one - if test "$compiler_o_lo" = no && test x"$output_obj" != x"$libobj"; then + if test "$compiler_o_lo" = no && test x"$output_obj" != x"$libobj"; then $show "$mv $output_obj $libobj" if $run $mv $output_obj $libobj; then : else @@ -528,7 +528,7 @@ compiler." fi # Just move the object if needed - if test "$compiler_c_o" = no && test x"$output_obj" != x"$obj"; then + if test "$compiler_c_o" = no && test x"$output_obj" != x"$obj"; then $show "$mv $output_obj $obj" if $run $mv $output_obj $obj; then : else @@ -1559,7 +1559,7 @@ compiler." # Parse the name list into a source file. $show "creating $objdir/$dlsyms" - + $echo > "$objdir/$dlsyms" "\ /* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */ /* Generated by $PROGRAM - GNU $PACKAGE $VERSION */ @@ -1593,13 +1593,13 @@ extern \"C\" { else $rm "$nlist"T fi - + if test -f "$nlist"; then sed -e 's/^.* \(.*\)$/extern char \1;/' < "$nlist" >> "$output_objdir/$dlsyms" else echo '/* NONE */' >> "$output_objdir/$dlsyms" fi - + $echo >> "$output_objdir/$dlsyms" "\ #undef dld_preloaded_symbols @@ -1635,7 +1635,7 @@ dld_preloaded_symbols[] = else echo '/* NONE */' >> "$output_objdir/$dlsyms" fi - + done if test -f "$nlist"; then @@ -1743,8 +1743,8 @@ dld_preloaded_symbols[] = if test "$hardcode_action" = relink; then # AGH! Flame the AIX and HP-UX people for me, will ya? - $echo "$modename: warning: using a buggy system linker" 1>&2 - $echo "$modename: relinking will be required before \`$output' can be installed" 1>&2 + $echo "$modename: warning: linking against uninstalled shared libraries is not properly supported" 1>&2 + $echo "$modename: libtool will relink \`$output' during installation" 1>&2 fi $show "$compile_command"