switched from automake to sed for substitution of automake variables

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@330 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2010-10-13 20:10:13 +00:00
parent dcb2507b2f
commit 5f2a83b83a
2 changed files with 26 additions and 27 deletions

View File

@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.63])
AC_INIT([ccid-emulator], [0.3], [morgner@informatik.hu-berlin.de])
AC_INIT([ccid-emulator], [0.3], [http://sourceforge.net/projects/vsmartcard/support])
AC_CONFIG_SRCDIR([src/ccid.c])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
@@ -133,29 +133,15 @@ fi
AM_CONDITIONAL(WITH_CATS, test "${enable_ccid}" != "no")
#DX_HTML_FEATURE(ON)
#DX_CHM_FEATURE(OFF)
#DX_CHI_FEATURE(OFF)
#DX_MAN_FEATURE(ON)
#DX_RTF_FEATURE(OFF)
#DX_XML_FEATURE(OFF)
#DX_PDF_FEATURE(OFF)
#DX_PS_FEATURE(OFF)
#DX_INIT_DOXYGEN(ccid-emulator, Doxyfile, doc)
# Documentation (default: no)
AC_ARG_ENABLE([doc],AS_HELP_STRING([--enable-doc],[Enable documentation generation.]),[enable_doc=$enableval],[enable_doc="no"])
AC_MSG_CHECKING(for documentation request)
AC_MSG_RESULT($enable_doc)
if test x"$enable_doc" = "xyes"
then
AC_PATH_PROG([DOXYGEN], [doxygen])
if test x$DOXYGEN = x
then
AC_MSG_ERROR([doxygen is mandatory.])
fi
AC_PATH_PROG([DOXYGEN], [doxygen])
if test x$DOXYGEN = x
then
AC_MSG_ERROR([doxygen is mandatory.])
fi
fi
AM_CONDITIONAL(DOC_ENABLED, [test x"$enable_doc" = xyes])
@@ -178,7 +164,7 @@ AC_CHECK_FUNCS([memmove memset strerror])
cat << EOF
ccid-emulator has been configured with following options:
${PACKAGE} has been configured with following options:
Version: ${PACKAGE_VERSION}
User binaries: $(eval eval eval echo "${bindir}")
@@ -205,6 +191,7 @@ PCSC_LIBS: ${PCSC_LIBS}
CCID emulator: ${enable_ccid}
PACE support: ${enable_pace}
CAT-S/CAT-C Tool: ${enable_cats}
Documentation: ${enable_doc}
EOF
@@ -213,7 +200,5 @@ AC_CONFIG_FILES([
m4/Makefile
patches/Makefile
src/Makefile
libpace.pc
Doxyfile
])
AC_OUTPUT