From 2b214ff6a356e019f2529a00b0ea258a63a348d9 Mon Sep 17 00:00:00 2001 From: eban Date: Wed, 5 Mar 2003 03:15:06 +0000 Subject: [PATCH] * configure.in: better YACC support on HP-UX. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ configure.in | 11 ++++++++++- version.h | 6 +++--- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index f9e332a236..8c44a6d57c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Mar 5 12:13:21 2003 WATANABE Hirofumi + + * configure.in: better YACC support on HP-UX. + Tue Mar 04 23:12:07 2003 Nobuyoshi Nakada * configure.in, bcc32/Makefile.sub, win32/Makefile.sub: define diff --git a/configure.in b/configure.in index 40130e2840..c88467762c 100644 --- a/configure.in +++ b/configure.in @@ -262,7 +262,8 @@ nextstep*) ;; openstep*) ;; rhapsody*) ;; darwin*) LIBS="-lobjc $LIBS";; -hpux*) ac_cv_c_inline=no;; +hpux*) LIBS="-lm $LIBS" + ac_cv_c_inline=no;; human*) ac_cv_func_getpgrp_void=yes;; beos*) ;; cygwin*) rb_cv_have_daylight=no @@ -1193,6 +1194,14 @@ case "$target_os" in FIRSTMAKEFILE=GNUmakefile:cygwin/GNUmakefile.in SOLIBS='$(LIBS)' ;; + hpux*) + case "$YACC" in + *yacc*) + XCFLAGS="$XCFLAGS -DYYMAXDEPTH=300" + YACC="$YACC -Nl40000 -Nm40000" + ;; + esac + ;; *) ;; esac diff --git a/version.h b/version.h index ee2c1f34cf..f307450b71 100644 --- a/version.h +++ b/version.h @@ -1,11 +1,11 @@ #define RUBY_VERSION "1.8.0" -#define RUBY_RELEASE_DATE "2003-03-04" +#define RUBY_RELEASE_DATE "2003-03-05" #define RUBY_VERSION_CODE 180 -#define RUBY_RELEASE_CODE 20030304 +#define RUBY_RELEASE_CODE 20030305 #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 04 +#define RUBY_RELEASE_DAY 05