configure.ac 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. #----------------------------------------------------------------
  2. #
  3. # configure.ac
  4. #
  5. # Autoconf source file for Boundary Element MMTL (bem).
  6. # This file, along with aclocal, autoconf, Makefile.am,
  7. # and automake can produce a highly functional configuration
  8. # script and Makefile.
  9. #
  10. # Sharon Zahn, Bob Techentin
  11. # October 3, 2002
  12. #
  13. # Copyright 2002-2004 Mayo Foundation. All Rights Reserved
  14. # $Id: configure.ac,v 1.11 2004/09/10 20:04:53 techenti Exp $
  15. #
  16. #----------------------------------------------------------------
  17. #----------------------------------------------------------------
  18. # Declare the package name and version.
  19. # All the bouquets and brickbats go to Sharon. :-)
  20. #----------------------------------------------------------------
  21. AC_INIT(TNT MMTL, 1.2.2, techentin.robert@mayo.edu)
  22. #----------------------------------------------------------------
  23. # Give autoconf a point of reference, and tell it that
  24. # we're going to use automake later.
  25. #----------------------------------------------------------------
  26. AC_CONFIG_SRCDIR(tnt.tcl)
  27. AM_INIT_AUTOMAKE
  28. #----------------------------------------------------------------
  29. # Check platform name so we can specify particular
  30. # compilers and switches that we like. Not used
  31. # at this level, but some subdirectories need this.
  32. #----------------------------------------------------------------
  33. AC_CANONICAL_HOST
  34. #----------------------------------------------------------------
  35. # On Windows using Cygwin
  36. # Set a WINDOWS conditional for automake so
  37. # that the makefile can install extra executables.
  38. # (we just copy PrFile32.exe to ./bin)
  39. #----------------------------------------------------------------
  40. cygwin=no
  41. case $host in
  42. *cygwin*)
  43. cygwin=yes
  44. ;;
  45. esac
  46. AM_CONDITIONAL(WINDOWS, test $cygwin = yes )
  47. AC_CONFIG_SUBDIRS(bem calcCAP calcRL csdl gui units sppdgTcllib)
  48. AC_CONFIG_FILES([Makefile])
  49. AC_CONFIG_FILES([doc/Makefile])
  50. AC_OUTPUT