diff -Naur freedroidrpg-0.14.1/configure freedroidrpg-0.14.1-haiku/configure
|
old
|
new
|
|
| 4404 | 4404 | fi |
| 4405 | 4405 | |
| 4406 | 4406 | # Checks for libraries. |
| 4407 | | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 |
| 4408 | | $as_echo_n "checking for sin in -lm... " >&6; } |
| | 4407 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lroot" >&5 |
| | 4408 | $as_echo_n "checking for sin in -lroot... " >&6; } |
| 4409 | 4409 | if test "${ac_cv_lib_m_sin+set}" = set; then : |
| 4410 | 4410 | $as_echo_n "(cached) " >&6 |
| 4411 | 4411 | else |
| 4412 | 4412 | ac_check_lib_save_LIBS=$LIBS |
| 4413 | | LIBS="-lm $LIBS" |
| | 4413 | LIBS="$LIBS" |
| 4414 | 4414 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4415 | 4415 | /* end confdefs.h. */ |
| 4416 | 4416 | |
| … |
… |
|
| 4445 | 4445 | #define HAVE_LIBM 1 |
| 4446 | 4446 | _ACEOF |
| 4447 | 4447 | |
| 4448 | | LIBS="-lm $LIBS" |
| | 4448 | LIBS="$LIBS" |
| 4449 | 4449 | |
| 4450 | 4450 | else |
| 4451 | 4451 | as_fn_error "libm not found!! |
| … |
… |
|
| 6373 | 6373 | $as_echo "$ax_cv_c_compiler_ms" >&6; } |
| 6374 | 6374 | if test X$ax_compiler_ms = Xno; then |
| 6375 | 6375 | GL_CFLAGS="${PTHREAD_CFLAGS}" |
| 6376 | | GL_LIBS="${PTHREAD_LIBS} -lm" |
| | 6376 | GL_LIBS="${PTHREAD_LIBS}" |
| 6377 | 6377 | fi |
| 6378 | 6378 | |
| 6379 | 6379 | # |
| … |
… |
|
| 6412 | 6412 | CPPFLAGS="${GL_CFLAGS} ${CPPFLAGS}" |
| 6413 | 6413 | ax_save_LIBS="${LIBS}" |
| 6414 | 6414 | LIBS="" |
| 6415 | | ax_check_libs="-lopengl32 -lGL" |
| | 6415 | ax_check_libs="-lGL" |
| 6416 | 6416 | for ax_lib in ${ax_check_libs}; do |
| 6417 | 6417 | if test X$ax_compiler_ms = Xyes; then |
| 6418 | 6418 | ax_try_lib=`echo $ax_lib | sed -e 's/^-l//' -e 's/$/.lib/'` |