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

Commite854bc4

Browse files
committed
Do PGAC_FUNC_GETPWUID_R_5ARG and PGAC_FUNC_STRERROR_R_INT tests with the
same thread flags that will be used to compile thread.c. Add comment tomake sure no one breaks it.
1 parentd70a42e commite854bc4

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

‎configure

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13697,9 +13697,8 @@ _ACEOF
1369713697
fi
1369813698
done
1369913699

13700-
CFLAGS="$_CFLAGS"
13701-
LIBS="$_LIBS"
1370213700

13701+
# Do test here with thread flags
1370313702
echo "$as_me:$LINENO: checking whether getpwuid_r takes a fifth argument" >&5
1370413703
echo $ECHO_N "checking whether getpwuid_r takes a fifth argument... $ECHO_C" >&6
1370513704
if test "${pgac_func_getpwuid_r_5arg+set}" = set; then
@@ -13813,6 +13812,9 @@ _ACEOF
1381313812
fi
1381413813

1381513814

13815+
CFLAGS="$_CFLAGS"
13816+
LIBS="$_LIBS"
13817+
1381613818
else
1381713819
# do not use values from template file
1381813820
PTHREAD_CFLAGS=

‎configure.in

Lines changed: 5 additions & 3 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 $PostgreSQL: pgsql/configure.in,v 1.362 2004/06/08 14:06:35 momjian Exp $
2+
dnl $PostgreSQL: pgsql/configure.in,v 1.363 2004/06/16 02:58:28 momjian Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -989,12 +989,14 @@ _LIBS="$LIBS"
989989
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
990990
LIBS="$LIBS $PTHREAD_LIBS"
991991
AC_CHECK_FUNCS([strerror_r getpwuid_r gethostbyname_r])
992-
CFLAGS="$_CFLAGS"
993-
LIBS="$_LIBS"
994992

993+
# Do test here with thread flags
995994
PGAC_FUNC_GETPWUID_R_5ARG
996995
PGAC_FUNC_STRERROR_R_INT
997996

997+
CFLAGS="$_CFLAGS"
998+
LIBS="$_LIBS"
999+
9981000
else
9991001
# do not use values from template file
10001002
PTHREAD_CFLAGS=

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp