Skip to content

Autotools: Use runstatedir for var/run directory #16064

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

petk
Copy link
Member

@petk petk commented Sep 25, 2024

This removes duplicate substituted variables in FPM SAPI. The php_fpm_sysconfdir is the same as EXPANDED_SYSCONFDIR and php_fpm_localstatedir is the same as EXPANDED_LOCALSTATEDIR, which are already done in the configure.ac.

Instead of hardcoding the var/run directory, the runstatedir can be used (configured also via the --runstatedir configure option). By default, the runstatedir is ${localstatedir}/run.

This removes duplicate substituted variables in FPM SAPI. The
php_fpm_sysconfdir is the same as EXPANDED_SYSCONFDIR and
php_fpm_localstatedir is the same as EXPANDED_LOCALSTATEDIR, which are
already done in the configure.ac.

Instead of hardcoding the var/run directory, the runstatedir can be
used (configured also via the `--runstatedir` configure option). By
default, the runstatedir is `${localstatedir}/run`.
@petk
Copy link
Member Author

petk commented Sep 25, 2024

Ah. This is only for Autoconf 2.70 and later. As Autoconf minimum version will be probably bumped later on due to that C minimum standard issue, then this can be synced also then.

@petk petk marked this pull request as draft September 25, 2024 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants