#!/bin/sh
CFLAGS="-g -Zomf -O3 -march=pentium -mcpu=pentium4" \
CXXFLAGS="-g -Zomf -O3 -march=pentium -mcpu=pentium4" \
LDFLAGS="-s -Zsym -Zmap -Zbin-files -Zomf -Zexe -Zargs-wild -Zargs-resp" \
AR="emxomfar" \
LIBS="-lsocket -lsyslog" \
./configure --prefix=/samba --with-acl-support \
	 --enable-static --disable-shared \
 	 --disable-ldap --disable-cups  2>&1 | tee configure.log

#disabled options:
#	 --enable-developer --enable-socket-wrapper \
#
