Skip to content

Commit

Permalink
issue 001 resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
keldonin committed Dec 20, 2018
1 parent f204530 commit f53c187
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
18 changes: 1 addition & 17 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -26370,22 +26370,7 @@ fi

hasncipher="no"
if test "x$with_ncipher" != xno; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for include/cryptoki/ncipher.h" >&5
$as_echo_n "checking for include/cryptoki/ncipher.h... " >&6; }
if ${ac_cv_file_include_cryptoki_ncipher_h+:} false; then :
$as_echo_n "(cached) " >&6
else
test "$cross_compiling" = yes &&
as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
if test -r "include/cryptoki/ncipher.h"; then
ac_cv_file_include_cryptoki_ncipher_h=yes
else
ac_cv_file_include_cryptoki_ncipher_h=no
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file_include_cryptoki_ncipher_h" >&5
$as_echo "$ac_cv_file_include_cryptoki_ncipher_h" >&6; }
if test "x$ac_cv_file_include_cryptoki_ncipher_h" = xyes; then :
if test -r $srcdir/include/cryptoki/ncipher.h; then :

$as_echo "#define HAVE_NCIPHER 1" >>confdefs.h

Expand All @@ -26400,7 +26385,6 @@ See \`config.log' for more details" "$LINENO" 5; }
fi

fi

fi

{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,15 @@ AC_ARG_WITH([ncipher],

hasncipher="no"
AS_IF([test "x$with_ncipher" != xno],
[AC_CHECK_FILE([include/cryptoki/ncipher.h],
[AS_IF([test -r $srcdir/include/cryptoki/ncipher.h],
[AC_DEFINE([HAVE_NCIPHER], [1], [define to compile with the nCipher extensions.])
hasncipher="yes"
],
[if test "x$with_ncipher" != xcheck; then
AC_MSG_FAILURE(
[--with-ncipher was given, but required ncipher.h include file missing])
fi
])])
] )])

dnl check endianness
AC_C_BIGENDIAN
Expand Down

0 comments on commit f53c187

Please sign in to comment.