Commit a587be9f authored by serg@serg.mylan's avatar serg@serg.mylan

hpux-friendly isinf-detection

small cleanup
parent d007a9d6
...@@ -1824,29 +1824,32 @@ AC_TYPE_SIGNAL ...@@ -1824,29 +1824,32 @@ AC_TYPE_SIGNAL
MYSQL_TYPE_QSORT MYSQL_TYPE_QSORT
AC_FUNC_UTIME_NULL AC_FUNC_UTIME_NULL
AC_FUNC_VPRINTF AC_FUNC_VPRINTF
AC_CHECK_FUNCS(alarm bmove \
chsize ftruncate rint finite isnan fpsetmask fpresetsticky\ AC_CHECK_FUNCS(alarm bcmp bfill bmove bzero chsize cuserid fchmod fcntl \
cuserid fcntl fconvert poll \ fconvert fdatasync finite fpresetsticky fpsetmask fsync ftruncate \
getrusage getpwuid getcwd getrlimit getwd index stpcpy locking longjmp \ getcwd gethostbyaddr_r gethostbyname_r getpass getpassphrase getpwnam \
perror pread realpath readlink rename \ getpwuid getrlimit getrusage getwd gmtime_r index initgroups isnan \
socket strnlen madvise mallinfo mkstemp \ localtime_r locking longjmp lrand48 madvise mallinfo memcpy memmove \
strtol strtoul strtoll strtoull snprintf tempnam thr_setconcurrency \ mkstemp mlockall perror poll pread pthread_attr_create \
gethostbyaddr_r gethostbyname_r getpwnam \ pthread_attr_getstacksize pthread_attr_setprio pthread_attr_setschedparam \
bfill bzero bcmp strstr strpbrk strerror \ pthread_attr_setstacksize pthread_condattr_create pthread_getsequence_np \
tell isinf memcpy memmove \ pthread_key_delete pthread_rwlock_rdlock pthread_setprio \
setupterm strcasecmp sighold vidattr lrand48 localtime_r gmtime_r \ pthread_setprio_np pthread_setschedparam pthread_sigmask readlink \
sigset sigthreadmask pthread_sigmask pthread_setprio pthread_setprio_np \ realpath rename rint rwlock_init setupterm sighold sigset sigthreadmask \
pthread_setschedparam pthread_attr_setprio pthread_attr_setschedparam \ snprintf socket stpcpy strcasecmp strerror strnlen strpbrk strstr strtol \
pthread_attr_create pthread_getsequence_np pthread_attr_setstacksize \ strtoll strtoul strtoull tell tempnam thr_setconcurrency vidattr)
pthread_attr_getstacksize pthread_key_delete \
pthread_condattr_create rwlock_init pthread_rwlock_rdlock \ # isinf() could be a function or a macro (HPUX)
fsync fdatasync fchmod getpass getpassphrase initgroups mlockall) AC_MSG_CHECKING(for isinf with <math.h>)
AC_TRY_LINK([#include <math.h>], [float f = 0.0; isinf(f)],
AC_MSG_RESULT(yes) AC_DEFINE(HAVE_ISINF,,[isinf() macro or function]),
AC_MSG_RESULT(no))
CFLAGS="$ORG_CFLAGS" CFLAGS="$ORG_CFLAGS"
# Sanity check: We chould not have any fseeko symbol unless # Sanity check: We chould not have any fseeko symbol unless
# large_file_support=yes # large_file_support=yes
AC_CHECK_FUNCS(fseeko, AC_CHECK_FUNC(fseeko,
[if test "$large_file_support" = no -a "$IS_LINUX" = "true"; [if test "$large_file_support" = no -a "$IS_LINUX" = "true";
then then
AC_MSG_ERROR("Found fseeko symbol but large_file_support is not enabled!"); AC_MSG_ERROR("Found fseeko symbol but large_file_support is not enabled!");
......
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