diff options
Diffstat (limited to 'src/configure.in')
-rw-r--r-- | src/configure.in | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/configure.in b/src/configure.in index 9db3dd6..448bafd 100644 --- a/src/configure.in +++ b/src/configure.in @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. dnl -dnl $Id$ FAU +dnl $Id$ GNU dnl dnl Many thanks to David MacKenzie for writing autoconf and dnl providing a sample configure.in file for screen. @@ -284,6 +284,12 @@ seteuid(0); #endif ], AC_DEFINE(HAVE_SETEUID)) +dnl execvpe +AC_CHECKING(execvpe) +AC_TRY_LINK(,[ + execvpe(0, 0, 0); +], AC_DEFINE(HAVE_EXECVPE)) + dnl dnl **** select() **** dnl @@ -1211,14 +1217,14 @@ AC_HEADER_DIRENT AC_MSG_CHECKING(for setenv) if test -z "$ac_setenv_args"; then - AC_TRY_COMPILE( + AC_TRY_LINK( [#include <stdlib.h>], [ setenv((char *) 0, (char *) 0, 0); ], ac_setenv_args=3) fi if test -z "$ac_setenv_args"; then - AC_TRY_COMPILE( + AC_TRY_LINK( [#include <stdlib.h>], [ setenv((char *) 0, (char *) 0); |