crypt detection: Make autoheader happy

Use AC_DEFINE([WHAT], [],[Description]) to make autoheader happy
again and autoreconf --install --force succeed.
This commit is contained in:
Holger Freyther 2009-06-08 10:32:28 +00:00
parent eaf0469a8b
commit b424ecb247
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@ AC_PROG_INSTALL
AC_PROG_RANLIB
dnl checks for libraries
AC_SEARCH_LIBS(crypt, crypt, [LIBCRYPT="-lcrypt";AC_DEFINE(VTY_CRYPT_PW)])
AC_SEARCH_LIBS(crypt, crypt,
[LIBCRYPT="-lcrypt"; AC_DEFINE([VTY_CRYPT_PW], [], [Use crypt functionality of vty.])])
dnl checks for header files
AC_HEADER_STDC