Author: cazfi
Date: Wed Jan 27 11:48:27 2016
New Revision: 31628

URL: http://svn.gna.org/viewcvs/freeciv?rev=31628&view=rev
Log:
Make configure check for pwd.h even on Windows builds

See patc #6858

Modified:
    trunk/configure.ac

Modified: trunk/configure.ac
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/configure.ac?rev=31628&r1=31627&r2=31628&view=diff
==============================================================================
--- trunk/configure.ac  (original)
+++ trunk/configure.ac  Wed Jan 27 11:48:27 2016
@@ -1230,10 +1230,13 @@
 if test $ac_cv_header_stdbool_h = yes; then
   AC_DEFINE([FREECIV_HAVE_STDBOOL_H], [1], [Have standard compliant stdbool.h])
 fi
+
+AC_CHECK_HEADERS([pwd.h])
+
 dnl Avoid including the unix emulation layer if we build mingw executables
 dnl There would be type conflicts between winsock and bsd/unix includes
 if test "x$MINGW32" != "xyes"; then
-  AC_CHECK_HEADERS([arpa/inet.h netdb.h pwd.h sys/ioctl.h \
+  AC_CHECK_HEADERS([arpa/inet.h netdb.h sys/ioctl.h \
                     sys/signal.h sys/termio.h \
                     sys/uio.h termios.h])
   AC_CHECK_HEADERS([sys/select.h], [AC_DEFINE([FREECIV_HAVE_SYS_SELECT_H], 
[1], [sys/select.h available])])


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to