I just downloaded a fresh copy from GitHub, and had no such issues running configure in Cygwin. There must be something else different between your environment and mine, but no clue what.
Output of configure below:
Code:
Brandon@Lenovo-PC /cygdrive/c/users/brandon/onedrive/tbamud-master
$ ./configure
creating cache ./config.cache
checking for less... less
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc -Wall also needs -Wno-char-subscripts... yes
checking whether gcc accepts -Wno-char-subscripts... yes
checking whether gcc accepts -fno-builtin... yes
checking for gethostbyaddr... yes
checking for socket... yes
checking for malloc... yes
checking for crypt... no
checking for crypt in -lcrypt... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for sys/fcntl.h... yes
checking for errno.h... yes
checking for net/errno.h... no
checking for string.h... yes
checking for strings.h... yes
checking for limits.h... yes
checking for sys/time.h... yes
checking for sys/select.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for memory.h... yes
checking for crypt.h... yes
checking for assert.h... yes
checking for arpa/telnet.h... yes
checking for arpa/inet.h... yes
checking for sys/stat.h... yes
checking for sys/socket.h... yes
checking for sys/resource.h... yes
checking for netinet/in.h... yes
checking for netdb.h... yes
checking for signal.h... yes
checking for sys/uio.h... yes
checking for mcheck.h... no
checking whether crypt needs over 10 characters... no
checking for working const... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for struct in_addr... yes
checking for typedef socklen_t... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for gettimeofday... yes
checking for select... yes
checking for snprintf... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strerror... yes
checking for stricmp... no
checking for strlcpy... yes
checking for strncasecmp... yes
checking for strnicmp... no
checking for strstr... yes
checking for vsnprintf... yes
checking for inet_addr... yes
checking for inet_aton... yes
checking if accept is prototyped... yes
checking if atoi is prototyped... yes
checking if atol is prototyped... yes
checking if bind is prototyped... yes
checking if bzero is prototyped... yes
checking if chdir is prototyped... yes
checking if close is prototyped... yes
checking if crypt is prototyped... yes
checking if fclose is prototyped... yes
checking if fcntl is prototyped... yes
checking if fflush is prototyped... yes
checking if fprintf is prototyped... yes
checking if fputc is prototyped... yes
checking if fputs is prototyped... yes
checking if fread is prototyped... yes
checking if fscanf is prototyped... yes
checking if fseek is prototyped... yes
checking if fwrite is prototyped... yes
checking if getpeername is prototyped... yes
checking if getpid is prototyped... yes
checking if getrlimit is prototyped... yes
checking if getsockname is prototyped... yes
checking if gettimeofday is prototyped... yes
checking if htonl is prototyped... yes
checking if htons is prototyped... yes
checking if inet_addr is prototyped... yes
checking if inet_aton is prototyped... yes
checking if inet_ntoa is prototyped... yes
checking if listen is prototyped... yes
checking if ntohl is prototyped... yes
checking if perror is prototyped... yes
checking if printf is prototyped... yes
checking if qsort is prototyped... yes
checking if read is prototyped... yes
checking if remove is prototyped... yes
checking if rewind is prototyped... yes
checking if select is prototyped... yes
checking if setitimer is prototyped... yes
checking if setrlimit is prototyped... yes
checking if setsockopt is prototyped... yes
checking if snprintf is prototyped... yes
checking if socket is prototyped... yes
checking if sprintf is prototyped... yes
checking if sscanf is prototyped... yes
checking if strcasecmp is prototyped... yes
checking if strdup is prototyped... yes
checking if strerror is prototyped... yes
checking if stricmp is prototyped... no
checking if strlcpy is prototyped... yes
checking if strncasecmp is prototyped... yes
checking if strnicmp is prototyped... no
checking if system is prototyped... yes
checking if time is prototyped... yes
checking if unlink is prototyped... yes
checking if vsnprintf is prototyped... yes
checking if write is prototyped... yes
updating cache ./config.cache
creating ./config.status
creating src/Makefile
creating src/util/Makefile
creating src/conf.h
Configuration completed. To compile, type: cd src; make
Nothing unusual there.
Compilation is also 100% clean for me, 0 warnings (I got several a few month ago when I compiled). I tested with gcc 5.4.0.
I might have been using gcc 6.3.0 last time, so I'll update to that and try again to see if it catches anything that 5.4.0 ignored.