ADFGVX encryption tool.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

47 lines
1.2 KiB

dnl Configure template for the adfgvx package
AC_INIT([adfgvx], [0.1], [damien.goutte-gattat@e.ujf-grenoble.fr])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_AUX_DIR([config])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([foreign])
dnl Check for development tools (compilers & Co.)
AC_PROG_CC
AC_PROG_INSTALL
dnl Options
AC_ARG_ENABLE([default-keyfile],
[AS_HELP_STRING([--enable-default-keyfile],
[Enable use of a default keyfile @<:@default=yes@:>@])],
[],
[enable_default_keyfile=yes])
if test "x$enable_default_keyfile" = xyes ; then
enable_default_keyfile=.adfgvx.key
fi
if test "x$enable_default_keyfile" != xno ; then
AC_DEFINE_UNQUOTED([DEFAULT_KEYFILE], ["$enable_default_keyfile"],
[Default key filename.])
fi
dnl Output files
AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT
dnl Summary
echo "
${PACKAGE_NAME} version ${PACKAGE_VERSION}
Configuration complete
Prefix: '${prefix}'
Compiler: '${CC} ${CFLAGS} ${CPPFLAGS}'
Default keyfile: '${enable_default_keyfile}'
Now type 'make @<:@<target>@:>@'
where the optional <target> is:
all - build all binaries
install - install everything
-------------------------------------------"