| 1 | # generated automatically by aclocal 1.9.2 -*- Autoconf -*- |
| 2 | |
| 3 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 |
| 4 | # Free Software Foundation, Inc. |
| 5 | # This file is free software; the Free Software Foundation |
| 6 | # gives unlimited permission to copy and/or distribute it, |
| 7 | # with or without modifications, as long as this notice is preserved. |
| 8 | |
| 9 | # This program is distributed in the hope that it will be useful, |
| 10 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
| 11 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
| 12 | # PARTICULAR PURPOSE. |
| 13 | |
| 14 | # AM_CONDITIONAL -*- Autoconf -*- |
| 15 | |
| 16 | # Copyright (C) 1997, 2000, 2001, 2003, 2004 Free Software Foundation, Inc. |
| 17 | |
| 18 | # This program is free software; you can redistribute it and/or modify |
| 19 | # it under the terms of the GNU General Public License as published by |
| 20 | # the Free Software Foundation; either version 2, or (at your option) |
| 21 | # any later version. |
| 22 | |
| 23 | # This program is distributed in the hope that it will be useful, |
| 24 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 25 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 26 | # GNU General Public License for more details. |
| 27 | |
| 28 | # You should have received a copy of the GNU General Public License |
| 29 | # along with this program; if not, write to the Free Software |
| 30 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
| 31 | # 02111-1307, USA. |
| 32 | |
| 33 | # serial 6 |
| 34 | |
| 35 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) |
| 36 | # ------------------------------------- |
| 37 | # Define a conditional. |
| 38 | AC_DEFUN([AM_CONDITIONAL], |
| 39 | [AC_PREREQ(2.52)dnl |
| 40 | ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], |
| 41 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl |
| 42 | AC_SUBST([$1_TRUE]) |
| 43 | AC_SUBST([$1_FALSE]) |
| 44 | if $2; then |
| 45 | $1_TRUE= |
| 46 | $1_FALSE='#' |
| 47 | else |
| 48 | $1_TRUE='#' |
| 49 | $1_FALSE= |
| 50 | fi |
| 51 | AC_CONFIG_COMMANDS_PRE( |
| 52 | [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
| 53 | AC_MSG_ERROR([[conditional "$1" was never defined. |
| 54 | Usually this means the macro was only invoked conditionally.]]) |
| 55 | fi])]) |
| 56 | |
| 57 | # Add --enable-maintainer-mode option to configure. |
| 58 | # From Jim Meyering |
| 59 | |
| 60 | # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004 |
| 61 | # Free Software Foundation, Inc. |
| 62 | |
| 63 | # This program is free software; you can redistribute it and/or modify |
| 64 | # it under the terms of the GNU General Public License as published by |
| 65 | # the Free Software Foundation; either version 2, or (at your option) |
| 66 | # any later version. |
| 67 | |
| 68 | # This program is distributed in the hope that it will be useful, |
| 69 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 70 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 71 | # GNU General Public License for more details. |
| 72 | |
| 73 | # You should have received a copy of the GNU General Public License |
| 74 | # along with this program; if not, write to the Free Software |
| 75 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
| 76 | # 02111-1307, USA. |
| 77 | |
| 78 | # serial 3 |
| 79 | |
| 80 | AC_DEFUN([AM_MAINTAINER_MODE], |
| 81 | [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) |
| 82 | dnl maintainer-mode is disabled by default |
| 83 | AC_ARG_ENABLE(maintainer-mode, |
| 84 | [ --enable-maintainer-mode enable make rules and dependencies not useful |
| 85 | (and sometimes confusing) to the casual installer], |
| 86 | USE_MAINTAINER_MODE=$enableval, |
| 87 | USE_MAINTAINER_MODE=no) |
| 88 | AC_MSG_RESULT([$USE_MAINTAINER_MODE]) |
| 89 | AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) |
| 90 | MAINT=$MAINTAINER_MODE_TRUE |
| 91 | AC_SUBST(MAINT)dnl |
| 92 | ] |
| 93 | ) |
| 94 | |
| 95 | AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) |
| 96 | |
| 97 | m4_include([acinclude.m4]) |