Changeset 6aa5ec0f for aclocal.m4


Ignore:
Timestamp:
May 27, 2015, 3:05:16 PM (7 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, ctor, deferred_resn, demangler, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, string, with_gc
Children:
6244dfb, be5aa1b
Parents:
8a0a7309
Message:

fix automake eighth attempt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal.m4

    r8a0a7309 r6aa5ec0f  
    601601AC_SUBST([am__leading_dot])])
    602602
     603# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
     604# From Jim Meyering
     605
     606# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
     607# 2011 Free Software Foundation, Inc.
     608#
     609# This file is free software; the Free Software Foundation
     610# gives unlimited permission to copy and/or distribute it,
     611# with or without modifications, as long as this notice is preserved.
     612
     613# serial 5
     614
     615# AM_MAINTAINER_MODE([DEFAULT-MODE])
     616# ----------------------------------
     617# Control maintainer-specific portions of Makefiles.
     618# Default is to disable them, unless `enable' is passed literally.
     619# For symmetry, `disable' may be passed as well.  Anyway, the user
     620# can override the default with the --enable/--disable switch.
     621AC_DEFUN([AM_MAINTAINER_MODE],
     622[m4_case(m4_default([$1], [disable]),
     623       [enable], [m4_define([am_maintainer_other], [disable])],
     624       [disable], [m4_define([am_maintainer_other], [enable])],
     625       [m4_define([am_maintainer_other], [enable])
     626        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
     627AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
     628  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
     629  AC_ARG_ENABLE([maintainer-mode],
     630[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
     631                          (and sometimes confusing) to the casual installer],
     632      [USE_MAINTAINER_MODE=$enableval],
     633      [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
     634  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
     635  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
     636  MAINT=$MAINTAINER_MODE_TRUE
     637  AC_SUBST([MAINT])dnl
     638]
     639)
     640
     641AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
     642
    603643# Check to see how 'make' treats includes.                  -*- Autoconf -*-
    604644
Note: See TracChangeset for help on using the changeset viewer.