-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JDK-8311938: Add default cups include location for configure on AIX #15100
Conversation
👋 Welcome back ansteiner! A progress list of the required criteria for merging this PR into |
@ansteiner The following labels will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the check for the cups default location on AIX fits better in the next section, after line 70/79 # Are the cups headers installed in the default /usr/include location?
But other than that, looks good to me.
Looks reasonable, but you would overwrite the with_cups setting on AIX, is this intended (see line 50 in the same file) ? |
@ansteiner This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 63 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@RealCLanger, @MBaesken, @TheShermanTanker) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
@MBaesken: Thanks for the hint about with_cups. The default cups include location will be set in case with_cups is not set only and I updated the copyright year. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, I still think it's clearer to have the AIX default cups check in the next section after if test "x$CUPS_FOUND" = xno; then
.
Currently, if somebody sets both, --with-cups= and --with-cups-include, with-cups-include gets precedence. The problem is only theoretical, I guess but I'd find it better if it were:
if test "x${with_cups}" != x; then
...
elif test "x${with_cups_include}" != x; then
...
fi
and then
if test "x$CUPS_FOUND" = xno; then
Are the cups headers installed in the default /usr/include location?
if aix
...
else
...
fi
fi
The default for with-cups-include on AIX will be set only if --with-cups is not set. See my last commit. But I will think about your suggestion to do the check in the other section... |
Moving the check down a bit into a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Maybe you should also set DEFAULT_CUPS=yes, although it doesn't seem to be used anywhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nearly perfect now. 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, sorry I missed this until now
/integrate |
@ansteiner |
/sponsor |
Going to push as commit c4b8574.
Your commit was automatically rebased without conflicts. |
@MBaesken @ansteiner Pushed as commit c4b8574. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Add the default include location(/opt/freeware/include/) for cups on AIX. With this set the additional configure parameter --with-cups-include can be removed, which was needed on AIX.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/15100/head:pull/15100
$ git checkout pull/15100
Update a local copy of the PR:
$ git checkout pull/15100
$ git pull https://git.openjdk.org/jdk.git pull/15100/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 15100
View PR using the GUI difftool:
$ git pr show -t 15100
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/15100.diff
Webrev
Link to Webrev Comment