diff options
| author | Tom Lane | 2015-03-14 18:08:45 +0000 |
|---|---|---|
| committer | Tom Lane | 2015-03-14 18:08:45 +0000 |
| commit | 91f4a5a976500517e492320e389342d7436cf9d4 (patch) | |
| tree | 30c1c43406ad158548a884eaa173417b218990c8 /configure | |
| parent | df9ebf1eeaf98481e00cd77bf6056d42310731b7 (diff) | |
Build src/port/dirmod.c only on Windows.
Since commit ba7c5975adea74c6f17bdb0e0427ad85962092a2, port/dirmod.c
has contained only Windows-specific functions. Most platforms don't
seem to mind uselessly building an empty file, but OS X for one issues
warnings. Hence, treat dirmod.c as a Windows-specific file selected
by configure rather than one that's always built. We can revert this
change if dirmod.c ever gains any non-Windows functionality again.
Back-patch to 9.4 where the mentioned commit appeared.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure index fa271fe4ebe..ddbda1cddf6 100755 --- a/configure +++ b/configure @@ -12084,6 +12084,12 @@ fi case " $LIBOBJS " in + *" dirmod.$ac_objext "* ) ;; + *) LIBOBJS="$LIBOBJS dirmod.$ac_objext" + ;; +esac + + case " $LIBOBJS " in *" kill.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS kill.$ac_objext" ;; |
