Deleted Added
full compact
configure.in (32785) configure.in (34461)
1dnl configure.in for cvs
2AC_INIT(src/cvs.h)
3dnl
4AC_PREREQ(2.4)dnl Required Autoconf version.
5dnl Do not use autoconf 2.12; it produces a configure script which produces
6dnl a "internal 2K buffer" error on HPUX when run with /bin/sh.
7dnl autoconf 2.10 seems like a good choice.
8dnl

--- 49 unchanged lines hidden (view full) ---

58AC_HEADER_TIME
59AC_HEADER_DIRENT
60AC_TYPE_SIGNAL
61AC_TYPE_UID_T
62AC_TYPE_MODE_T
63AC_TYPE_SIZE_T
64AC_TYPE_PID_T
65AC_STRUCT_ST_BLKSIZE
1dnl configure.in for cvs
2AC_INIT(src/cvs.h)
3dnl
4AC_PREREQ(2.4)dnl Required Autoconf version.
5dnl Do not use autoconf 2.12; it produces a configure script which produces
6dnl a "internal 2K buffer" error on HPUX when run with /bin/sh.
7dnl autoconf 2.10 seems like a good choice.
8dnl

--- 49 unchanged lines hidden (view full) ---

58AC_HEADER_TIME
59AC_HEADER_DIRENT
60AC_TYPE_SIGNAL
61AC_TYPE_UID_T
62AC_TYPE_MODE_T
63AC_TYPE_SIZE_T
64AC_TYPE_PID_T
65AC_STRUCT_ST_BLKSIZE
66AC_REPLACE_FUNCS(mkdir rename strstr dup2 strerror valloc waitpid vasprintf strtoul)
66AC_REPLACE_FUNCS(mkdir rename strstr dup2 strerror valloc waitpid memmove vasprintf strtoul)
67AC_CHECK_FUNCS(fchmod fsync ftime mktemp putenv vprintf ftruncate timezone getpagesize initgroups fchdir sigaction sigprocmask sigvec sigsetmask sigblock tempnam tzset readlink wait3)
68
69dnl
70dnl The CVS coding standard (as specified in HACKING) is that if it exists
71dnl in SunOS4 and ANSI, we use it. CVS itself, of course, therefore doesn't
72dnl need HAVE_* defines for such functions, but diff wants them.
73dnl
74AC_DEFINE(HAVE_STRCHR)

--- 260 unchanged lines hidden (view full) ---

335AC_CHECK_LIB(crypt, crypt)
336AC_CHECK_FUNCS(crypt)
337
338if test "$ac_cv_func_crypt" = yes; then
339 AC_DEFINE(AUTH_SERVER_SUPPORT)
340fi
341fi # enable_server
342
67AC_CHECK_FUNCS(fchmod fsync ftime mktemp putenv vprintf ftruncate timezone getpagesize initgroups fchdir sigaction sigprocmask sigvec sigsetmask sigblock tempnam tzset readlink wait3)
68
69dnl
70dnl The CVS coding standard (as specified in HACKING) is that if it exists
71dnl in SunOS4 and ANSI, we use it. CVS itself, of course, therefore doesn't
72dnl need HAVE_* defines for such functions, but diff wants them.
73dnl
74AC_DEFINE(HAVE_STRCHR)

--- 260 unchanged lines hidden (view full) ---

335AC_CHECK_LIB(crypt, crypt)
336AC_CHECK_FUNCS(crypt)
337
338if test "$ac_cv_func_crypt" = yes; then
339 AC_DEFINE(AUTH_SERVER_SUPPORT)
340fi
341fi # enable_server
342
343dnl For the moment we will assume that all systems which have
344dnl the unixyness to run configure are unixy enough to do the
345dnl PreservePermissions stuff. I have this sinking feeling that
346dnl things won't be that simple, before long.
347AC_DEFINE(PRESERVE_PERMISSIONS_SUPPORT)
348
343dnl On cygwin32, we configure like a Unix system, but we use the
344dnl Windows support code in lib/fncase.c to handle the case
345dnl insensitive file system. We also need some support libraries. We
346dnl do this at the end so that the new libraries are added at the end
347dnl of LIBS.
348AC_CACHE_CHECK(for cygwin32, ccvs_cv_sys_cygwin32,
349[AC_TRY_COMPILE([], [return __CYGWIN32__;],
350ccvs_cv_sys_cygwin32=yes, ccvs_cv_sys_cygwin32=no)])

--- 28 unchanged lines hidden ---
349dnl On cygwin32, we configure like a Unix system, but we use the
350dnl Windows support code in lib/fncase.c to handle the case
351dnl insensitive file system. We also need some support libraries. We
352dnl do this at the end so that the new libraries are added at the end
353dnl of LIBS.
354AC_CACHE_CHECK(for cygwin32, ccvs_cv_sys_cygwin32,
355[AC_TRY_COMPILE([], [return __CYGWIN32__;],
356ccvs_cv_sys_cygwin32=yes, ccvs_cv_sys_cygwin32=no)])

--- 28 unchanged lines hidden ---