comparison configure @ 23746:0a01af86f76b

Remove unused test for round().
author diego
date Wed, 11 Jul 2007 10:53:42 +0000
parents 8367932d118e
children f7b424ecf3f9
comparison
equal deleted inserted replaced
23745:8367932d118e 23746:0a01af86f76b
2699 else 2699 else
2700 _def_lrintf="#undef HAVE_LRINTF" 2700 _def_lrintf="#undef HAVE_LRINTF"
2701 fi 2701 fi
2702 echores "$_lrintf" 2702 echores "$_lrintf"
2703 2703
2704 echocheck "round"
2705 cat > $TMPC << EOF
2706 #include <math.h>
2707 int main(void) { (void) round(0.0); return 0; }
2708 EOF
2709 _round=no
2710 cc_check $_ld_lm && _round=yes
2711 if test "$_round" = yes ; then
2712 _def_round="#define HAVE_ROUND 1"
2713 else
2714 _def_round="#undef HAVE_ROUND"
2715 fi
2716 echores "$_round"
2717 2704
2718 echocheck "nanosleep" 2705 echocheck "nanosleep"
2719 # also check for nanosleep 2706 # also check for nanosleep
2720 cat > $TMPC << EOF 2707 cat > $TMPC << EOF
2721 #include <time.h> 2708 #include <time.h>
8083 *---------------------------------------------------------------------------*/ 8070 *---------------------------------------------------------------------------*/
8084 8071
8085 /* C99 lrintf function available */ 8072 /* C99 lrintf function available */
8086 $_def_lrintf 8073 $_def_lrintf
8087 8074
8088 /* round function is available */
8089 $_def_round
8090
8091 /* yes, we have inttypes.h */ 8075 /* yes, we have inttypes.h */
8092 #define HAVE_INTTYPES_H 1 8076 #define HAVE_INTTYPES_H 1
8093 8077
8094 /* int_fastXY_t emulation */ 8078 /* int_fastXY_t emulation */
8095 $_def_fast_inttypes 8079 $_def_fast_inttypes