Index: kde-2.1/kdegraphics-2.1/admin/ltmain.sh diff -u kde-2.1/kdegraphics-2.1/admin/ltmain.sh:1.1.1.1 kde-2.1/kdegraphics-2.1/admin/ltmain.sh:1.2 --- kde-2.1/kdegraphics-2.1/admin/ltmain.sh:1.1.1.1 Tue Feb 27 10:56:06 2001 +++ kde-2.1/kdegraphics-2.1/admin/ltmain.sh Fri Mar 2 13:41:30 2001 @@ -2868,6 +2868,8 @@ test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval dep_rpath=\"$hardcode_libdir_flag_spec\" + else + dep_rpath="${wl}-bnolibpath" fi if test -n "$runpath_var" && test -n "$perm_rpath"; then # We should set the runpath_var. @@ -3274,6 +3276,8 @@ test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" + else + dep_rpath=" ${wl}-bnolibpath" fi compile_rpath="$rpath" @@ -3310,6 +3314,8 @@ test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" + else + dep_rpath=" ${wl}-bnolibpath" fi finalize_rpath="$rpath" @@ -3502,7 +3508,9 @@ # AIX runtime linking requires linking programs with -Wl,-brtl and libs with -Wl,-G case "$host" in *-*-aix4*) compile_command="$compile_command $wl-brtl" - finalize_command="$finalize_command $wl-brtl" ;; + compile_command=`$echo "X$compile_command" | $Xsed -e "s/\$CC/\$CC $wl-bnolibpath/1"` + finalize_command="$finalize_command $wl-brtl" + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s/\$CC/\$CC $wl-bnolibpath/1"` ;; esac if test $need_relink = no || test "$build_libtool_libs" != yes; then @@ -4393,10 +4401,18 @@ esac fi libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test - if test -n "$libdir" && test ! -f "$libfile"; then - $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2 - finalize=no - fi + # Make sure we look in the destination dir as well as the final dir + if test -z "$DESTDIR"; then + if test -n "$libdir" && test ! -f "$libfile"; then + $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2 + finalize=no + fi + else + if test -n "$libdir" && test ! -f "$libfile" && test -n "$DESTDIR/$libdir" && test ! -f "$DESTDIR/$libfile"; then + $echo "$modename: warning: \`$lib' has not been installed in \`$libdir' or \`\$DESTDIR/$libdir'" 1>&2 + finalize=no + fi + fi done relink_command= @@ -4421,6 +4437,8 @@ outputname="$tmpdir/$file" # Replace the output file specification. relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` + # Make sure we look in the destination dir as well as the final dir + test -z "$DESTDIR" || relink_command=`$echo "X$relink_command" | $Xsed -e 's%-L'"$libdir"'%-L'"$libdir"' -L'"$DESTDIR/$libdir"'%g'` $show "$relink_command" if $run eval "$relink_command"; then : Index: kde-2.1/kdegraphics-2.1/kfax/libtiffax/tiff.h diff -u kde-2.1/kdegraphics-2.1/kfax/libtiffax/tiff.h:1.1.1.1 kde-2.1/kdegraphics-2.1/kfax/libtiffax/tiff.h:1.2 --- kde-2.1/kdegraphics-2.1/kfax/libtiffax/tiff.h:1.1.1.1 Tue Feb 27 10:55:49 2001 +++ kde-2.1/kdegraphics-2.1/kfax/libtiffax/tiff.h Fri Mar 2 16:19:03 2001 @@ -50,15 +50,23 @@ * 32-bit quantities int32/uint32 * strings unsigned char* */ -typedef signed char int8; /* NB: non-ANSI compilers may not grok */ +#ifdef _AIX +#include +#else + typedef signed char int8; /* NB: non-ANSI compilers may not grok */ + typedef short int16; +# if defined(__alpha) || (defined(_MIPS_SZLONG) && _MIPS_SZLONG == 64) + typedef int int32; +# else + typedef long int32; +# endif +#endif /* _AIX */ + typedef unsigned char uint8; -typedef short int16; typedef unsigned short uint16; /* sizeof (uint16) must == 2 */ #if defined(__alpha) || (defined(_MIPS_SZLONG) && _MIPS_SZLONG == 64) -typedef int int32; typedef unsigned int uint32; /* sizeof (uint32) must == 4 */ #else -typedef long int32; typedef unsigned long uint32; /* sizeof (uint32) must == 4 */ #endif