Changeset 3162 for libpipi/trunk
- Timestamp:
- Oct 31, 2008, 1:21:38 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpipi/trunk/configure.ac
r3147 r3162 55 55 fi 56 56 AC_SUBST(LT_SUFFIX) 57 58 dnl language bindings 59 AC_ARG_ENABLE(csharp, 60 [ --enable-csharp C# bindings (autodetected)]) 61 62 dnl conditional builds 63 AC_ARG_ENABLE(debug, 64 [ --enable-debug build debug versions of the library (default no)]) 65 AC_ARG_ENABLE(tiles, 66 [ --enable-tiles experimental tiles support (default no)]) 57 67 58 68 AC_CHECK_HEADERS(stdio.h stdarg.h inttypes.h endian.h stdint.h getopt.h) … … 198 208 fi 199 209 210 if test "${enable_debug}" = "yes"; then 211 AC_DEFINE(DEBUG, 1, Define to 1 to activate debug) 212 fi 213 214 if test "${enable_tiles}" = "yes"; then 215 AC_DEFINE(USE_TILES, 1, Define to 1 to activate experimental tiles) 216 fi 217 200 218 AC_SUBST(MATH_LIBS) 201 219 202 # Build pipi-sharp? 203 AC_PATH_PROG(GMCS, gmcs, no) 204 AC_PATH_PROG(GACUTIL, gacutil, no) 205 AM_CONDITIONAL(USE_CSHARP, test "${GMCS}" != "no" -a "${GACUTIL}" != "no") 220 # Build the .NET bindings? 221 ac_cv_my_have_csharp="no" 222 if test "${enable_csharp}" != "no"; then 223 AC_PATH_PROG(GMCS, gmcs, no) 224 AC_PATH_PROG(GACUTIL, gacutil, no) 225 if test "${GMCS}" != "no" -a "${GACUTIL}" != "no"; then 226 ac_cv_my_have_csharp="yes" 227 fi 228 fi 229 AM_CONDITIONAL(USE_CSHARP, test "${ac_cv_my_have_csharp}" = "yes") 206 230 207 231 # Build The Pimp? 208 ac_cv_my_have_gtksharp= yes232 ac_cv_my_have_gtksharp="${ac_cv_my_have_csharp}" 209 233 PKG_CHECK_MODULES([GLIB_SHARP_20], [glib-sharp-2.0], [:], [ac_cv_my_have_gtksharp=no]) 210 234 PKG_CHECK_MODULES([GTK_SHARP_20], [gtk-sharp-2.0], [:], [ac_cv_my_have_gtksharp=no])
Note: See TracChangeset
for help on using the changeset viewer.