Fix build

This commit is contained in:
Eelco Dolstra 2014-01-21 17:39:19 +01:00
parent 625ffd441d
commit a26307b281
2 changed files with 5 additions and 4 deletions

View File

@ -216,9 +216,9 @@ AC_SUBST(storedir)
# Look for OpenSSL, an optional dependency.
AC_PATH_PROG(openssl_prog, openssl, openssl) # if not found, call openssl in $PATH
AC_SUBST(openssl_prog)
AC_DEFINE_UNQUOTED(OPENSSL_PATH, ["$openssl_prog"], [Path of the OpenSSL binary])
AC_PATH_PROG(openssl, openssl, openssl) # if not found, call openssl in $PATH
AC_SUBST(openssl)
AC_DEFINE_UNQUOTED(OPENSSL_PATH, ["$openssl"], [Path of the OpenSSL binary])
PKG_CHECK_MODULES([OPENSSL], [libcrypto],
[AC_DEFINE([HAVE_OPENSSL], [1], [Whether to use OpenSSL.])

View File

@ -5,7 +5,8 @@ nix_perl_sources := \
$(d)/lib/Nix/SSH.pm \
$(d)/lib/Nix/CopyClosure.pm \
$(d)/lib/Nix/Config.pm.in \
$(d)/lib/Nix/Utils.pm
$(d)/lib/Nix/Utils.pm \
$(d)/lib/Nix/Crypto.pm
nix_perl_modules := $(nix_perl_sources:.in=)