Changeset 857638d for aclocal.m4


Ignore:
Timestamp:
Jul 25, 2018, 3:14:34 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
b8f6002
Parents:
e68b3a8
Message:

Removed maintainer-mode macro as default seems more appropriate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal.m4

    re68b3a8 r857638d  
    703703AC_SUBST([am__leading_dot])])
    704704
    705 # Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
    706 # From Jim Meyering
    707 
    708 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
    709 #
    710 # This file is free software; the Free Software Foundation
    711 # gives unlimited permission to copy and/or distribute it,
    712 # with or without modifications, as long as this notice is preserved.
    713 
    714 # AM_MAINTAINER_MODE([DEFAULT-MODE])
    715 # ----------------------------------
    716 # Control maintainer-specific portions of Makefiles.
    717 # Default is to disable them, unless 'enable' is passed literally.
    718 # For symmetry, 'disable' may be passed as well.  Anyway, the user
    719 # can override the default with the --enable/--disable switch.
    720 AC_DEFUN([AM_MAINTAINER_MODE],
    721 [m4_case(m4_default([$1], [disable]),
    722        [enable], [m4_define([am_maintainer_other], [disable])],
    723        [disable], [m4_define([am_maintainer_other], [enable])],
    724        [m4_define([am_maintainer_other], [enable])
    725         m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
    726 AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
    727   dnl maintainer-mode's default is 'disable' unless 'enable' is passed
    728   AC_ARG_ENABLE([maintainer-mode],
    729     [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
    730       am_maintainer_other[ make rules and dependencies not useful
    731       (and sometimes confusing) to the casual installer])],
    732     [USE_MAINTAINER_MODE=$enableval],
    733     [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
    734   AC_MSG_RESULT([$USE_MAINTAINER_MODE])
    735   AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
    736   MAINT=$MAINTAINER_MODE_TRUE
    737   AC_SUBST([MAINT])dnl
    738 ]
    739 )
    740 
    741705# Check to see how 'make' treats includes.                  -*- Autoconf -*-
    742706
Note: See TracChangeset for help on using the changeset viewer.