aclocal.m4 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. # generated automatically by aclocal 1.11.1 -*- Autoconf -*-
  2. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  3. # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
  4. # This file is free software; the Free Software Foundation
  5. # gives unlimited permission to copy and/or distribute it,
  6. # with or without modifications, as long as this notice is preserved.
  7. # This program is distributed in the hope that it will be useful,
  8. # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  9. # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  10. # PARTICULAR PURPOSE.
  11. # AM_CONDITIONAL -*- Autoconf -*-
  12. # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
  13. # Free Software Foundation, Inc.
  14. #
  15. # This file is free software; the Free Software Foundation
  16. # gives unlimited permission to copy and/or distribute it,
  17. # with or without modifications, as long as this notice is preserved.
  18. # serial 9
  19. # AM_CONDITIONAL(NAME, SHELL-CONDITION)
  20. # -------------------------------------
  21. # Define a conditional.
  22. AC_DEFUN([AM_CONDITIONAL],
  23. [AC_PREREQ(2.52)dnl
  24. ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  25. [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  26. AC_SUBST([$1_TRUE])dnl
  27. AC_SUBST([$1_FALSE])dnl
  28. _AM_SUBST_NOTMAKE([$1_TRUE])dnl
  29. _AM_SUBST_NOTMAKE([$1_FALSE])dnl
  30. m4_define([_AM_COND_VALUE_$1], [$2])dnl
  31. if $2; then
  32. $1_TRUE=
  33. $1_FALSE='#'
  34. else
  35. $1_TRUE='#'
  36. $1_FALSE=
  37. fi
  38. AC_CONFIG_COMMANDS_PRE(
  39. [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
  40. AC_MSG_ERROR([[conditional "$1" was never defined.
  41. Usually this means the macro was only invoked conditionally.]])
  42. fi])])
  43. # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
  44. #
  45. # This file is free software; the Free Software Foundation
  46. # gives unlimited permission to copy and/or distribute it,
  47. # with or without modifications, as long as this notice is preserved.
  48. # serial 2
  49. # Check whether the underlying file-system supports filenames
  50. # with a leading dot. For instance MS-DOS doesn't.
  51. AC_DEFUN([AM_SET_LEADING_DOT],
  52. [rm -rf .tst 2>/dev/null
  53. mkdir .tst 2>/dev/null
  54. if test -d .tst; then
  55. am__leading_dot=.
  56. else
  57. am__leading_dot=_
  58. fi
  59. rmdir .tst 2>/dev/null
  60. AC_SUBST([am__leading_dot])])
  61. # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
  62. # From Jim Meyering
  63. # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
  64. # Free Software Foundation, Inc.
  65. #
  66. # This file is free software; the Free Software Foundation
  67. # gives unlimited permission to copy and/or distribute it,
  68. # with or without modifications, as long as this notice is preserved.
  69. # serial 5
  70. # AM_MAINTAINER_MODE([DEFAULT-MODE])
  71. # ----------------------------------
  72. # Control maintainer-specific portions of Makefiles.
  73. # Default is to disable them, unless `enable' is passed literally.
  74. # For symmetry, `disable' may be passed as well. Anyway, the user
  75. # can override the default with the --enable/--disable switch.
  76. AC_DEFUN([AM_MAINTAINER_MODE],
  77. [m4_case(m4_default([$1], [disable]),
  78. [enable], [m4_define([am_maintainer_other], [disable])],
  79. [disable], [m4_define([am_maintainer_other], [enable])],
  80. [m4_define([am_maintainer_other], [enable])
  81. m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
  82. AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
  83. dnl maintainer-mode's default is 'disable' unless 'enable' is passed
  84. AC_ARG_ENABLE([maintainer-mode],
  85. [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
  86. (and sometimes confusing) to the casual installer],
  87. [USE_MAINTAINER_MODE=$enableval],
  88. [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
  89. AC_MSG_RESULT([$USE_MAINTAINER_MODE])
  90. AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
  91. MAINT=$MAINTAINER_MODE_TRUE
  92. AC_SUBST([MAINT])dnl
  93. ]
  94. )
  95. AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
  96. # Copyright (C) 2006, 2008 Free Software Foundation, Inc.
  97. #
  98. # This file is free software; the Free Software Foundation
  99. # gives unlimited permission to copy and/or distribute it,
  100. # with or without modifications, as long as this notice is preserved.
  101. # serial 2
  102. # _AM_SUBST_NOTMAKE(VARIABLE)
  103. # ---------------------------
  104. # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
  105. # This macro is traced by Automake.
  106. AC_DEFUN([_AM_SUBST_NOTMAKE])
  107. # AM_SUBST_NOTMAKE(VARIABLE)
  108. # ---------------------------
  109. # Public sister of _AM_SUBST_NOTMAKE.
  110. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])