mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
* configure.in: Test for presence of S_ISLNK in sys/stat.h.
(Thanks to Bernard Urban.) Test for memmove and bcopy. (Thanks to suzukis@file.phys.tohoku.ac.jp.)
This commit is contained in:
parent
3d6720d7bf
commit
fd02f2ad5e
1 changed files with 12 additions and 1 deletions
13
configure.in
13
configure.in
|
@ -130,7 +130,7 @@ fi
|
|||
|
||||
GUILE_DLSYM_USCORE
|
||||
|
||||
AC_CHECK_FUNCS(ctermid ftime getcwd geteuid gettimeofday lstat mkdir mknod nice readlink rename rmdir select setegid seteuid setlocale setpgid setsid sigaction strftime strptime symlink sync tcgetpgrp tcsetpgrp times uname waitpid bzero strdup system usleep)
|
||||
AC_CHECK_FUNCS(ctermid ftime getcwd geteuid gettimeofday lstat mkdir mknod nice readlink rename rmdir select setegid seteuid setlocale setpgid setsid sigaction strftime strptime symlink sync tcgetpgrp tcsetpgrp times uname waitpid bzero strdup system usleep memmove bcopy)
|
||||
|
||||
### Some systems don't declare some functions. On such systems, we
|
||||
### need to at least provide our own K&R-style declarations.
|
||||
|
@ -257,6 +257,17 @@ if test $ac_cv_struct_st_blocks = yes; then
|
|||
AC_DEFINE(HAVE_ST_BLOCKS)
|
||||
fi
|
||||
|
||||
AC_CACHE_CHECK([for S_ISLNK in sys/stat.h], ac_cv_macro_S_ISLNK,
|
||||
[AC_TRY_CPP([#include <sys/stat.h>
|
||||
#ifndef S_ISLNK
|
||||
#error no S_ISLNK
|
||||
#endif],
|
||||
ac_cv_macro_S_ISLNK=yes,
|
||||
ac_cv_macro_S_ISLNK=no)])
|
||||
if test $ac_cv_macro_S_ISLNK = yes; then
|
||||
AC_DEFINE(HAVE_S_ISLNK)
|
||||
fi
|
||||
|
||||
AC_STRUCT_TIMEZONE
|
||||
GUILE_STRUCT_UTIMBUF
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue