configure.in (eea99451) | configure.in (9fe7c2c3) |
---|---|
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 memmove vasprintf strtoul) | 66AC_REPLACE_FUNCS(mkdir rename strstr dup2 strerror valloc waitpid memmove 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) --- 190 unchanged lines hidden (view full) --- 265 [GSSAPI=$withval], 266)dnl 267echo "default place for GSSAPI is $GSSAPI" 268AC_SUBST(GSSAPI)])dnl 269WITH_GSSAPI 270 271hold_cppflags=$CPPFLAGS 272CPPFLAGS="$CPPFLAGS -I$GSSAPI/include " | 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) --- 190 unchanged lines hidden (view full) --- 265 [GSSAPI=$withval], 266)dnl 267echo "default place for GSSAPI is $GSSAPI" 268AC_SUBST(GSSAPI)])dnl 269WITH_GSSAPI 270 271hold_cppflags=$CPPFLAGS 272CPPFLAGS="$CPPFLAGS -I$GSSAPI/include " |
273AC_CHECK_HEADERS(gssapi.h gssapi/gssapi.h gssapi/gssapi_generic.h) | 273AC_CHECK_HEADERS(krb5.h gssapi.h gssapi/gssapi.h gssapi/gssapi_generic.h) |
274CPPFLAGS=$hold_cppflags 275 | 274CPPFLAGS=$hold_cppflags 275 |
276if test "$ac_cv_header_gssapi_h" = "yes" || test "$ac_cv_header_gssapi_gssapi_h" = "yes"; then | 276if test "$ac_cv_header_krb5_h" = "yes" && 277 (test "$ac_cv_header_gssapi_h" = "yes" || 278 test "$ac_cv_header_gssapi_gssapi_h" = "yes"); then |
277 AC_DEFINE(HAVE_GSSAPI) 278 includeopt="${includeopt} -I$GSSAPI/include" 279 # FIXME: This is ugly, but these things don't seem to be standardized. 280 if test "$ac_cv_header_gssapi_h" = "yes"; then 281 LIBS="$LIBS -L$GSSAPI/lib -lgssapi -lkrb5 -lasn1 -ldes -lroken" 282 else 283 LIBS="$LIBS -L$GSSAPI/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err" 284 fi --- 107 unchanged lines hidden (view full) --- 392test -f src/options.h && ( 393 AC_MSG_WARN(saving ./src/options.h in ./src/options.h-SAVED) 394 AC_MSG_WARN(You may wish to check that local options have not been lost.) 395 AC_MSG_WARN(Do not re-run ./configure or ./config.status until you have....) 396 cp ./src/options.h ./src/options.h-SAVED 397) 398 399AC_OUTPUT(Makefile lib/Makefile src/Makefile zlib/Makefile diff/Makefile doc/Makefile \ | 279 AC_DEFINE(HAVE_GSSAPI) 280 includeopt="${includeopt} -I$GSSAPI/include" 281 # FIXME: This is ugly, but these things don't seem to be standardized. 282 if test "$ac_cv_header_gssapi_h" = "yes"; then 283 LIBS="$LIBS -L$GSSAPI/lib -lgssapi -lkrb5 -lasn1 -ldes -lroken" 284 else 285 LIBS="$LIBS -L$GSSAPI/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err" 286 fi --- 107 unchanged lines hidden (view full) --- 394test -f src/options.h && ( 395 AC_MSG_WARN(saving ./src/options.h in ./src/options.h-SAVED) 396 AC_MSG_WARN(You may wish to check that local options have not been lost.) 397 AC_MSG_WARN(Do not re-run ./configure or ./config.status until you have....) 398 cp ./src/options.h ./src/options.h-SAVED 399) 400 401AC_OUTPUT(Makefile lib/Makefile src/Makefile zlib/Makefile diff/Makefile doc/Makefile \ |
400 man/Makefile tools/Makefile tools/pcl-cvs/Makefile \ 401 contrib/Makefile contrib/elib/Makefile \ | 402 man/Makefile tools/Makefile \ 403 contrib/Makefile \ |
402 windows-NT/Makefile windows-NT/SCC/Makefile \ 403 os2/Makefile emx/Makefile macintosh/Makefile vms/Makefile \ 404 stamp-h) | 404 windows-NT/Makefile windows-NT/SCC/Makefile \ 405 os2/Makefile emx/Makefile macintosh/Makefile vms/Makefile \ 406 stamp-h) |