diff -Naur xut/configure xut-haiku/configure
|
old
|
new
|
|
| 5983 | 5983 | fi |
| 5984 | 5984 | |
| 5985 | 5985 | # Math |
| 5986 | | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 |
| 5987 | | $as_echo_n "checking for main in -lm... " >&6; } |
| | 5986 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lroot" >&5 |
| | 5987 | $as_echo_n "checking for main in -lroot... " >&6; } |
| 5988 | 5988 | if test "${ac_cv_lib_m_main+set}" = set; then : |
| 5989 | 5989 | $as_echo_n "(cached) " >&6 |
| 5990 | 5990 | else |
| 5991 | 5991 | ac_check_lib_save_LIBS=$LIBS |
| 5992 | | LIBS="-lm $LIBS" |
| | 5992 | LIBS="$LIBS" |
| 5993 | 5993 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5994 | 5994 | /* end confdefs.h. */ |
| 5995 | 5995 | |
| … |
… |
|
| 6018 | 6018 | #define HAVE_LIBM 1 |
| 6019 | 6019 | _ACEOF |
| 6020 | 6020 | |
| 6021 | | LIBS="-lm $LIBS" |
| | 6021 | LIBS="$LIBS" |
| 6022 | 6022 | |
| 6023 | 6023 | else |
| 6024 | 6024 | as_fn_error "Couldn't find math lib. Something is wrong with your C/C++ distribution" "$LINENO" 5 |
diff -Naur xut/configure.in xut-haiku/configure.in
|
old
|
new
|
|
| 68 | 68 | AC_CHECK_LIB([SDL_image], [main], [], [AC_MSG_ERROR(Couldn't find SDL_image. Please go to http://www.libsdl.org/projects/SDL_image and get it!)]) |
| 69 | 69 | AC_CHECK_LIB([SDL_ttf], [main], [], [AC_MSG_ERROR(Couldn't find SDL_ttf. Please go to http://www.libsdl.org/projects/SDL_ttf and get it!)]) |
| 70 | 70 | # Math |
| 71 | | AC_CHECK_LIB([m], [main], [], [AC_MSG_ERROR(Couldn't find math lib. Something is wrong with your C/C++ distribution)]) |
| | 71 | AC_CHECK_LIB([root], [main], [], [AC_MSG_ERROR(Couldn't find math lib. Something is wrong with your C/C++ distribution)]) |
| 72 | 72 | # Cal3D |
| 73 | 73 | AC_CHECK_LIB([cal3d], [main], [], [AC_MSG_ERROR(Couldn't find cal3d. Go to http://home.gna.org/cal3d and get it.)]) |
| 74 | 74 | #the intl is needed on not gnu systems |