rice 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Makefile.in +15 -10
- data/README.mingw +0 -0
- data/Rakefile +1 -1
- data/aclocal.m4 +22 -16
- data/bootstrap +0 -0
- data/config.guess +21 -11
- data/config.sub +38 -6
- data/configure +13 -10
- data/depcomp +19 -14
- data/install-sh +120 -108
- data/missing +0 -0
- data/rice/Class.ipp +2 -0
- data/rice/Data_Type.ipp +18 -0
- data/rice/Data_Type_defn.hpp +1 -1
- data/rice/Enum.hpp +1 -1
- data/rice/Enum.ipp +3 -3
- data/rice/Hash.ipp +2 -0
- data/rice/Makefile.am +2 -0
- data/rice/Makefile.in +26 -10
- data/rice/Module.cpp +3 -2
- data/rice/Module_defn.hpp +2 -1
- data/rice/String.cpp +1 -0
- data/rice/String.hpp +2 -1
- data/rice/detail/default_allocation_func.ipp +2 -2
- data/rice/detail/demangle.cpp +56 -0
- data/rice/detail/demangle.hpp +19 -0
- data/rice/detail/env.hpp +15 -13
- data/rice/detail/from_ruby.ipp +12 -26
- data/rice/detail/ruby.hpp +12 -2
- data/rice/detail/to_ruby.hpp +7 -1
- data/rice/detail/to_ruby.ipp +34 -7
- data/ruby/Makefile.in +8 -9
- data/ruby/lib/Makefile.in +2 -2
- data/ruby/lib/mkmf-rice.rb.in +7 -0
- data/ruby.ac +4 -2
- data/sample/Makefile.in +2 -2
- data/test/Makefile.in +9 -10
- data/test/test_Class.cpp +23 -0
- data/test/test_Constructor.cpp +33 -0
- data/test/test_Module.cpp +1 -1
- metadata +43 -34
data/Makefile.in
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
# Makefile.in generated by automake 1.10 from Makefile.am.
|
1
|
+
# Makefile.in generated by automake 1.10.1 from Makefile.am.
|
2
2
|
# @configure_input@
|
3
3
|
|
4
4
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
5
|
-
# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
5
|
+
# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
6
6
|
# This Makefile.in is free software; the Free Software Foundation
|
7
7
|
# gives unlimited permission to copy and/or distribute it,
|
8
8
|
# with or without modifications, as long as this notice is preserved.
|
@@ -379,8 +379,8 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
|
379
379
|
unique=`for i in $$list; do \
|
380
380
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
381
381
|
done | \
|
382
|
-
$(AWK) '
|
383
|
-
|
382
|
+
$(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
|
383
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
384
384
|
mkid -fID $$unique
|
385
385
|
tags: TAGS
|
386
386
|
|
@@ -405,8 +405,8 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
405
405
|
unique=`for i in $$list; do \
|
406
406
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
407
407
|
done | \
|
408
|
-
$(AWK) '
|
409
|
-
|
408
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
409
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
410
410
|
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
411
411
|
test -n "$$unique" || unique=$$empty_fix; \
|
412
412
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
@@ -416,13 +416,12 @@ ctags: CTAGS
|
|
416
416
|
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
417
417
|
$(TAGS_FILES) $(LISP)
|
418
418
|
tags=; \
|
419
|
-
here=`pwd`; \
|
420
419
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
421
420
|
unique=`for i in $$list; do \
|
422
421
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
423
422
|
done | \
|
424
|
-
$(AWK) '
|
425
|
-
|
423
|
+
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
424
|
+
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
426
425
|
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
427
426
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
428
427
|
$$tags $$unique
|
@@ -493,6 +492,10 @@ dist-bzip2: distdir
|
|
493
492
|
tardir="$(distdir)" && $(am__tar) | bzip2 -9 -c >"$(distdir)".tar.bz2
|
494
493
|
$(am__remove_distdir)
|
495
494
|
|
495
|
+
dist-lzma: distdir
|
496
|
+
tardir="$(distdir)" && $(am__tar) | lzma -9 -c >"$(distdir)".tar.lzma
|
497
|
+
$(am__remove_distdir)
|
498
|
+
|
496
499
|
dist-tarZ: distdir
|
497
500
|
tardir="$(distdir)" && $(am__tar) | compress -c >"$(distdir)".tar.Z
|
498
501
|
$(am__remove_distdir)
|
@@ -519,6 +522,8 @@ distcheck: dist
|
|
519
522
|
GZIP=$(GZIP_ENV) gunzip -c "$(distdir)".tar.gz | $(am__untar) ;;\
|
520
523
|
*.tar.bz2*) \
|
521
524
|
bunzip2 -c "$(distdir)".tar.bz2 | $(am__untar) ;;\
|
525
|
+
*.tar.lzma*) \
|
526
|
+
unlzma -c "$(distdir)".tar.lzma | $(am__untar) ;;\
|
522
527
|
*.tar.Z*) \
|
523
528
|
uncompress -c "$(distdir)".tar.Z | $(am__untar) ;;\
|
524
529
|
*.shar.gz*) \
|
@@ -669,7 +674,7 @@ uninstall-am:
|
|
669
674
|
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
|
670
675
|
all all-am am--refresh check check-am clean clean-generic \
|
671
676
|
ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
|
672
|
-
dist-shar dist-tarZ dist-zip distcheck distclean \
|
677
|
+
dist-lzma dist-shar dist-tarZ dist-zip distcheck distclean \
|
673
678
|
distclean-generic distclean-tags distcleancheck distdir \
|
674
679
|
distuninstallcheck dvi dvi-am html html-am info info-am \
|
675
680
|
install install-am install-data install-data-am install-dvi \
|
data/README.mingw
CHANGED
File without changes
|
data/Rakefile
CHANGED
data/aclocal.m4
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
# generated automatically by aclocal 1.10 -*- Autoconf -*-
|
1
|
+
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
|
2
2
|
|
3
3
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
4
|
-
# 2005, 2006 Free Software Foundation, Inc.
|
4
|
+
# 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
5
5
|
# This file is free software; the Free Software Foundation
|
6
6
|
# gives unlimited permission to copy and/or distribute it,
|
7
7
|
# with or without modifications, as long as this notice is preserved.
|
@@ -11,12 +11,15 @@
|
|
11
11
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
12
12
|
# PARTICULAR PURPOSE.
|
13
13
|
|
14
|
-
|
15
|
-
[
|
16
|
-
|
17
|
-
|
14
|
+
m4_ifndef([AC_AUTOCONF_VERSION],
|
15
|
+
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
16
|
+
m4_if(AC_AUTOCONF_VERSION, [2.61],,
|
17
|
+
[m4_warning([this file was generated for autoconf 2.61.
|
18
|
+
You have another version of autoconf. It may work, but is not guaranteed to.
|
19
|
+
If you have problems, you may need to regenerate the build system entirely.
|
20
|
+
To do so, use the procedure documented by the package, typically `autoreconf'.])])
|
18
21
|
|
19
|
-
# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
22
|
+
# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
|
20
23
|
#
|
21
24
|
# This file is free software; the Free Software Foundation
|
22
25
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -31,7 +34,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],
|
|
31
34
|
[am__api_version='1.10'
|
32
35
|
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
|
33
36
|
dnl require some minimum version. Point them to the right macro.
|
34
|
-
m4_if([$1], [1.10], [],
|
37
|
+
m4_if([$1], [1.10.1], [],
|
35
38
|
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
|
36
39
|
])
|
37
40
|
|
@@ -47,8 +50,10 @@ m4_define([_AM_AUTOCONF_VERSION], [])
|
|
47
50
|
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
|
48
51
|
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
|
49
52
|
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
50
|
-
[AM_AUTOMAKE_VERSION([1.10])dnl
|
51
|
-
|
53
|
+
[AM_AUTOMAKE_VERSION([1.10.1])dnl
|
54
|
+
m4_ifndef([AC_AUTOCONF_VERSION],
|
55
|
+
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
56
|
+
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
|
52
57
|
|
53
58
|
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
|
54
59
|
|
@@ -320,7 +325,7 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
|
|
320
325
|
# each Makefile.in and add a new line on top of each file to say so.
|
321
326
|
# Grep'ing the whole file is not good either: AIX grep has a line
|
322
327
|
# limit of 2048, but all sed's we know have understand at least 4000.
|
323
|
-
if sed
|
328
|
+
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
324
329
|
dirpart=`AS_DIRNAME("$mf")`
|
325
330
|
else
|
326
331
|
continue
|
@@ -380,13 +385,13 @@ AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
|
|
380
385
|
# Do all the work for Automake. -*- Autoconf -*-
|
381
386
|
|
382
387
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
383
|
-
# 2005, 2006 Free Software Foundation, Inc.
|
388
|
+
# 2005, 2006, 2008 Free Software Foundation, Inc.
|
384
389
|
#
|
385
390
|
# This file is free software; the Free Software Foundation
|
386
391
|
# gives unlimited permission to copy and/or distribute it,
|
387
392
|
# with or without modifications, as long as this notice is preserved.
|
388
393
|
|
389
|
-
# serial
|
394
|
+
# serial 13
|
390
395
|
|
391
396
|
# This macro actually does too much. Some checks are only needed if
|
392
397
|
# your package does certain things. But this isn't really a big deal.
|
@@ -491,16 +496,17 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
|
|
491
496
|
# our stamp files there.
|
492
497
|
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
|
493
498
|
[# Compute $1's index in $config_headers.
|
499
|
+
_am_arg=$1
|
494
500
|
_am_stamp_count=1
|
495
501
|
for _am_header in $config_headers :; do
|
496
502
|
case $_am_header in
|
497
|
-
$
|
503
|
+
$_am_arg | $_am_arg:* )
|
498
504
|
break ;;
|
499
505
|
* )
|
500
506
|
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
501
507
|
esac
|
502
508
|
done
|
503
|
-
echo "timestamp for $
|
509
|
+
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
|
504
510
|
|
505
511
|
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
|
506
512
|
#
|
@@ -772,7 +778,7 @@ AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
|
772
778
|
|
773
779
|
# _AM_SUBST_NOTMAKE(VARIABLE)
|
774
780
|
# ---------------------------
|
775
|
-
# Prevent Automake from
|
781
|
+
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
|
776
782
|
# This macro is traced by Automake.
|
777
783
|
AC_DEFUN([_AM_SUBST_NOTMAKE])
|
778
784
|
|
data/bootstrap
CHANGED
File without changes
|
data/config.guess
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
#! /bin/sh
|
2
2
|
# Attempt to guess a canonical system name.
|
3
3
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
4
|
-
# 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
5
|
-
# Inc.
|
4
|
+
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
|
5
|
+
# Free Software Foundation, Inc.
|
6
6
|
|
7
|
-
timestamp='
|
7
|
+
timestamp='2008-01-23'
|
8
8
|
|
9
9
|
# This file is free software; you can redistribute it and/or modify it
|
10
10
|
# under the terms of the GNU General Public License as published by
|
@@ -56,8 +56,8 @@ version="\
|
|
56
56
|
GNU config.guess ($timestamp)
|
57
57
|
|
58
58
|
Originally written by Per Bothner.
|
59
|
-
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
|
60
|
-
Free Software Foundation, Inc.
|
59
|
+
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
|
60
|
+
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
61
61
|
|
62
62
|
This is free software; see the source for copying conditions. There is NO
|
63
63
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
@@ -549,7 +549,7 @@ EOF
|
|
549
549
|
echo rs6000-ibm-aix3.2
|
550
550
|
fi
|
551
551
|
exit ;;
|
552
|
-
*:AIX:*:[
|
552
|
+
*:AIX:*:[456])
|
553
553
|
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
|
554
554
|
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
|
555
555
|
IBM_ARCH=rs6000
|
@@ -816,6 +816,9 @@ EOF
|
|
816
816
|
EM64T | authenticamd)
|
817
817
|
echo x86_64-unknown-interix${UNAME_RELEASE}
|
818
818
|
exit ;;
|
819
|
+
IA64)
|
820
|
+
echo ia64-unknown-interix${UNAME_RELEASE}
|
821
|
+
exit ;;
|
819
822
|
esac ;;
|
820
823
|
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
|
821
824
|
echo i${UNAME_MACHINE}-pc-mks
|
@@ -850,7 +853,14 @@ EOF
|
|
850
853
|
echo ${UNAME_MACHINE}-pc-minix
|
851
854
|
exit ;;
|
852
855
|
arm*:Linux:*:*)
|
853
|
-
|
856
|
+
eval $set_cc_for_build
|
857
|
+
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
858
|
+
| grep -q __ARM_EABI__
|
859
|
+
then
|
860
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
861
|
+
else
|
862
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
|
863
|
+
fi
|
854
864
|
exit ;;
|
855
865
|
avr32*:Linux:*:*)
|
856
866
|
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
@@ -971,8 +981,8 @@ EOF
|
|
971
981
|
x86_64:Linux:*:*)
|
972
982
|
echo x86_64-unknown-linux-${LIBC}
|
973
983
|
exit ;;
|
974
|
-
xtensa
|
975
|
-
echo
|
984
|
+
xtensa*:Linux:*:*)
|
985
|
+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
976
986
|
exit ;;
|
977
987
|
i*86:Linux:*:*)
|
978
988
|
# The BFD linker knows what the default object file format is, so
|
@@ -1493,9 +1503,9 @@ This script, last modified $timestamp, has failed to recognize
|
|
1493
1503
|
the operating system you are using. It is advised that you
|
1494
1504
|
download the most up to date version of the config scripts from
|
1495
1505
|
|
1496
|
-
http://savannah.gnu.org/
|
1506
|
+
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
|
1497
1507
|
and
|
1498
|
-
http://savannah.gnu.org/
|
1508
|
+
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
|
1499
1509
|
|
1500
1510
|
If the version you run ($0) is already up to date, please
|
1501
1511
|
send the following data and any information you think might be
|
data/config.sub
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
#! /bin/sh
|
2
2
|
# Configuration validation subroutine script.
|
3
3
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
4
|
-
# 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
5
|
-
# Inc.
|
4
|
+
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
|
5
|
+
# Free Software Foundation, Inc.
|
6
6
|
|
7
|
-
timestamp='
|
7
|
+
timestamp='2008-01-16'
|
8
8
|
|
9
9
|
# This file is (in principle) common to ALL GNU software.
|
10
10
|
# The presence of a machine in this file suggests that SOME GNU software
|
@@ -72,8 +72,8 @@ Report bugs and patches to <config-patches@gnu.org>."
|
|
72
72
|
version="\
|
73
73
|
GNU config.sub ($timestamp)
|
74
74
|
|
75
|
-
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
|
76
|
-
Free Software Foundation, Inc.
|
75
|
+
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
|
76
|
+
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
77
77
|
|
78
78
|
This is free software; see the source for copying conditions. There is NO
|
79
79
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
@@ -369,10 +369,14 @@ case $basic_machine in
|
|
369
369
|
| v850-* | v850e-* | vax-* \
|
370
370
|
| we32k-* \
|
371
371
|
| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
|
372
|
-
| xstormy16-* | xtensa
|
372
|
+
| xstormy16-* | xtensa*-* \
|
373
373
|
| ymp-* \
|
374
374
|
| z8k-*)
|
375
375
|
;;
|
376
|
+
# Recognize the basic CPU types without company name, with glob match.
|
377
|
+
xtensa*)
|
378
|
+
basic_machine=$basic_machine-unknown
|
379
|
+
;;
|
376
380
|
# Recognize the various machine names and aliases which stand
|
377
381
|
# for a CPU type and a company and sometimes even an OS.
|
378
382
|
386bsd)
|
@@ -443,6 +447,14 @@ case $basic_machine in
|
|
443
447
|
basic_machine=ns32k-sequent
|
444
448
|
os=-dynix
|
445
449
|
;;
|
450
|
+
blackfin)
|
451
|
+
basic_machine=bfin-unknown
|
452
|
+
os=-linux
|
453
|
+
;;
|
454
|
+
blackfin-*)
|
455
|
+
basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
|
456
|
+
os=-linux
|
457
|
+
;;
|
446
458
|
c90)
|
447
459
|
basic_machine=c90-cray
|
448
460
|
os=-unicos
|
@@ -668,6 +680,14 @@ case $basic_machine in
|
|
668
680
|
basic_machine=m68k-isi
|
669
681
|
os=-sysv
|
670
682
|
;;
|
683
|
+
m68knommu)
|
684
|
+
basic_machine=m68k-unknown
|
685
|
+
os=-linux
|
686
|
+
;;
|
687
|
+
m68knommu-*)
|
688
|
+
basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
|
689
|
+
os=-linux
|
690
|
+
;;
|
671
691
|
m88k-omron*)
|
672
692
|
basic_machine=m88k-omron
|
673
693
|
;;
|
@@ -831,6 +851,14 @@ case $basic_machine in
|
|
831
851
|
basic_machine=i860-intel
|
832
852
|
os=-osf
|
833
853
|
;;
|
854
|
+
parisc)
|
855
|
+
basic_machine=hppa-unknown
|
856
|
+
os=-linux
|
857
|
+
;;
|
858
|
+
parisc-*)
|
859
|
+
basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
|
860
|
+
os=-linux
|
861
|
+
;;
|
834
862
|
pbd)
|
835
863
|
basic_machine=sparc-tti
|
836
864
|
;;
|
@@ -1039,6 +1067,10 @@ case $basic_machine in
|
|
1039
1067
|
basic_machine=tic6x-unknown
|
1040
1068
|
os=-coff
|
1041
1069
|
;;
|
1070
|
+
tile*)
|
1071
|
+
basic_machine=tile-unknown
|
1072
|
+
os=-linux-gnu
|
1073
|
+
;;
|
1042
1074
|
tx39)
|
1043
1075
|
basic_machine=mipstx39-unknown
|
1044
1076
|
;;
|
data/configure
CHANGED
@@ -3301,14 +3301,15 @@ RUBY_CONFIG_DLDLIBS=`$RUBY -rrbconfig -e "puts Config::CONFIG['DLDLIBS']"`
|
|
3301
3301
|
RUBY_CONFIG_LDFLAGS=`$RUBY -rrbconfig -e "puts Config::CONFIG['LDFLAGS']"`
|
3302
3302
|
RUBY_CONFIG_LIBRUBYARG=`$RUBY -rrbconfig -e "puts Config::CONFIG['LIBRUBYARG']"`
|
3303
3303
|
RUBY_CONFIG_LIBRUBYARG_STATIC=`$RUBY -rrbconfig -e "puts Config::CONFIG['LIBRUBYARG_STATIC']"`
|
3304
|
+
RUBY_CONFIG_CCDLFLAGS=`$RUBY -rrbconfig -e "puts Config::CONFIG['CCDLFLAGS']"`
|
3304
3305
|
|
3305
3306
|
RUBY_CPPFLAGS="-I${RUBY_CONFIG_ARCHDIR}"
|
3306
3307
|
|
3307
3308
|
|
3308
|
-
RUBY_CFLAGS="${RUBY_CONFIG_CFLAGS}"
|
3309
|
+
RUBY_CFLAGS="${RUBY_CONFIG_CFLAGS} ${RUBY_CONFIG_CCDLFLAGS}"
|
3309
3310
|
|
3310
3311
|
|
3311
|
-
RUBY_CXXFLAGS="${RUBY_CONFIG_CFLAGS}"
|
3312
|
+
RUBY_CXXFLAGS="${RUBY_CONFIG_CFLAGS} ${RUBY_CONFIG_CCDLFLAGS}"
|
3312
3313
|
|
3313
3314
|
|
3314
3315
|
RUBY_LDFLAGS="-L${RUBY_ARCHDIR} -L${RUBY_CONFIG_LIBDIR} ${RUBY_LDFLAGS}"
|
@@ -3341,6 +3342,7 @@ fi
|
|
3341
3342
|
|
3342
3343
|
CPPFLAGS_save="${CPPFLAGS}"
|
3343
3344
|
CPPFLAGS="${CPPFLAGS} ${RUBY_CPPFLAGS}"
|
3345
|
+
CXXFLAGS="${CPPFLAGS}"
|
3344
3346
|
{ echo "$as_me:$LINENO: checking for ruby.h" >&5
|
3345
3347
|
echo $ECHO_N "checking for ruby.h... $ECHO_C" >&6; }
|
3346
3348
|
if test "${ac_cv_header_ruby_h+set}" = set; then
|
@@ -7120,21 +7122,22 @@ echo "$as_me: $ac_file is unchanged" >&6;}
|
|
7120
7122
|
fi
|
7121
7123
|
rm -f "$tmp/out12"
|
7122
7124
|
# Compute $ac_file's index in $config_headers.
|
7125
|
+
_am_arg=$ac_file
|
7123
7126
|
_am_stamp_count=1
|
7124
7127
|
for _am_header in $config_headers :; do
|
7125
7128
|
case $_am_header in
|
7126
|
-
$
|
7129
|
+
$_am_arg | $_am_arg:* )
|
7127
7130
|
break ;;
|
7128
7131
|
* )
|
7129
7132
|
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
7130
7133
|
esac
|
7131
7134
|
done
|
7132
|
-
echo "timestamp for $
|
7133
|
-
$as_expr X$
|
7134
|
-
X$
|
7135
|
-
X$
|
7136
|
-
X$
|
7137
|
-
echo X$
|
7135
|
+
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
|
7136
|
+
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
7137
|
+
X"$_am_arg" : 'X\(//\)[^/]' \| \
|
7138
|
+
X"$_am_arg" : 'X\(//\)$' \| \
|
7139
|
+
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
|
7140
|
+
echo X"$_am_arg" |
|
7138
7141
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
7139
7142
|
s//\1/
|
7140
7143
|
q
|
@@ -7171,7 +7174,7 @@ echo "$as_me: executing $ac_file commands" >&6;}
|
|
7171
7174
|
# each Makefile.in and add a new line on top of each file to say so.
|
7172
7175
|
# Grep'ing the whole file is not good either: AIX grep has a line
|
7173
7176
|
# limit of 2048, but all sed's we know have understand at least 4000.
|
7174
|
-
if sed
|
7177
|
+
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
7175
7178
|
dirpart=`$as_dirname -- "$mf" ||
|
7176
7179
|
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
7177
7180
|
X"$mf" : 'X\(//\)[^/]' \| \
|
data/depcomp
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
#! /bin/sh
|
2
2
|
# depcomp - compile a program generating dependencies as side-effects
|
3
3
|
|
4
|
-
scriptversion=
|
4
|
+
scriptversion=2007-03-29.01
|
5
5
|
|
6
|
-
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software
|
6
|
+
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software
|
7
7
|
# Foundation, Inc.
|
8
8
|
|
9
9
|
# This program is free software; you can redistribute it and/or modify
|
@@ -215,34 +215,39 @@ aix)
|
|
215
215
|
# current directory. Also, the AIX compiler puts `$object:' at the
|
216
216
|
# start of each line; $object doesn't have directory information.
|
217
217
|
# Version 6 uses the directory in both cases.
|
218
|
-
|
219
|
-
|
218
|
+
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
|
219
|
+
test "x$dir" = "x$object" && dir=
|
220
|
+
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
|
220
221
|
if test "$libtool" = yes; then
|
222
|
+
tmpdepfile1=$dir$base.u
|
223
|
+
tmpdepfile2=$base.u
|
224
|
+
tmpdepfile3=$dir.libs/$base.u
|
221
225
|
"$@" -Wc,-M
|
222
226
|
else
|
227
|
+
tmpdepfile1=$dir$base.u
|
228
|
+
tmpdepfile2=$dir$base.u
|
229
|
+
tmpdepfile3=$dir$base.u
|
223
230
|
"$@" -M
|
224
231
|
fi
|
225
232
|
stat=$?
|
226
233
|
|
227
|
-
if test -f "$tmpdepfile"; then :
|
228
|
-
else
|
229
|
-
stripped=`echo "$stripped" | sed 's,^.*/,,'`
|
230
|
-
tmpdepfile="$stripped.u"
|
231
|
-
fi
|
232
|
-
|
233
234
|
if test $stat -eq 0; then :
|
234
235
|
else
|
235
|
-
rm -f "$
|
236
|
+
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
236
237
|
exit $stat
|
237
238
|
fi
|
238
239
|
|
240
|
+
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
241
|
+
do
|
242
|
+
test -f "$tmpdepfile" && break
|
243
|
+
done
|
239
244
|
if test -f "$tmpdepfile"; then
|
240
|
-
outname="$stripped.o"
|
241
245
|
# Each line is of the form `foo.o: dependent.h'.
|
242
246
|
# Do two passes, one to just change these to
|
243
247
|
# `$object: dependent.h' and one to simply `dependent.h:'.
|
244
|
-
sed -e "s
|
245
|
-
|
248
|
+
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
|
249
|
+
# That's a tab and a space in the [].
|
250
|
+
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
|
246
251
|
else
|
247
252
|
# The sourcefile does not contain any dependencies, so just
|
248
253
|
# store a dummy comment line, to avoid errors with the Makefile
|