[Python-Dev] bad exec* prototypes check - obsolete?

Skip Montanaro skip at pobox.com
Fri Jan 16 22:14:55 EST 2004


In configure.in there is a check for bad exec* prototypes:

    if test "$have_prototypes" = yes; then
    bad_prototypes=no
    AC_MSG_CHECKING(for bad exec* prototypes)
    AC_TRY_COMPILE([#include <unistd.h>], [char **t;execve("@",t,t);], ,
        AC_DEFINE(BAD_EXEC_PROTOTYPES, 1,
        [Define if your <unistd.h> contains bad prototypes for exec*()
        (as it does on SGI IRIX 4.x)]) 
        bad_prototypes=yes
    )
    AC_MSG_RESULT($bad_prototypes)
    fi

Since we assume a proper ANSI C compiler at this point, can we get rid of
this test?

Skip



More information about the Python-Dev mailing list