home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.7z / ftp.whtech.com / emulators / v9t9 / linux / sources / V9t9 / tools / TIAsm / configure.in < prev    next >
Encoding:
Text File  |  2006-10-19  |  1004 b   |  54 lines

  1. dnl Process this file with autoconf to produce a configure script.
  2. AC_INIT(tiasm.c)
  3. AC_CONFIG_HEADER(conf.h)
  4.  
  5. AC_PROG_MWCC
  6. DEPFLAGS="-MD"
  7.  
  8. dnl Checks for programs.
  9. AC_PROG_CC
  10. if test "$LD" = ""; then
  11. LD=$CC
  12. fi
  13. AC_PROG_MAKE_SET
  14.  
  15. dnl get top-level directory
  16. TOP=`pwd`
  17. AC_SUBST(TOP)
  18.  
  19.  
  20. dnl Checks for header files.
  21. AC_HEADER_DIRENT
  22. AC_HEADER_STDC
  23. AC_HEADER_SYS_WAIT
  24. AC_CHECK_HEADERS(fcntl.h limits.h malloc.h sys/ioctl.h sys/time.h unistd.h)
  25.  
  26. dnl Checks for typedefs, structures, and compiler characteristics.
  27. AC_C_CONST
  28. AC_TYPE_PID_T
  29. AC_TYPE_SIZE_T
  30. AC_HEADER_TIME
  31. AC_STRUCT_TM
  32.  
  33. dnl Checks for library functions.
  34. AC_FUNC_ALLOCA
  35. AC_FUNC_FNMATCH
  36. AC_PROG_GCC_TRADITIONAL
  37. AC_FUNC_MEMCMP
  38. AC_TYPE_SIGNAL
  39. AC_FUNC_UTIME_NULL
  40. AC_FUNC_VPRINTF
  41. AC_CHECK_FUNCS(getcwd gethostname mkdir rmdir select strcspn strdup strerror strstr strtol strcasecmp strncasecmp strupr swab)
  42.  
  43. ################
  44.  
  45. AC_SUBST(CC)
  46. AC_SUBST(LD)
  47. AC_SUBST(CFLAGS)
  48. AC_SUBST(LDFLAGS)
  49. AC_SUBST(LIBS)
  50. AC_SUBST(DEFS)
  51. ################
  52.  
  53. AC_OUTPUT(Makefile)
  54.