Skip to content
Snippets Groups Projects
Commit d65587b0 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

improved "deeper" check

parent 1ab01345
No related branches found
No related tags found
No related merge requests found
......@@ -758,8 +758,9 @@ dnl if not found, $ac_func is the name we check for
AC_TRY_LINK( [],
[ $func ();],
AC_MSG_RESULT(yes!)
eval "ac_cv_func_$func=yes"
def=`echo "HAVE_$func" | tr 'a-z' 'A-Z'`
AC_DEFINE($def, 1, [If you have $func]),
AC_DEFINE_UNQUOTED($def, 1, [If you have $func]),
AC_MSG_RESULT(but still no)
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment