Ethereal-dev: Re: [Ethereal-dev] Bug report: ethereal 0.8.18 complilation on So laris 7

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gary V.Vaughan <gary@xxxxxxxxxxxxxxxxxx>
Date: Wed, 8 Aug 2001 11:59:28 +0100
Hi Rich,

I eventually found time to apply a consistent variable test policy across the 
whole of libtool in the current CVS HEAD development, which ought to have 
fixed your problem.  If you still have this bug (or find any new ones!), 
please let me know.

Cheers,
	Gary.

On Wednesday 13 June 2001 10:36 pm, Rich Kulawiec wrote:
> Thanks for the fix -- I wound up having to make several changes of the
> same type in order to finally get libtool to run and to get Ethereal to
> compile.  (It seems to working fine now, BTW.)
>
> Below is a "diff -c" showing all the spots that I fixed.  My guess is
> that there are still some spots remaining where similar changes need to
> be made, but that those lines just didn't happened to be executed (on
> my system) and thus didn't make themselves noticed.
>
> Cheers,
> ---Rsk
> Rich Kulawiec
> rsk@xxxxxxx
>
>
> *** libtool	Wed Jun 13 10:35:59 2001
> --- libtool.ORIG	Wed Jun 13 10:12:13 2001
> ***************
> *** 720,726 ****
>         pic_mode=default
>         ;;
>       esac
> !     if test x"$pic_mode" = xno && test "$deplibs_check_method" !=
> pass_all; then # non-PIC code in shared libraries is not supported
>         pic_mode=default
>       fi
> --- 720,726 ----
>         pic_mode=default
>         ;;
>       esac
> !     if test $pic_mode = no && test "$deplibs_check_method" != pass_all;
> then # non-PIC code in shared libraries is not supported
>         pic_mode=default
>       fi
> ***************
> *** 2631,2637 ****
>   	  *) finalize_rpath="$finalize_rpath $libdir" ;;
>   	  esac
>   	done
> ! 	if test x"$hardcode_into_libs" != xyes || test $build_old_libs = yes;
> then dependency_libs="$temp_xrpath $dependency_libs"
>   	fi
>         fi
> --- 2631,2637 ----
>   	  *) finalize_rpath="$finalize_rpath $libdir" ;;
>   	  esac
>   	done
> ! 	if test $hardcode_into_libs != yes || test $build_old_libs = yes; then
>   	  dependency_libs="$temp_xrpath $dependency_libs"
>   	fi
>         fi
> ***************
> *** 2671,2677 ****
>   	    ;;
>   	  *)
>   	    # Add libc to deplibs on all other systems if necessary.
> ! 	    if test x"$build_libtool_need_lc" = x"yes"; then
>   	      deplibs="$deplibs -lc"
>   	    fi
>   	    ;;
> --- 2671,2677 ----
>   	    ;;
>   	  *)
>   	    # Add libc to deplibs on all other systems if necessary.
> ! 	    if test $build_libtool_need_lc = "yes"; then
>   	      deplibs="$deplibs -lc"
>   	    fi
>   	    ;;
> ***************
> *** 2943,2950 ****
>         dlname=
>
>         # Test again, we may have decided not to build it any more
> !       if test x"$build_libtool_libs" = xyes; then
> ! 	if test x"$hardcode_into_libs" = xyes; then
>   	  # Hardcode the library paths
>   	  hardcode_libdirs=
>   	  dep_rpath=
> --- 2943,2950 ----
>         dlname=
>
>         # Test again, we may have decided not to build it any more
> !       if test "$build_libtool_libs" = yes; then
> ! 	if test $hardcode_into_libs = yes; then
>   	  # Hardcode the library paths
>   	  hardcode_libdirs=
>   	  dep_rpath=

-- 
  ())_. Gary V. Vaughan     gary@(oranda.demon.co.uk|gnu.org)
  ( '/  Research Scientist  http://www.oranda.demon.co.uk       ,_())____
  / )=  GNU Hacker          http://www.gnu.org/software/libtool  \'      `&
`(_~)_  Tech' Author        http://sources.redhat.com/autobook   =`---d__/