~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/misc.m4

  • Committer: Brian Aker
  • Date: 2008-10-06 03:55:31 UTC
  • mto: This revision was merged to the branch mainline in revision 479.
  • Revision ID: brian@gir.tangent.org-20081006035531-ade3cc3kfwutd35g
uint cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
474
474
 
475
475
AC_DEFUN([DRIZZLE_CHECK_LONGLONG_TO_FLOAT],
476
476
[
477
 
AC_MSG_CHECKING(if conversion of int64_t to float works)
 
477
AC_MSG_CHECKING(if conversion of longlong to float works)
478
478
AC_CACHE_VAL(ac_cv_conv_longlong_to_float,
479
479
[AC_TRY_RUN([#include <stdio.h>
480
 
#include <stdint.h>
 
480
typedef long long longlong;
481
481
int main()
482
482
{
483
 
  int64_t ll=1;
 
483
  longlong ll=1;
484
484
  float f;
485
485
  FILE *file=fopen("conftestval", "w");
486
486
  f = (float) ll;