--- Configure.org 2023-08-14 22:30:45 +++ Configure 2023-08-14 22:32:44 @@ -861,7 +861,7 @@ locate_file libc.a f $LIBPATH || locate_file libc_s.a f $LIBPATH || locate_file libc.so f $LIBPATH || -locate_file libsystem_c.dylib f $LIBPATH || +locate_file libsystem_platform.dylib f $LIBPATH || give_up_config "Couldn't locate libc.a in directories $LIBPATH" LIBFILES="$where" echo $n "# Using library file(s):"$c @@ -963,7 +963,7 @@ sedargs="$sedargs -e '$arg'" done eval sed -n $sedargs nmout.list - grep '^printf$' nmout.list >/dev/null 2>/dev/null + grep '^simple_dprintf$' nmout.list >/dev/null 2>/dev/null return } @@ -1042,20 +1042,20 @@ test_include string.h STRINGH # test_include stddef.h STDDEFH -test_label setlinebuf SETLINEBUF -test_label lockf USELOCKF -test_label sigaction USESIG +SETLINEBUF='#define' +USELOCKF='#define' +USESIG='#define' # test_label getrusage GETRUSAGE -test_label ulimit USEULIMIT -test_label getdtablesize USEGETDTABLESIZE +USEULIMIT='#define' +USEGETDTABLESIZE='#define' # test_label setitimer USETIMER -test_label nrand48 USENRAND48 -test_label isastream USEISASTREAM +USENRAND48='#define' +USEISASTREAM='#undef' # test_either bcmp memcmp USEBCMP # test_either bcopy memcpy USEBCOPY # test_either bzero memset USEBZERO # test_either strchr index USESTRCHR -test_either usleep sleep USEUSLEEP +USEUSLEEP='#define' # sys_errlist cat </tmp/_syserr.c