Skip to content

Commit b0c3c48

Browse files
committed
Assemble portability modules into libpgport library.
Some makefile simplifications.
1 parent c3fdf89 commit b0c3c48

File tree

24 files changed

+731
-1684
lines changed

24 files changed

+731
-1684
lines changed

config/c-library.m4

Lines changed: 1 addition & 25 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.13 2002/03/30 00:59:52 petere Exp $
2+
# $Header: /cvsroot/pgsql/config/c-library.m4,v 1.14 2002/07/27 20:10:03 petere Exp $
33

44

55
# PGAC_VAR_INT_TIMEZONE
@@ -36,30 +36,6 @@ if test x"$pgac_cv_func_gettimeofday_1arg" = xyes ; then
3636
fi])# PGAC_FUNC_GETTIMEOFDAY_1ARG
3737

3838

39-
# PGAC_FUNC_MEMCMP
40-
# ----------------
41-
# Check if memcmp() properly handles negative bytes and returns +/-.
42-
# SunOS does not.
43-
# AC_FUNC_MEMCMP
44-
AC_DEFUN([PGAC_FUNC_MEMCMP],
45-
[AC_CACHE_CHECK(for 8-bit clean memcmp, pgac_cv_func_memcmp_clean,
46-
[AC_TRY_RUN([
47-
main()
48-
{
49-
char c0 = 0x40, c1 = 0x80, c2 = 0x81;
50-
exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
51-
}
52-
], pgac_cv_func_memcmp_clean=yes, pgac_cv_func_memcmp_clean=no,
53-
pgac_cv_func_memcmp_clean=no)])
54-
if test $pgac_cv_func_memcmp_clean = no ; then
55-
MEMCMP=memcmp.o
56-
else
57-
MEMCMP=
58-
fi
59-
AC_SUBST(MEMCMP)dnl
60-
])
61-
62-
6339
# PGAC_UNION_SEMUN
6440
# ----------------
6541
# Check if `union semun' exists. Define HAVE_UNION_SEMUN if so.

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