2006-05-31 15:14:46 +00:00
|
|
|
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
|
1999-04-16 01:35:26 +00:00
|
|
|
|
2006-05-31 15:14:46 +00:00
|
|
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
|
|
|
# 2005 Free Software Foundation, Inc.
|
2005-01-15 20:32:43 +00:00
|
|
|
# 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 01:35:26 +00:00
|
|
|
|
2005-01-15 20:32:43 +00: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 04:23:30 +00:00
|
|
|
|
2006-05-31 15:14:46 +00:00
|
|
|
# AM_CONDITIONAL -*- Autoconf -*-
|
2001-08-27 22:39:56 +00:00
|
|
|
|
2006-05-31 15:14:46 +00:00
|
|
|
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
|
|
|
|
# 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.
|
2006-01-16 22:36:36 +00:00
|
|
|
|
2006-05-31 15:14:46 +00:00
|
|
|
# serial 7
|
2006-01-16 22:36:36 +00:00
|
|
|
|
|
|
|
# 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])])
|
|
|
|
|
2006-05-31 15:14:46 +00:00
|
|
|
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
|
2006-01-16 22:36:36 +00:00
|
|
|
# From Jim Meyering
|
|
|
|
|
2006-05-31 15:14:46 +00:00
|
|
|
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
|
2006-01-16 22:36:36 +00:00
|
|
|
# Free Software Foundation, Inc.
|
2006-05-31 15:14:46 +00:00
|
|
|
#
|
|
|
|
# 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.
|
2006-01-16 22:36:36 +00:00
|
|
|
|
2006-05-31 15:14:46 +00:00
|
|
|
# serial 4
|
2002-04-15 04:28:41 +00:00
|
|
|
|
2005-01-15 20:32:43 +00:00
|
|
|
AC_DEFUN([AM_MAINTAINER_MODE],
|
2002-04-15 04:28:41 +00: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 20:32:43 +00:00
|
|
|
[ --enable-maintainer-mode enable make rules and dependencies not useful
|
|
|
|
(and sometimes confusing) to the casual installer],
|
2002-04-15 04:28:41 +00:00
|
|
|
USE_MAINTAINER_MODE=$enableval,
|
|
|
|
USE_MAINTAINER_MODE=no)
|
2005-01-15 20:32:43 +00:00
|
|
|
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
|
|
|
|
AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
|
2002-04-15 04:28:41 +00:00
|
|
|
MAINT=$MAINTAINER_MODE_TRUE
|
|
|
|
AC_SUBST(MAINT)dnl
|
|
|
|
]
|
|
|
|
)
|
|
|
|
|
2005-01-15 20:32:43 +00:00
|
|
|
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
|
2002-04-15 04:28:41 +00:00
|
|
|
|
2005-01-15 20:32:43 +00:00
|
|
|
m4_include([acinclude.m4])
|