Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit25004ee

Browse files
committed
Fix more random breakage manifesting on FreeBSD.
1 parent4916f9e commit25004ee

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

‎config/c-library.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Macros that test various C library quirks
2-
# $Header: /cvsroot/pgsql/config/c-library.m4,v 1.12 2002/03/29 17:32:53 petere Exp $
2+
# $Header: /cvsroot/pgsql/config/c-library.m4,v 1.13 2002/03/30 00:59:52 petere Exp $
33

44

55
# PGAC_VAR_INT_TIMEZONE
@@ -66,7 +66,7 @@ AC_SUBST(MEMCMP)dnl
6666
# If it doesn't then one could define it as
6767
# union semun { int val; struct semid_ds *buf; unsigned short *array; }
6868
AC_DEFUN([PGAC_UNION_SEMUN],
69-
[AC_CHECK_TYPE([union semun],[],[],
69+
[AC_CHECK_TYPES([union semun],[],[],
7070
[#include <sys/types.h>
7171
#include <sys/ipc.h>
7272
#include <sys/sem.h>])])# PGAC_UNION_SEMUN

‎configure

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7455,8 +7455,7 @@ done
74557455
74567456
74577457
7458-
7459-
forac_headerin crypt.h dld.h endian.h fp_class.h getopt.h ieeefp.h pwd.h strings.h sys/ipc.h sys/pstat.h sys/select.h sys/sem.h sys/socket.h sys/shm.h sys/un.h termios.h kernel/OS.h kernel/image.h SupportDefs.h
7458+
forac_headerin crypt.h dld.h endian.h fp_class.h getopt.h ieeefp.h pwd.h sys/ipc.h sys/pstat.h sys/select.h sys/sem.h sys/socket.h sys/shm.h sys/un.h termios.h kernel/OS.h kernel/image.h SupportDefs.h
74607459
do
74617460
as_ac_Header=`echo"ac_cv_header_$ac_header"|$as_tr_sh`
74627461
ifeval"test\"\${$as_ac_Header+set}\" = set";then
@@ -7698,6 +7697,7 @@ else
76987697
cat>conftest.$ac_ext<<_ACEOF
76997698
#line$LINENO "configure"
77007699
#include "confdefs.h"
7700+
$ac_includes_default
77017701
#ifdef HAVE_NETINET_IN_H
77027702
#include <netinet/in.h>
77037703
#endif
@@ -9164,6 +9164,14 @@ rm -f conftest.$ac_objext conftest.$ac_ext
91649164
fi
91659165
echo"$as_me:$LINENO: result:$ac_cv_type_union_semun">&5
91669166
echo"${ECHO_T}$ac_cv_type_union_semun">&6
9167+
iftest$ac_cv_type_union_semun = yes;then
9168+
9169+
cat>>confdefs.h<<_ACEOF
9170+
#define HAVE_UNION_SEMUN 1
9171+
_ACEOF
9172+
9173+
9174+
fi
91679175
91689176
echo"$as_me:$LINENO: checking for struct sockaddr_un">&5
91699177
echo$ECHO_N"checking for struct sockaddr_un...$ECHO_C">&6

‎configure.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
dnl $Header: /cvsroot/pgsql/configure.in,v 1.172 2002/03/30 00:20:15 petere Exp $
2+
dnl $Header: /cvsroot/pgsql/configure.in,v 1.173 2002/03/30 00:59:52 petere Exp $
33

44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -759,7 +759,8 @@ AC_CHECK_HEADERS([crypt.h dld.h endian.h fp_class.h getopt.h ieeefp.h pwd.h sys/
759759
# netinet/in.h is included first.
760760
AC_CHECK_HEADERS([netinet/in.h])
761761
AC_CHECK_HEADERS([netinet/tcp.h], [], [],
762-
[#ifdef HAVE_NETINET_IN_H
762+
[AC_INCLUDES_DEFAULT
763+
#ifdef HAVE_NETINET_IN_H
763764
#include <netinet/in.h>
764765
#endif
765766
])

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp