Skip to content
This repository
Browse code

Merge pull request #19 from mj/master

./configure switch for custom base directory
  • Loading branch information...
commit a3dd5f1f41e5a5941e28dbabc6cbf9af83ceff29 2 parents 8e9b840 + dceab61
Matt Reiferson authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  config.m4
4  config.m4
... ...
@@ -1,8 +1,8 @@
1 1
 PHP_ARG_WITH(phpwkhtmltox, [for libwkhtmltox support],
2  
-[  --with-phpwkhtmltox     Include libwkhtmltox support])
  2
+[  --with-phpwkhtmltox=[DIR]     Include libwkhtmltox support])
3 3
 
4 4
 if test "$PHP_PHPWKHTMLTOX" != "no"; then
5  
-    for i in /usr /usr/local /opt; do
  5
+    for i in $PHP_PHPWKHTMLTOX /usr /usr/local /opt; do
6 6
         if test -f $i/include/wkhtmltox/pdf.h; then
7 7
             WKHTMLTOX_LIB_DIR=$i/lib
8 8
             WKHTMLTOX_INC_DIR=$i/include

0 notes on commit a3dd5f1

Please sign in to comment.
Something went wrong with that request. Please try again.