#
# Empire - A multi-player, client/server Internet based war game.
-# Copyright (C) 1986-2017, Dave Pare, Jeff Bailey, Thomas Ruschak,
+# Copyright (C) 1986-2020, Dave Pare, Jeff Bailey, Thomas Ruschak,
# Ken Stevens, Steve McClure, Markus Armbruster
#
# Empire is free software: you can redistribute it and/or modify
# configure.ac: Autoconf input file
#
# Known contributors to this file:
-# Markus Armbruster, 2005-2016
+# Markus Armbruster, 2005-2020
#
# Process this file with autoconf to produce a configure script.
AC_CONFIG_SRCDIR([empire.6])
AC_CONFIG_HEADERS([config.h])
+AC_DEFINE([_XOPEN_SOURCE], [600],
+ [Request POSIX-1.2001 with XSI Extension])
+
### Checks for programs.
AC_PROG_CC
### Checks for library functions.
-AC_CHECK_FUNCS(getaddrinfo getpass)
+AC_CHECK_FUNCS(getaddrinfo)
### Site configuration
### Output
-AC_DEFINE_UNQUOTED(VERSION, "`cat .tarball-version`", [Tarball version])
+AC_DEFINE_UNQUOTED(VERSION, "`cat $srcdir/.tarball-version`", [Tarball version])
AC_CONFIG_FILES([Makefile ipglob.c])
AC_OUTPUT