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: Rich Kulawiec <rsk@xxxxxxx>
Date: Wed, 13 Jun 2001 17:36:47 -0400
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=