mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2024-11-24 15:27:08 +00:00
This commit is contained in:
parent
d9aacb1358
commit
30fab6eaf9
1 changed files with 11 additions and 1 deletions
12
config.m4
12
config.m4
|
@ -1,5 +1,15 @@
|
|||
dnl $Id$
|
||||
dnl config.m4 for extension gnupg
|
||||
AC_CANONICAL_HOST
|
||||
case $host_os in
|
||||
*BSD*)
|
||||
GNUPG_DL=""
|
||||
;;
|
||||
*)
|
||||
GNUPG_DL="-ldl"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
PHP_ARG_WITH(gnupg, for gnupg support,
|
||||
[ --with-gnupg[=dir] Include gnupg support])
|
||||
|
@ -36,7 +46,7 @@ if test "$PHP_GNUPG" != "no"; then
|
|||
],[
|
||||
AC_MSG_ERROR([wrong gpgme lib version or lib not found])
|
||||
],[
|
||||
-L$GNUPG_DIR/lib -lm -ldl
|
||||
-L$GNUPG_DIR/lib -lm $GNUPG_DL
|
||||
])
|
||||
PHP_SUBST(GNUPG_SHARED_LIBADD)
|
||||
|
||||
|
|
Loading…
Reference in a new issue