Skip to content

Commit 8008959

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 d1e9214 commit 8008959

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
@@ -12067,7 +12067,7 @@ esac
1206712067

1206812068
fi
1206912069

12070-
# Win32 support
12070+
# Win32 (really MinGW) support
1207112071
if test "$PORTNAME" = "win32"; then
1207212072
ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
1207312073
if test "x$ac_cv_func_gettimeofday" = xyes; then :
@@ -12154,6 +12154,16 @@ else
1215412154

1215512155
fi
1215612156

12157+
# Cygwin needs only a bit of that
12158+
if test "$PORTNAME" = "cygwin"; then
12159+
case " $LIBOBJS " in
12160+
*" dirmod.$ac_objext "* ) ;;
12161+
*) LIBOBJS="$LIBOBJS dirmod.$ac_objext"
12162+
;;
12163+
esac
12164+
12165+
fi
12166+
1215712167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigsetjmp" >&5
1215812168
$as_echo_n "checking for sigsetjmp... " >&6; }
1215912169
if ${pgac_cv_func_sigsetjmp+:} false; then :

configure.in

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

1439-
# Win32 support
1439+
# Win32 (really MinGW) support
14401440
if test "$PORTNAME" = "win32"; then
14411441
AC_REPLACE_FUNCS(gettimeofday)
14421442
AC_LIBOBJ(dirmod)
@@ -1460,6 +1460,11 @@ else
14601460
AC_SUBST(have_win32_dbghelp,no)
14611461
fi
14621462

1463+
# Cygwin needs only a bit of that
1464+
if test "$PORTNAME" = "cygwin"; then
1465+
AC_LIBOBJ(dirmod)
1466+
fi
1467+
14631468
dnl Cannot use AC_CHECK_FUNC because sigsetjmp may be a macro
14641469
dnl (especially on GNU libc)
14651470
dnl See also comments in c.h.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy