| 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_GNU_SOURCE |
| 13 |
|
AC_ISC_POSIX |
| 14 |
|
AC_CYGWIN |
| 15 |
|
|
| 16 |
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) |
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) |
| 17 |
AM_CONFIG_HEADER([config.h]) |
AM_CONFIG_HEADER([config.h]) |
| 18 |
|
|
| 94 |
AC_CHECK_LIB([dl], [dlopen]) |
AC_CHECK_LIB([dl], [dlopen]) |
| 95 |
|
|
| 96 |
# Checks for header files. |
# Checks for header files. |
| 97 |
|
# libsl4 : unistd.h, direct.h, sys/stat.h, sys/param.h, pthread.h, windows.h |
| 98 |
AC_HEADER_DIRENT |
AC_HEADER_DIRENT |
| 99 |
AC_HEADER_STDC |
AC_HEADER_STDC |
| 100 |
AC_HEADER_SYS_WAIT |
AC_HEADER_SYS_WAIT |
| 101 |
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 \ |
AC_CHECK_HEADERS([unistd.h direct.h sys/stat.h sys/param.h pthread.h \ |
| 102 |
|
fcntl.h float.h locale.h malloc.h stddef.h stdlib.h string.h strings.h sys/file.h sys/ioctl.h sys/time.h sys/timeb.h \ |
| 103 |
termios.h 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 \ |
| 104 |
windows.h direct.h io.h process.h]) |
windows.h io.h process.h]) |
| 105 |
|
|
| 106 |
# Checks for typedefs, structures, and compiler characteristics. |
# Checks for typedefs, structures, and compiler characteristics. |
| 107 |
AC_HEADER_STDBOOL |
AC_HEADER_STDBOOL |
| 137 |
AC_FUNC_STAT |
AC_FUNC_STAT |
| 138 |
AC_FUNC_STRTOD |
AC_FUNC_STRTOD |
| 139 |
AC_FUNC_VPRINTF |
AC_FUNC_VPRINTF |
| 140 |
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 \ |
# libsl4 : mkdir, rmdir, getcwd, vasprintf, _vscprintf, vsnprintf, wvsprintf |
| 141 |
bzero strerror strncpy snprintf lockf flock vsnprintf]) |
AC_CHECK_FUNCS([mkdir rmdir getcwd vasprintf _vscprintf vsnprintf wvsprintf \ |
| 142 |
|
endpwent floor ftime gethostname gettimeofday memmove memset munmap pow putenv setenv setlocale sqrt strchr strdup strpbrk strrchr strstr strtol lrand48 \ |
| 143 |
|
bzero strerror strncpy snprintf lockf flockf]) |
| 144 |
|
|
| 145 |
# replaced cflags and libs for pthread support |
# replaced cflags and libs for pthread support |
| 146 |
CFLAGS="$CFLAGS $PTHREAD_CFLAGS" |
CFLAGS="$CFLAGS $PTHREAD_CFLAGS" |
| 150 |
AC_CONFIG_FILES([Makefile |
AC_CONFIG_FILES([Makefile |
| 151 |
satellite4-config |
satellite4-config |
| 152 |
lib/Makefile |
lib/Makefile |
| 153 |
|
lib/libsl4/Makefile |
| 154 |
lib/common/Makefile |
lib/common/Makefile |
| 155 |
lib/shell/Makefile |
lib/shell/Makefile |
| 156 |
shell/Makefile |
shell/Makefile |