Changeset 3147
- Timestamp:
- Oct 30, 2008, 2:02:48 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpipi/trunk/configure.ac
r3075 r3147 65 65 GETOPT_LIBS="${GETOPT_LIBS} -lgnugetopt"])]) 66 66 if test "$ac_cv_have_getopt_long" != "no"; then 67 AC_DEFINE(HAVE_GETOPT_LONG, 1, Define to 1 if you have the `getopt_long'function.)67 AC_DEFINE(HAVE_GETOPT_LONG, 1, Define to 1 if you have the ‘getopt_long’ function.) 68 68 fi 69 69 AM_CONDITIONAL(NEED_GETOPT_LONG, test "$ac_cv_have_getopt_long" = "no") … … 90 90 CFLAGS="${CFLAGS} -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare" 91 91 92 93 92 AC_CHECK_LIB(m, sin, MATH_LIBS="${MATH_LIBS} -lm") 94 95 # Use DevIL?96 #AC_CHECK_HEADERS(IL/il.h,97 # [ac_cv_my_have_il="yes"],98 # [ac_cv_my_have_il="no"])99 #CPPFLAGS="${save_CPPFLAGS}"100 #AM_CONDITIONAL(USE_IL, test "${ac_cv_my_have_il}" = "yes")101 102 # Use Windows?103 #AC_CHECK_HEADERS(olectl.h,104 # [ac_cv_my_have_ole="yes"],105 # [ac_cv_my_have_ole="no"])106 #CPPFLAGS="${save_CPPFLAGS}"107 #AM_CONDITIONAL(USE_OLE, test "${ac_cv_my_have_ole}" = "yes")108 93 109 94 # Use SDL? … … 209 194 fi 210 195 211 212 213 if test "${ac_cv_my_have_il}" = "no" -a "${ac_cv_my_have_ole}" = "no" -a "${ac_cv_my_have_sdl}" = "no" -a "${ac_cv_my_have_imlib2}" = "no" -a "${ac_cv_my_have_opencv}" = "no" -a "${ac_cv_my_have_cocoa}" = "no" -a "${ac_cv_my_have_modular}" = "no"; then 214 AC_MSG_ERROR([[cannot find DevIL, OLE, SDL_Image, Imlib2, Cocoa, or OpenCV, please install one of them]]) 196 if test "${ac_cv_my_have_sdl}" = "no" -a "${ac_cv_my_have_imlib2}" = "no" -a "${ac_cv_my_have_opencv}" = "no" -a "${ac_cv_my_have_cocoa}" = "no" -a "${ac_cv_my_have_modular}" = "no"; then 197 AC_MSG_ERROR([[cannot find GDI+, SDL_Image, Imlib2, Cocoa or OpenCV, please install one of them]]) 215 198 fi 216 199
Note: See TracChangeset
for help on using the changeset viewer.