configure in rice-1.0.2 vs configure in rice-1.1.0
- old
+ new
@@ -1,8 +1,8 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for rice 1.0.
+# Generated by GNU Autoconf 2.61 for rice 1.1.
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
@@ -570,12 +570,12 @@
SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='rice'
PACKAGE_TARNAME='rice'
-PACKAGE_VERSION='1.0'
-PACKAGE_STRING='rice 1.0'
+PACKAGE_VERSION='1.1'
+PACKAGE_STRING='rice 1.1'
PACKAGE_BUGREPORT=''
ac_unique_file="rice"
ac_subst_vars='SHELL
PATH_SEPARATOR
@@ -663,10 +663,11 @@
host_cpu
host_vendor
host_os
RICE_USING_MINGW32
RUBY
+RUBY_VERSION_CODE
RUBY_CPPFLAGS
RUBY_CFLAGS
RUBY_CXXFLAGS
RUBY_LDFLAGS
RUBY_LIBS
@@ -677,72 +678,52 @@
DX_CONFIG
DX_DOCDIR
DX_ENV
DX_FLAG_doc
DX_DOXYGEN
-DX_FLAG_[]DX_CURRENT_FEATURE
DX_PERL
-DX_FLAG_[]DX_CURRENT_FEATURE
DX_COND_doc_TRUE
DX_COND_doc_FALSE
DX_FLAG_dot
-DX_FLAG_[]DX_CURRENT_FEATURE
DX_DOT
-DX_FLAG_[]DX_CURRENT_FEATURE
DX_COND_dot_TRUE
DX_COND_dot_FALSE
DX_FLAG_man
-DX_FLAG_[]DX_CURRENT_FEATURE
DX_COND_man_TRUE
DX_COND_man_FALSE
DX_FLAG_rtf
-DX_FLAG_[]DX_CURRENT_FEATURE
DX_COND_rtf_TRUE
DX_COND_rtf_FALSE
DX_FLAG_xml
-DX_FLAG_[]DX_CURRENT_FEATURE
DX_COND_xml_TRUE
DX_COND_xml_FALSE
DX_FLAG_chm
-DX_FLAG_[]DX_CURRENT_FEATURE
DX_HHC
-DX_FLAG_[]DX_CURRENT_FEATURE
DX_COND_chm_TRUE
DX_COND_chm_FALSE
DX_FLAG_chi
-DX_FLAG_[]DX_CURRENT_FEATURE
DX_COND_chi_TRUE
DX_COND_chi_FALSE
DX_FLAG_html
-DX_FLAG_[]DX_CURRENT_FEATURE
-DX_FLAG_[]DX_CURRENT_FEATURE
DX_COND_html_TRUE
DX_COND_html_FALSE
DX_FLAG_ps
-DX_FLAG_[]DX_CURRENT_FEATURE
DX_LATEX
-DX_FLAG_[]DX_CURRENT_FEATURE
DX_MAKEINDEX
-DX_FLAG_[]DX_CURRENT_FEATURE
DX_DVIPS
-DX_FLAG_[]DX_CURRENT_FEATURE
DX_EGREP
-DX_FLAG_[]DX_CURRENT_FEATURE
DX_COND_ps_TRUE
DX_COND_ps_FALSE
DX_FLAG_pdf
-DX_FLAG_[]DX_CURRENT_FEATURE
DX_PDFLATEX
-DX_FLAG_[]DX_CURRENT_FEATURE
-DX_FLAG_[]DX_CURRENT_FEATURE
-DX_FLAG_[]DX_CURRENT_FEATURE
DX_COND_pdf_TRUE
DX_COND_pdf_FALSE
DX_COND_latex_TRUE
DX_COND_latex_FALSE
DOXYGEN_PAPER_SIZE
RICE_SAMPLES
+RICE_ROOT
LIBOBJS
LTLIBOBJS'
ac_subst_files=''
ac_precious_vars='build_alias
host_alias
@@ -1254,11 +1235,11 @@
#
if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures rice 1.0 to adapt to many kinds of systems.
+\`configure' configures rice 1.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
@@ -1324,11 +1305,11 @@
_ACEOF
fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of rice 1.0:";;
+ short | recursive ) echo "Configuration of rice 1.1:";;
esac
cat <<\_ACEOF
Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
@@ -1426,11 +1407,11 @@
fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-rice configure 1.0
+rice configure 1.1
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
@@ -1440,11 +1421,11 @@
fi
cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by rice $as_me 1.0, which was
+It was created by rice $as_me 1.1, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
_ACEOF
@@ -2131,11 +2112,11 @@
fi
# Define the identity of the package.
PACKAGE='rice'
- VERSION='1.0'
+ VERSION='1.1'
cat >>confdefs.h <<_ACEOF
#define PACKAGE "$PACKAGE"
_ACEOF
@@ -3290,31 +3271,57 @@
fi
-RUBY_CONFIG_ARCHDIR=`$RUBY -rrbconfig -e "puts Config::CONFIG['archdir']"`
-RUBY_CONFIG_LIBDIR=`$RUBY -rrbconfig -e "puts Config::CONFIG['libdir']"`
-RUBY_CONFIG_BINDIR=`$RUBY -rrbconfig -e "puts Config::CONFIG['bindir']"`
-RUBY_CONFIG_CFLAGS=`$RUBY -rrbconfig -e "puts Config::CONFIG['CFLAGS']"`
-RUBY_CONFIG_LIBS=`$RUBY -rrbconfig -e "puts Config::CONFIG['LIBS']"`
-RUBY_CONFIG_DLDLIBS=`$RUBY -rrbconfig -e "puts Config::CONFIG['DLDLIBS']"`
-RUBY_CONFIG_LDFLAGS=`$RUBY -rrbconfig -e "puts Config::CONFIG['LDFLAGS']"`
-RUBY_CONFIG_LIBRUBYARG=`$RUBY -rrbconfig -e "puts Config::CONFIG['LIBRUBYARG']"`
-RUBY_CONFIG_LIBRUBYARG_STATIC=`$RUBY -rrbconfig -e "puts Config::CONFIG['LIBRUBYARG_STATIC']"`
-RUBY_CONFIG_CCDLFLAGS=`$RUBY -rrbconfig -e "puts Config::CONFIG['CCDLFLAGS']"`
+RUBY_VERSION_CODE=`$RUBY -e "puts RUBY_VERSION.gsub(/\./, '')"`
-RUBY_CPPFLAGS="-I${RUBY_CONFIG_ARCHDIR}"
+RUBY_CONFIG_SO_NAME=`
+ $RUBY -rrbconfig -e "puts(Config::CONFIG['RUBY_SO_NAME'] || '')"`
+RUBY_CONFIG_ARCHDIR=`
+ $RUBY -rrbconfig -e "puts(Config::CONFIG['archdir'] || '')"`
+RUBY_CONFIG_ARCH=`
+ $RUBY -rrbconfig -e "puts(Config::CONFIG['arch'] || '')"`
+RUBY_CONFIG_LIBDIR=`
+ $RUBY -rrbconfig -e "puts(Config::CONFIG['libdir'] || '')"`
+RUBY_CONFIG_BINDIR=`
+ $RUBY -rrbconfig -e "puts(Config::CONFIG['bindir'] || '')"`
+RUBY_CONFIG_RUBYHDRDIR=`
+ $RUBY -rrbconfig -e "puts(Config::CONFIG['rubyhdrdir'] || '')"`
+RUBY_CONFIG_CFLAGS=`
+ $RUBY -rrbconfig -e "puts(Config::CONFIG['CFLAGS'] || '')"`
+RUBY_CONFIG_LIBS=`
+ $RUBY -rrbconfig -e "puts(Config::CONFIG['LIBS'] || '')"`
+RUBY_CONFIG_DLDLIBS=`
+ $RUBY -rrbconfig -e "puts(Config::CONFIG['DLDLIBS'] || '')"`
+RUBY_CONFIG_LDFLAGS=`
+ $RUBY -rrbconfig -e "puts(Config::CONFIG['LDFLAGS'] || '')"`
+RUBY_CONFIG_LIBRUBYARG=`
+ $RUBY -rrbconfig -e "puts(Config::CONFIG['LIBRUBYARG'] || '')"`
+RUBY_CONFIG_LIBRUBYARG_STATIC=`
+ $RUBY -rrbconfig -e "puts(Config::CONFIG['LIBRUBYARG_STATIC'] || '')"`
+RUBY_CONFIG_CCDLFLAGS=`
+ $RUBY -rrbconfig -e "puts(Config::CONFIG['CCDLFLAGS'] || '')"`
+if test "x${RUBY_CONFIG_RUBYHDRDIR}x" != "xx"; then
+ # 1.9
+ RUBY_CPPFLAGS="-I${RUBY_CONFIG_RUBYHDRDIR}"
+ RUBY_CPPFLAGS="${RUBY_CPPFLAGS} -I${RUBY_CONFIG_RUBYHDRDIR}/${RUBY_CONFIG_ARCH}"
+else
+ # 1.8
+ RUBY_CPPFLAGS="-I${RUBY_CONFIG_ARCHDIR}"
+fi
+
+
RUBY_CFLAGS="${RUBY_CONFIG_CFLAGS} ${RUBY_CONFIG_CCDLFLAGS}"
RUBY_CXXFLAGS="${RUBY_CONFIG_CFLAGS} ${RUBY_CONFIG_CCDLFLAGS}"
-RUBY_LDFLAGS="-L${RUBY_ARCHDIR} -L${RUBY_CONFIG_LIBDIR} ${RUBY_LDFLAGS}"
+RUBY_LDFLAGS="-L${RUBY_CONFIG_ARCHDIR} -L${RUBY_CONFIG_LIBDIR} ${RUBY_CONFIG_LDFLAGS}"
RUBY_LIBS="${RUBY_CONFIG_LIBS} ${RUBY_CONFIG_DLDLIBS}"
@@ -3328,11 +3335,12 @@
then
RUBY_SITELIBDIR="${ruby_sitelibdir}"
else
if test "x${prefix}x" = "xNONEx"
then
- RUBY_SITELIBDIR=`$RUBY -rrbconfig -e "puts Config::CONFIG['sitelibdir']"`
+ RUBY_SITELIBDIR=`
+ $RUBY -rrbconfig -e "puts(Config::CONFIG['sitelibdir'] || '')"`
else
sitelibdir_no_prefix=`$RUBY -rrbconfig \
-e "include Config; \
puts CONFIG['sitelibdir'].sub(CONFIG['prefix'], '')"`
RUBY_SITELIBDIR="${prefix}/${sitelibdir_no_prefix}"
@@ -3341,24 +3349,28 @@
CPPFLAGS_save="${CPPFLAGS}"
CPPFLAGS="${CPPFLAGS} ${RUBY_CPPFLAGS}"
CXXFLAGS="${CPPFLAGS}"
-{ echo "$as_me:$LINENO: checking for ruby.h" >&5
-echo $ECHO_N "checking for ruby.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_ruby_h+set}" = set; then
+
+for ac_header in ruby.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-#include <ruby.h>
+#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
@@ -3373,34 +3385,43 @@
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- ac_cv_header_ruby_h=yes
+ eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- ac_cv_header_ruby_h=no
+ eval "$as_ac_Header=no"
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_ruby_h" >&5
-echo "${ECHO_T}$ac_cv_header_ruby_h" >&6; }
-if test $ac_cv_header_ruby_h = yes; then
- :
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
else
{ { echo "$as_me:$LINENO: error: could not find ruby.h (check config.log)" >&5
echo "$as_me: error: could not find ruby.h (check config.log)" >&2;}
{ (exit 1); exit 1; }; }
fi
+done
-{ echo "$as_me:$LINENO: checking for node.h" >&5
-echo $ECHO_N "checking for node.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_node_h+set}" = set; then
+
+for ac_header in node.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -3409,11 +3430,11 @@
/* end confdefs.h. */
#include <ruby.h>
-#include <node.h>
+#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
@@ -3428,34 +3449,103 @@
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- ac_cv_header_node_h=yes
+ eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- ac_cv_header_node_h=no
+ eval "$as_ac_Header=no"
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_node_h" >&5
-echo "${ECHO_T}$ac_cv_header_node_h" >&6; }
-if test $ac_cv_header_node_h = yes; then
- :
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+for ac_header in ruby/node.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
else
- { { echo "$as_me:$LINENO: error: could not find node.h (check config.log)" >&5
-echo "$as_me: error: could not find node.h (check config.log)" >&2;}
- { (exit 1); exit 1; }; }
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+#include <ruby.h>
+
+
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ eval "$as_ac_Header=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_Header=no"
fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
-{ echo "$as_me:$LINENO: checking for version.h" >&5
-echo $ECHO_N "checking for version.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_version_h+set}" = set; then
+cat >>confdefs.h <<\_ACEOF
+#define REALLY_HAVE_RUBY_NODE_H
+_ACEOF
+
+fi
+
+done
+
+
+for ac_header in version.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -3464,11 +3554,11 @@
/* end confdefs.h. */
#include <ruby.h>
-#include <version.h>
+#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
@@ -3483,31 +3573,171 @@
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- ac_cv_header_version_h=yes
+ eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- ac_cv_header_version_h=no
+ eval "$as_ac_Header=no"
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_version_h" >&5
-echo "${ECHO_T}$ac_cv_header_version_h" >&6; }
-if test $ac_cv_header_version_h = yes; then
- :
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+for ac_header in env.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
else
- { { echo "$as_me:$LINENO: error: could not find version.h (check config.log)" >&5
-echo "$as_me: error: could not find version.h (check config.log)" >&2;}
- { (exit 1); exit 1; }; }
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+#include <ruby.h>
+
+
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ eval "$as_ac_Header=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_Header=no"
fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+fi
+
+done
+
+
+save_ldflags="$LDFLAGS"
+LDFLAGS="$RUBY_LDFLAGS"
+
+as_ac_Lib=`echo "ac_cv_lib_$RUBY_CONFIG_SO_NAME''_rb_class_boot" | $as_tr_sh`
+{ echo "$as_me:$LINENO: checking for rb_class_boot in -l$RUBY_CONFIG_SO_NAME" >&5
+echo $ECHO_N "checking for rb_class_boot in -l$RUBY_CONFIG_SO_NAME... $ECHO_C" >&6; }
+if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-l$RUBY_CONFIG_SO_NAME $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char rb_class_boot ();
+int
+main ()
+{
+return rb_class_boot ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "$as_ac_Lib=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_Lib=no"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+ac_res=`eval echo '${'$as_ac_Lib'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+if test `eval echo '${'$as_ac_Lib'}'` = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_RB_CLASS_BOOT
+_ACEOF
+
+fi
+
+
+LDFLAGS="$save_ldflags"
+
+
CPPFLAGS="${CPPFLAGS_save}"
{ echo "$as_me:$LINENO: checking host system type" >&5
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
if test "${ac_cv_host+set}" = set; then
@@ -5706,12 +5936,15 @@
RICE_SAMPLES="enum map inheritance"
-ac_config_files="$ac_config_files Makefile rice/Makefile test/Makefile sample/Makefile ruby/Makefile ruby/lib/Makefile ruby/lib/mkmf-rice.rb"
+RICE_ROOT=`pwd`
+
+ac_config_files="$ac_config_files Makefile rice/Makefile test/Makefile sample/Makefile ruby/Makefile ruby/lib/Makefile ruby/lib/mkmf-rice.rb rice/detail/ruby_version_code.hpp"
+
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs, see configure's option --config-cache.
# It is not useful on other systems. If it contains results you don't
@@ -6272,11 +6505,11 @@
# Save the log message, to keep $[0] and so on meaningful, and to
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by rice $as_me 1.0, which was
+This file was extended by rice $as_me 1.1, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS
CONFIG_LINKS = $CONFIG_LINKS
@@ -6325,11 +6558,11 @@
Report bugs to <bug-autoconf@gnu.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-rice config.status 1.0
+rice config.status 1.1
configured by $0, generated by GNU Autoconf 2.61,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
Copyright (C) 2006 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
@@ -6448,10 +6681,11 @@
"test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
"sample/Makefile") CONFIG_FILES="$CONFIG_FILES sample/Makefile" ;;
"ruby/Makefile") CONFIG_FILES="$CONFIG_FILES ruby/Makefile" ;;
"ruby/lib/Makefile") CONFIG_FILES="$CONFIG_FILES ruby/lib/Makefile" ;;
"ruby/lib/mkmf-rice.rb") CONFIG_FILES="$CONFIG_FILES ruby/lib/mkmf-rice.rb" ;;
+ "rice/detail/ruby_version_code.hpp") CONFIG_FILES="$CONFIG_FILES rice/detail/ruby_version_code.hpp" ;;
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
{ (exit 1); exit 1; }; };;
esac
@@ -6598,19 +6832,19 @@
host_cpu!$host_cpu$ac_delim
host_vendor!$host_vendor$ac_delim
host_os!$host_os$ac_delim
RICE_USING_MINGW32!$RICE_USING_MINGW32$ac_delim
RUBY!$RUBY$ac_delim
+RUBY_VERSION_CODE!$RUBY_VERSION_CODE$ac_delim
RUBY_CPPFLAGS!$RUBY_CPPFLAGS$ac_delim
RUBY_CFLAGS!$RUBY_CFLAGS$ac_delim
RUBY_CXXFLAGS!$RUBY_CXXFLAGS$ac_delim
RUBY_LDFLAGS!$RUBY_LDFLAGS$ac_delim
RUBY_LIBS!$RUBY_LIBS$ac_delim
RUBY_LIBRUBYARG!$RUBY_LIBRUBYARG$ac_delim
RUBY_LIBRUBYARG_STATIC!$RUBY_LIBRUBYARG_STATIC$ac_delim
RUBY_SITELIBDIR!$RUBY_SITELIBDIR$ac_delim
-DX_PROJECT!$DX_PROJECT$ac_delim
_ACEOF
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
break
elif $ac_last_try; then
@@ -6648,81 +6882,62 @@
ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
cat >conf$$subs.sed <<_ACEOF
+DX_PROJECT!$DX_PROJECT$ac_delim
DX_CONFIG!$DX_CONFIG$ac_delim
DX_DOCDIR!$DX_DOCDIR$ac_delim
DX_ENV!$DX_ENV$ac_delim
DX_FLAG_doc!$DX_FLAG_doc$ac_delim
DX_DOXYGEN!$DX_DOXYGEN$ac_delim
-DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
DX_PERL!$DX_PERL$ac_delim
-DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
DX_COND_doc_TRUE!$DX_COND_doc_TRUE$ac_delim
DX_COND_doc_FALSE!$DX_COND_doc_FALSE$ac_delim
DX_FLAG_dot!$DX_FLAG_dot$ac_delim
-DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
DX_DOT!$DX_DOT$ac_delim
-DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
DX_COND_dot_TRUE!$DX_COND_dot_TRUE$ac_delim
DX_COND_dot_FALSE!$DX_COND_dot_FALSE$ac_delim
DX_FLAG_man!$DX_FLAG_man$ac_delim
-DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
DX_COND_man_TRUE!$DX_COND_man_TRUE$ac_delim
DX_COND_man_FALSE!$DX_COND_man_FALSE$ac_delim
DX_FLAG_rtf!$DX_FLAG_rtf$ac_delim
-DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
DX_COND_rtf_TRUE!$DX_COND_rtf_TRUE$ac_delim
DX_COND_rtf_FALSE!$DX_COND_rtf_FALSE$ac_delim
DX_FLAG_xml!$DX_FLAG_xml$ac_delim
-DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
DX_COND_xml_TRUE!$DX_COND_xml_TRUE$ac_delim
DX_COND_xml_FALSE!$DX_COND_xml_FALSE$ac_delim
DX_FLAG_chm!$DX_FLAG_chm$ac_delim
-DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
DX_HHC!$DX_HHC$ac_delim
-DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
DX_COND_chm_TRUE!$DX_COND_chm_TRUE$ac_delim
DX_COND_chm_FALSE!$DX_COND_chm_FALSE$ac_delim
DX_FLAG_chi!$DX_FLAG_chi$ac_delim
-DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
DX_COND_chi_TRUE!$DX_COND_chi_TRUE$ac_delim
DX_COND_chi_FALSE!$DX_COND_chi_FALSE$ac_delim
DX_FLAG_html!$DX_FLAG_html$ac_delim
-DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
-DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
DX_COND_html_TRUE!$DX_COND_html_TRUE$ac_delim
DX_COND_html_FALSE!$DX_COND_html_FALSE$ac_delim
DX_FLAG_ps!$DX_FLAG_ps$ac_delim
-DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
DX_LATEX!$DX_LATEX$ac_delim
-DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
DX_MAKEINDEX!$DX_MAKEINDEX$ac_delim
-DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
DX_DVIPS!$DX_DVIPS$ac_delim
-DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
DX_EGREP!$DX_EGREP$ac_delim
-DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
DX_COND_ps_TRUE!$DX_COND_ps_TRUE$ac_delim
DX_COND_ps_FALSE!$DX_COND_ps_FALSE$ac_delim
DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
-DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
DX_PDFLATEX!$DX_PDFLATEX$ac_delim
-DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
-DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
-DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
DX_COND_pdf_TRUE!$DX_COND_pdf_TRUE$ac_delim
DX_COND_pdf_FALSE!$DX_COND_pdf_FALSE$ac_delim
DX_COND_latex_TRUE!$DX_COND_latex_TRUE$ac_delim
DX_COND_latex_FALSE!$DX_COND_latex_FALSE$ac_delim
DOXYGEN_PAPER_SIZE!$DOXYGEN_PAPER_SIZE$ac_delim
RICE_SAMPLES!$RICE_SAMPLES$ac_delim
+RICE_ROOT!$RICE_ROOT$ac_delim
LIBOBJS!$LIBOBJS$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 69; then
+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 50; then
break
elif $ac_last_try; then
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
{ (exit 1); exit 1; }; }