CC=gcc CFLAGS='-march=i586 -mcpu=i686 -O6 -fomit-frame-pointer' CXXFLAGS='-march=i586 -mcpu=i686 -O6 -fomit-frame-pointer' ./configure \
  --prefix=/usr \
  --datadir=/usr/lib \
  --sysconfdir=/etc/ssh \
  --infodir=/usr/gnu/info \
  --libexecdir=/usr/lib/openssh \
  --without-rpath \
  --with-pid-dir=/etc \
  --with-privsep-path=/etc/ssh/privsep \
  --with-privsep-user=nouser \
  --with-prngd-socket=/etc/egd-pool \
  --with-default-path="/bin:/usr/bin:/usr/gnu/bin" \
  --with-superuser-path="/bin:/usr/bin:/etc:/sbin:/usr/gnu/bin" \
  --host=i586-pc-sco3.2v5.0 \
  --build=i586-pc-sco3.2v5.0
sed -e 'sXs,@LIBS@,-lz -lsocket  -lprot -lx -ltinfo -lm -lcrypto ,;t tXs,@LIBS@,-lz -lsocket  -lprot -lcrypto ,;t tXg' \
  -e 'sXs,@LDFLAGS@, -L/usr/local/lib,;t tXs,@LDFLAGS@, ,;t tXg' \
  -e 'sXs,@CPPFLAGS@, -I/usr/local/include,;t tXs,@CPPFLAGS@, ,;t tXg' \
  config.status > foo
mv -f foo config.status
sh config.status
