From: <z-...@us...> - 2007-11-12 19:58:10
|
Revision: 7383 http://armagetronad.svn.sourceforge.net/armagetronad/?rev=7383&view=rev Author: z-man Date: 2007-11-12 11:58:12 -0800 (Mon, 12 Nov 2007) Log Message: ----------- adapted to the possibility that no libruby.a exists and libruby1.8.a needs to be used instead (cheers Ubuntu). Modified Paths: -------------- armagetronad/trunk/armagetronad/configure.ac Modified: armagetronad/trunk/armagetronad/configure.ac =================================================================== --- armagetronad/trunk/armagetronad/configure.ac 2007-11-12 19:47:33 UTC (rev 7382) +++ armagetronad/trunk/armagetronad/configure.ac 2007-11-12 19:58:12 UTC (rev 7383) @@ -838,7 +838,7 @@ if test ${RUBY} = no || test -z ${RUBY}; then AC_MSG_ERROR([Ruby 1.8 is required for compilation.]) else - AC_CHECK_LIB(ruby,ruby_run, + AC_SEARCH_LIBS(ruby_run,ruby ruby1.8 ruby1.9, AC_DEFINE(HAVE_LIBRUBY, 1, [Define if you have the Ruby library (-lruby).]) LIBS="$LIBS", AC_MSG_ERROR([Ruby library not found.]) @@ -856,7 +856,7 @@ print Config::CONFIG@<:@'libdir'@:>@ EOF) - ruby_lib_dir="-L${ruby_lib_dir} -l${RUBY}" + ruby_lib_dir="-L${ruby_lib_dir}" fi fi This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |