configure.in 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. #===========================================================================
  2. #
  3. # configure.in
  4. #
  5. #===========================================================================
  6. # $Id: configure.in,v 1.32 2006/06/01 09:50:12 chris Exp $
  7. #---------------------------------------------------------------------------
  8. # Init Auto Tools
  9. #---------------------------------------------------------------------------
  10. # autoconf
  11. AC_INIT(src/graph.cpp)
  12. AC_CONFIG_AUX_DIR(config)
  13. dnl -----------------------------------------------
  14. dnl Package name and version number (user defined)
  15. dnl -----------------------------------------------
  16. GENERIC_LIBRARY_NAME=GTL
  17. #release versioning
  18. GENERIC_MAJOR_VERSION=1
  19. GENERIC_MINOR_VERSION=2
  20. GENERIC_MICRO_VERSION=4
  21. #shared library versioning
  22. GENERIC_LIBRARY_VERSION=3:4:2
  23. # | | |
  24. # +------+ | +---+
  25. # | | |
  26. # current:revision:age
  27. # | | |
  28. # | | +- increment if interfaces have been added
  29. # | | set to zero if interfaces have been removed
  30. # or changed
  31. # | +- increment if source code has changed
  32. # | set to zero if current is incremented
  33. # +- increment if interfaces have been added, removed or changed
  34. dnl --------------------------------
  35. dnl Package name and version number
  36. dnl --------------------------------
  37. AC_SUBST(GENERIC_LIBRARY_VERSION)
  38. PACKAGE=$GENERIC_LIBRARY_NAME
  39. AC_SUBST(GENERIC_LIBRARY_NAME)
  40. GENERIC_VERSION=$GENERIC_MAJOR_VERSION.$GENERIC_MINOR_VERSION.$GENERIC_MICRO_VERSION
  41. GENERIC_RELEASE=$GENERIC_MAJOR_VERSION.$GENERIC_MINOR_VERSION
  42. AC_SUBST(GENERIC_RELEASE)
  43. AC_SUBST(GENERIC_VERSION)
  44. AC_DEFINE_UNQUOTED(GENERIC_MAJOR_VERSION, $GENERIC_MAJOR_VERSION)
  45. AC_DEFINE_UNQUOTED(GENERIC_MINOR_VERSION, $GENERIC_MINOR_VERSION)
  46. AC_DEFINE_UNQUOTED(GENERIC_MICRO_VERSION, $GENERIC_MICRO_VERSION)
  47. VERSION=$GENERIC_VERSION
  48. # automake
  49. AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
  50. # libtool
  51. AC_PROG_CXX
  52. AC_LANG_CPLUSPLUS
  53. AC_DISABLE_STATIC
  54. AC_PROG_LIBTOOL
  55. LIBTOOL="$LIBTOOL --silent"
  56. #---------------------------------------------------------------------------
  57. # Documentation utilites
  58. #---------------------------------------------------------------------------
  59. AC_CHECK_PROGS(doxygen, doxygen)
  60. #---------------------------------------------------------------------------
  61. # generate Files
  62. #---------------------------------------------------------------------------
  63. ### AC_OUTPUT BEGIN ###
  64. #
  65. # this section is generated automatically by Makefile.local
  66. # DO NOT MODIFY !!
  67. #
  68. AC_OUTPUT( \
  69. doc/Makefile \
  70. doc/userguide/Makefile \
  71. include/GTL/Makefile \
  72. include/GTL/version.h \
  73. include/Makefile \
  74. Makefile \
  75. src/Makefile \
  76. tests/Makefile \
  77. )
  78. ### AC_OUTPUT END ###
  79. #---------------------------------------------------------------------------
  80. # end of file
  81. #---------------------------------------------------------------------------