|
|
1.1 ! root 1: dnl Process this file with autoconf to produce a configure script. ! 2: dnl Written 1996, 1997, 1998 Bernd Schmidt ! 3: ! 4: dnl If you can use anything from this file, feel free to steal it. I put ! 5: dnl this into the public domain. ! 6: ! 7: dnl There are still many uncaught errors (e.g. --enable-dga on an Amiga) ! 8: dnl I didn't have the nerve to track them all down. ! 9: ! 10: AC_INIT(sysconfig.h.in) ! 11: AC_PREREQ(2.12) ! 12: ! 13: dnl Checks for programs. ! 14: AC_PROG_CC ! 15: ! 16: AC_PROG_CPP ! 17: AC_PROG_MAKE_SET ! 18: ! 19: AC_AIX ! 20: AC_ISC_POSIX ! 21: ! 22: ! 23: AC_PATH_XTRA ! 24: AC_CONFIG_HEADER(sysconfig.h) ! 25: ! 26: AC_HEADER_STDC ! 27: ! 28: dnl @@@ Is <sys/termios.h> the right way or is it <termios.h>? ! 29: AC_CHECK_HEADERS(unistd.h fcntl.h sys/time.h sys/types.h utime.h string.h strings.h values.h ncurses.h curses.h) ! 30: AC_CHECK_HEADERS(sys/soundcard.h machine/soundcard.h sun/audioio.h sys/audioio.h getopt.h features.h sys/termios.h) ! 31: AC_CHECK_HEADERS(posix_opt.h sys/ioctl.h sys/ipc.h sys/shm.h sys/stat.h sys/utime.h) ! 32: AC_CHECK_HEADERS(windows.h ddraw.h) ! 33: AC_CHECK_HEADER(be_math.h, HAVE_BEOS=yes, HAVE_BEOS=no) ! 34: AC_CHECK_HEADERS(machine/joystick.h) ! 35: AC_CHECK_HEADERS(devices/ahi.h) ! 36: AC_CHECK_HEADERS(dmedia/audio.h SDL/SDL.h) ! 37: AC_CHECK_HEADERS(libraries/cybergraphics.h cybergraphx/cybergraphics.h) ! 38: ! 39: AC_CHECK_SIZEOF(char, 1) ! 40: AC_CHECK_SIZEOF(short, 2) ! 41: AC_CHECK_SIZEOF(int, 4) ! 42: AC_CHECK_SIZEOF(long, 4) ! 43: AC_CHECK_SIZEOF(long long, 8) ! 44: AC_CHECK_SIZEOF(__int64, 8) ! 45: ! 46: dnl Checks for typedefs, structures, and compiler characteristics. ! 47: AC_C_CONST ! 48: AC_C_INLINE ! 49: if [[ "x$ac_cv_c_inline" = "xno" ]]; then ! 50: ac_cv_c_inline= ! 51: fi ! 52: AC_TYPE_MODE_T ! 53: AC_TYPE_OFF_T ! 54: AC_TYPE_PID_T ! 55: AC_STRUCT_ST_BLOCKS ! 56: AC_HEADER_TIME ! 57: AC_STRUCT_TM ! 58: ! 59: dnl Checks for library functions. ! 60: AC_PROG_GCC_TRADITIONAL ! 61: AC_FUNC_MEMCMP ! 62: AC_TYPE_SIGNAL ! 63: AC_FUNC_UTIME_NULL ! 64: AC_CHECK_FUNCS(getcwd getopt strdup gettimeofday sigaction mkdir rmdir select strerror strstr) ! 65: AC_CHECK_FUNCS(tcgetattr cfmakeraw readdir_r vprintf vsprintf vfprintf setitimer) ! 66: ! 67: AC_SUBST(ac_cv_c_inline) ! 68: AC_SUBST(WRC) ! 69: AC_SUBST(SET_MAKE) ! 70: ! 71: AC_SUBST(top_srcdir) ! 72: ! 73: AC_OUTPUT(Makefile)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.