mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
7055827b8f
This makes it clearer that we always want to do heimdal changes via the lorikeet-heimdal repository. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz> Autobuild-User(master): Joseph Sutton <jsutton@samba.org> Autobuild-Date(master): Wed Jan 19 21:41:59 UTC 2022 on sn-devel-184
34 lines
792 B
Plaintext
34 lines
792 B
Plaintext
dnl
|
|
dnl $Id$
|
|
dnl
|
|
|
|
dnl extra magic check for netinet/{ip.h,tcp.h} because on irix 6.5.3
|
|
dnl you have to include standards.h before including these files
|
|
|
|
AC_DEFUN([CHECK_NETINET_IP_AND_TCP],
|
|
[
|
|
AC_CHECK_HEADERS(standards.h)
|
|
for i in netinet/ip.h netinet/tcp.h; do
|
|
|
|
cv=`echo "$i" | sed 'y%./+-%__p_%'`
|
|
|
|
AC_CACHE_CHECK([for $i],ac_cv_header_$cv,
|
|
[AC_PREPROC_IFELSE([AC_LANG_SOURCE([[
|
|
#ifdef HAVE_STANDARDS_H
|
|
#include <standards.h>
|
|
#endif
|
|
#include <$i>
|
|
]])],
|
|
[eval "ac_cv_header_$cv=yes"],
|
|
[eval "ac_cv_header_$cv=no"])])
|
|
ac_res=`eval echo \\$ac_cv_header_$cv`
|
|
if test "$ac_res" = yes; then
|
|
ac_tr_hdr=HAVE_`echo $i | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
|
|
AC_DEFINE_UNQUOTED($ac_tr_hdr, 1)
|
|
fi
|
|
done
|
|
if false;then
|
|
AC_CHECK_HEADERS(netinet/ip.h netinet/tcp.h)
|
|
fi
|
|
])
|