make 'autoreconf' work for capifax

* capifax/configure.in: add templates to AC_DEFINE calls
* capifax/acconfig.h: remove - obsolete with recent autotools
This commit is contained in:
Peter Marschall 2012-04-19 18:48:06 +02:00
parent 7854baa462
commit 29f4bb41f9
2 changed files with 2 additions and 7 deletions

View File

@ -1,5 +0,0 @@
#undef VERSION
#undef PACKAGE
#undef CONFIG_SBINDIR
#undef CONFIG_MANDIR

View File

@ -24,14 +24,14 @@ dnl Optional sbin directory
AC_ARG_WITH(sbin,
[ --with-sbin=DIR Set dir where binary is istalled. [/sbin]],
CONFIG_SBINDIR="${withval}"
AC_DEFINE(CONFIG_SBINDIR,"${withval}"),
AC_DEFINE(CONFIG_SBINDIR,"${withval}", [capifax sbin directory]),
)
dnl Optional man directory
AC_ARG_WITH(man,
[ --with-man=DIR Set manpage dir. [/usr/man]],
CONFIG_MANDIR="${withval}"
AC_DEFINE(CONFIG_MANDIR,"${withval}"),
AC_DEFINE(CONFIG_MANDIR,"${withval}", [capifax manual directory]),
)
AC_CHECK_FILE([../capi20/capi20.h],CPPFLAGS="-I ../capi20 $CPPFLAGS")