| 1 |
|
# -*- Autoconf -*- |
| 2 |
# Process this file with autoconf to produce a configure script. |
# Process this file with autoconf to produce a configure script. |
| 3 |
|
|
| 4 |
AC_PREREQ(2.59) |
AC_PREREQ(2.59) |
| 5 |
AC_INIT(satellite, 4.2.2, okumura@brain.riken.go.jp) |
AC_INIT(satellite, 4.2.2, okumura@brain.riken.go.jp) |
| 6 |
AC_REVISION($Id$) |
AC_REVISION($Id$) |
| 7 |
|
|
| 8 |
AC_CONFIG_SRCDIR(satellite4-config.in) |
AC_CONFIG_SRCDIR([satellite4-config.in]) |
| 9 |
AC_CONFIG_AUX_DIR(config) |
AC_CONFIG_AUX_DIR([config]) |
| 10 |
AC_PREFIX_DEFAULT(/usr/local/satellite4) |
AC_PREFIX_DEFAULT([/usr/local/satellite4]) |
| 11 |
|
|
| 12 |
AC_CANONICAL_TARGET |
AC_CANONICAL_TARGET |
| 13 |
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) |
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) |
| 14 |
AM_CONFIG_HEADER(config.h) |
AM_CONFIG_HEADER([config.h]) |
| 15 |
|
|
| 16 |
sl4includedir=$includedir/satellite4 |
sl4includedir=$includedir/satellite4 |
| 17 |
AC_SUBST(sl4includedir) |
AC_SUBST(sl4includedir) |
| 82 |
AC_HEADER_DIRENT |
AC_HEADER_DIRENT |
| 83 |
AC_HEADER_STDC |
AC_HEADER_STDC |
| 84 |
AC_HEADER_SYS_WAIT |
AC_HEADER_SYS_WAIT |
| 85 |
AC_CHECK_HEADERS([fcntl.h float.h locale.h malloc.h stddef.h stdlib.h string.h strings.h sys/file.h sys/ioctl.h sys/param.h sys/time.h sys/timeb.h termios.h unistd.h \ |
AC_CHECK_HEADERS([fcntl.h float.h locale.h malloc.h stddef.h stdlib.h string.h strings.h sys/file.h sys/ioctl.h sys/param.h sys/time.h sys/timeb.h unistd.h \ |
| 86 |
vfork.h errno.h limits.h memory.h getopt.h pwd.h \ |
termios.h vfork.h errno.h limits.h memory.h getopt.h pwd.h \ |
| 87 |
windows.h direct.h io.h process.h]) |
windows.h direct.h io.h process.h]) |
| 88 |
|
|
| 89 |
# Checks for typedefs, structures, and compiler characteristics. |
# Checks for typedefs, structures, and compiler characteristics. |
| 110 |
AC_FUNC_STAT |
AC_FUNC_STAT |
| 111 |
AC_FUNC_STRTOD |
AC_FUNC_STRTOD |
| 112 |
AC_FUNC_VPRINTF |
AC_FUNC_VPRINTF |
| 113 |
AC_CHECK_FUNCS([endpwent floor ftime getcwd gethostname gettimeofday memset mkdir munmap pow putenv rmdir setenv setlocale sqrt strchr strdup strpbrk strrchr strstr strtol lrand48 \ |
AC_CHECK_FUNCS([endpwent floor ftime getcwd gethostname gettimeofday memmove memset mkdir munmap pow putenv rmdir setenv setlocale sqrt strchr strdup strpbrk strrchr strstr strtol lrand48 \ |
| 114 |
bzero memmove strerror strncpy snprintf lockf flock vsnprintf]) |
bzero strerror strncpy snprintf lockf flock vsnprintf]) |
| 115 |
|
|
| 116 |
AC_CONFIG_FILES([Makefile |
AC_CONFIG_FILES([Makefile |
| 117 |
satellite4-config |
satellite4-config |