diff -ruN jpeg-6b.orig/ltconfig jpeg-6b/ltconfig --- jpeg-6b.orig/ltconfig 2004-11-18 20:37:05.063778128 +0100 +++ jpeg-6b/ltconfig 2004-11-18 20:32:55.000000000 +0100 @@ -553,7 +553,7 @@ # On HP-UX, both CC and GCC only warn that PIC is supported... then they # create non-PIC objects. So, if there were any warnings, we assume that # PIC is not supported. - if test -s conftest.err; then + if test -s conftest.err -a $pic_flag -eq '+Z'; then echo "$ac_t"no 1>&6 can_build_shared=no pic_flag=