diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-10-04 15:23:24 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-10-04 15:23:24 +0200 |
commit | c676c950dbb022004e7224b39355decfa74e6032 (patch) | |
tree | 58e7b5360c0cb4ef57360c52de962e6d495659b1 /source4/heimdal_build/wscript_configure | |
parent | 0bda3f8cfb34cc23fac8745decfbfb2f97a8fb65 (diff) | |
download | samba-c676c950dbb022004e7224b39355decfa74e6032.tar.gz samba-c676c950dbb022004e7224b39355decfa74e6032.tar.bz2 samba-c676c950dbb022004e7224b39355decfa74e6032.zip |
compile_et: Support using system compile_et.
Diffstat (limited to 'source4/heimdal_build/wscript_configure')
-rw-r--r-- | source4/heimdal_build/wscript_configure | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/source4/heimdal_build/wscript_configure b/source4/heimdal_build/wscript_configure index db4aa9c426..74b1794151 100644 --- a/source4/heimdal_build/wscript_configure +++ b/source4/heimdal_build/wscript_configure @@ -7,16 +7,16 @@ conf.CHECK_HEADERS('err.h') conf.CHECK_HEADERS('ifaddrs.h') conf.CHECK_HEADERS('''crypt.h errno.h inttypes.h netdb.h signal.h sys/bswap.h - sys/file.h sys/stropts.h sys/timeb.h sys/times.h sys/uio.h sys/un.h - sys/utsname.h time.h timezone.h ttyname.h netinet/in.h - netinet/in6.h netinet6/in6.h libintl.h''') + sys/file.h sys/stropts.h sys/timeb.h sys/times.h sys/uio.h sys/un.h + sys/utsname.h time.h timezone.h ttyname.h netinet/in.h + netinet/in6.h netinet6/in6.h libintl.h''') conf.CHECK_HEADERS('curses.h term.h termcap.h', together=True) conf.CHECK_FUNCS('''atexit cgetent getprogname setprogname gethostname putenv rcmd readv sendmsg setitimer strlwr strncasecmp - strptime strsep strsep_copy strtok_r strupr swab umask uname unsetenv - closefrom err warn errx warnx flock writev''') + strptime strsep strsep_copy strtok_r strupr swab umask uname unsetenv + closefrom err warn errx warnx flock writev''') conf.CHECK_FUNCS_IN('hstrerror', 'resolv socket nsl', checklibc=True) conf.CHECK_FUNCS_IN('''getnameinfo sendmsg socket getipnodebyname gethostent gethostent_r @@ -34,9 +34,9 @@ conf.CHECK_FUNCS('bswap32') conf.CHECK_TYPE('struct winsize', define='HAVE_STRUCT_WINSIZE', headers='sys/termios.h sys/ioctl.h') conf.CHECK_STRUCTURE_MEMBER('struct winsize', 'ws_xpixel', - define='HAVE_WS_XPIXEL', headers='sys/termios.h sys/ioctl.h') + define='HAVE_WS_XPIXEL', headers='sys/termios.h sys/ioctl.h') conf.CHECK_STRUCTURE_MEMBER('struct winsize', 'ws_ypixel', - define='HAVE_WS_YPIXEL', headers='sys/termios.h sys/ioctl.h') + define='HAVE_WS_YPIXEL', headers='sys/termios.h sys/ioctl.h') conf.DEFINE('HAVE_KRB_STRUCT_WINSIZE', 1) conf.DEFINE('VOID_RETSIGTYPE', 1) @@ -62,3 +62,6 @@ conf.DEFINE('SAMBA4_INTERNAL_HEIMDAL', 1) if conf.CHECK_BUNDLED_SYSTEM('com_err', checkfunctions='com_err', headers='com_err.h'): conf.define('USING_SYSTEM_COM_ERR', 1) + +if conf.find_program('compile_et', var='COMPILE_ET'): + conf.define('USING_SYSTEM_COMPILE_ET', 1) |