Permalink
Browse files

Merge pull request #19 from mj/master

./configure switch for custom base directory
  • Loading branch information...
2 parents 8e9b840 + dceab61 commit a3dd5f1f41e5a5941e28dbabc6cbf9af83ceff29 @mreiferson committed Dec 26, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 config.m4
View
4 config.m4
@@ -1,8 +1,8 @@
PHP_ARG_WITH(phpwkhtmltox, [for libwkhtmltox support],
-[ --with-phpwkhtmltox Include libwkhtmltox support])
+[ --with-phpwkhtmltox=[DIR] Include libwkhtmltox support])
if test "$PHP_PHPWKHTMLTOX" != "no"; then
- for i in /usr /usr/local /opt; do
+ for i in $PHP_PHPWKHTMLTOX /usr /usr/local /opt; do
if test -f $i/include/wkhtmltox/pdf.h; then
WKHTMLTOX_LIB_DIR=$i/lib
WKHTMLTOX_INC_DIR=$i/include

0 comments on commit a3dd5f1

Please sign in to comment.