mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-06-03 18:41:22 +00:00
it seems autoconf 2.50 doesn't like nested AC_CHECK_FUNC calls
This commit is contained in:
parent
8f66467568
commit
bc6ff9fc19
1 changed files with 10 additions and 3 deletions
11
configure.in
11
configure.in
|
@ -241,12 +241,19 @@ AC_CHECK_FUNCS(
|
||||||
)
|
)
|
||||||
|
|
||||||
dnl Checks for stricmp/strcasecmp
|
dnl Checks for stricmp/strcasecmp
|
||||||
AC_CHECK_FUNC(strcasecmp,,
|
#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_CHECK_FUNC(stricmp,
|
||||||
AC_DEFINE(strcasecmp, stricmp),
|
AC_DEFINE(strcasecmp, stricmp),
|
||||||
AC_MSG_ERROR([Neither stricmp nor strcasecmp found])
|
AC_MSG_ERROR([Neither stricmp nor strcasecmp found])
|
||||||
)
|
)
|
||||||
)
|
fi
|
||||||
|
|
||||||
dnl Checks for working -lm
|
dnl Checks for working -lm
|
||||||
AC_CHECK_LIB(m, pow,,
|
AC_CHECK_LIB(m, pow,,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue