|
|
|
@ -79,10 +79,10 @@ index 0000000..1620cda
|
|
|
|
|
+ adjacency_graphs.cpp
|
|
|
|
|
diff --git a/native-src/zxcvbn/configure.ac b/native-src/zxcvbn/configure.ac
|
|
|
|
|
new file mode 100644
|
|
|
|
|
index 0000000..ea8f8d8
|
|
|
|
|
index 0000000..4c88e16
|
|
|
|
|
--- /dev/null
|
|
|
|
|
+++ b/native-src/zxcvbn/configure.ac
|
|
|
|
|
@@ -0,0 +1,28 @@
|
|
|
|
|
@@ -0,0 +1,36 @@
|
|
|
|
|
+dnl Configure template for the zxcvbn C++ library
|
|
|
|
|
+
|
|
|
|
|
+AC_INIT([zxcvbncpp], [0.1.0], [rian@alum.mit.edu])
|
|
|
|
@ -109,6 +109,14 @@ index 0000000..ea8f8d8
|
|
|
|
|
+AC_SUBST(ZXCVBNCPP_LT_AGE)
|
|
|
|
|
+AC_SUBST(ZXCVBNCPP_LT_REVISION)
|
|
|
|
|
+
|
|
|
|
|
+AC_ARG_ENABLE([debug],
|
|
|
|
|
+ [AS_HELP_STRING([--enable-debug],
|
|
|
|
|
+ [Compile with debugging support])],
|
|
|
|
|
+ [], [enable_debug=no])
|
|
|
|
|
+AS_IF([test "x$enable_debug" != xyes],
|
|
|
|
|
+ [AC_DEFINE([NDEBUG], [1])],
|
|
|
|
|
+ [CPPFLAGS="${CPPFLAGS} -g -O0"])
|
|
|
|
|
+
|
|
|
|
|
+AC_CONFIG_FILES([Makefile zxcvbncpp.pc])
|
|
|
|
|
+AC_OUTPUT
|
|
|
|
|
diff --git a/native-src/zxcvbn/zxcvbncpp.pc.in b/native-src/zxcvbn/zxcvbncpp.pc.in
|
|
|
|
|