Skip to content

Commit

Permalink
Add an --man-dir to php-config too
Browse files Browse the repository at this point in the history
  • Loading branch information
bjori committed Apr 18, 2011
1 parent e9bc365 commit 988b8a9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/man1/php-config.1.in
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ LD Flags which PHP was compiled with
Extra libraries which PHP was compiled with
.TP
.PD 0
.B \-\-man-dir
The directory prefix where the manpages is installed
.TP
.PD 0
.B \-\-extension-dir
Directory where extensions are searched by default
.TP
Expand Down
4 changes: 4 additions & 0 deletions scripts/php-config.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ includes="-I$include_dir -I$include_dir/main -I$include_dir/TSRM -I$include_dir/
ldflags="@PHP_LDFLAGS@"
libs="@EXTRA_LIBS@"
extension_dir='@EXTENSION_DIR@'
man_dir=`eval echo @mandir@`
program_prefix="@program_prefix@"
program_suffix="@program_suffix@"
exe_extension="@EXEEXT@"
Expand Down Expand Up @@ -59,6 +60,8 @@ case "$1" in
echo $php_sapis;;
--configure-options)
echo $configure_options;;
--man-dir)
echo $man_dir;;
--version)
echo $version;;
--vernum)
Expand All @@ -73,6 +76,7 @@ Options:
--libs [$libs]
--extension-dir [$extension_dir]
--include-dir [$include_dir]
--man-dir [$man_dir]
--php-binary [$php_binary]
--php-sapis [$php_sapis]
--configure-options [$configure_options]
Expand Down

0 comments on commit 988b8a9

Please sign in to comment.