X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=sim%2Fucsim%2Fconfigure.in;h=00c0b354b1b222a70bb474d7497e8a0eb9252044;hb=0ad8c78844ada3a7591fc0b355c19c06c4a069b0;hp=579cad788e59118286d5439f763a2e9b9bf4f415;hpb=95deec14f7bdf848ef3a32c99f64ebc755eb7beb;p=fw%2Fsdcc diff --git a/sim/ucsim/configure.in b/sim/ucsim/configure.in index 579cad78..00c0b354 100644 --- a/sim/ucsim/configure.in +++ b/sim/ucsim/configure.in @@ -172,29 +172,28 @@ if test "$s51_cv_getcwd" = "yes"; then AC_DEFINE(GNU_GETCWD) fi -AC_DEFUN(dxpc_ACCEPT_LENGTH_T, - [AC_CACHE_CHECK([for type of accept's length pointer parameter], - dxpc_cv_accept_length_type, +AC_DEFUN(s51_ACCEPT_LENGTH_T, + [AC_CACHE_CHECK([for type of length pointer parameter of accept], + s51_cv_accept_length_type, [ac_save_CPPFLAGS="$CPPFLAGS" - dxpc_cv_accept_length_type=no + s51_cv_accept_length_type=no for ac_val in int size_t socklen_t; do CPPFLAGS="$ac_save_CPPFLAGS -DACCEPT_SOCKLEN_T=$ac_val" AC_TRY_COMPILE([#include #include ], [struct sockaddr a; $ac_val len; accept (0, &a, &len);], - [dxpc_cv_accept_length_type=$ac_val; break]) + [s51_cv_accept_length_type=$ac_val; break]) done CPPFLAGS="$ac_save_CPPFLAGS"]) - if test $dxpc_cv_accept_length_type != no; then - AC_DEFINE_UNQUOTED(ACCEPT_SOCKLEN_T, $dxpc_cv_accept_length_type, - [Define to be the type of accept's length parameter (without -the \*').]) + if test $s51_cv_accept_length_type != no; then + AC_DEFINE_UNQUOTED(ACCEPT_SOCKLEN_T, $s51_cv_accept_length_type, + [Define to be the type of length parameter of accept (without the \*').]) fi ] ) -dxpc_ACCEPT_LENGTH_T +s51_ACCEPT_LENGTH_T # Macro definitions ###################