summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-03-04 06:13:24 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-03-04 06:13:24 +0000
commita38c2ac2dd0480502d83ad73fce54f25c993ab91 (patch)
treeb6e3ec6615b71927746903a9f0fbbdcb6a908584
parent196583d6eb70322e49ec9e54a0925828d3bda6d6 (diff)
* configure.in: better HP-UX support.
* missing/strftime.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--configure.in5
-rw-r--r--missing/strftime.c2
-rw-r--r--version.h6
4 files changed, 13 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 189fb308c6..185e9feb29 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Tue Mar 4 15:08:08 2003 WATANABE Hirofumi <eban@ruby-lang.org>
+
+ * configure.in: better HP-UX support.
+
+ * missing/strftime.c: ditto.
+
Tue Mar 4 01:19:21 2003 Akinori MUSHA <knu@iDaemons.org>
* ext/dl/MANIFEST: Exclude .cvsignore. [found by: eban]
diff --git a/configure.in b/configure.in
index 0ea68cca99..b67dab99b0 100644
--- a/configure.in
+++ b/configure.in
@@ -35,7 +35,7 @@ AC_SUBST(CPPOUTFILE)])
AC_DEFUN(RUBY_PROG_GNU_LD,
[AC_CACHE_CHECK(whether the linker is GNU ld, rb_cv_prog_gnu_ld,
-[if `$CC $CFLAGS $CPPFLAGS $LDFLAGS --print-prog-name=ld` -v 2>&1 | grep "GNU ld" > /dev/null; then
+[if `$CC $CFLAGS $CPPFLAGS $LDFLAGS --print-prog-name=ld 2>&1` -v 2>&1 | grep "GNU ld" > /dev/null; then
rb_cv_prog_gnu_ld=yes
else
rb_cv_prog_gnu_ld=no
@@ -262,6 +262,7 @@ nextstep*) ;;
openstep*) ;;
rhapsody*) ;;
darwin*) LIBS="-lobjc $LIBS";;
+hpux*) ac_cv_c_inline=no;;
human*) ac_cv_func_getpgrp_void=yes;;
beos*) ;;
cygwin*) rb_cv_have_daylight=no
@@ -730,7 +731,7 @@ if test "$with_dln_a_out" != yes; then
case "$target_os" in
hpux*) DLDFLAGS="-E"
LDSHARED='ld -b'
- LDFLAGS="-Wl,-E"
+ XLDFLAGS="-Wl,-E"
rb_cv_dlopen=yes;;
solaris*) if test "$GCC" = yes; then
LDSHARED='$(CC) -Wl,-G'
diff --git a/missing/strftime.c b/missing/strftime.c
index 07d2ed10d9..02fdc5ade4 100644
--- a/missing/strftime.c
+++ b/missing/strftime.c
@@ -118,7 +118,7 @@ extern char *strchr();
#if !defined(OS2) && !defined(MSDOS) && defined(HAVE_TZNAME)
extern char *tzname[2];
extern int daylight;
-#ifdef SOLARIS
+#if defined SOLARIS || defined __hpux
extern long timezone, altzone;
#else
extern int timezone, altzone;
diff --git a/version.h b/version.h
index d9e637ef6e..ee2c1f34cf 100644
--- a/version.h
+++ b/version.h
@@ -1,11 +1,11 @@
#define RUBY_VERSION "1.8.0"
-#define RUBY_RELEASE_DATE "2003-03-03"
+#define RUBY_RELEASE_DATE "2003-03-04"
#define RUBY_VERSION_CODE 180
-#define RUBY_RELEASE_CODE 20030303
+#define RUBY_RELEASE_CODE 20030304
#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 8
#define RUBY_VERSION_TEENY 0
#define RUBY_RELEASE_YEAR 2003
#define RUBY_RELEASE_MONTH 03
-#define RUBY_RELEASE_DAY 03
+#define RUBY_RELEASE_DAY 04