| 1 |
# Process this file with autoconf to produce a configure script. |
# Process this file with autoconf to produce a configure script. |
| 2 |
AC_PREREQ(2.53) |
AC_PREREQ(2.57) |
| 3 |
AC_INIT(satellite, 4.21.1, okumura@brain.riken.go.jp) |
AC_INIT(satellite, 4.21.1, okumura@brain.riken.go.jp) |
| 4 |
AC_REVISION($Id$) |
AC_REVISION($Id$) |
| 5 |
|
|
| 45 |
|
|
| 46 |
# Checks for programs. |
# Checks for programs. |
| 47 |
AM_DISABLE_STATIC |
AM_DISABLE_STATIC |
|
AC_PROG_CC |
|
| 48 |
AC_PROG_CXX |
AC_PROG_CXX |
| 49 |
AC_PROG_YACC |
AC_PROG_CC |
| 50 |
AC_PROG_CPP |
AC_PROG_CPP |
| 51 |
AC_PROG_INSTALL |
AC_PROG_INSTALL |
| 52 |
AC_PROG_LN_S |
AC_PROG_LN_S |
| 53 |
AC_PROG_MAKE_SET |
AC_PROG_MAKE_SET |
|
AC_PROG_MAKE_SET |
|
| 54 |
AC_PROG_RANLIB |
AC_PROG_RANLIB |
| 55 |
|
AC_PROG_YACC |
| 56 |
AC_PROG_AWK |
AC_PROG_AWK |
| 57 |
AC_LIBTOOL_DLOPEN |
AC_LIBTOOL_DLOPEN |
| 58 |
AC_PROG_LIBTOOL |
AC_PROG_LIBTOOL |
| 94 |
AC_HEADER_DIRENT |
AC_HEADER_DIRENT |
| 95 |
AC_HEADER_STDC |
AC_HEADER_STDC |
| 96 |
AC_HEADER_SYS_WAIT |
AC_HEADER_SYS_WAIT |
| 97 |
AC_CHECK_HEADERS([vfork.h errno.h fcntl.h float.h limits.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 termios.h unistd.h \ |
| 98 |
malloc.h memory.h stdlib.h string.h strings.h \ |
vfork.h errno.h limits.h memory.h getopt.h pwd.h \ |
| 99 |
sys/ioctl.h sys/file.h sys/param.h sys/time.h \ |
ncurses.h termcap.h curses.h term.h \ |
|
sys/timeb.h termios.h unistd.h ncurses.h termcap.h \ |
|
|
curses.h term.h getopt.h pwd.h \ |
|
| 100 |
windows.h direct.h io.h process.h]) |
windows.h direct.h io.h process.h]) |
| 101 |
|
|
| 102 |
# Checks for typedefs, structures, and compiler characteristics. |
# Checks for typedefs, structures, and compiler characteristics. |
| 103 |
|
AC_HEADER_STDBOOL |
| 104 |
AC_C_CONST |
AC_C_CONST |
| 105 |
AC_C_INLINE |
AC_C_INLINE |
| 106 |
|
AC_TYPE_PID_T |
| 107 |
AC_TYPE_SIZE_T |
AC_TYPE_SIZE_T |
| 108 |
AC_HEADER_TIME |
AC_HEADER_TIME |
| 109 |
AC_STRUCT_TM |
AC_STRUCT_TM |
| 111 |
AC_CHECK_TYPE(time_t, long) |
AC_CHECK_TYPE(time_t, long) |
| 112 |
|
|
| 113 |
# Checks for library functions. |
# Checks for library functions. |
| 114 |
AC_FUNC_ERROR_AT_LINE |
AC_FUNC_CLOSEDIR_VOID |
| 115 |
AC_FUNC_FORK |
AC_FUNC_FORK |
| 116 |
AC_PROG_GCC_TRADITIONAL |
AC_PROG_GCC_TRADITIONAL |
| 117 |
AC_FUNC_LSTAT |
AC_FUNC_LSTAT |
| 118 |
|
AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK |
| 119 |
AC_FUNC_MALLOC |
AC_FUNC_MALLOC |
| 120 |
AC_FUNC_MMAP |
AC_FUNC_MMAP |
| 121 |
|
AC_FUNC_REALLOC |
| 122 |
AC_TYPE_SIGNAL |
AC_TYPE_SIGNAL |
| 123 |
AC_FUNC_STAT |
AC_FUNC_STAT |
| 124 |
|
AC_FUNC_STRTOD |
| 125 |
AC_FUNC_VPRINTF |
AC_FUNC_VPRINTF |
| 126 |
AC_CHECK_FUNCS([bzero endpwent floor ftime getcwd gethostname gettimeofday memmove memset mkdir pow putenv rmdir setenv sqrt strchr strdup strerror strpbrk strrchr strstr strtol strncpy snprintf lockf flock vsnprintf]) |
AC_CHECK_FUNCS([endpwent floor ftime getcwd gethostname gettimeofday memset mkdir munmap pow putenv rmdir setenv setlocale sqrt strchr strdup strpbrk strrchr strstr strtol \ |
| 127 |
|
bzero memmove strerror strncpy snprintf lockf flock vsnprintf]) |
| 128 |
|
|
| 129 |
AC_CONFIG_FILES([Makefile |
AC_CONFIG_FILES([Makefile |
| 130 |
satellite4-config |
satellite4-config |
| 137 |
modules/util/Makefile |
modules/util/Makefile |
| 138 |
modules/system/Makefile |
modules/system/Makefile |
| 139 |
modules/ispp/Makefile |
modules/ispp/Makefile |
| 140 |
|
modules/gpm/Makefile |
| 141 |
|
modules/gpm/lib/Makefile |
| 142 |
|
modules/gpm/command/Makefile |
| 143 |
|
modules/gpm/gpm2ps/Makefile |
| 144 |
|
modules/gpm/gpmwin/Makefile |
| 145 |
modules/ncs/Makefile |
modules/ncs/Makefile |
| 146 |
modules/ncs/lib/Makefile |
modules/ncs/lib/Makefile |
| 147 |
modules/ncs/lib/common/Makefile |
modules/ncs/lib/common/Makefile |
| 160 |
modules/statistics/Makefile |
modules/statistics/Makefile |
| 161 |
modules/statistics/script/Makefile |
modules/statistics/script/Makefile |
| 162 |
modules/statistics/script/data/Makefile]) |
modules/statistics/script/data/Makefile]) |
|
|
|
|
AC_CONFIG_SUBDIRS(modules/gpm-gtk) |
|
|
|
|
| 163 |
AC_OUTPUT |
AC_OUTPUT |