rice 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +2 -2
- data/Doxyfile +1 -1
- data/Makefile.in +8 -3
- data/Rakefile +3 -3
- data/config.guess +30 -49
- data/config.sub +4 -22
- data/configure +319 -104
- data/configure.ac +6 -2
- data/doxygen.ac +2 -2
- data/extconf.rb +22 -0
- data/post-autoconf.rb +3 -3
- data/post-automake.rb +2 -2
- data/rice/Array.ipp +7 -6
- data/rice/Critical_Guard.hpp +6 -0
- data/rice/Critical_Guard.ipp +6 -0
- data/rice/Data_Object.hpp +1 -120
- data/rice/Data_Object.ipp +5 -1
- data/rice/Data_Object_defn.hpp +132 -0
- data/rice/Data_Type.ipp +18 -2
- data/rice/Enum.ipp +3 -3
- data/rice/Exception.hpp +1 -61
- data/rice/Exception_Base.hpp +2 -24
- data/rice/Exception_Base.ipp +2 -0
- data/rice/Exception_Base_defn.hpp +27 -0
- data/rice/Exception_defn.hpp +69 -0
- data/rice/Hash.hpp +5 -1
- data/rice/Hash.ipp +7 -7
- data/rice/Makefile.am +20 -3
- data/rice/Makefile.in +39 -4
- data/rice/Module.cpp +11 -3
- data/rice/Module_impl.hpp +20 -9
- data/rice/Module_impl.ipp +84 -87
- data/rice/Object.cpp +1 -1
- data/rice/VM.cpp +14 -1
- data/rice/VM.hpp +6 -1
- data/rice/config.hpp +24 -3
- data/rice/config.hpp.in +21 -0
- data/rice/detail/Auto_Function_Wrapper.hpp +97 -65
- data/rice/detail/Auto_Function_Wrapper.ipp +160 -128
- data/rice/detail/Auto_Member_Function_Wrapper.hpp +96 -64
- data/rice/detail/Auto_Member_Function_Wrapper.ipp +160 -128
- data/rice/detail/Exception_Handler.hpp +2 -112
- data/rice/detail/Exception_Handler.ipp +68 -0
- data/rice/detail/Exception_Handler_defn.hpp +96 -0
- data/rice/detail/Iterator.hpp +93 -0
- data/rice/detail/check_ruby_type.cpp +8 -2
- data/rice/detail/creation_funcs.ipp +2 -2
- data/rice/detail/define_method_and_auto_wrap.hpp +4 -2
- data/rice/detail/define_method_and_auto_wrap.ipp +14 -5
- data/rice/detail/env.hpp +4 -0
- data/rice/detail/method_data.cpp +362 -75
- data/rice/detail/method_data.cpp.rpp +301 -0
- data/rice/detail/method_data.hpp +6 -18
- data/rice/detail/mininode.cpp +1220 -0
- data/rice/detail/mininode.cpp.rpp +62 -0
- data/rice/detail/mininode.hpp +320 -0
- data/rice/detail/mininode.hpp.rpp +119 -0
- data/rice/detail/protect.cpp +4 -2
- data/rice/detail/ruby.hpp +44 -18
- data/rice/detail/ruby_version_code.hpp +6 -0
- data/rice/detail/ruby_version_code.hpp.in +6 -0
- data/rice/detail/rubysig.hpp +6 -0
- data/rice/detail/st.hpp +6 -2
- data/rice/detail/wrap_function.hpp +50 -48
- data/rice/detail/wrap_function.ipp +48 -48
- data/rice/generate_code.rb +43 -293
- data/rice/global_function.hpp +10 -4
- data/rice/global_function.ipp +1 -2
- data/rice/ruby_mark.hpp +13 -0
- data/rice/ruby_try_catch.hpp +1 -1
- data/rice/rubypp.rb +97 -0
- data/rice/to_from_ruby.ipp +3 -3
- data/ruby.ac +44 -8
- data/ruby/Makefile.in +2 -0
- data/ruby/lib/Makefile.in +2 -0
- data/ruby/lib/mkmf-rice.rb.in +4 -1
- data/ruby/lib/version.rb +3 -0
- data/sample/Makefile.am +2 -2
- data/sample/Makefile.in +4 -2
- data/test/Makefile.am +2 -1
- data/test/Makefile.in +7 -2
- data/test/test_Array.cpp +2 -2
- data/test/test_Class.cpp +4 -1
- data/test/test_Critical_Guard.cpp +4 -0
- data/test/test_Data_Object.cpp +43 -3
- data/test/test_Hash.cpp +3 -3
- data/test/test_String.cpp +8 -8
- data/test/test_VM.cpp +1 -1
- data/test/test_global_functions.cpp +45 -0
- data/test/test_rice.rb +5 -0
- metadata +115 -98
- data/rice/detail/Iterator_Definer.hpp +0 -98
data/COPYING
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
Rice 1.
|
2
|
-
Copyright (C)
|
1
|
+
Rice 1.1
|
2
|
+
Copyright (C) 2009 Paul Brannan <pbrannan@atdesk.com>
|
3
3
|
|
4
4
|
Redistribution and use in source and binary forms, with or without
|
5
5
|
modification, are permitted provided that the following conditions
|
data/Doxyfile
CHANGED
@@ -23,7 +23,7 @@ PROJECT_NAME = Rice
|
|
23
23
|
# This could be handy for archiving the generated documentation or
|
24
24
|
# if some version control system is used.
|
25
25
|
|
26
|
-
PROJECT_NUMBER = 1.
|
26
|
+
PROJECT_NUMBER = 1.1
|
27
27
|
|
28
28
|
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
|
29
29
|
# base path where the generated documentation will be put.
|
data/Makefile.in
CHANGED
@@ -63,8 +63,9 @@ build_triplet = @build@
|
|
63
63
|
host_triplet = @host@
|
64
64
|
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
|
65
65
|
$(srcdir)/Makefile.in $(srcdir)/doxygen.am \
|
66
|
-
$(top_srcdir)/configure
|
67
|
-
|
66
|
+
$(top_srcdir)/configure \
|
67
|
+
$(top_srcdir)/rice/detail/ruby_version_code.hpp.in COPYING \
|
68
|
+
config.guess config.sub depcomp install-sh missing
|
68
69
|
subdir = .
|
69
70
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
70
71
|
am__aclocal_m4_deps = $(top_srcdir)/ruby.ac $(top_srcdir)/doxygen.ac \
|
@@ -75,7 +76,7 @@ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
|
75
76
|
configure.lineno config.status.lineno
|
76
77
|
mkinstalldirs = $(install_sh) -d
|
77
78
|
CONFIG_HEADER = $(top_builddir)/rice/config.hpp
|
78
|
-
CONFIG_CLEAN_FILES =
|
79
|
+
CONFIG_CLEAN_FILES = rice/detail/ruby_version_code.hpp
|
79
80
|
SOURCES =
|
80
81
|
DIST_SOURCES =
|
81
82
|
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
@@ -164,6 +165,7 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
|
|
164
165
|
RANLIB = @RANLIB@
|
165
166
|
RICE_CPPFLAGS = @RICE_CPPFLAGS@
|
166
167
|
RICE_LDFLAGS = @RICE_LDFLAGS@
|
168
|
+
RICE_ROOT = @RICE_ROOT@
|
167
169
|
RICE_SAMPLES = @RICE_SAMPLES@
|
168
170
|
RICE_USING_MINGW32 = @RICE_USING_MINGW32@
|
169
171
|
RUBY = @RUBY@
|
@@ -175,6 +177,7 @@ RUBY_LIBRUBYARG = @RUBY_LIBRUBYARG@
|
|
175
177
|
RUBY_LIBRUBYARG_STATIC = @RUBY_LIBRUBYARG_STATIC@
|
176
178
|
RUBY_LIBS = @RUBY_LIBS@
|
177
179
|
RUBY_SITELIBDIR = @RUBY_SITELIBDIR@
|
180
|
+
RUBY_VERSION_CODE = @RUBY_VERSION_CODE@
|
178
181
|
SET_MAKE = @SET_MAKE@
|
179
182
|
SHELL = @SHELL@
|
180
183
|
STRIP = @STRIP@
|
@@ -303,6 +306,8 @@ $(top_srcdir)/configure: $(am__configure_deps)
|
|
303
306
|
cd $(srcdir) && $(AUTOCONF)
|
304
307
|
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
305
308
|
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
309
|
+
rice/detail/ruby_version_code.hpp: $(top_builddir)/config.status $(top_srcdir)/rice/detail/ruby_version_code.hpp.in
|
310
|
+
cd $(top_builddir) && $(SHELL) ./config.status $@
|
306
311
|
|
307
312
|
# This directory's subdirectories are mostly independent; you can cd
|
308
313
|
# into them and run `make' without going through this Makefile.
|
data/Rakefile
CHANGED
@@ -2,9 +2,9 @@ require 'rake/gempackagetask'
|
|
2
2
|
require 'rake/contrib/sshpublisher'
|
3
3
|
require 'yaml'
|
4
4
|
require 'rubyforge'
|
5
|
+
require 'ruby/lib/version'
|
5
6
|
|
6
7
|
PROJECT_NAME = "rice"
|
7
|
-
RICE_VERSION = "1.0.2"
|
8
8
|
PROJECT_WEB_PATH = "/var/www/gforge-projects/rice"
|
9
9
|
|
10
10
|
task :default => :test
|
@@ -51,7 +51,7 @@ task :release => :package do
|
|
51
51
|
puts "Logging into rubyforge"
|
52
52
|
rf.login
|
53
53
|
|
54
|
-
pkg = "pkg/#{PROJECT_NAME}-#{
|
54
|
+
pkg = "pkg/#{PROJECT_NAME}-#{Rice::VERSION}"
|
55
55
|
|
56
56
|
c = rf.userconfig
|
57
57
|
|
@@ -61,7 +61,7 @@ task :release => :package do
|
|
61
61
|
"#{pkg}.gem"
|
62
62
|
]
|
63
63
|
|
64
|
-
puts "Releasing #{PROJECT_NAME} v. #{
|
64
|
+
puts "Releasing #{PROJECT_NAME} v. #{Rice::VERSION}"
|
65
65
|
begin
|
66
66
|
rf.add_release $spec.rubyforge_project, PROJECT_NAME, RICE_VERSION, *files
|
67
67
|
rescue => ex
|
data/config.guess
CHANGED
@@ -139,23 +139,6 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
|
|
139
139
|
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
|
140
140
|
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
141
141
|
|
142
|
-
if [ "${UNAME_SYSTEM}" = "Linux" ] ; then
|
143
|
-
eval $set_cc_for_build
|
144
|
-
cat << EOF > $dummy.c
|
145
|
-
#include <features.h>
|
146
|
-
#ifdef __UCLIBC__
|
147
|
-
# ifdef __UCLIBC_CONFIG_VERSION__
|
148
|
-
LIBC=uclibc __UCLIBC_CONFIG_VERSION__
|
149
|
-
# else
|
150
|
-
LIBC=uclibc
|
151
|
-
# endif
|
152
|
-
#else
|
153
|
-
LIBC=gnu
|
154
|
-
#endif
|
155
|
-
EOF
|
156
|
-
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep LIBC= | sed -e 's: ::g'`
|
157
|
-
fi
|
158
|
-
|
159
142
|
# Note: order is significant - the case branches are not exclusive.
|
160
143
|
|
161
144
|
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
@@ -857,31 +840,31 @@ EOF
|
|
857
840
|
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
858
841
|
| grep -q __ARM_EABI__
|
859
842
|
then
|
860
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
843
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
861
844
|
else
|
862
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
845
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnueabi
|
863
846
|
fi
|
864
847
|
exit ;;
|
865
848
|
avr32*:Linux:*:*)
|
866
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
849
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
867
850
|
exit ;;
|
868
851
|
cris:Linux:*:*)
|
869
|
-
echo cris-axis-linux
|
852
|
+
echo cris-axis-linux-gnu
|
870
853
|
exit ;;
|
871
854
|
crisv32:Linux:*:*)
|
872
|
-
echo crisv32-axis-linux
|
855
|
+
echo crisv32-axis-linux-gnu
|
873
856
|
exit ;;
|
874
857
|
frv:Linux:*:*)
|
875
|
-
echo frv-unknown-linux
|
858
|
+
echo frv-unknown-linux-gnu
|
876
859
|
exit ;;
|
877
860
|
ia64:Linux:*:*)
|
878
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
861
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
879
862
|
exit ;;
|
880
863
|
m32r*:Linux:*:*)
|
881
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
864
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
882
865
|
exit ;;
|
883
866
|
m68*:Linux:*:*)
|
884
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
867
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
885
868
|
exit ;;
|
886
869
|
mips:Linux:*:*)
|
887
870
|
eval $set_cc_for_build
|
@@ -904,7 +887,7 @@ EOF
|
|
904
887
|
s: ::g
|
905
888
|
p
|
906
889
|
}'`"
|
907
|
-
test x"${CPU}" != x && { echo "${CPU}-unknown-linux
|
890
|
+
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
908
891
|
;;
|
909
892
|
mips64:Linux:*:*)
|
910
893
|
eval $set_cc_for_build
|
@@ -927,16 +910,16 @@ EOF
|
|
927
910
|
s: ::g
|
928
911
|
p
|
929
912
|
}'`"
|
930
|
-
test x"${CPU}" != x && { echo "${CPU}-unknown-linux
|
913
|
+
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
931
914
|
;;
|
932
915
|
or32:Linux:*:*)
|
933
|
-
echo or32-unknown-linux
|
916
|
+
echo or32-unknown-linux-gnu
|
934
917
|
exit ;;
|
935
918
|
ppc:Linux:*:*)
|
936
|
-
echo powerpc-unknown-linux
|
919
|
+
echo powerpc-unknown-linux-gnu
|
937
920
|
exit ;;
|
938
921
|
ppc64:Linux:*:*)
|
939
|
-
echo powerpc64-unknown-linux
|
922
|
+
echo powerpc64-unknown-linux-gnu
|
940
923
|
exit ;;
|
941
924
|
alpha:Linux:*:*)
|
942
925
|
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
@@ -949,40 +932,40 @@ EOF
|
|
949
932
|
EV68*) UNAME_MACHINE=alphaev68 ;;
|
950
933
|
esac
|
951
934
|
objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
|
952
|
-
if test "$?" = 0 ; then LIBC="
|
953
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
935
|
+
if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
|
936
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
|
954
937
|
exit ;;
|
955
938
|
parisc:Linux:*:* | hppa:Linux:*:*)
|
956
939
|
# Look for CPU level
|
957
940
|
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
|
958
|
-
PA7*) echo hppa1.1-unknown-linux
|
959
|
-
PA8*) echo hppa2.0-unknown-linux
|
960
|
-
*) echo hppa-unknown-linux
|
941
|
+
PA7*) echo hppa1.1-unknown-linux-gnu ;;
|
942
|
+
PA8*) echo hppa2.0-unknown-linux-gnu ;;
|
943
|
+
*) echo hppa-unknown-linux-gnu ;;
|
961
944
|
esac
|
962
945
|
exit ;;
|
963
946
|
parisc64:Linux:*:* | hppa64:Linux:*:*)
|
964
|
-
echo hppa64-unknown-linux
|
947
|
+
echo hppa64-unknown-linux-gnu
|
965
948
|
exit ;;
|
966
949
|
s390:Linux:*:* | s390x:Linux:*:*)
|
967
950
|
echo ${UNAME_MACHINE}-ibm-linux
|
968
951
|
exit ;;
|
969
952
|
sh64*:Linux:*:*)
|
970
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
953
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
971
954
|
exit ;;
|
972
955
|
sh*:Linux:*:*)
|
973
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
956
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
974
957
|
exit ;;
|
975
958
|
sparc:Linux:*:* | sparc64:Linux:*:*)
|
976
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
959
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
977
960
|
exit ;;
|
978
961
|
vax:Linux:*:*)
|
979
|
-
echo ${UNAME_MACHINE}-dec-linux
|
962
|
+
echo ${UNAME_MACHINE}-dec-linux-gnu
|
980
963
|
exit ;;
|
981
964
|
x86_64:Linux:*:*)
|
982
|
-
echo x86_64-unknown-linux
|
965
|
+
echo x86_64-unknown-linux-gnu
|
983
966
|
exit ;;
|
984
967
|
xtensa*:Linux:*:*)
|
985
|
-
echo ${UNAME_MACHINE}-unknown-linux
|
968
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
986
969
|
exit ;;
|
987
970
|
i*86:Linux:*:*)
|
988
971
|
# The BFD linker knows what the default object file format is, so
|
@@ -997,22 +980,20 @@ EOF
|
|
997
980
|
p'`
|
998
981
|
case "$ld_supported_targets" in
|
999
982
|
elf32-i386)
|
1000
|
-
TENTATIVE="${UNAME_MACHINE}-pc-linux
|
983
|
+
TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
|
1001
984
|
;;
|
1002
985
|
a.out-i386-linux)
|
1003
|
-
echo "${UNAME_MACHINE}-pc-linux
|
986
|
+
echo "${UNAME_MACHINE}-pc-linux-gnuaout"
|
1004
987
|
exit ;;
|
1005
988
|
coff-i386)
|
1006
|
-
echo "${UNAME_MACHINE}-pc-linux
|
989
|
+
echo "${UNAME_MACHINE}-pc-linux-gnucoff"
|
1007
990
|
exit ;;
|
1008
991
|
"")
|
1009
992
|
# Either a pre-BFD a.out linker (linux-gnuoldld) or
|
1010
993
|
# one that does not give us useful --help.
|
1011
|
-
echo "${UNAME_MACHINE}-pc-linux
|
994
|
+
echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
|
1012
995
|
exit ;;
|
1013
996
|
esac
|
1014
|
-
# This should get integrated into the C code below, but now we hack
|
1015
|
-
if [ "$LIBC" != "gnu" ] ; then echo "$TENTATIVE" && exit 0 ; fi
|
1016
997
|
# Determine whether the default compiler is a.out or elf
|
1017
998
|
eval $set_cc_for_build
|
1018
999
|
sed 's/^ //' << EOF >$dummy.c
|
data/config.sub
CHANGED
@@ -244,7 +244,7 @@ case $basic_machine in
|
|
244
244
|
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
|
245
245
|
| bfin \
|
246
246
|
| c4x | clipper \
|
247
|
-
| d10v | d30v | dlx | dsp16xx
|
247
|
+
| d10v | d30v | dlx | dsp16xx \
|
248
248
|
| fido | fr30 | frv \
|
249
249
|
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
250
250
|
| i370 | i860 | i960 | ia64 \
|
@@ -277,7 +277,7 @@ case $basic_machine in
|
|
277
277
|
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
|
278
278
|
| pyramid \
|
279
279
|
| score \
|
280
|
-
| sh | sh[1234] | sh[24]a | sh[
|
280
|
+
| sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
281
281
|
| sh64 | sh64le \
|
282
282
|
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
|
283
283
|
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
|
@@ -358,7 +358,7 @@ case $basic_machine in
|
|
358
358
|
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
|
359
359
|
| pyramid-* \
|
360
360
|
| romp-* | rs6000-* \
|
361
|
-
| sh-* | sh[1234]-* | sh[24]a-* | sh[
|
361
|
+
| sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
|
362
362
|
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
|
363
363
|
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
|
364
364
|
| sparclite-* \
|
@@ -714,24 +714,6 @@ case $basic_machine in
|
|
714
714
|
basic_machine=m68k-atari
|
715
715
|
os=-mint
|
716
716
|
;;
|
717
|
-
mipsEE* | ee | ps2)
|
718
|
-
basic_machine=mips64r5900el-scei
|
719
|
-
case $os in
|
720
|
-
-linux*)
|
721
|
-
;;
|
722
|
-
*)
|
723
|
-
os=-elf
|
724
|
-
;;
|
725
|
-
esac
|
726
|
-
;;
|
727
|
-
iop)
|
728
|
-
basic_machine=mipsel-scei
|
729
|
-
os=-irx
|
730
|
-
;;
|
731
|
-
dvp)
|
732
|
-
basic_machine=dvp-scei
|
733
|
-
os=-elf
|
734
|
-
;;
|
735
717
|
mips3*-*)
|
736
718
|
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
|
737
719
|
;;
|
@@ -1276,7 +1258,7 @@ case $os in
|
|
1276
1258
|
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
|
1277
1259
|
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
|
1278
1260
|
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
|
1279
|
-
| -skyos* | -haiku* | -rdos* | -toppers* | -drops*
|
1261
|
+
| -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
|
1280
1262
|
# Remember, each alternative MUST END IN *, to match a version number.
|
1281
1263
|
;;
|
1282
1264
|
-qnx*)
|
data/configure
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#! /bin/sh
|
2
2
|
# Guess values for system-dependent variables and create Makefiles.
|
3
|
-
# Generated by GNU Autoconf 2.61 for rice 1.
|
3
|
+
# Generated by GNU Autoconf 2.61 for rice 1.1.
|
4
4
|
#
|
5
5
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
6
6
|
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
@@ -572,8 +572,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
|
|
572
572
|
# Identity of this package.
|
573
573
|
PACKAGE_NAME='rice'
|
574
574
|
PACKAGE_TARNAME='rice'
|
575
|
-
PACKAGE_VERSION='1.
|
576
|
-
PACKAGE_STRING='rice 1.
|
575
|
+
PACKAGE_VERSION='1.1'
|
576
|
+
PACKAGE_STRING='rice 1.1'
|
577
577
|
PACKAGE_BUGREPORT=''
|
578
578
|
|
579
579
|
ac_unique_file="rice"
|
@@ -665,6 +665,7 @@ host_vendor
|
|
665
665
|
host_os
|
666
666
|
RICE_USING_MINGW32
|
667
667
|
RUBY
|
668
|
+
RUBY_VERSION_CODE
|
668
669
|
RUBY_CPPFLAGS
|
669
670
|
RUBY_CFLAGS
|
670
671
|
RUBY_CXXFLAGS
|
@@ -679,68 +680,48 @@ DX_DOCDIR
|
|
679
680
|
DX_ENV
|
680
681
|
DX_FLAG_doc
|
681
682
|
DX_DOXYGEN
|
682
|
-
DX_FLAG_[]DX_CURRENT_FEATURE
|
683
683
|
DX_PERL
|
684
|
-
DX_FLAG_[]DX_CURRENT_FEATURE
|
685
684
|
DX_COND_doc_TRUE
|
686
685
|
DX_COND_doc_FALSE
|
687
686
|
DX_FLAG_dot
|
688
|
-
DX_FLAG_[]DX_CURRENT_FEATURE
|
689
687
|
DX_DOT
|
690
|
-
DX_FLAG_[]DX_CURRENT_FEATURE
|
691
688
|
DX_COND_dot_TRUE
|
692
689
|
DX_COND_dot_FALSE
|
693
690
|
DX_FLAG_man
|
694
|
-
DX_FLAG_[]DX_CURRENT_FEATURE
|
695
691
|
DX_COND_man_TRUE
|
696
692
|
DX_COND_man_FALSE
|
697
693
|
DX_FLAG_rtf
|
698
|
-
DX_FLAG_[]DX_CURRENT_FEATURE
|
699
694
|
DX_COND_rtf_TRUE
|
700
695
|
DX_COND_rtf_FALSE
|
701
696
|
DX_FLAG_xml
|
702
|
-
DX_FLAG_[]DX_CURRENT_FEATURE
|
703
697
|
DX_COND_xml_TRUE
|
704
698
|
DX_COND_xml_FALSE
|
705
699
|
DX_FLAG_chm
|
706
|
-
DX_FLAG_[]DX_CURRENT_FEATURE
|
707
700
|
DX_HHC
|
708
|
-
DX_FLAG_[]DX_CURRENT_FEATURE
|
709
701
|
DX_COND_chm_TRUE
|
710
702
|
DX_COND_chm_FALSE
|
711
703
|
DX_FLAG_chi
|
712
|
-
DX_FLAG_[]DX_CURRENT_FEATURE
|
713
704
|
DX_COND_chi_TRUE
|
714
705
|
DX_COND_chi_FALSE
|
715
706
|
DX_FLAG_html
|
716
|
-
DX_FLAG_[]DX_CURRENT_FEATURE
|
717
|
-
DX_FLAG_[]DX_CURRENT_FEATURE
|
718
707
|
DX_COND_html_TRUE
|
719
708
|
DX_COND_html_FALSE
|
720
709
|
DX_FLAG_ps
|
721
|
-
DX_FLAG_[]DX_CURRENT_FEATURE
|
722
710
|
DX_LATEX
|
723
|
-
DX_FLAG_[]DX_CURRENT_FEATURE
|
724
711
|
DX_MAKEINDEX
|
725
|
-
DX_FLAG_[]DX_CURRENT_FEATURE
|
726
712
|
DX_DVIPS
|
727
|
-
DX_FLAG_[]DX_CURRENT_FEATURE
|
728
713
|
DX_EGREP
|
729
|
-
DX_FLAG_[]DX_CURRENT_FEATURE
|
730
714
|
DX_COND_ps_TRUE
|
731
715
|
DX_COND_ps_FALSE
|
732
716
|
DX_FLAG_pdf
|
733
|
-
DX_FLAG_[]DX_CURRENT_FEATURE
|
734
717
|
DX_PDFLATEX
|
735
|
-
DX_FLAG_[]DX_CURRENT_FEATURE
|
736
|
-
DX_FLAG_[]DX_CURRENT_FEATURE
|
737
|
-
DX_FLAG_[]DX_CURRENT_FEATURE
|
738
718
|
DX_COND_pdf_TRUE
|
739
719
|
DX_COND_pdf_FALSE
|
740
720
|
DX_COND_latex_TRUE
|
741
721
|
DX_COND_latex_FALSE
|
742
722
|
DOXYGEN_PAPER_SIZE
|
743
723
|
RICE_SAMPLES
|
724
|
+
RICE_ROOT
|
744
725
|
LIBOBJS
|
745
726
|
LTLIBOBJS'
|
746
727
|
ac_subst_files=''
|
@@ -1256,7 +1237,7 @@ if test "$ac_init_help" = "long"; then
|
|
1256
1237
|
# Omit some internal or obsolete options to make the list less imposing.
|
1257
1238
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
1258
1239
|
cat <<_ACEOF
|
1259
|
-
\`configure' configures rice 1.
|
1240
|
+
\`configure' configures rice 1.1 to adapt to many kinds of systems.
|
1260
1241
|
|
1261
1242
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
1262
1243
|
|
@@ -1326,7 +1307,7 @@ fi
|
|
1326
1307
|
|
1327
1308
|
if test -n "$ac_init_help"; then
|
1328
1309
|
case $ac_init_help in
|
1329
|
-
short | recursive ) echo "Configuration of rice 1.
|
1310
|
+
short | recursive ) echo "Configuration of rice 1.1:";;
|
1330
1311
|
esac
|
1331
1312
|
cat <<\_ACEOF
|
1332
1313
|
|
@@ -1428,7 +1409,7 @@ fi
|
|
1428
1409
|
test -n "$ac_init_help" && exit $ac_status
|
1429
1410
|
if $ac_init_version; then
|
1430
1411
|
cat <<\_ACEOF
|
1431
|
-
rice configure 1.
|
1412
|
+
rice configure 1.1
|
1432
1413
|
generated by GNU Autoconf 2.61
|
1433
1414
|
|
1434
1415
|
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
@@ -1442,7 +1423,7 @@ cat >config.log <<_ACEOF
|
|
1442
1423
|
This file contains any messages produced by compilers while
|
1443
1424
|
running configure, to aid debugging if configure makes a mistake.
|
1444
1425
|
|
1445
|
-
It was created by rice $as_me 1.
|
1426
|
+
It was created by rice $as_me 1.1, which was
|
1446
1427
|
generated by GNU Autoconf 2.61. Invocation command line was
|
1447
1428
|
|
1448
1429
|
$ $0 $@
|
@@ -2133,7 +2114,7 @@ fi
|
|
2133
2114
|
|
2134
2115
|
# Define the identity of the package.
|
2135
2116
|
PACKAGE='rice'
|
2136
|
-
VERSION='1.
|
2117
|
+
VERSION='1.1'
|
2137
2118
|
|
2138
2119
|
|
2139
2120
|
cat >>confdefs.h <<_ACEOF
|
@@ -3292,18 +3273,44 @@ fi
|
|
3292
3273
|
|
3293
3274
|
|
3294
3275
|
|
3295
|
-
|
3296
|
-
RUBY_CONFIG_LIBDIR=`$RUBY -rrbconfig -e "puts Config::CONFIG['libdir']"`
|
3297
|
-
RUBY_CONFIG_BINDIR=`$RUBY -rrbconfig -e "puts Config::CONFIG['bindir']"`
|
3298
|
-
RUBY_CONFIG_CFLAGS=`$RUBY -rrbconfig -e "puts Config::CONFIG['CFLAGS']"`
|
3299
|
-
RUBY_CONFIG_LIBS=`$RUBY -rrbconfig -e "puts Config::CONFIG['LIBS']"`
|
3300
|
-
RUBY_CONFIG_DLDLIBS=`$RUBY -rrbconfig -e "puts Config::CONFIG['DLDLIBS']"`
|
3301
|
-
RUBY_CONFIG_LDFLAGS=`$RUBY -rrbconfig -e "puts Config::CONFIG['LDFLAGS']"`
|
3302
|
-
RUBY_CONFIG_LIBRUBYARG=`$RUBY -rrbconfig -e "puts Config::CONFIG['LIBRUBYARG']"`
|
3303
|
-
RUBY_CONFIG_LIBRUBYARG_STATIC=`$RUBY -rrbconfig -e "puts Config::CONFIG['LIBRUBYARG_STATIC']"`
|
3304
|
-
RUBY_CONFIG_CCDLFLAGS=`$RUBY -rrbconfig -e "puts Config::CONFIG['CCDLFLAGS']"`
|
3276
|
+
RUBY_VERSION_CODE=`$RUBY -e "puts RUBY_VERSION.gsub(/\./, '')"`
|
3305
3277
|
|
3306
|
-
|
3278
|
+
|
3279
|
+
RUBY_CONFIG_SO_NAME=`
|
3280
|
+
$RUBY -rrbconfig -e "puts(Config::CONFIG['RUBY_SO_NAME'] || '')"`
|
3281
|
+
RUBY_CONFIG_ARCHDIR=`
|
3282
|
+
$RUBY -rrbconfig -e "puts(Config::CONFIG['archdir'] || '')"`
|
3283
|
+
RUBY_CONFIG_ARCH=`
|
3284
|
+
$RUBY -rrbconfig -e "puts(Config::CONFIG['arch'] || '')"`
|
3285
|
+
RUBY_CONFIG_LIBDIR=`
|
3286
|
+
$RUBY -rrbconfig -e "puts(Config::CONFIG['libdir'] || '')"`
|
3287
|
+
RUBY_CONFIG_BINDIR=`
|
3288
|
+
$RUBY -rrbconfig -e "puts(Config::CONFIG['bindir'] || '')"`
|
3289
|
+
RUBY_CONFIG_RUBYHDRDIR=`
|
3290
|
+
$RUBY -rrbconfig -e "puts(Config::CONFIG['rubyhdrdir'] || '')"`
|
3291
|
+
RUBY_CONFIG_CFLAGS=`
|
3292
|
+
$RUBY -rrbconfig -e "puts(Config::CONFIG['CFLAGS'] || '')"`
|
3293
|
+
RUBY_CONFIG_LIBS=`
|
3294
|
+
$RUBY -rrbconfig -e "puts(Config::CONFIG['LIBS'] || '')"`
|
3295
|
+
RUBY_CONFIG_DLDLIBS=`
|
3296
|
+
$RUBY -rrbconfig -e "puts(Config::CONFIG['DLDLIBS'] || '')"`
|
3297
|
+
RUBY_CONFIG_LDFLAGS=`
|
3298
|
+
$RUBY -rrbconfig -e "puts(Config::CONFIG['LDFLAGS'] || '')"`
|
3299
|
+
RUBY_CONFIG_LIBRUBYARG=`
|
3300
|
+
$RUBY -rrbconfig -e "puts(Config::CONFIG['LIBRUBYARG'] || '')"`
|
3301
|
+
RUBY_CONFIG_LIBRUBYARG_STATIC=`
|
3302
|
+
$RUBY -rrbconfig -e "puts(Config::CONFIG['LIBRUBYARG_STATIC'] || '')"`
|
3303
|
+
RUBY_CONFIG_CCDLFLAGS=`
|
3304
|
+
$RUBY -rrbconfig -e "puts(Config::CONFIG['CCDLFLAGS'] || '')"`
|
3305
|
+
|
3306
|
+
if test "x${RUBY_CONFIG_RUBYHDRDIR}x" != "xx"; then
|
3307
|
+
# 1.9
|
3308
|
+
RUBY_CPPFLAGS="-I${RUBY_CONFIG_RUBYHDRDIR}"
|
3309
|
+
RUBY_CPPFLAGS="${RUBY_CPPFLAGS} -I${RUBY_CONFIG_RUBYHDRDIR}/${RUBY_CONFIG_ARCH}"
|
3310
|
+
else
|
3311
|
+
# 1.8
|
3312
|
+
RUBY_CPPFLAGS="-I${RUBY_CONFIG_ARCHDIR}"
|
3313
|
+
fi
|
3307
3314
|
|
3308
3315
|
|
3309
3316
|
RUBY_CFLAGS="${RUBY_CONFIG_CFLAGS} ${RUBY_CONFIG_CCDLFLAGS}"
|
@@ -3312,7 +3319,7 @@ RUBY_CFLAGS="${RUBY_CONFIG_CFLAGS} ${RUBY_CONFIG_CCDLFLAGS}"
|
|
3312
3319
|
RUBY_CXXFLAGS="${RUBY_CONFIG_CFLAGS} ${RUBY_CONFIG_CCDLFLAGS}"
|
3313
3320
|
|
3314
3321
|
|
3315
|
-
RUBY_LDFLAGS="-L${
|
3322
|
+
RUBY_LDFLAGS="-L${RUBY_CONFIG_ARCHDIR} -L${RUBY_CONFIG_LIBDIR} ${RUBY_CONFIG_LDFLAGS}"
|
3316
3323
|
|
3317
3324
|
|
3318
3325
|
RUBY_LIBS="${RUBY_CONFIG_LIBS} ${RUBY_CONFIG_DLDLIBS}"
|
@@ -3330,7 +3337,8 @@ then
|
|
3330
3337
|
else
|
3331
3338
|
if test "x${prefix}x" = "xNONEx"
|
3332
3339
|
then
|
3333
|
-
RUBY_SITELIBDIR
|
3340
|
+
RUBY_SITELIBDIR=`
|
3341
|
+
$RUBY -rrbconfig -e "puts(Config::CONFIG['sitelibdir'] || '')"`
|
3334
3342
|
else
|
3335
3343
|
sitelibdir_no_prefix=`$RUBY -rrbconfig \
|
3336
3344
|
-e "include Config; \
|
@@ -3343,9 +3351,13 @@ fi
|
|
3343
3351
|
CPPFLAGS_save="${CPPFLAGS}"
|
3344
3352
|
CPPFLAGS="${CPPFLAGS} ${RUBY_CPPFLAGS}"
|
3345
3353
|
CXXFLAGS="${CPPFLAGS}"
|
3346
|
-
|
3347
|
-
|
3348
|
-
|
3354
|
+
|
3355
|
+
for ac_header in ruby.h
|
3356
|
+
do
|
3357
|
+
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
3358
|
+
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
3359
|
+
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
3360
|
+
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
3349
3361
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3350
3362
|
else
|
3351
3363
|
cat >conftest.$ac_ext <<_ACEOF
|
@@ -3356,7 +3368,7 @@ cat >>conftest.$ac_ext <<_ACEOF
|
|
3356
3368
|
/* end confdefs.h. */
|
3357
3369
|
|
3358
3370
|
|
3359
|
-
#include
|
3371
|
+
#include <$ac_header>
|
3360
3372
|
_ACEOF
|
3361
3373
|
rm -f conftest.$ac_objext
|
3362
3374
|
if { (ac_try="$ac_compile"
|
@@ -3375,30 +3387,39 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3375
3387
|
test -z "$ac_cxx_werror_flag" ||
|
3376
3388
|
test ! -s conftest.err
|
3377
3389
|
} && test -s conftest.$ac_objext; then
|
3378
|
-
|
3390
|
+
eval "$as_ac_Header=yes"
|
3379
3391
|
else
|
3380
3392
|
echo "$as_me: failed program was:" >&5
|
3381
3393
|
sed 's/^/| /' conftest.$ac_ext >&5
|
3382
3394
|
|
3383
|
-
|
3395
|
+
eval "$as_ac_Header=no"
|
3384
3396
|
fi
|
3385
3397
|
|
3386
3398
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3387
3399
|
fi
|
3388
|
-
|
3389
|
-
echo "$
|
3390
|
-
|
3391
|
-
|
3400
|
+
ac_res=`eval echo '${'$as_ac_Header'}'`
|
3401
|
+
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
3402
|
+
echo "${ECHO_T}$ac_res" >&6; }
|
3403
|
+
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
3404
|
+
cat >>confdefs.h <<_ACEOF
|
3405
|
+
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
3406
|
+
_ACEOF
|
3407
|
+
|
3392
3408
|
else
|
3393
3409
|
{ { echo "$as_me:$LINENO: error: could not find ruby.h (check config.log)" >&5
|
3394
3410
|
echo "$as_me: error: could not find ruby.h (check config.log)" >&2;}
|
3395
3411
|
{ (exit 1); exit 1; }; }
|
3396
3412
|
fi
|
3397
3413
|
|
3414
|
+
done
|
3415
|
+
|
3398
3416
|
|
3399
|
-
|
3400
|
-
|
3401
|
-
|
3417
|
+
for ac_header in node.h
|
3418
|
+
do
|
3419
|
+
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
3420
|
+
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
3421
|
+
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
3422
|
+
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
3402
3423
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3403
3424
|
else
|
3404
3425
|
cat >conftest.$ac_ext <<_ACEOF
|
@@ -3411,7 +3432,7 @@ cat >>conftest.$ac_ext <<_ACEOF
|
|
3411
3432
|
#include <ruby.h>
|
3412
3433
|
|
3413
3434
|
|
3414
|
-
#include
|
3435
|
+
#include <$ac_header>
|
3415
3436
|
_ACEOF
|
3416
3437
|
rm -f conftest.$ac_objext
|
3417
3438
|
if { (ac_try="$ac_compile"
|
@@ -3430,30 +3451,99 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3430
3451
|
test -z "$ac_cxx_werror_flag" ||
|
3431
3452
|
test ! -s conftest.err
|
3432
3453
|
} && test -s conftest.$ac_objext; then
|
3433
|
-
|
3454
|
+
eval "$as_ac_Header=yes"
|
3434
3455
|
else
|
3435
3456
|
echo "$as_me: failed program was:" >&5
|
3436
3457
|
sed 's/^/| /' conftest.$ac_ext >&5
|
3437
3458
|
|
3438
|
-
|
3459
|
+
eval "$as_ac_Header=no"
|
3439
3460
|
fi
|
3440
3461
|
|
3441
3462
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3442
3463
|
fi
|
3443
|
-
|
3444
|
-
echo "$
|
3445
|
-
|
3446
|
-
|
3464
|
+
ac_res=`eval echo '${'$as_ac_Header'}'`
|
3465
|
+
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
3466
|
+
echo "${ECHO_T}$ac_res" >&6; }
|
3467
|
+
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
3468
|
+
cat >>confdefs.h <<_ACEOF
|
3469
|
+
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
3470
|
+
_ACEOF
|
3471
|
+
|
3472
|
+
fi
|
3473
|
+
|
3474
|
+
done
|
3475
|
+
|
3476
|
+
|
3477
|
+
for ac_header in ruby/node.h
|
3478
|
+
do
|
3479
|
+
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
3480
|
+
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
3481
|
+
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
3482
|
+
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
3483
|
+
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3447
3484
|
else
|
3448
|
-
|
3449
|
-
|
3450
|
-
|
3485
|
+
cat >conftest.$ac_ext <<_ACEOF
|
3486
|
+
/* confdefs.h. */
|
3487
|
+
_ACEOF
|
3488
|
+
cat confdefs.h >>conftest.$ac_ext
|
3489
|
+
cat >>conftest.$ac_ext <<_ACEOF
|
3490
|
+
/* end confdefs.h. */
|
3491
|
+
|
3492
|
+
#include <ruby.h>
|
3493
|
+
|
3494
|
+
|
3495
|
+
#include <$ac_header>
|
3496
|
+
_ACEOF
|
3497
|
+
rm -f conftest.$ac_objext
|
3498
|
+
if { (ac_try="$ac_compile"
|
3499
|
+
case "(($ac_try" in
|
3500
|
+
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3501
|
+
*) ac_try_echo=$ac_try;;
|
3502
|
+
esac
|
3503
|
+
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3504
|
+
(eval "$ac_compile") 2>conftest.er1
|
3505
|
+
ac_status=$?
|
3506
|
+
grep -v '^ *+' conftest.er1 >conftest.err
|
3507
|
+
rm -f conftest.er1
|
3508
|
+
cat conftest.err >&5
|
3509
|
+
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3510
|
+
(exit $ac_status); } && {
|
3511
|
+
test -z "$ac_cxx_werror_flag" ||
|
3512
|
+
test ! -s conftest.err
|
3513
|
+
} && test -s conftest.$ac_objext; then
|
3514
|
+
eval "$as_ac_Header=yes"
|
3515
|
+
else
|
3516
|
+
echo "$as_me: failed program was:" >&5
|
3517
|
+
sed 's/^/| /' conftest.$ac_ext >&5
|
3518
|
+
|
3519
|
+
eval "$as_ac_Header=no"
|
3520
|
+
fi
|
3521
|
+
|
3522
|
+
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3523
|
+
fi
|
3524
|
+
ac_res=`eval echo '${'$as_ac_Header'}'`
|
3525
|
+
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
3526
|
+
echo "${ECHO_T}$ac_res" >&6; }
|
3527
|
+
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
3528
|
+
cat >>confdefs.h <<_ACEOF
|
3529
|
+
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
3530
|
+
_ACEOF
|
3531
|
+
|
3532
|
+
cat >>confdefs.h <<\_ACEOF
|
3533
|
+
#define REALLY_HAVE_RUBY_NODE_H
|
3534
|
+
_ACEOF
|
3535
|
+
|
3451
3536
|
fi
|
3452
3537
|
|
3538
|
+
done
|
3539
|
+
|
3453
3540
|
|
3454
|
-
|
3455
|
-
|
3456
|
-
|
3541
|
+
for ac_header in version.h
|
3542
|
+
do
|
3543
|
+
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
3544
|
+
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
3545
|
+
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
3546
|
+
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
3457
3547
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3458
3548
|
else
|
3459
3549
|
cat >conftest.$ac_ext <<_ACEOF
|
@@ -3466,7 +3556,7 @@ cat >>conftest.$ac_ext <<_ACEOF
|
|
3466
3556
|
#include <ruby.h>
|
3467
3557
|
|
3468
3558
|
|
3469
|
-
#include
|
3559
|
+
#include <$ac_header>
|
3470
3560
|
_ACEOF
|
3471
3561
|
rm -f conftest.$ac_objext
|
3472
3562
|
if { (ac_try="$ac_compile"
|
@@ -3485,25 +3575,165 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3485
3575
|
test -z "$ac_cxx_werror_flag" ||
|
3486
3576
|
test ! -s conftest.err
|
3487
3577
|
} && test -s conftest.$ac_objext; then
|
3488
|
-
|
3578
|
+
eval "$as_ac_Header=yes"
|
3489
3579
|
else
|
3490
3580
|
echo "$as_me: failed program was:" >&5
|
3491
3581
|
sed 's/^/| /' conftest.$ac_ext >&5
|
3492
3582
|
|
3493
|
-
|
3583
|
+
eval "$as_ac_Header=no"
|
3494
3584
|
fi
|
3495
3585
|
|
3496
3586
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3497
3587
|
fi
|
3498
|
-
|
3499
|
-
echo "$
|
3500
|
-
|
3501
|
-
|
3588
|
+
ac_res=`eval echo '${'$as_ac_Header'}'`
|
3589
|
+
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
3590
|
+
echo "${ECHO_T}$ac_res" >&6; }
|
3591
|
+
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
3592
|
+
cat >>confdefs.h <<_ACEOF
|
3593
|
+
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
3594
|
+
_ACEOF
|
3595
|
+
|
3596
|
+
fi
|
3597
|
+
|
3598
|
+
done
|
3599
|
+
|
3600
|
+
|
3601
|
+
for ac_header in env.h
|
3602
|
+
do
|
3603
|
+
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
3604
|
+
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
3605
|
+
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
3606
|
+
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
3607
|
+
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3502
3608
|
else
|
3503
|
-
|
3504
|
-
|
3505
|
-
|
3609
|
+
cat >conftest.$ac_ext <<_ACEOF
|
3610
|
+
/* confdefs.h. */
|
3611
|
+
_ACEOF
|
3612
|
+
cat confdefs.h >>conftest.$ac_ext
|
3613
|
+
cat >>conftest.$ac_ext <<_ACEOF
|
3614
|
+
/* end confdefs.h. */
|
3615
|
+
|
3616
|
+
#include <ruby.h>
|
3617
|
+
|
3618
|
+
|
3619
|
+
#include <$ac_header>
|
3620
|
+
_ACEOF
|
3621
|
+
rm -f conftest.$ac_objext
|
3622
|
+
if { (ac_try="$ac_compile"
|
3623
|
+
case "(($ac_try" in
|
3624
|
+
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3625
|
+
*) ac_try_echo=$ac_try;;
|
3626
|
+
esac
|
3627
|
+
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3628
|
+
(eval "$ac_compile") 2>conftest.er1
|
3629
|
+
ac_status=$?
|
3630
|
+
grep -v '^ *+' conftest.er1 >conftest.err
|
3631
|
+
rm -f conftest.er1
|
3632
|
+
cat conftest.err >&5
|
3633
|
+
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3634
|
+
(exit $ac_status); } && {
|
3635
|
+
test -z "$ac_cxx_werror_flag" ||
|
3636
|
+
test ! -s conftest.err
|
3637
|
+
} && test -s conftest.$ac_objext; then
|
3638
|
+
eval "$as_ac_Header=yes"
|
3639
|
+
else
|
3640
|
+
echo "$as_me: failed program was:" >&5
|
3641
|
+
sed 's/^/| /' conftest.$ac_ext >&5
|
3642
|
+
|
3643
|
+
eval "$as_ac_Header=no"
|
3644
|
+
fi
|
3645
|
+
|
3646
|
+
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3506
3647
|
fi
|
3648
|
+
ac_res=`eval echo '${'$as_ac_Header'}'`
|
3649
|
+
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
3650
|
+
echo "${ECHO_T}$ac_res" >&6; }
|
3651
|
+
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
3652
|
+
cat >>confdefs.h <<_ACEOF
|
3653
|
+
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
3654
|
+
_ACEOF
|
3655
|
+
|
3656
|
+
fi
|
3657
|
+
|
3658
|
+
done
|
3659
|
+
|
3660
|
+
|
3661
|
+
save_ldflags="$LDFLAGS"
|
3662
|
+
LDFLAGS="$RUBY_LDFLAGS"
|
3663
|
+
|
3664
|
+
as_ac_Lib=`echo "ac_cv_lib_$RUBY_CONFIG_SO_NAME''_rb_class_boot" | $as_tr_sh`
|
3665
|
+
{ echo "$as_me:$LINENO: checking for rb_class_boot in -l$RUBY_CONFIG_SO_NAME" >&5
|
3666
|
+
echo $ECHO_N "checking for rb_class_boot in -l$RUBY_CONFIG_SO_NAME... $ECHO_C" >&6; }
|
3667
|
+
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
|
3668
|
+
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3669
|
+
else
|
3670
|
+
ac_check_lib_save_LIBS=$LIBS
|
3671
|
+
LIBS="-l$RUBY_CONFIG_SO_NAME $LIBS"
|
3672
|
+
cat >conftest.$ac_ext <<_ACEOF
|
3673
|
+
/* confdefs.h. */
|
3674
|
+
_ACEOF
|
3675
|
+
cat confdefs.h >>conftest.$ac_ext
|
3676
|
+
cat >>conftest.$ac_ext <<_ACEOF
|
3677
|
+
/* end confdefs.h. */
|
3678
|
+
|
3679
|
+
/* Override any GCC internal prototype to avoid an error.
|
3680
|
+
Use char because int might match the return type of a GCC
|
3681
|
+
builtin and then its argument prototype would still apply. */
|
3682
|
+
#ifdef __cplusplus
|
3683
|
+
extern "C"
|
3684
|
+
#endif
|
3685
|
+
char rb_class_boot ();
|
3686
|
+
int
|
3687
|
+
main ()
|
3688
|
+
{
|
3689
|
+
return rb_class_boot ();
|
3690
|
+
;
|
3691
|
+
return 0;
|
3692
|
+
}
|
3693
|
+
_ACEOF
|
3694
|
+
rm -f conftest.$ac_objext conftest$ac_exeext
|
3695
|
+
if { (ac_try="$ac_link"
|
3696
|
+
case "(($ac_try" in
|
3697
|
+
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3698
|
+
*) ac_try_echo=$ac_try;;
|
3699
|
+
esac
|
3700
|
+
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3701
|
+
(eval "$ac_link") 2>conftest.er1
|
3702
|
+
ac_status=$?
|
3703
|
+
grep -v '^ *+' conftest.er1 >conftest.err
|
3704
|
+
rm -f conftest.er1
|
3705
|
+
cat conftest.err >&5
|
3706
|
+
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3707
|
+
(exit $ac_status); } && {
|
3708
|
+
test -z "$ac_cxx_werror_flag" ||
|
3709
|
+
test ! -s conftest.err
|
3710
|
+
} && test -s conftest$ac_exeext &&
|
3711
|
+
$as_test_x conftest$ac_exeext; then
|
3712
|
+
eval "$as_ac_Lib=yes"
|
3713
|
+
else
|
3714
|
+
echo "$as_me: failed program was:" >&5
|
3715
|
+
sed 's/^/| /' conftest.$ac_ext >&5
|
3716
|
+
|
3717
|
+
eval "$as_ac_Lib=no"
|
3718
|
+
fi
|
3719
|
+
|
3720
|
+
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
3721
|
+
conftest$ac_exeext conftest.$ac_ext
|
3722
|
+
LIBS=$ac_check_lib_save_LIBS
|
3723
|
+
fi
|
3724
|
+
ac_res=`eval echo '${'$as_ac_Lib'}'`
|
3725
|
+
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
3726
|
+
echo "${ECHO_T}$ac_res" >&6; }
|
3727
|
+
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
|
3728
|
+
|
3729
|
+
cat >>confdefs.h <<\_ACEOF
|
3730
|
+
#define HAVE_RB_CLASS_BOOT
|
3731
|
+
_ACEOF
|
3732
|
+
|
3733
|
+
fi
|
3734
|
+
|
3735
|
+
|
3736
|
+
LDFLAGS="$save_ldflags"
|
3507
3737
|
|
3508
3738
|
|
3509
3739
|
CPPFLAGS="${CPPFLAGS_save}"
|
@@ -5708,7 +5938,10 @@ esac
|
|
5708
5938
|
RICE_SAMPLES="enum map inheritance"
|
5709
5939
|
|
5710
5940
|
|
5711
|
-
|
5941
|
+
RICE_ROOT=`pwd`
|
5942
|
+
|
5943
|
+
|
5944
|
+
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"
|
5712
5945
|
|
5713
5946
|
cat >confcache <<\_ACEOF
|
5714
5947
|
# This file is a shell script that caches the results of configure
|
@@ -6274,7 +6507,7 @@ exec 6>&1
|
|
6274
6507
|
# report actual input values of CONFIG_FILES etc. instead of their
|
6275
6508
|
# values after options handling.
|
6276
6509
|
ac_log="
|
6277
|
-
This file was extended by rice $as_me 1.
|
6510
|
+
This file was extended by rice $as_me 1.1, which was
|
6278
6511
|
generated by GNU Autoconf 2.61. Invocation command line was
|
6279
6512
|
|
6280
6513
|
CONFIG_FILES = $CONFIG_FILES
|
@@ -6327,7 +6560,7 @@ Report bugs to <bug-autoconf@gnu.org>."
|
|
6327
6560
|
_ACEOF
|
6328
6561
|
cat >>$CONFIG_STATUS <<_ACEOF
|
6329
6562
|
ac_cs_version="\\
|
6330
|
-
rice config.status 1.
|
6563
|
+
rice config.status 1.1
|
6331
6564
|
configured by $0, generated by GNU Autoconf 2.61,
|
6332
6565
|
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
6333
6566
|
|
@@ -6450,6 +6683,7 @@ do
|
|
6450
6683
|
"ruby/Makefile") CONFIG_FILES="$CONFIG_FILES ruby/Makefile" ;;
|
6451
6684
|
"ruby/lib/Makefile") CONFIG_FILES="$CONFIG_FILES ruby/lib/Makefile" ;;
|
6452
6685
|
"ruby/lib/mkmf-rice.rb") CONFIG_FILES="$CONFIG_FILES ruby/lib/mkmf-rice.rb" ;;
|
6686
|
+
"rice/detail/ruby_version_code.hpp") CONFIG_FILES="$CONFIG_FILES rice/detail/ruby_version_code.hpp" ;;
|
6453
6687
|
|
6454
6688
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
6455
6689
|
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
@@ -6600,6 +6834,7 @@ host_vendor!$host_vendor$ac_delim
|
|
6600
6834
|
host_os!$host_os$ac_delim
|
6601
6835
|
RICE_USING_MINGW32!$RICE_USING_MINGW32$ac_delim
|
6602
6836
|
RUBY!$RUBY$ac_delim
|
6837
|
+
RUBY_VERSION_CODE!$RUBY_VERSION_CODE$ac_delim
|
6603
6838
|
RUBY_CPPFLAGS!$RUBY_CPPFLAGS$ac_delim
|
6604
6839
|
RUBY_CFLAGS!$RUBY_CFLAGS$ac_delim
|
6605
6840
|
RUBY_CXXFLAGS!$RUBY_CXXFLAGS$ac_delim
|
@@ -6608,7 +6843,6 @@ RUBY_LIBS!$RUBY_LIBS$ac_delim
|
|
6608
6843
|
RUBY_LIBRUBYARG!$RUBY_LIBRUBYARG$ac_delim
|
6609
6844
|
RUBY_LIBRUBYARG_STATIC!$RUBY_LIBRUBYARG_STATIC$ac_delim
|
6610
6845
|
RUBY_SITELIBDIR!$RUBY_SITELIBDIR$ac_delim
|
6611
|
-
DX_PROJECT!$DX_PROJECT$ac_delim
|
6612
6846
|
_ACEOF
|
6613
6847
|
|
6614
6848
|
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
|
@@ -6650,78 +6884,59 @@ _ACEOF
|
|
6650
6884
|
ac_delim='%!_!# '
|
6651
6885
|
for ac_last_try in false false false false false :; do
|
6652
6886
|
cat >conf$$subs.sed <<_ACEOF
|
6887
|
+
DX_PROJECT!$DX_PROJECT$ac_delim
|
6653
6888
|
DX_CONFIG!$DX_CONFIG$ac_delim
|
6654
6889
|
DX_DOCDIR!$DX_DOCDIR$ac_delim
|
6655
6890
|
DX_ENV!$DX_ENV$ac_delim
|
6656
6891
|
DX_FLAG_doc!$DX_FLAG_doc$ac_delim
|
6657
6892
|
DX_DOXYGEN!$DX_DOXYGEN$ac_delim
|
6658
|
-
DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
|
6659
6893
|
DX_PERL!$DX_PERL$ac_delim
|
6660
|
-
DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
|
6661
6894
|
DX_COND_doc_TRUE!$DX_COND_doc_TRUE$ac_delim
|
6662
6895
|
DX_COND_doc_FALSE!$DX_COND_doc_FALSE$ac_delim
|
6663
6896
|
DX_FLAG_dot!$DX_FLAG_dot$ac_delim
|
6664
|
-
DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
|
6665
6897
|
DX_DOT!$DX_DOT$ac_delim
|
6666
|
-
DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
|
6667
6898
|
DX_COND_dot_TRUE!$DX_COND_dot_TRUE$ac_delim
|
6668
6899
|
DX_COND_dot_FALSE!$DX_COND_dot_FALSE$ac_delim
|
6669
6900
|
DX_FLAG_man!$DX_FLAG_man$ac_delim
|
6670
|
-
DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
|
6671
6901
|
DX_COND_man_TRUE!$DX_COND_man_TRUE$ac_delim
|
6672
6902
|
DX_COND_man_FALSE!$DX_COND_man_FALSE$ac_delim
|
6673
6903
|
DX_FLAG_rtf!$DX_FLAG_rtf$ac_delim
|
6674
|
-
DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
|
6675
6904
|
DX_COND_rtf_TRUE!$DX_COND_rtf_TRUE$ac_delim
|
6676
6905
|
DX_COND_rtf_FALSE!$DX_COND_rtf_FALSE$ac_delim
|
6677
6906
|
DX_FLAG_xml!$DX_FLAG_xml$ac_delim
|
6678
|
-
DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
|
6679
6907
|
DX_COND_xml_TRUE!$DX_COND_xml_TRUE$ac_delim
|
6680
6908
|
DX_COND_xml_FALSE!$DX_COND_xml_FALSE$ac_delim
|
6681
6909
|
DX_FLAG_chm!$DX_FLAG_chm$ac_delim
|
6682
|
-
DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
|
6683
6910
|
DX_HHC!$DX_HHC$ac_delim
|
6684
|
-
DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
|
6685
6911
|
DX_COND_chm_TRUE!$DX_COND_chm_TRUE$ac_delim
|
6686
6912
|
DX_COND_chm_FALSE!$DX_COND_chm_FALSE$ac_delim
|
6687
6913
|
DX_FLAG_chi!$DX_FLAG_chi$ac_delim
|
6688
|
-
DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
|
6689
6914
|
DX_COND_chi_TRUE!$DX_COND_chi_TRUE$ac_delim
|
6690
6915
|
DX_COND_chi_FALSE!$DX_COND_chi_FALSE$ac_delim
|
6691
6916
|
DX_FLAG_html!$DX_FLAG_html$ac_delim
|
6692
|
-
DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
|
6693
|
-
DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
|
6694
6917
|
DX_COND_html_TRUE!$DX_COND_html_TRUE$ac_delim
|
6695
6918
|
DX_COND_html_FALSE!$DX_COND_html_FALSE$ac_delim
|
6696
6919
|
DX_FLAG_ps!$DX_FLAG_ps$ac_delim
|
6697
|
-
DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
|
6698
6920
|
DX_LATEX!$DX_LATEX$ac_delim
|
6699
|
-
DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
|
6700
6921
|
DX_MAKEINDEX!$DX_MAKEINDEX$ac_delim
|
6701
|
-
DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
|
6702
6922
|
DX_DVIPS!$DX_DVIPS$ac_delim
|
6703
|
-
DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
|
6704
6923
|
DX_EGREP!$DX_EGREP$ac_delim
|
6705
|
-
DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
|
6706
6924
|
DX_COND_ps_TRUE!$DX_COND_ps_TRUE$ac_delim
|
6707
6925
|
DX_COND_ps_FALSE!$DX_COND_ps_FALSE$ac_delim
|
6708
6926
|
DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
|
6709
|
-
DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
|
6710
6927
|
DX_PDFLATEX!$DX_PDFLATEX$ac_delim
|
6711
|
-
DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
|
6712
|
-
DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
|
6713
|
-
DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
|
6714
6928
|
DX_COND_pdf_TRUE!$DX_COND_pdf_TRUE$ac_delim
|
6715
6929
|
DX_COND_pdf_FALSE!$DX_COND_pdf_FALSE$ac_delim
|
6716
6930
|
DX_COND_latex_TRUE!$DX_COND_latex_TRUE$ac_delim
|
6717
6931
|
DX_COND_latex_FALSE!$DX_COND_latex_FALSE$ac_delim
|
6718
6932
|
DOXYGEN_PAPER_SIZE!$DOXYGEN_PAPER_SIZE$ac_delim
|
6719
6933
|
RICE_SAMPLES!$RICE_SAMPLES$ac_delim
|
6934
|
+
RICE_ROOT!$RICE_ROOT$ac_delim
|
6720
6935
|
LIBOBJS!$LIBOBJS$ac_delim
|
6721
6936
|
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
6722
6937
|
_ACEOF
|
6723
6938
|
|
6724
|
-
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` =
|
6939
|
+
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 50; then
|
6725
6940
|
break
|
6726
6941
|
elif $ac_last_try; then
|
6727
6942
|
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|