Updated configure scripts
This commit is contained in:
parent
1d96f106c5
commit
bd2ec82897
76
config.h.in
76
config.h.in
@ -14,25 +14,12 @@
|
|||||||
/* Compile experimental code (may not be present) */
|
/* Compile experimental code (may not be present) */
|
||||||
#undef USE_EXPERIMENT
|
#undef USE_EXPERIMENT
|
||||||
|
|
||||||
/* Define if you have the snprintf function. */
|
|
||||||
#undef HAVE_SNPRINTF
|
|
||||||
|
|
||||||
/* Has strcasestr function */
|
/* Has strcasestr function */
|
||||||
#undef HAVE_STRCASESTR
|
#undef HAVE_STRCASESTR
|
||||||
|
|
||||||
/* If you have gettimeofday function */
|
/* If you have gettimeofday function */
|
||||||
#undef HAVE_DECLARED_TIMEZONE
|
|
||||||
#undef HAVE_TM_GMTOFF
|
#undef HAVE_TM_GMTOFF
|
||||||
|
|
||||||
/* If you don't have pid_t */
|
|
||||||
#undef DONT_HAVE_PID_T
|
|
||||||
|
|
||||||
/* NOPROTO in lhash.h ??? */
|
|
||||||
#undef NOPROTO
|
|
||||||
|
|
||||||
/* No Hash Comp function */
|
|
||||||
#undef NO_HASH_COMP
|
|
||||||
|
|
||||||
/* News postings */
|
/* News postings */
|
||||||
#undef RESTAMP_FUTURE_POSTINGS
|
#undef RESTAMP_FUTURE_POSTINGS
|
||||||
#undef RESTAMP_OLD_POSTINGS
|
#undef RESTAMP_OLD_POSTINGS
|
||||||
@ -116,9 +103,6 @@
|
|||||||
/* Define if you have the `c64i' function. */
|
/* Define if you have the `c64i' function. */
|
||||||
#undef HAVE_C64I
|
#undef HAVE_C64I
|
||||||
|
|
||||||
/* Define if you have the <crypt.h> header file. */
|
|
||||||
#undef HAVE_CRYPT_H
|
|
||||||
|
|
||||||
/* Define if you have the <dirent.h> header file, and it defines `DIR'. */
|
/* Define if you have the <dirent.h> header file, and it defines `DIR'. */
|
||||||
#undef HAVE_DIRENT_H
|
#undef HAVE_DIRENT_H
|
||||||
|
|
||||||
@ -131,33 +115,18 @@
|
|||||||
/* Define if you have the `fdatasync' function. */
|
/* Define if you have the `fdatasync' function. */
|
||||||
#undef HAVE_FDATASYNC
|
#undef HAVE_FDATASYNC
|
||||||
|
|
||||||
/* Define if your system has a working `fnmatch' function. */
|
|
||||||
#undef HAVE_FNMATCH
|
|
||||||
|
|
||||||
/* Define if you have the `fsync' function. */
|
/* Define if you have the `fsync' function. */
|
||||||
#undef HAVE_FSYNC
|
#undef HAVE_FSYNC
|
||||||
|
|
||||||
/* Define if you have the `gettimeofday' function. */
|
/* Define if you have the `gettimeofday' function. */
|
||||||
#undef HAVE_GETTIMEOFDAY
|
#undef HAVE_GETTIMEOFDAY
|
||||||
|
|
||||||
/* Define if you have the `getwd' function. */
|
|
||||||
#undef HAVE_GETWD
|
|
||||||
|
|
||||||
/* Define if you have the <gshadow.h> header file. */
|
/* Define if you have the <gshadow.h> header file. */
|
||||||
#undef HAVE_GSHADOW_H
|
#undef HAVE_GSHADOW_H
|
||||||
|
|
||||||
/* Define if you have the <inttypes.h> header file. */
|
|
||||||
#undef HAVE_INTTYPES_H
|
|
||||||
|
|
||||||
/* Define if you have the `lckpwdf' function. */
|
/* Define if you have the `lckpwdf' function. */
|
||||||
#undef HAVE_LCKPWDF
|
#undef HAVE_LCKPWDF
|
||||||
|
|
||||||
/* Define if you have the <malloc.h> header file. */
|
|
||||||
#undef HAVE_MALLOC_H
|
|
||||||
|
|
||||||
/* Define if you have the <memory.h> header file. */
|
|
||||||
#undef HAVE_MEMORY_H
|
|
||||||
|
|
||||||
/* Define if you have the <ndir.h> header file, and it defines `DIR'. */
|
/* Define if you have the <ndir.h> header file, and it defines `DIR'. */
|
||||||
#undef HAVE_NDIR_H
|
#undef HAVE_NDIR_H
|
||||||
|
|
||||||
@ -173,36 +142,12 @@
|
|||||||
/* Define if you have the <shadow.h> header file. */
|
/* Define if you have the <shadow.h> header file. */
|
||||||
#undef HAVE_SHADOW_H
|
#undef HAVE_SHADOW_H
|
||||||
|
|
||||||
/* Define if you have the `socket' function. */
|
|
||||||
#undef HAVE_SOCKET
|
|
||||||
|
|
||||||
/* Define if you have the <stdlib.h> header file. */
|
|
||||||
#undef HAVE_STDLIB_H
|
|
||||||
|
|
||||||
/* Define if you have the `strcasestr' function. */
|
|
||||||
#undef HAVE_STRCASESTR
|
|
||||||
|
|
||||||
/* Define if you have the <strings.h> header file. */
|
|
||||||
#undef HAVE_STRINGS_H
|
|
||||||
|
|
||||||
/* Define if you have the <string.h> header file. */
|
|
||||||
#undef HAVE_STRING_H
|
|
||||||
|
|
||||||
/* Define if `tm_zone' is member of `struct tm'. */
|
/* Define if `tm_zone' is member of `struct tm'. */
|
||||||
#undef HAVE_STRUCT_TM_TM_ZONE
|
#undef HAVE_STRUCT_TM_TM_ZONE
|
||||||
|
|
||||||
/* Define if you have the <syslog.h> header file. */
|
|
||||||
#undef HAVE_SYSLOG_H
|
|
||||||
|
|
||||||
/* Define if you have the <sys/dir.h> header file, and it defines `DIR'. */
|
/* Define if you have the <sys/dir.h> header file, and it defines `DIR'. */
|
||||||
#undef HAVE_SYS_DIR_H
|
#undef HAVE_SYS_DIR_H
|
||||||
|
|
||||||
/* Define if you have the <sys/file.h> header file. */
|
|
||||||
#undef HAVE_SYS_FILE_H
|
|
||||||
|
|
||||||
/* Define if you have the <sys/ioctl.h> header file. */
|
|
||||||
#undef HAVE_SYS_IOCTL_H
|
|
||||||
|
|
||||||
/* Define if you have the <sys/ndir.h> header file, and it defines `DIR'. */
|
/* Define if you have the <sys/ndir.h> header file, and it defines `DIR'. */
|
||||||
#undef HAVE_SYS_NDIR_H
|
#undef HAVE_SYS_NDIR_H
|
||||||
|
|
||||||
@ -221,36 +166,18 @@
|
|||||||
/* Define if you have the <termios.h> header file. */
|
/* Define if you have the <termios.h> header file. */
|
||||||
#undef HAVE_TERMIOS_H
|
#undef HAVE_TERMIOS_H
|
||||||
|
|
||||||
/* Define if you have the <ulimit.h> header file. */
|
|
||||||
#undef HAVE_ULIMIT_H
|
|
||||||
|
|
||||||
/* Define if you have the `uname' function. */
|
|
||||||
#undef HAVE_UNAME
|
|
||||||
|
|
||||||
/* Define if you have the <unistd.h> header file. */
|
/* Define if you have the <unistd.h> header file. */
|
||||||
#undef HAVE_UNISTD_H
|
#undef HAVE_UNISTD_H
|
||||||
|
|
||||||
/* Define if you have the <usersec.h> header file. */
|
/* Define if you have the <usersec.h> header file. */
|
||||||
#undef HAVE_USERSEC_H
|
#undef HAVE_USERSEC_H
|
||||||
|
|
||||||
/* Define if you have the <utime.h> header file. */
|
|
||||||
#undef HAVE_UTIME_H
|
|
||||||
|
|
||||||
/* Define if `utime(file, NULL)' sets file's timestamp to the present. */
|
|
||||||
#undef HAVE_UTIME_NULL
|
|
||||||
|
|
||||||
/* Define if you have the <utmp.h> header file. */
|
/* Define if you have the <utmp.h> header file. */
|
||||||
#undef HAVE_UTMP_H
|
#undef HAVE_UTMP_H
|
||||||
|
|
||||||
/* Define if you have the <utmpx.h> header file. */
|
/* Define if you have the <utmpx.h> header file. */
|
||||||
#undef HAVE_UTMPX_H
|
#undef HAVE_UTMPX_H
|
||||||
|
|
||||||
/* Define if you have the <vfork.h> header file. */
|
|
||||||
#undef HAVE_VFORK_H
|
|
||||||
|
|
||||||
/* Define if you have the `vprintf' function. */
|
|
||||||
#undef HAVE_VPRINTF
|
|
||||||
|
|
||||||
/* Define if you have the memcpy function. */
|
/* Define if you have the memcpy function. */
|
||||||
#undef HAVE_MEMCPY
|
#undef HAVE_MEMCPY
|
||||||
|
|
||||||
@ -263,9 +190,6 @@
|
|||||||
/* Define as the return type of signal handlers (`int' or `void'). */
|
/* Define as the return type of signal handlers (`int' or `void'). */
|
||||||
#undef RETSIGTYPE
|
#undef RETSIGTYPE
|
||||||
|
|
||||||
/* Define if the `setpgrp' function takes no argument. */
|
|
||||||
#undef SETPGRP_VOID
|
|
||||||
|
|
||||||
/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
|
/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
|
||||||
#undef STAT_MACROS_BROKEN
|
#undef STAT_MACROS_BROKEN
|
||||||
|
|
||||||
|
12
configure.in
12
configure.in
@ -141,7 +141,6 @@ fi
|
|||||||
AC_CHECK_LIB(crypt,crypt,result=yes,result=no)
|
AC_CHECK_LIB(crypt,crypt,result=yes,result=no)
|
||||||
if test "$result" = "yes"; then
|
if test "$result" = "yes"; then
|
||||||
LIBS="$LIBS -lcrypt"
|
LIBS="$LIBS -lcrypt"
|
||||||
AC_CHECK_HEADERS(crypt.h)
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_CHECK_LIB(util,login,result=yes,result=no)
|
AC_CHECK_LIB(util,login,result=yes,result=no)
|
||||||
@ -199,10 +198,10 @@ AC_HEADER_STDC
|
|||||||
AC_HEADER_DIRENT
|
AC_HEADER_DIRENT
|
||||||
AC_HEADER_TIME
|
AC_HEADER_TIME
|
||||||
AC_HEADER_SYS_WAIT
|
AC_HEADER_SYS_WAIT
|
||||||
AC_CHECK_HEADERS(malloc.h sys/file.h sys/ioctl.h sys/time.h termios.h syslog.h sys/vfs.h unistd.h netinet/in.h regex.h)
|
AC_CHECK_HEADERS(sys/time.h termios.h sys/vfs.h unistd.h netinet/in.h regex.h)
|
||||||
AC_CHECK_HEADERS(sys/resource.h usersec.h utime.h ulimit.h gshadow.h shadow.h)
|
AC_CHECK_HEADERS(sys/resource.h usersec.h gshadow.h shadow.h)
|
||||||
AC_CHECK_HEADERS(limits.h utmp.h utmpx.h lastlog.h rpc/key_prot.h)
|
AC_CHECK_HEADERS(limits.h utmp.h utmpx.h lastlog.h rpc/key_prot.h)
|
||||||
AC_STRUCT_TIMEZONE
|
dnl AC_STRUCT_TIMEZONE
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||||
@ -223,12 +222,9 @@ dnl
|
|||||||
AC_CHECK_FUNCS(c64i a64l fchmod fchown fdatasync fsync lckpwdf strcasestr putpwent)
|
AC_CHECK_FUNCS(c64i a64l fchmod fchown fdatasync fsync lckpwdf strcasestr putpwent)
|
||||||
AC_PROG_GCC_TRADITIONAL
|
AC_PROG_GCC_TRADITIONAL
|
||||||
AC_FUNC_MEMCMP
|
AC_FUNC_MEMCMP
|
||||||
AC_FUNC_SETPGRP
|
|
||||||
AC_TYPE_SIGNAL
|
AC_TYPE_SIGNAL
|
||||||
AC_FUNC_UTIME_NULL
|
AC_FUNC_UTIME_NULL
|
||||||
AC_FUNC_VFORK
|
AC_CHECK_FUNCS(gettimeofday re_comp select)
|
||||||
AC_FUNC_VPRINTF
|
|
||||||
AC_CHECK_FUNCS(gettimeofday re_comp select socket uname)
|
|
||||||
AC_CHECK_FUNCS(getspnam initgroups updwtmp updwtmpx)
|
AC_CHECK_FUNCS(getspnam initgroups updwtmp updwtmpx)
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
|
@ -26,9 +26,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if !defined(HAVE_STRUCT_TM_TM_ZONE) && !defined(_TIMEZONE) && !defined(HAVE_DECLARED_TIMEZONE)
|
|
||||||
extern time_t timezone;
|
extern time_t timezone;
|
||||||
#endif
|
|
||||||
|
|
||||||
#define yylhs date_yylhs
|
#define yylhs date_yylhs
|
||||||
#define yylen date_yylen
|
#define yylen date_yylen
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* Purpose ...............: Fidonet mailer
|
* Purpose ...............: Fidonet mailer
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2001
|
* Copyright (C) 1997-2003
|
||||||
*
|
*
|
||||||
* Michiel Broek FIDO: 2:280/2802
|
* Michiel Broek FIDO: 2:280/2802
|
||||||
* Beekmansbos 10
|
* Beekmansbos 10
|
||||||
@ -43,10 +43,6 @@
|
|||||||
#define LCKPREFIX LOCKDIR"/LCK.."
|
#define LCKPREFIX LOCKDIR"/LCK.."
|
||||||
#define LCKTMP LOCKDIR"/TMP."
|
#define LCKTMP LOCKDIR"/TMP."
|
||||||
|
|
||||||
//#ifdef DONT_HAVE_PID_T
|
|
||||||
//#define pid_t int
|
|
||||||
//#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int lock(char *line)
|
int lock(char *line)
|
||||||
|
Reference in New Issue
Block a user