mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-04-16 03:32:18 +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
13
configure.in
13
configure.in
|
@ -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,,
|
||||
|
|
Loading…
Reference in a new issue