Blind attempt at a Cygwin fix

Further portability fix for a967613911.  Mingw- and MSVC-based builds
appear to be working fine, but Cygwin needs an extra tweak whereby the
new win32security.c file is explicitely added to the list of files to
build in pgport, per Cygwin members brolga and lorikeet.

Author: Michael Paquier
This commit is contained in:
Alvaro Herrera 2016-01-08 11:48:39 -03:00
parent 2650486ebc
commit e9282e9532
2 changed files with 7 additions and 0 deletions

6
configure vendored
View File

@ -13075,6 +13075,12 @@ if test "$PORTNAME" = "cygwin"; then
;;
esac
case " $LIBOBJS " in
*" win32security.$ac_objext "* ) ;;
*) LIBOBJS="$LIBOBJS win32security.$ac_objext"
;;
esac
fi
ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "#include <signal.h>

View File

@ -1596,6 +1596,7 @@ fi
# Cygwin needs only a bit of that
if test "$PORTNAME" = "cygwin"; then
AC_LIBOBJ(dirmod)
AC_LIBOBJ(win32security)
fi
AC_CHECK_DECLS([sys_siglist], [], [],