2011-02-16 05:05:54 +08:00
|
|
|
# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2006-05-31 23:14:46 +08:00
|
|
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
2009-08-23 00:56:56 +08:00
|
|
|
# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
|
2005-01-16 04:32:43 +08: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 09:35:26 +08:00
|
|
|
|
2005-01-16 04:32:43 +08: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 12:23:30 +08:00
|
|
|
|
2006-05-31 23:14:46 +08:00
|
|
|
# AM_CONDITIONAL -*- Autoconf -*-
|
2001-08-28 06:39:56 +08:00
|
|
|
|
2009-08-23 00:56:56 +08:00
|
|
|
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
|
2006-05-31 23:14:46 +08: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-17 06:36:36 +08:00
|
|
|
|
2009-08-23 00:56:56 +08:00
|
|
|
# serial 9
|
2006-01-17 06:36:36 +08: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-23 00:56:56 +08: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-17 06:36:36 +08: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 23:14:46 +08:00
|
|
|
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
|
2006-01-17 06:36:36 +08:00
|
|
|
# From Jim Meyering
|
|
|
|
|
2009-08-23 00:56:56 +08:00
|
|
|
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
|
2006-01-17 06:36:36 +08:00
|
|
|
# Free Software Foundation, Inc.
|
2006-05-31 23:14:46 +08: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-17 06:36:36 +08:00
|
|
|
|
2009-08-23 00:56:56 +08:00
|
|
|
# serial 5
|
2002-04-15 12:28:41 +08:00
|
|
|
|
2009-08-23 00:56:56 +08: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-16 04:32:43 +08:00
|
|
|
AC_DEFUN([AM_MAINTAINER_MODE],
|
2009-08-23 00:56:56 +08: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-16 04:32:43 +08:00
|
|
|
(and sometimes confusing) to the casual installer],
|
2009-08-23 00:56:56 +08:00
|
|
|
[USE_MAINTAINER_MODE=$enableval],
|
|
|
|
[USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
|
2005-01-16 04:32:43 +08:00
|
|
|
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
|
2009-08-23 00:56:56 +08:00
|
|
|
AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
|
2002-04-15 12:28:41 +08:00
|
|
|
MAINT=$MAINTAINER_MODE_TRUE
|
2009-08-23 00:56:56 +08:00
|
|
|
AC_SUBST([MAINT])dnl
|
2002-04-15 12:28:41 +08:00
|
|
|
]
|
|
|
|
)
|
|
|
|
|
2005-01-16 04:32:43 +08:00
|
|
|
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
|
2002-04-15 12:28:41 +08:00
|
|
|
|
2009-08-23 00:56:56 +08: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-16 04:32:43 +08:00
|
|
|
m4_include([acinclude.m4])
|