it seems autoconf 2.50 doesn't like nested AC_CHECK_FUNC calls

This commit is contained in:
Bill Currie 2001-05-26 04:08:32 +00:00
parent 8f66467568
commit bc6ff9fc19

View file

@ -241,12 +241,19 @@ AC_CHECK_FUNCS(
)
dnl Checks for stricmp/strcasecmp
AC_CHECK_FUNC(strcasecmp,,
AC_CHECK_FUNC(stricmp,
#AC_CHECK_FUNC(strcasecmp,,
# AC_CHECK_FUNC(stricmp,
# AC_DEFINE(strcasecmp, stricmp),
# AC_MSG_ERROR([Neither stricmp nor strcasecmp found])
# )
#)
AC_CHECK_FUNC(strcasecmp, strcasecmp=yes, strcasecmp=no)
if test $strcasecmp = no; then
AC_CHECK_FUNC(stricmp,
AC_DEFINE(strcasecmp, stricmp),
AC_MSG_ERROR([Neither stricmp nor strcasecmp found])
)
)
fi
dnl Checks for working -lm
AC_CHECK_LIB(m, pow,,