2005-01-15 21:32:43 +01:00
|
|
|
# generated automatically by aclocal 1.9.2 -*- Autoconf -*-
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-15 21:32:43 +01:00
|
|
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
|
|
|
|
# Free Software Foundation, Inc.
|
|
|
|
# This file is free software; the Free Software Foundation
|
|
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
|
|
# with or without modifications, as long as this notice is preserved.
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2005-01-15 21:32:43 +01:00
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
|
|
# PARTICULAR PURPOSE.
|
2000-09-12 06:23:30 +02:00
|
|
|
|
2005-01-15 21:32:43 +01:00
|
|
|
# AM_CONDITIONAL -*- Autoconf -*-
|
2000-04-13 07:33:41 +02:00
|
|
|
|
2005-01-15 21:32:43 +01:00
|
|
|
# Copyright (C) 1997, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
|
2000-04-13 07:33:41 +02:00
|
|
|
|
2002-04-15 06:28:41 +02:00
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
# any later version.
|
2000-04-13 07:33:41 +02:00
|
|
|
|
2002-04-15 06:28:41 +02:00
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
2001-08-28 00:39:56 +02:00
|
|
|
|
2002-04-15 06:28:41 +02:00
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
2006-01-16 23:36:36 +01:00
|
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
|
|
# 02111-1307, USA.
|
|
|
|
|
|
|
|
# serial 6
|
|
|
|
|
|
|
|
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
|
|
|
|
# -------------------------------------
|
|
|
|
# Define a conditional.
|
|
|
|
AC_DEFUN([AM_CONDITIONAL],
|
|
|
|
[AC_PREREQ(2.52)dnl
|
|
|
|
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
|
|
|
|
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
|
|
|
|
AC_SUBST([$1_TRUE])
|
|
|
|
AC_SUBST([$1_FALSE])
|
|
|
|
if $2; then
|
|
|
|
$1_TRUE=
|
|
|
|
$1_FALSE='#'
|
|
|
|
else
|
|
|
|
$1_TRUE='#'
|
|
|
|
$1_FALSE=
|
|
|
|
fi
|
|
|
|
AC_CONFIG_COMMANDS_PRE(
|
|
|
|
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
|
|
|
|
AC_MSG_ERROR([[conditional "$1" was never defined.
|
|
|
|
Usually this means the macro was only invoked conditionally.]])
|
|
|
|
fi])])
|
|
|
|
|
|
|
|
# Add --enable-maintainer-mode option to configure.
|
|
|
|
# From Jim Meyering
|
|
|
|
|
|
|
|
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004
|
|
|
|
# Free Software Foundation, Inc.
|
|
|
|
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
# any later version.
|
|
|
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
|
|
# 02111-1307, USA.
|
2002-04-15 06:28:41 +02:00
|
|
|
|
2005-01-15 21:32:43 +01:00
|
|
|
# serial 3
|
2002-04-15 06:28:41 +02:00
|
|
|
|
2005-01-15 21:32:43 +01:00
|
|
|
AC_DEFUN([AM_MAINTAINER_MODE],
|
2002-04-15 06:28:41 +02:00
|
|
|
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
|
|
|
|
dnl maintainer-mode is disabled by default
|
|
|
|
AC_ARG_ENABLE(maintainer-mode,
|
2005-01-15 21:32:43 +01:00
|
|
|
[ --enable-maintainer-mode enable make rules and dependencies not useful
|
|
|
|
(and sometimes confusing) to the casual installer],
|
2002-04-15 06:28:41 +02:00
|
|
|
USE_MAINTAINER_MODE=$enableval,
|
|
|
|
USE_MAINTAINER_MODE=no)
|
2005-01-15 21:32:43 +01:00
|
|
|
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
|
|
|
|
AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
|
2002-04-15 06:28:41 +02:00
|
|
|
MAINT=$MAINTAINER_MODE_TRUE
|
|
|
|
AC_SUBST(MAINT)dnl
|
|
|
|
]
|
|
|
|
)
|
|
|
|
|
2005-01-15 21:32:43 +01:00
|
|
|
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
|
2002-04-15 06:28:41 +02:00
|
|
|
|
2005-01-15 21:32:43 +01:00
|
|
|
m4_include([acinclude.m4])
|