Unified · Split
| @@ -156,6 +156,10 @@ else · 155 unmodified lines | ||
| 156 | 156 | |
| 157 | 157 | )# AC_C_FIND_ENDIAN |
| 158 | 158 | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 159 | 163 | dnl @synopsis AC_C99_FUNC_LRINT |
| 160 | 164 | dnl |
| 161 | 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 | 196 | [Define if you have C99's lrint function.]) |
| 193 | 197 | fi |
| 194 | 198 | ])# AC_C99_FUNC_LRINT |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 195 | 204 | dnl @synopsis AC_C99_FUNC_LRINTF |
| 196 | 205 | dnl |
| 197 | 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 | 213 | dnl made about the suitability of this software for any purpose. It is |
| 205 | 214 | dnl provided "as is" without express or implied warranty. |
| 206 | 215 | dnl |
| 216 | + | |
| 207 | 217 | AC_DEFUN([AC_C99_FUNC_LRINTF], |
| 208 | 218 | [AC_CACHE_CHECK(for lrintf, |
| 209 | 219 | ac_cv_c99_lrintf, |
| @@ -228,6 +238,11 @@ if test "$ac_cv_c99_lrintf" = yes; then · 18 unmodified lines | ||
| 228 | 238 | [Define if you have C99's lrintf function.]) |
| 229 | 239 | fi |
| 230 | 240 | ])# AC_C99_FUNC_LRINTF |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 231 | 246 | dnl @synopsis AC_C99_FUNC_LLRINT |
| 232 | 247 | dnl |
| 233 | 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 | 288 | dnl @synopsis AC_C_CLIP_MODE |
| 272 | 289 | dnl |
| 273 | 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 | 297 | dnl made about the suitability of this software for any purpose. It is |
| 281 | 298 | dnl provided "as is" without express or implied warranty. |
| 282 | 299 | |
| 283 | − | |
| 284 | − | |
| 285 | 300 | dnl Find the clipping mode in the following way: |
| 286 | 301 | dnl 1) If we are not cross compiling test it. |
| 287 | 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. | |
| 396 | − The arch-tag line is a file identity tag for the GNU Arch | |
| 397 | − revision control system. | |
| 409 | +dnl @synopsis AC_CHECK_SIGNAL(SIGNAME) | |
| 410 | +dnl | |
| 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 | |