summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-03-05 03:15:06 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-03-05 03:15:06 +0000
commitfd99265d38113e026a243eaaf3cd65f3dca41435 (patch)
treef4c22e766d3d4247405185fa77be4651c0013c29 /configure.in
parente0fdf461242bc95b921f78d0d85bbbf62035e9ce (diff)
downloadruby-fd99265d38113e026a243eaaf3cd65f3dca41435.tar.gz
ruby-fd99265d38113e026a243eaaf3cd65f3dca41435.tar.xz
ruby-fd99265d38113e026a243eaaf3cd65f3dca41435.zip
* configure.in: better YACC support on HP-UX.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 40130e284..c88467762 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