*) if $test "X$optimize" = "X$undef"; then
lddlflags="$lddlflags -msym"
else
- case "`sizer -v`" in
+ case "`/usr/sbin/sizer -v`" in
*4.0D*)
# QAR 56761: -O4 + .so may produce broken code,
# fixed in 4.0E or better.
esac
# -msym: If using a sufficiently recent /sbin/loader,
# keep the module symbols with the modules.
- lddlflags="$lddlflags -msym"
+ lddlflags="$lddlflags -msym -std"
fi
;;
esac
# please adjust this appropriately. See also pp_sys.c just before the
# emulate_eaccess().
+# Fixed in V5.0A.
+case "`/usr/sbin/sizer -v`" in
+*5.0[A-Z]*|*[6-9].[0-9]*)
+ : ok
+ ;;
+*)
+# V5.0 or previous
pp_sys_cflags='ccflags="$ccflags -DNO_EFF_ONLY_OK"'
+ ;;
+esac
# The off_t is already 8 bytes, so we do have largefileness.
*) libswanted="$libswanted pthread exc" ;;
esac
- usemymalloc='n'
+ case "$usemymalloc" in
+ '')
+ usemymalloc='n'
+ ;;
+ esac
;;
esac
EOCBU