Converted to a part-autoconf script from sysdeps/unix/configure,