search for: ac_fn_c_check_func

Displaying 2 results from an estimated 2 matches for "ac_fn_c_check_func".

2023 Mar 16
1
[libnbd PATCH v4 3/3] lib/utils: add unit test for async-signal-safe assert()
...re" script. First, we have 18509 for ac_func in \ 18510 posix_fadvise \ 18511 posix_memalign \ 18512 prctl \ 18513 strerrordesc_np \ 18514 valloc 18515 do : 18516 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18517 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 18518 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 18519 cat >>confdefs.h <<_ACEOF 18520 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 18521 _ACEOF 18522 18523...
2011 Jan 28
2
SNMP And SuSE
...snmp" fails to compile properly. Even if the library is properly installed, the compile fails and configure assumes that the library isn't present. Incidentally, the installed library does include the "init_snmp" entry point. The configure code in question reads like this: ac_fn_c_check_func "$LINENO" "init_snmp" "ac_cv_func_init_snmp" if test "x$ac_cv_func_init_snmp" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_INIT_SNMP 1 _ACEOF I was able to bypass the problem by changing it to this: if...