These two warnings asked to be reported to the list. Samba 3.2.0pre2 on
Irix 6.5. Anything additional information I can provide, just ask.

env CC=c99 CFLAGS="-O" /bin/sh configure --with-utmp --with-quotas
--with-sys-quotas --with-acl-support --without-ldap --without-ads
--without-winbind --without-libsmbclient

checking netinet/ip.h usability... no
checking netinet/ip.h presence... yes
configure: WARNING: netinet/ip.h: present but cannot be compiled
configure: WARNING: netinet/ip.h: check for missing prerequisite headers?
configure: WARNING: netinet/ip.h: see the Autoconf documentation
configure: WARNING: netinet/ip.h: section "Present But Cannot Be Compiled"
configure: WARNING: netinet/ip.h: proceeding with the preprocessor's result
configure: WARNING: netinet/ip.h: in the future, the compiler will take precedence
configure: WARNING: ## ---------------------------------------- ##
configure: WARNING: ## Report this to samba-technical@samba.org ##
configure: WARNING: ## ---------------------------------------- ##
checking for netinet/ip.h... yes


checking sys/mode.h usability... no
checking sys/mode.h presence... yes
configure: WARNING: sys/mode.h: present but cannot be compiled
configure: WARNING: sys/mode.h: check for missing prerequisite headers?
configure: WARNING: sys/mode.h: see the Autoconf documentation
configure: WARNING: sys/mode.h: section "Present But Cannot Be Compiled"
configure: WARNING: sys/mode.h: proceeding with the preprocessor's result
configure: WARNING: sys/mode.h: in the future, the compiler will take precedence
configure: WARNING: ## ---------------------------------------- ##
configure: WARNING: ## Report this to samba-technical@samba.org ##
configure: WARNING: ## ---------------------------------------- ##
checking for sys/mode.h... yes

---Jason Mader, FHWA/NHTSA National Crash Analysis Center,
The George Washington University, VA Campus