/* Define if utime(file, NULL) sets file's timestamp to the present. */
/* #undef HAVE_UTIME_NULL */
-/* Define if you have <vfork.h>. */
-/* #undef HAVE_VFORK_H */
-
/* Define if you have the wait3 system call. */
/* #undef HAVE_WAIT3 */
instead of <sys/cpustats.h>. */
/* #undef UMAX4_3 */
-/* Define vfork as fork if vfork does not work. */
-/* #undef vfork */
-
/* Name of this package (needed by automake) */
#define PACKAGE "%PACKAGE%"
/* Define to 1 if utime(file, NULL) sets file's timestamp to the present. */
/* #undef HAVE_UTIME_NULL */
-/* Define to 1 if you have <vfork.h>. */
-/* #undef HAVE_VFORK_H */
-
/* Define to 1 if you have the wait3 system call. */
/* #undef HAVE_WAIT3 */
instead of <sys/cpustats.h>. */
/* #undef UMAX4_3 */
-/* Define vfork as fork if vfork does not work. */
-/* #undef vfork */
-
/* Name of this package (needed by automake) */
#define PACKAGE "%PACKAGE%"
/* Define to 1 if you have the 'fileno' function. */
#define HAVE_FILENO 1
-/* Define to 1 if you have the 'fork' function. */
-/* #undef HAVE_FORK */
-
/* Define to 1 if you have the 'getcwd' function. */
#define HAVE_GETCWD 1
#define HAVE_UNISTD_H 1
#endif
-/* Define to 1 if you have the 'vfork' function. */
-/* #undef HAVE_VFORK */
-
-/* Define to 1 if you have the <vfork.h> header file. */
-/* #undef HAVE_VFORK_H */
-
/* Define to 1 if you have the 'wait3' function. */
/* #undef HAVE_WAIT3 */
/* Define to 1 if you have the 'waitpid' function. */
/* #undef HAVE_WAITPID */
-/* Define to 1 if 'fork' works. */
-/* #undef HAVE_WORKING_FORK */
-
-/* Define to 1 if 'vfork' works. */
-/* #undef HAVE_WORKING_VFORK */
-
/* Build host information. */
#define MAKE_HOST "Windows32"
#define uintmax_t unsigned long
#endif
-/* Define as 'fork' if 'vfork' does not work. */
-/*#define vfork fork*/
-
/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
/* #undef HAVE_SYS_WAIT_H */
AC_FUNC_STRCOLL
AC_FUNC_ALLOCA
-AC_FUNC_FORK([])
AC_FUNC_CLOSEDIR_VOID
# See if the user wants to add (or not) GNU Guile support
#endif
int print_cmd;
int sync_cmd;
+ int flags;
char *p;
- /* Must be volatile to silence bogus GCC warning about longjmp/vfork. */
- volatile int flags;
#ifdef VMS
char *argv;
#else
#ifdef VMS
if (!child_execute_job (argv, child)) {
/* Fork failed! */
- perror_with_name ("vfork", "");
+ perror_with_name ("fork", "");
goto error;
}
#else /* !__EMX__ */
- child->pid = vfork ();
+ child->pid = fork ();
environ = parent_environ; /* Restore value child may have clobbered. */
if (child->pid == 0)
{
{
/* Fork failed! */
unblock_sigs ();
- perror_with_name ("vfork", "");
+ perror_with_name ("fork", "");
goto error;
}
# endif /* !__EMX__ */
int load_file (const gmk_floc *flocp, const char **filename, int noerror,
void **dlp);
-#ifdef HAVE_VFORK_H
-# include <vfork.h>
-#endif
-
/* We omit these declarations on non-POSIX systems which define _POSIX_VERSION,
because such systems often declare them in header files anyway. */
fflush (stdout);
fflush (stderr);
- pid = vfork ();
+ pid = fork ();
if (pid < 0)
{
/* The fork failed! */
- perror_with_name ("vfork", "");
+ perror_with_name ("fork", "");
return 1;
}
else if (pid == 0)