diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-03-05 03:15:06 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-03-05 03:15:06 +0000 |
commit | 2b214ff6a356e019f2529a00b0ea258a63a348d9 (patch) | |
tree | f4c22e766d3d4247405185fa77be4651c0013c29 /configure.in | |
parent | 33deae506919c1e676d301d61cc57059009e3ad6 (diff) |
* 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
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 11 |
1 files changed, 10 insertions, 1 deletions
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 |