src/port/dirmod.c needs to be built on Cygwin too.

Oversight in my commit 91f4a5a976.
Per buildfarm member brolga.
This commit is contained in:
Tom Lane 2015-03-15 14:14:24 -04:00
parent c415c13b7e
commit 837eb08461
2 changed files with 17 additions and 2 deletions

12
configure vendored
View File

@ -11973,7 +11973,7 @@ esac
fi fi
# Win32 support # Win32 (really MinGW) support
if test "$PORTNAME" = "win32"; then if test "$PORTNAME" = "win32"; then
ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
if test "x$ac_cv_func_gettimeofday" = xyes; then : if test "x$ac_cv_func_gettimeofday" = xyes; then :
@ -12060,6 +12060,16 @@ else
fi fi
# Cygwin needs only a bit of that
if test "$PORTNAME" = "cygwin"; then
case " $LIBOBJS " in
*" dirmod.$ac_objext "* ) ;;
*) LIBOBJS="$LIBOBJS dirmod.$ac_objext"
;;
esac
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigsetjmp" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigsetjmp" >&5
$as_echo_n "checking for sigsetjmp... " >&6; } $as_echo_n "checking for sigsetjmp... " >&6; }
if ${pgac_cv_func_sigsetjmp+:} false; then : if ${pgac_cv_func_sigsetjmp+:} false; then :

View File

@ -1451,7 +1451,7 @@ if test "$PORTNAME" = "win32"; then
AC_LIBOBJ(getopt_long) AC_LIBOBJ(getopt_long)
fi fi
# Win32 support # Win32 (really MinGW) support
if test "$PORTNAME" = "win32"; then if test "$PORTNAME" = "win32"; then
AC_REPLACE_FUNCS(gettimeofday) AC_REPLACE_FUNCS(gettimeofday)
AC_LIBOBJ(dirmod) AC_LIBOBJ(dirmod)
@ -1475,6 +1475,11 @@ else
AC_SUBST(have_win32_dbghelp,no) AC_SUBST(have_win32_dbghelp,no)
fi fi
# Cygwin needs only a bit of that
if test "$PORTNAME" = "cygwin"; then
AC_LIBOBJ(dirmod)
fi
dnl Cannot use AC_CHECK_FUNC because sigsetjmp may be a macro dnl Cannot use AC_CHECK_FUNC because sigsetjmp may be a macro
dnl (especially on GNU libc) dnl (especially on GNU libc)
dnl See also comments in c.h. dnl See also comments in c.h.