Unified · Split
| @@ -156,6 +156,10 @@ else · 155 unmodified lines | |||
| 156 | 156 | ||
| 157 | )# AC_C_FIND_ENDIAN | 157 | )# AC_C_FIND_ENDIAN |
| 158 | 158 | ||
| 159 | |||
| 160 | |||
| 161 | |||
| 162 | |||
| 159 | dnl @synopsis AC_C99_FUNC_LRINT | 163 | dnl @synopsis AC_C99_FUNC_LRINT |
| 160 | dnl | 164 | dnl |
| 161 | dnl Check whether C99's lrint function is available. | 165 | dnl Check whether C99's lrint function is available. |
| @@ -192,6 +196,11 @@ if test "$ac_cv_c99_lrint" = yes; then · 30 unmodified lines | |||
| 192 | [Define if you have C99's lrint function.]) | 196 | [Define if you have C99's lrint function.]) |
| 193 | fi | 197 | fi |
| 194 | ])# AC_C99_FUNC_LRINT | 198 | ])# AC_C99_FUNC_LRINT |
| 199 | |||
| 200 | |||
| 201 | |||
| 202 | |||
| 203 | |||
| 195 | dnl @synopsis AC_C99_FUNC_LRINTF | 204 | dnl @synopsis AC_C99_FUNC_LRINTF |
| 196 | dnl | 205 | dnl |
| 197 | dnl Check whether C99's lrintf function is available. | 206 | dnl Check whether C99's lrintf function is available. |
| @@ -204,6 +213,7 @@ dnl and this permission notice appear in all copies. No representations are · 6 unmodified lines | |||
| 204 | dnl made about the suitability of this software for any purpose. It is | 213 | dnl made about the suitability of this software for any purpose. It is |
| 205 | dnl provided "as is" without express or implied warranty. | 214 | dnl provided "as is" without express or implied warranty. |
| 206 | dnl | 215 | dnl |
| 216 | |||
| 207 | AC_DEFUN([AC_C99_FUNC_LRINTF], | 217 | AC_DEFUN([AC_C99_FUNC_LRINTF], |
| 208 | [AC_CACHE_CHECK(for lrintf, | 218 | [AC_CACHE_CHECK(for lrintf, |
| 209 | ac_cv_c99_lrintf, | 219 | ac_cv_c99_lrintf, |
| @@ -228,6 +238,11 @@ if test "$ac_cv_c99_lrintf" = yes; then · 18 unmodified lines | |||
| 228 | [Define if you have C99's lrintf function.]) | 238 | [Define if you have C99's lrintf function.]) |
| 229 | fi | 239 | fi |
| 230 | ])# AC_C99_FUNC_LRINTF | 240 | ])# AC_C99_FUNC_LRINTF |
| 241 | |||
| 242 | |||
| 243 | |||
| 244 | |||
| 245 | |||
| 231 | dnl @synopsis AC_C99_FUNC_LLRINT | 246 | dnl @synopsis AC_C99_FUNC_LLRINT |
| 232 | dnl | 247 | dnl |
| 233 | dnl Check whether C99's llrint function is available. | 248 | dnl Check whether C99's llrint function is available. |
| @@ -268,6 +283,8 @@ fi · 34 unmodified lines | |||
| 268 | 283 | ||
| 269 | 284 | ||
| 270 | 285 | ||
| 286 | |||
| 287 | |||
| 271 | dnl @synopsis AC_C_CLIP_MODE | 288 | dnl @synopsis AC_C_CLIP_MODE |
| 272 | dnl | 289 | dnl |
| 273 | dnl Determine the clipping mode when converting float to int. | 290 | dnl Determine the clipping mode when converting float to int. |
| @@ -280,8 +297,6 @@ dnl and this permission notice appear in all copies. No representations are · 6 unmodified lines | |||
| 280 | dnl made about the suitability of this software for any purpose. It is | 297 | dnl made about the suitability of this software for any purpose. It is |
| 281 | dnl provided "as is" without express or implied warranty. | 298 | dnl provided "as is" without express or implied warranty. |
| 282 | 299 | ||
| 283 | |||
| 284 | |||
| 285 | dnl Find the clipping mode in the following way: | 300 | dnl Find the clipping mode in the following way: |
| 286 | dnl 1) If we are not cross compiling test it. | 301 | dnl 1) If we are not cross compiling test it. |
| 287 | dnl 2) IF we are cross compiling, assume that clipping isn't done correctly. | 302 | dnl 2) IF we are cross compiling, assume that clipping isn't done correctly. |
| @@ -390,13 +405,30 @@ case "$ac_cv_c_clip_positive$ac_cv_c_clip_negative" in · 102 unmodified lines | |||
| 390 | 405 | ||
| 391 | 406 | ||
| 392 | 407 | ||
| 393 | ifelse(dnl | ||
| 394 | 408 | ||
| 395 | Do not edit or modify anything in this comment block. | 409 | dnl @synopsis AC_CHECK_SIGNAL(SIGNAME) |
| 396 | The arch-tag line is a file identity tag for the GNU Arch | 410 | dnl |
| 397 | revision control system. | 411 | dnl |
| 412 | dnl @category C | ||
| 413 | dnl @author Erik de Castro Lopo <erikd AT mega-nerd DOT com> | ||
| 414 | dnl @version 1.0 Jul 07 2007 | ||
| 415 | |||
| 416 | AC_DEFUN([AC_CHECK_SIGNAL], | ||
| 417 | [AC_CACHE_CHECK(for $1, | ||
| 418 | ac_cv_signal_$1, | ||
| 419 | [ | ||
| 420 | AC_TRY_LINK([ | ||
| 421 | #include <signal.h> | ||
| 422 | |||
| 423 | ], signal($1, SIG_DFL) ;, ac_cv_signal_$1=yes, ac_cv_signal_$1=no) | ||
| 424 | |||
| 425 | ]) | ||
| 398 | 426 | ||
| 399 | arch-tag: 6db7c287-8971-4074-a193-468446194fd0 | 427 | if test "$ac_cv_signal_$1" = yes; then |
| 428 | AC_DEFINE(HAVE_$1, 1, | ||
| 429 | [Define if you have signal $1.]) | ||
| 430 | fi | ||
| 431 | ])# AC_CHECK_SIGNAL | ||
| 400 | 432 | ||
| 401 | )dnl | ||
| 402 | 433 | ||
| 434 | ## AC_CHECK_SIGNALS | ||