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

Commitd0634ac

Browse files
committed
configure cleanup
1 parentef9699d commitd0634ac

File tree

4 files changed

+8
-39
lines changed

4 files changed

+8
-39
lines changed

‎src/backend/port/isinf.c

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
1-
/* $Id: isinf.c,v 1.9 1999/07/17 04:00:29 momjian Exp $ */
1+
/* $Id: isinf.c,v 1.10 1999/07/18 17:38:23 momjian Exp $ */
22

33
#include<math.h>
44

55
#include"config.h"
66

7-
#ifHAVE_FPCLASS
7+
#ifdefNOT_USED
8+
89
#ifHAVE_IEEEFP_H
910
#include<ieeefp.h>
1011
#endif
12+
#ifHAVE_FP_CLASS_H
13+
#include<fp_class.h>
14+
#endif
15+
1116
int
1217
isinf(doubled)
1318
{
@@ -24,12 +29,6 @@ isinf(double d)
2429
return0;
2530
}
2631

27-
#else
28-
29-
#if defined(HAVE_FP_CLASS)|| defined(HAVE_FP_CLASS_D)
30-
#ifHAVE_FP_CLASS_H
31-
#include<fp_class.h>
32-
#endif
3332
int
3433
isinf(x)
3534
doublex;
@@ -50,19 +49,3 @@ doublex;
5049
}
5150

5251
#endif
53-
#endif
54-
55-
#if defined(HAVE_CLASS)
56-
int
57-
isinf(doublex)
58-
{
59-
intfpclass=class(x);
60-
61-
if (fpclass==FP_PLUS_INF)
62-
return1;
63-
if (fpclass==FP_MINUS_INF)
64-
return-1;
65-
return0;
66-
}
67-
68-
#endif

‎src/configure.in

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -660,17 +660,6 @@ AC_TRY_LINK([#include <fcntl.h>],
660660
[AC_DEFINE(HAVE_FCNTL_SETLK) AC_MSG_RESULT(yes)],
661661
AC_MSG_RESULT(no))
662662

663-
AC_MSG_CHECKING(for good DBL_MIN)
664-
AC_TRY_RUN([#include <stdlib.h>
665-
#include <math.h>
666-
#ifdef HAVE_FLOAT_H
667-
# include <float.h>
668-
#endif
669-
main() { double d = DBL_MIN; if (d != DBL_MIN) exit(-1); else exit(0); }],
670-
AC_MSG_RESULT(yes),
671-
[AC_DEFINE(HAVE_DBL_MIN_PROBLEM) AC_MSG_RESULT(no)],
672-
AC_MSG_RESULT(assuming ok on target machine))
673-
674663
dnl Checks for library functions.
675664
AC_FUNC_MEMCMP
676665
AC_TYPE_SIGNAL

‎src/include/config.h.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,9 +294,6 @@ extern void srandom(unsigned int seed);
294294
/* Set to 1 if you want to Enable ASSERT CHECKING */
295295
#undef USE_ASSERT_CHECKING
296296

297-
/* Set to 1 if your DBL_MIN is problematic */
298-
#undef HAVE_DBL_MIN_PROBLEM
299-
300297
/* Set to 1 if type "long int" works and is 64 bits */
301298
#undef HAVE_LONG_INT_64
302299

‎src/include/utils/ps_status.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const char **ps_status = NULL
7575
#definePS_STATUS (ps_status ? *ps_status : "")
7676
#endif
7777

78-
#ifdefDONT_HAVE_PS_STATUS
78+
#ifdefNO_PS_STATUS
7979
#definePS_DEFINE_BUFFER
8080
#definePS_INIT_STATUS(argc,argv,execname,username,hostname,dbname)
8181
#definePS_CLEAR_STATUS()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp