Changeset 3139
- Timestamp:
- Oct 29, 2008, 8:10:20 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/configure.ac
r3045 r3139 112 112 GETOPT_LIBS="${GETOPT_LIBS} -lgnugetopt"])]) 113 113 if test "$ac_cv_have_getopt_long" != "no"; then 114 AC_DEFINE(HAVE_GETOPT_LONG, 1, Define to 1 if you have the `getopt_long'function.)114 AC_DEFINE(HAVE_GETOPT_LONG, 1, Define to 1 if you have the ‘getopt_long’ function.) 115 115 fi 116 116 AM_CONDITIONAL(NEED_GETOPT_LONG, test "$ac_cv_have_getopt_long" = "no") … … 120 120 AC_TRY_COMPILE([#include <windows.h>],[Sleep(42);], 121 121 [AC_MSG_RESULT(yes) 122 AC_DEFINE(HAVE_SLEEP, 1, [Define to 1 if you have the `Sleep'function.])],122 AC_DEFINE(HAVE_SLEEP, 1, [Define to 1 if you have the ‘Sleep’ function.])], 123 123 [AC_MSG_RESULT(no)]) 124 124 125 125 AC_MSG_CHECKING(for fsin/fcos) 126 AC_TRY_COMPILE([],[double x; asm volatile("fsin \n\tfcos":"=t"(x):);],126 AC_TRY_COMPILE([],[double x; asm volatile("fsin; fcos":"=t"(x):);], 127 127 [AC_MSG_RESULT(yes) 128 AC_DEFINE(HAVE_FSIN_FCOS, 1, [Define to 1 if you have the `fsin' and `fcos'instructions.])],128 AC_DEFINE(HAVE_FSIN_FCOS, 1, [Define to 1 if you have the ‘fsin’ and ‘fcos’ instructions.])], 129 129 [AC_MSG_RESULT(no)]) 130 130 … … 132 132 AC_TRY_COMPILE([],[double x; asm volatile("fldln2; fldln2; fxch; fyl2x":"=t"(x):);], 133 133 [AC_MSG_RESULT(yes) 134 AC_DEFINE(HAVE_FLDLN2, 1, [Define to 1 if you have the `fldln2'and other floating point instructions.])],134 AC_DEFINE(HAVE_FLDLN2, 1, [Define to 1 if you have the ‘fldln2’ and other floating point instructions.])], 135 135 [AC_MSG_RESULT(no)]) 136 136 … … 182 182 AC_DEFINE(USE_SLANG, 1, Define to 1 to activate the slang backend driver) 183 183 AC_CHECK_LIB(slang, SLsmg_utf8_enable, 184 [AC_DEFINE(HAVE_SLSMG_UTF8_ENABLE, 1, Define to 1 if you have the `SLsmg_utf8_enable'function.)])184 [AC_DEFINE(HAVE_SLSMG_UTF8_ENABLE, 1, Define to 1 if you have the ‘SLsmg_utf8_enable’ function.)]) 185 185 CPPFLAGS="${CPPFLAGS} -DOPTIMISE_SLANG_PALETTE=1" 186 186 CACA_LIBS="${CACA_LIBS} -lslang" … … 215 215 [AC_CHECK_HEADERS(GL/glut.h, 216 216 [AC_CHECK_LIB(glut, glutCloseFunc, 217 [AC_DEFINE(HAVE_GLUTCLOSEFUNC, 1, Define to 1 if you have the `glutCloseFunc'function.)])217 [AC_DEFINE(HAVE_GLUTCLOSEFUNC, 1, Define to 1 if you have the ‘glutCloseFunc’ function.)]) 218 218 AC_CHECK_LIB(glut, glutMainLoopEvent, 219 219 [ac_cv_my_have_gl="yes"]) 220 220 AC_CHECK_LIB(glut, glutCheckLoop, 221 221 [ac_cv_my_have_gl="yes" 222 AC_DEFINE(HAVE_GLUTCHECKLOOP, 1, Define to 1 if you have the `glutCheckLoop'function.)])])222 AC_DEFINE(HAVE_GLUTCHECKLOOP, 1, Define to 1 if you have the ‘glutCheckLoop’ function.)])]) 223 223 break]) 224 224 if test "${ac_cv_my_have_gl}" = "yes"; then
Note: See TracChangeset
for help on using the changeset viewer.