[ https://issues.apache.org/jira/browse/DAEMON-220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13141605#comment-13141605 ]
Michael Osipov commented on DAEMON-220: --------------------------------------- Well, I don't think that this is necessary but this is your decision. I'd leave it. Although you simplified it, it still contains a bug in line 42 to 52. That's why I have provided a patch. "which java"... does not yield a positive result. It is unreliable too. which java on FreeBSD gives your /usr/local/bin/java. You traverse up and assume that /usr/local is the JDK home. This is incorrect. The following iterations at least did it. > Clean up configure/configure.in scripts > --------------------------------------- > > Key: DAEMON-220 > URL: https://issues.apache.org/jira/browse/DAEMON-220 > Project: Commons Daemon > Issue Type: Improvement > Components: Jsvc > Affects Versions: 1.0.7 > Reporter: Michael Osipov > Assignee: Mladen Turk > Attachments: DAEMON-220.patch > > > The current configure script has several deficiencies at the moment.No > CPPFLAGS support, no detection of Java OS. Most can be taken from libtcnative. > Issue has been raised on the mailing list: > http://www.mail-archive.com/user@commons.apache.org/msg07101.html > It needs a complete overhaul. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira