Changeset 937e51d for aclocal.m4
- Timestamp:
- Jun 26, 2015, 4:00:26 PM (11 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, stuck-waitfor-destruct, with_gc
- Children:
- 0df292b, e0ff3e6
- Parents:
- eb50842 (diff), 1869adf (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
aclocal.m4 (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
aclocal.m4
reb50842 r937e51d 417 417 ]) 418 418 419 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005420 # Free Software Foundation, Inc.421 #422 # This file is free software; the Free Software Foundation423 # gives unlimited permission to copy and/or distribute it,424 # with or without modifications, as long as this notice is preserved.425 426 # serial 8427 428 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.429 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])430 431 419 # Do all the work for Automake. -*- Autoconf -*- 432 420 … … 613 601 AC_SUBST([am__leading_dot])]) 614 602 615 # Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005 616 # Free Software Foundation, Inc. 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. 617 608 # 618 609 # This file is free software; the Free Software Foundation … … 622 613 # serial 5 623 614 624 # AM_PROG_LEX 625 # ----------- 626 # Autoconf leaves LEX=: if lex or flex can't be found. Change that to a 627 # "missing" invocation, for better error output. 628 AC_DEFUN([AM_PROG_LEX], 629 [AC_PREREQ(2.50)dnl 630 AC_REQUIRE([AM_MISSING_HAS_RUN])dnl 631 AC_REQUIRE([AC_PROG_LEX])dnl 632 if test "$LEX" = :; then 633 LEX=${am_missing_run}flex 634 fi]) 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. 621 AC_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])]) 627 AC_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 641 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) 635 642 636 643 # Check to see how 'make' treats includes. -*- Autoconf -*- … … 684 691 AC_MSG_RESULT([$_am_result]) 685 692 rm -f confinc confmf 693 ]) 694 695 # Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008 696 # Free Software Foundation, Inc. 697 # 698 # This file is free software; the Free Software Foundation 699 # gives unlimited permission to copy and/or distribute it, 700 # with or without modifications, as long as this notice is preserved. 701 702 # serial 6 703 704 # AM_PROG_CC_C_O 705 # -------------- 706 # Like AC_PROG_CC_C_O, but changed for automake. 707 AC_DEFUN([AM_PROG_CC_C_O], 708 [AC_REQUIRE([AC_PROG_CC_C_O])dnl 709 AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 710 AC_REQUIRE_AUX_FILE([compile])dnl 711 # FIXME: we rely on the cache variable name because 712 # there is no other way. 713 set dummy $CC 714 am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` 715 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o 716 if test "$am_t" != yes; then 717 # Losing compiler, so override with the script. 718 # FIXME: It is wrong to rewrite CC. 719 # But if we don't then we get into trouble of one sort or another. 720 # A longer-term fix would be to have automake use am__CC in this case, 721 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 722 CC="$am_aux_dir/compile $CC" 723 fi 724 dnl Make sure AC_PROG_CC is never called again, or it will override our 725 dnl setting of CC. 726 m4_define([AC_PROG_CC], 727 [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) 686 728 ]) 687 729
Note:
See TracChangeset
for help on using the changeset viewer.