Commit 08596c31 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

Add configure checks for finite and isfinite


2001-04-26  Jody Goldberg <jgoldberg@home.com>

	* configure.in : Add configure checks for finite and isfinite

	* src/mathfunc.h (FINITE) : Move the #define wrapper out here.
parent a0aaf6ad
2001-04-26 Jody Goldberg <jgoldberg@home.com>
* configure.in : Add configure checks for finite and isfinite
* src/mathfunc.h (FINITE) : Move the #define wrapper out here.
* src/cell.c : prune some includes
......
2001-04-26 Jody Goldberg <jgoldberg@home.com>
* configure.in : Add configure checks for finite and isfinite
* src/mathfunc.h (FINITE) : Move the #define wrapper out here.
* src/cell.c : prune some includes
......
2001-04-26 Jody Goldberg <jgoldberg@home.com>
* configure.in : Add configure checks for finite and isfinite
* src/mathfunc.h (FINITE) : Move the #define wrapper out here.
* src/cell.c : prune some includes
......
2001-04-26 Jody Goldberg <jgoldberg@home.com>
* configure.in : Add configure checks for finite and isfinite
* src/mathfunc.h (FINITE) : Move the #define wrapper out here.
* src/cell.c : prune some includes
......
2001-04-26 Jody Goldberg <jgoldberg@home.com>
* configure.in : Add configure checks for finite and isfinite
* src/mathfunc.h (FINITE) : Move the #define wrapper out here.
* src/cell.c : prune some includes
......
......@@ -80,7 +80,7 @@ dnl
AC_CHECK_HEADERS(ieeefp.h)
dnl Check for some functions
AC_CHECK_FUNCS(random drand48)
AC_CHECK_FUNCS(random drand48 finite isfinite)
dnl check for complete locale implementation
AC_CHECK_HEADERS(langinfo.h)
......
......@@ -94,9 +94,10 @@ void colrow_set_visibility_list (Sheet *sheet, gboolean is_col,
ColRowVisList *list);
/* Misc */
#define colrow_max(is_cols) ((is_cols) ? SHEET_MAX_COLS : SHEET_MAX_ROWS)
int colrow_find_adjacent_visible (Sheet *sheet, gboolean const is_col,
int const index, gboolean forward);
void rows_height_update (Sheet *sheet, Range const *range);
#define colrow_max(is_cols) ((is_cols) ? SHEET_MAX_COLS : SHEET_MAX_ROWS)
#endif /* GNUMERIC_COLROW_H */
......@@ -6,10 +6,12 @@
#include <glib.h>
#ifndef FINITE
# ifdef finite
# if defined(HAVE_FINITE)
# define FINITE finite
# elif defined(isfinite)
# elif defined(HAVE_ISFINITE)
# define FINITE isfinite
# else
# error FINITE undefined
# endif
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment