mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-09 15:10:29 +02:00
* configure.in: add checks for setitimer and getitimer.
Add --enable-error-on-warning.
This commit is contained in:
parent
efcf4b5853
commit
d79417b89d
1 changed files with 9 additions and 1 deletions
10
configure.in
10
configure.in
|
@ -43,6 +43,14 @@ AC_CONFIG_SUBDIRS(guile-readline)
|
|||
#
|
||||
#--------------------------------------------------------------------
|
||||
|
||||
AC_ARG_ENABLE(error-on-warning,
|
||||
[ --enable-error-on-warning treat compile warnings as errors],
|
||||
[case "${enableval}" in
|
||||
yes | y) CFLAGS="${CFLAGS} -Werror"; enable_compile_warnings=no ;;
|
||||
no | n) ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for --enable-error-on-warning) ;;
|
||||
esac])
|
||||
|
||||
AC_ARG_ENABLE(debug-freelist,
|
||||
[ --enable-debug-freelist include garbage collector freelist debugging code],
|
||||
if test "$enable_debug_freelist" = y || test "$enable_debug_freelist" = yes; then
|
||||
|
@ -232,7 +240,7 @@ AC_SUBST(INCLTDL)
|
|||
AC_SUBST(LIBLTDL)
|
||||
AC_SUBST(DLPREOPEN)
|
||||
|
||||
AC_CHECK_FUNCS(ctermid ftime fchown getcwd geteuid gettimeofday lstat mkdir mknod nice readlink rename rmdir select setegid seteuid setlocale setpgid setsid sigaction siginterrupt strftime strptime symlink sync tcgetpgrp tcsetpgrp times uname waitpid strdup system usleep atexit on_exit chown link fcntl ttyname getpwent getgrent kill getppid getpgrp fork)
|
||||
AC_CHECK_FUNCS(ctermid ftime fchown getcwd geteuid gettimeofday lstat mkdir mknod nice readlink rename rmdir select setegid seteuid setlocale setpgid setsid sigaction siginterrupt strftime strptime symlink sync tcgetpgrp tcsetpgrp times uname waitpid strdup system usleep atexit on_exit chown link fcntl ttyname getpwent getgrent kill getppid getpgrp fork setitimer getitimer)
|
||||
|
||||
AC_CHECK_HEADERS(crypt.h sys/resource.h sys/file.h)
|
||||
AC_CHECK_FUNCS(chroot flock getlogin cuserid getpriority setpriority getpass sethostname gethostname)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue