Oops, ftok() is really optional

This commit is contained in:
Panu Matilainen 2010-01-05 10:19:52 +02:00
parent 834551d246
commit 423a86361b
1 changed files with 2 additions and 1 deletions

View File

@ -506,13 +506,14 @@ AC_FUNC_MMAP
AC_CHECK_FUNCS(mtrace)
AC_CHECK_FUNCS(strndup)
AC_CHECK_FUNCS(putenv)
AC_CHECK_FUNCS(ftok)
AC_REPLACE_FUNCS(stpcpy stpncpy)
AC_CHECK_FUNCS(__secure_getenv)
AC_CHECK_FUNCS(
[mkstemp getcwd basename dirname realpath setenv unsetenv ftok regcomp lchown],
[mkstemp getcwd basename dirname realpath setenv unsetenv regcomp lchown],
[], [AC_MSG_ERROR([function required by rpm])])
dnl XXX Glob *is* broken on linux with libc5, solaris and possibly aix when