]> git.pond.sub.org Git - empserver/blobdiff - configure.ac
client: Drop use of getpass()
[empserver] / configure.ac
index a30010816ad7bd080f5787fc6e447607dbbd684b..4113bc781d2cbad3c80ba18808f9f23a30274a9d 100644 (file)
@@ -1,6 +1,6 @@
 #
 #   Empire - A multi-player, client/server Internet based war game.
-#   Copyright (C) 1986-2016, 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
@@ -27,7 +27,7 @@
 #   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.
 
@@ -64,8 +64,8 @@ if test -d $srcdir/.git
 then revctrl=git
 else revctrl=
 fi
-if test "$revctrl" && test -r .tarball-version
-then AC_MSG_ERROR([.tarball-version must not exist])
+if test "$revctrl" && test -r $srcdir/.tarball-version
+then AC_MSG_ERROR([$srcdir/.tarball-version must not exist])
 fi
 AC_SUBST(revctrl,$revctrl)
 
@@ -167,7 +167,7 @@ main(int argc, char *argv[])
 
 ### Checks for library functions
 
-AC_CHECK_FUNCS(getaddrinfo getpass)
+AC_CHECK_FUNCS(getaddrinfo)
 MY_FUNC_MAKECONTEXT