summaryrefslogtreecommitdiffstats
path: root/src/include/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* * configure.in: Merged content from include/configure.in. Don't configureKen Raeburn2005-05-131-350/+0
| | | | | | | | | | | | | | | include directory any more; build its makefiles and autoconf.h directly. Provide comment template when defining C macros. * include/configure.in: Deleted, content merged into ../configure.in. * include/Makefile.in (thisconfigdir, mydir): Updated for configure change. ($(srcdir)/krb5/autoconf.stmp): Use $(thisconfigdir) when locating configure.in and autom4te.cache. * include/kerberosIV/Makefile.in (thisconfigdir, mydir): Updated for configure change. * include/krb5/Makefile.in (thisconfigdir, mydir): Updated for configure change. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17217 dc483132-0cff-0310-8789-dd5450dbe970
* This patch tightens up our determination of whether we can useKen Raeburn2005-03-261-14/+31
| | | | | | | | | | | | | | | | getpw{nam,uid}_r, and using the set flags, creates macros providing a consistent API, and if possible thread safety. * configure.in: Don't check for getpwnam_r and getpwuid_r with AC_CHECK_FUNCS; use AC_CHECK_FUNC, and only set shell variables. Run stricter tests on return types and numbers of arguments, and only define the C macros if these parameters can actually be determined. * k5-platform.h (k5_getpwnam_r, k5_getpwuid_r): New macros. ticket: 2982 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17155 dc483132-0cff-0310-8789-dd5450dbe970
* hpux10 has gmtime_r with wrong return type, breaking asn.1 encoderKen Raeburn2005-03-041-0/+23
| | | | | | | | | | | | | | The hpux10 gmtime_r returns int (0 means success), whereas the POSIX gmtime_r returns a pointer (NULL means failure). * configure.in: Check return type of gmtime_r, and define GMTIME_R_RETURNS_INT if it returns int. If the return type can't be determined, pretend the function isn't there. ticket: new status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17117 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Put #ifndef/#define/#endif wrapper into autoconf.h to protectKen Raeburn2005-02-031-2/+8
| | | | | | against multiple inclusions. Don't look for xom.h. Check for dlopen. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17079 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for uint32_t and int32_t in system headersKen Raeburn2005-01-051-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16999 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for struct if_laddrconf, as for struct lifconfKen Raeburn2004-10-011-0/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16800 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Use AC_MSG_NOTICE for krb4 messages instead of AC_MSG_RESULT,Ken Raeburn2004-09-241-2/+2
| | | | | | because there's no corresponding AC_MSG_CHECKING. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16787 dc483132-0cff-0310-8789-dd5450dbe970
* Add DNS resolver glue layer. Use itTom Yu2004-09-211-3/+0
| | | | | | ticket: 2710 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16769 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for h_errno declaration in netdb.hTom Yu2004-09-151-0/+13
| | | | | | | | * port-sockets.h: Explicitly declare h_errno if it's missing. ticket: 1044 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16758 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Solaris getpwnam_r returns struct passwd*, notTom Yu2004-08-101-1/+1
| | | | | | struct pwd*. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16654 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: If getpwnam_r is available, determine its return typeKen Raeburn2004-08-081-0/+22
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16647 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Look for sched.h and sched_yield.Ken Raeburn2004-08-071-2/+2
| | | | | | | | | * k5-thread.h: Only include sched.h if it's available. (MAYBE_SCHED_YIELD): Only use sched_yield if sched.h and sched_yield are available; if weak references are supported and sched_yield isn't available by default, check for it at run time. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16645 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Actually check for pthread_mutex_lockKen Raeburn2004-08-041-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16638 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Look for "struct lifconf" and maybe define HAVE_STRUCT_LIFCONFKen Raeburn2004-07-221-0/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16620 dc483132-0cff-0310-8789-dd5450dbe970
* zap remaining bits of macsock.h supportKen Raeburn2004-07-171-5/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16612 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check krb5_cv_inet6_with_dinet6 as well as krb5_cv_inet6 whenKen Raeburn2004-07-111-1/+7
| | | | | | | deciding whether to test for in6addr_any. If gcc is in use, suppress pedantic warnings about "inline". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16578 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for getpwuid_rKen Raeburn2004-07-071-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16549 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Test for 'inline' support.Ken Raeburn2004-07-011-0/+2
| | | | | | | * k5-platform.h (inline): Don't define here. * win-mac.h (inline): Define as __inline. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16536 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check number of arguments to getpwnam_r and getpwuid_r andKen Raeburn2004-06-041-0/+27
| | | | | | define some new macros if they're the four-argument draft POSIX versions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16407 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for getpwnam_r, gmtime_r, and localtime_rKen Raeburn2004-06-041-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16406 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_fcc_generate_new should use mkstempSam Hartman2004-03-261-0/+1
| | | | | | | | | Change krb5_fcc_generate_new to use mkstemp rather than mktemp. Ticket: new Status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16214 dc483132-0cff-0310-8789-dd5450dbe970
* move some basic header and function checks from lib/krb5 to includeKen Raeburn2003-12-241-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15960 dc483132-0cff-0310-8789-dd5450dbe970
* Alpha OSF build fails because daemon() tries to call setpgrp becauseKen Raeburn2003-09-131-2/+2
| | | | | | | | | | | it doesn't know setsid is available. It's using autoconf.h, but no longer using the defines set in lib/krb5/posix/Makefile. * configure.in: Check for setsid() and <paths.h>. ticket: 1847 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15817 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Don't test for labs, memmove or bcopy.Ken Raeburn2003-08-261-1/+1
| | | | | | | * k5-int.h (labs, HAVE_LABS): Never define. * win-mac.h (HAVE_LABS): Don't define. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15796 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for some C99 headers and typesKen Raeburn2003-08-261-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15794 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for mode_tKen Raeburn2003-08-141-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15769 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Use KRB5_AC_NEED_BIND_8_COMPAT to check for bind 9 and ↵Alexandra Ellwood2003-03-181-0/+3
| | | | | | higher. When bind 9 is present, BIND_8_COMPAT needs to be defined to get bind 8 types git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15290 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Set and substitute maybe_kerberosIV.Ken Raeburn2003-02-271-0/+3
| | | | | | * Makefile.in (MY_SUBDIRS): Use it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15207 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for sys/select.h and time.hKen Raeburn2003-02-201-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15192 dc483132-0cff-0310-8789-dd5450dbe970
* Use markers in Makefile.in rather than rules in configure.in to indicate whenKen Raeburn2003-01-101-4/+1
| | | | | | | | to use the lib.in and libobj.in makefile fragments. Pushing this per-directory info into Makefile.in will make it a little easier to work on combining configure scripts for multiple directories. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15107 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for sys/filio.hKen Raeburn2002-09-181-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14873 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Use AH_TEMPLATE to put undefined definition ofEzra Peisach2002-09-031-0/+4
| | | | | | | | | | HAVE_STRUCT_SOCKADDR_STORAGE in krb5/autoconf.h - allowing for acconfig.h to be removed. * Makefile.in (autoconf.stmp): No longer depend on $(SRCTOP)/acconfig.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14814 dc483132-0cff-0310-8789-dd5450dbe970
* * port-sockets.h (SOCKET_WRITEV) [!_WIN32]: Use TMP after setting it, to ↵Ken Raeburn2002-07-051-1/+15
| | | | | | silence compiler warnings git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14606 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Modify test for in6addr_any definition in CEzra Peisach2002-06-261-1/+2
| | | | | | | library. Original test was stripped out by optimizing gcc compiler. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14588 dc483132-0cff-0310-8789-dd5450dbe970
* move krb5_sete[ug]id from libkrb5util (fn) to k5-util.h (macro)Ken Raeburn2002-06-251-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14569 dc483132-0cff-0310-8789-dd5450dbe970
* * fake-addrinfo.h: If IPv6 support is compiled in, but the OS doesEzra Peisach2002-06-211-0/+27
| | | | | | | | | | | | not provide in6addr_any in libc, provide a static copy. * configure.in: If IPv6 support is compiled in, test for existence of in6addr_any in libc. Irix 6.5.16 declares it, and some libraries appear to depend on it, but it is not defined in any libraries that I could find. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14555 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for sys/uio.h.Ken Raeburn2002-06-201-1/+1
| | | | | | | * port-sockets.h [!_WIN32 && !HAVE_MACSOCK_H]: Include sys/uio.h if available, to get struct iovec. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14548 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check return type for getservbyname_r just as forKen Raeburn2002-05-311-3/+27
| | | | | | | | | | | | gethostbyname_r. * fake-addrinfo.h (GET_HOST_BY_NAME): Use plain gethostbyname if THREADSAFE_GETHOSTBYNAME is defined, even if _r versions are available. (GET_HOST_BY_ADDR) [GETHOSTBYNAME_R_RETURNS_INT]: Add missing variable declaration. (GET_SERV_BY_NAME, GET_SERV_BY_PORT): New macros, in three flavors, parallel to GET_HOST macros; not used yet. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14461 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: If the return type for gethostbyname_r can't beKen Raeburn2002-04-251-1/+2
| | | | | | determined, just pretend it's not avaliable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14421 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for gethostbyname_r, gethostbyaddr_r, getservbyname_r andKen Raeburn2002-04-121-1/+31
| | | | | | | | | | | | getservbyport_r. Figure out the return type of gethostbyname_r. * fake-addrinfo.h (GET_HOST_BY_NAME, GET_HOST_BY_ADDR): New macros. (fai_add_hosts_by_name, fake_getnameinfo, getaddrinfo): Use them. (fake_getaddrinfo): Use getservbyname_r if available. (fake_getnameinfo): Never call inet_ntoa; in open-coded form, initialize local pointer variable after label. Use getservbyport_r if available. (gaiptr, faiptr, gniptr): Pointer variables are now const. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14388 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Use of AC_DEFINE modified to include thirdEzra Peisach2001-10-241-5/+9
| | | | | | | argument - the comment for the generated header file so that acconfig.h can be cleaned up. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13841 dc483132-0cff-0310-8789-dd5450dbe970
* assume ANSI C: delete no-volatile support, and most no-prototype supportKen Raeburn2001-04-261-13/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13201 dc483132-0cff-0310-8789-dd5450dbe970
* move socklen_t, socklen handling from krb5 library to include/k5-int.hKen Raeburn2001-04-261-12/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13195 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Use AC_C_CONST instead of AC_CONST andEzra Peisach2000-11-011-2/+2
| | | | | | AC_CHECK_HEADER instead of AC_HEADER_CHECK. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12832 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Invoke KRB5_AC_INET6. Delete most of the 10-17 changes exceptKen Raeburn1999-11-021-1/+2
| | | | | | for inet_ntoa/aton, since they're in KRB5_AC_INET6 now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11897 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for inet_{ntop,pton,ntoa,aton},Ken Raeburn1999-10-171-1/+1
| | | | | | | | getipnodeby{name,addr}, get{name,addr}info. * krb5.hin (ADDRTYPE_INET6): Define. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11862 dc483132-0cff-0310-8789-dd5450dbe970
* From 1.1 branch.Ken Raeburn1999-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Indented krb5_cc macros for readability, plus: 1999-08-31 Jeffrey Altman <jaltman@columbia.edu> * k5-int.h: Add #define ANSI_STDIO for Windows builds so that stdio opens files in binary mode instead of text mode. This is necessary for Ctrl-Z transparency. 1999-08-30 Ken Raeburn <raeburn@mit.edu> * configure.in: Check for memmove and bcopy. * Makefile.in (install): Install profile.h since krb5.h will use it. 1999-08-26 Danilo Almeida <dalmeida@mit.edu> * krb5.hin (krb5_kuserok): Fix calling convention to make it consistent with rest of krb5 exports before we start exporting this from the Windows DLL. 1999-08-25 Danilo Almeida <dalmeida@mit.edu> * k5-int.h (krb5_cc_retrieve_cred_default): Fix calling convention to make it consistent with actual calling convention. 1999-08-23 Ken Raeburn <raeburn@mit.edu> * krb5.hin (KRB5_TC_SUPPORTED_KTYPES): New flag. * k5-int.h (krb5_cc_retrieve_cred_default): Declare. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11764 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-11-141-2/+100
| | | | | | | | | | | to buildtop and thisconfigdir, respectively.) Add a MY_SUBDIRS definition to control the directories which are recursively descended by the Makefile. configure.in: Folded tests from krb5 and kerberosIV directories into this configure.in file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11037 dc483132-0cff-0310-8789-dd5450dbe970
* Mass makefile/configure.in build system revampTheodore Tso1998-02-121-2/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10424 dc483132-0cff-0310-8789-dd5450dbe970
* krb5.hin: Remove definition of the krb5_fulladdr structure, and theTheodore Tso1995-06-091-8/+3
| | | | | | | | | | prototype for the unused function krb5_fulladdr_order. configure.in: Remove standardized set of autoconf macros, which are now handled by CONFIG_RULES. Use DO_SUBDIRS to recurse down subdirectories. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6010 dc483132-0cff-0310-8789-dd5450dbe970