diff -Naur htop-1.0.2/configure htop-1.0.2-haiku/configure
|
old
|
new
|
|
| 11388 | 11388 | |
| 11389 | 11389 | |
| 11390 | 11390 | # Checks for libraries. |
| 11391 | | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5 |
| 11392 | | $as_echo_n "checking for ceil in -lm... " >&6; } |
| | 11391 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in $LIBM" >&5 |
| | 11392 | $as_echo_n "checking for ceil in $LIBM... " >&6; } |
| 11393 | 11393 | if test "${ac_cv_lib_m_ceil+set}" = set; then : |
| 11394 | 11394 | $as_echo_n "(cached) " >&6 |
| 11395 | 11395 | else |
| 11396 | 11396 | ac_check_lib_save_LIBS=$LIBS |
| 11397 | | LIBS="-lm $LIBS" |
| | 11397 | LIBS="$LIBM $LIBS" |
| 11398 | 11398 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11399 | 11399 | /* end confdefs.h. */ |
| 11400 | 11400 | |
| … |
… |
|
| 11429 | 11429 | #define HAVE_LIBM 1 |
| 11430 | 11430 | _ACEOF |
| 11431 | 11431 | |
| 11432 | | LIBS="-lm $LIBS" |
| | 11432 | LIBS="$LIBM $LIBS" |
| 11433 | 11433 | |
| 11434 | 11434 | else |
| 11435 | 11435 | missing_libraries="$missing_libraries libm" |
diff -Naur htop-1.0.2/configure.ac htop-1.0.2-haiku/configure.ac
|
old
|
new
|
|
| | 1 | |
| | 2 | |
| 1 | 3 | # -*- Autoconf -*- |
| 2 | 4 | # Process this file with autoconf to produce a configure script. |
| 3 | 5 | |
| … |
… |
|
| 22 | 24 | AC_PROG_LIBTOOL |
| 23 | 25 | |
| 24 | 26 | # Checks for libraries. |
| 25 | | AC_CHECK_LIB([m], [ceil], [], [missing_libraries="$missing_libraries libm"]) |
| | 27 | AC_CHECK_LIB(m, cos, LIBM="$LIBM") |
| 26 | 28 | |
| 27 | 29 | # Checks for header files. |
| 28 | 30 | AC_HEADER_DIRENT |