Changeset 1951
- Timestamp:
- Nov 14, 2007, 12:55:01 AM (13 years ago)
- Location:
- libcaca/trunk
- Files:
-
- 2 added
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/Makefile.am
r1878 r1951 1 1 # $Id$ 2 2 3 SUBDIRS = kernel cucul caca src test tools cxx doc3 SUBDIRS = kernel cucul caca src test tools cxx ruby doc 4 4 DIST_SUBDIRS = $(SUBDIRS) msvc 5 5 -
libcaca/trunk/configure.ac
r1912 r1951 63 63 AC_ARG_ENABLE(cxx, 64 64 [ --enable-cxx C++ bindings (default disabled)]) 65 AC_ARG_ENABLE(ruby, 66 [ --enable-ruby Ruby bindings (default disabled)]) 65 67 66 68 dnl example programs features … … 318 320 AM_CONDITIONAL(USE_CXX, test "${ac_cv_my_have_cxx}" = "yes") 319 321 322 # Build the Ruby bindings? 323 ac_cv_my_have_ruby="no" 324 if test "${enable_ruby}" = "yes"; then 325 AC_PATH_PROG(RUBY, ruby, no) 326 if test "${RUBY}" != "no"; then 327 AC_MSG_CHECKING(for mkmf.rb) 328 if "${RUBY}" -e 'require "mkmf"' >/dev/null 2>&1; then 329 AC_MSG_RESULT(yes) 330 ac_cv_my_have_ruby="yes" 331 else 332 AC_MSG_RESULT(no) 333 fi 334 fi 335 fi 336 AM_CONDITIONAL(USE_RUBY, test "${ac_cv_my_have_ruby}" = "yes") 337 320 338 # Build cacaserver? 321 339 ac_cv_my_have_network="no" … … 379 397 tools/Makefile 380 398 cxx/Makefile 399 ruby/Makefile 381 400 doc/Makefile 382 401 msvc/Makefile
Note: See TracChangeset
for help on using the changeset viewer.