* 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
This commit is contained in:
eban 2003-03-04 06:13:24 +00:00
parent 196583d6eb
commit a38c2ac2dd
4 changed files with 13 additions and 6 deletions

View File

@ -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]

View File

@ -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'

View File

@ -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;

View File

@ -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