2011-02-15 22:05:54 +01:00
|
|
|
# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2006-05-31 17:14:46 +02:00
|
|
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
2009-08-22 18:56:56 +02:00
|
|
|
# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
|
2005-01-15 21:32:43 +01: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 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
|
|
|
|
2006-05-31 17:14:46 +02:00
|
|
|
# AM_CONDITIONAL -*- Autoconf -*-
|
2001-08-28 00:39:56 +02:00
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
|
2006-05-31 17:14:46 +02:00
|
|
|
# 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 23:36:36 +01:00
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
# serial 9
|
2006-01-16 23:36:36 +01: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
|
2009-08-22 18:56:56 +02:00
|
|
|
AC_SUBST([$1_TRUE])dnl
|
|
|
|
AC_SUBST([$1_FALSE])dnl
|
|
|
|
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
|
|
|
|
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
|
|
|
|
m4_define([_AM_COND_VALUE_$1], [$2])dnl
|
2006-01-16 23:36:36 +01:00
|
|
|
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 17:14:46 +02:00
|
|
|
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
|
2006-01-16 23:36:36 +01:00
|
|
|
# From Jim Meyering
|
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
|
2006-01-16 23:36:36 +01:00
|
|
|
# Free Software Foundation, Inc.
|
2006-05-31 17:14:46 +02: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 23:36:36 +01:00
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
# serial 5
|
2002-04-15 06:28:41 +02:00
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
# AM_MAINTAINER_MODE([DEFAULT-MODE])
|
|
|
|
# ----------------------------------
|
|
|
|
# Control maintainer-specific portions of Makefiles.
|
|
|
|
# Default is to disable them, unless `enable' is passed literally.
|
|
|
|
# For symmetry, `disable' may be passed as well. Anyway, the user
|
|
|
|
# can override the default with the --enable/--disable switch.
|
2005-01-15 21:32:43 +01:00
|
|
|
AC_DEFUN([AM_MAINTAINER_MODE],
|
2009-08-22 18:56:56 +02:00
|
|
|
[m4_case(m4_default([$1], [disable]),
|
|
|
|
[enable], [m4_define([am_maintainer_other], [disable])],
|
|
|
|
[disable], [m4_define([am_maintainer_other], [enable])],
|
|
|
|
[m4_define([am_maintainer_other], [enable])
|
|
|
|
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
|
|
|
|
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
|
|
|
|
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
|
|
|
|
AC_ARG_ENABLE([maintainer-mode],
|
|
|
|
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
|
2005-01-15 21:32:43 +01:00
|
|
|
(and sometimes confusing) to the casual installer],
|
2009-08-22 18:56:56 +02:00
|
|
|
[USE_MAINTAINER_MODE=$enableval],
|
|
|
|
[USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
|
2005-01-15 21:32:43 +01:00
|
|
|
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
|
2009-08-22 18:56:56 +02:00
|
|
|
AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
|
2002-04-15 06:28:41 +02:00
|
|
|
MAINT=$MAINTAINER_MODE_TRUE
|
2009-08-22 18:56:56 +02:00
|
|
|
AC_SUBST([MAINT])dnl
|
2002-04-15 06:28:41 +02:00
|
|
|
]
|
|
|
|
)
|
|
|
|
|
2005-01-15 21:32:43 +01:00
|
|
|
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
|
2002-04-15 06:28:41 +02:00
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
# Copyright (C) 2006, 2008 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.
|
|
|
|
|
|
|
|
# serial 2
|
|
|
|
|
|
|
|
# _AM_SUBST_NOTMAKE(VARIABLE)
|
|
|
|
# ---------------------------
|
|
|
|
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
|
|
|
|
# This macro is traced by Automake.
|
|
|
|
AC_DEFUN([_AM_SUBST_NOTMAKE])
|
|
|
|
|
|
|
|
# AM_SUBST_NOTMAKE(VARIABLE)
|
|
|
|
# ---------------------------
|
|
|
|
# Public sister of _AM_SUBST_NOTMAKE.
|
|
|
|
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
|
|
|
|
|
2005-01-15 21:32:43 +01:00
|
|
|
m4_include([acinclude.m4])
|