diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-03-04 06:13:24 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-03-04 06:13:24 +0000 |
commit | a38c2ac2dd0480502d83ad73fce54f25c993ab91 (patch) | |
tree | b6e3ec6615b71927746903a9f0fbbdcb6a908584 | |
parent | 196583d6eb70322e49ec9e54a0925828d3bda6d6 (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-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.in | 5 | ||||
-rw-r--r-- | missing/strftime.c | 2 | ||||
-rw-r--r-- | version.h | 6 |
4 files changed, 13 insertions, 6 deletions
@@ -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; @@ -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 |