diff -Naur samba-3.3.4/source/configure.in samba-3.3.4-magellan/source/configure.in --- samba-3.3.4/source/configure.in 2009-04-28 08:46:16.000000000 +0200 +++ samba-3.3.4-magellan/source/configure.in 2009-05-11 13:36:22.000000000 +0200 @@ -2450,8 +2450,8 @@ # installed, I've decided to fix the linker warnings. # -- Kai # For IA64 HPUX systems, the libs are located in lib/hpux32 instead of lib. - for l in "lib" "lib32" "lib/hpux32"; do - if test -d "$i/$l" ; then + for l in "lib" "lib/hpux32"; do + if test -d "$i/$l" -o -L "$i/$l"; then LDFLAGS="$save_LDFLAGS -L$i/$l" LIBS= export LDFLAGS LIBS CPPFLAGS