Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 837eb08

Browse files
committed
src/port/dirmod.c needs to be built on Cygwin too.
Oversight in my commit 91f4a5a. Per buildfarm member brolga.
1 parent c415c13 commit 837eb08

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

configure

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11973,7 +11973,7 @@ esac
1197311973

1197411974
fi
1197511975

11976-
# Win32 support
11976+
# Win32 (really MinGW) support
1197711977
if test "$PORTNAME" = "win32"; then
1197811978
ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
1197911979
if test "x$ac_cv_func_gettimeofday" = xyes; then :
@@ -12060,6 +12060,16 @@ else
1206012060

1206112061
fi
1206212062

12063+
# Cygwin needs only a bit of that
12064+
if test "$PORTNAME" = "cygwin"; then
12065+
case " $LIBOBJS " in
12066+
*" dirmod.$ac_objext "* ) ;;
12067+
*) LIBOBJS="$LIBOBJS dirmod.$ac_objext"
12068+
;;
12069+
esac
12070+
12071+
fi
12072+
1206312073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigsetjmp" >&5
1206412074
$as_echo_n "checking for sigsetjmp... " >&6; }
1206512075
if ${pgac_cv_func_sigsetjmp+:} false; then :

configure.in

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1451,7 +1451,7 @@ if test "$PORTNAME" = "win32"; then
14511451
AC_LIBOBJ(getopt_long)
14521452
fi
14531453

1454-
# Win32 support
1454+
# Win32 (really MinGW) support
14551455
if test "$PORTNAME" = "win32"; then
14561456
AC_REPLACE_FUNCS(gettimeofday)
14571457
AC_LIBOBJ(dirmod)
@@ -1475,6 +1475,11 @@ else
14751475
AC_SUBST(have_win32_dbghelp,no)
14761476
fi
14771477

1478+
# Cygwin needs only a bit of that
1479+
if test "$PORTNAME" = "cygwin"; then
1480+
AC_LIBOBJ(dirmod)
1481+
fi
1482+
14781483
dnl Cannot use AC_CHECK_FUNC because sigsetjmp may be a macro
14791484
dnl (especially on GNU libc)
14801485
dnl See also comments in c.h.

0 commit comments

Comments
 (0)