summaryrefslogtreecommitdiff
path: root/m4/depend.m4
Commit message (Collapse)AuthorAgeFilesLines
* maint: Update copyright years to 2018Mathieu Lirzin2018-01-041-1/+1
| | | | This update has been made with 'make update-copyright'.
* maint: Update copyright years to 2017.Mathieu Lirzin2017-03-021-1/+1
| | | | This update has been made with 'make update-copyright'.
* maint: update copyright years to 2015 (branch 'micro')Stefano Lattarini2015-01-051-1/+1
| | | | Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* maint: update copyright yearsStefano Lattarini2014-04-211-1/+1
| | | | | | We've been in 2014 already for few months now... Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* maint: update copyright year for 2013 (in branch maint)Stefano Lattarini2012-12-311-1/+1
| | | | Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* m4: get rid of "# serial" linesStefano Lattarini2012-07-141-1/+0
| | | | | | | | | | | | | | | | | The "#serial" lines are only considered by aclocal for the system-wide third-party '.m4' files, not for the Automake-provided ones. So they serve no real purpose in the Automake '.m4' files. In addition, now that we use git and topic branches, and that we are also writing the Automake-NG fork, the "#serial" lines are becoming more and more unreliable (e.g., different version of the same file in different branches can easily end up having the same serial numbers). So let's just nuke all the "#serial" lines. See also automake bug#11932. * m4/*.m4: All "# serial" lines removed. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* objc++: initial support for Objective C++Peter Breitenlohner2012-04-301-2/+3
| | | | | | | | | | | | | | | | Original thread (dating back to almost three years ago): <http://lists.gnu.org/archive/html/automake-patches/2009-07/msg00016.html> * automake.in: Register new language 'objcxx'. (lang_objcxx_rewrite): New subroutine. (resolve_linker): Add OBJCXXLINK. (%_am_macro_for_cond): Add am__fastdepOBJCXX and AC_PROG_OBJCXX. (%_ac_macro_for_var): Add OBJCXX and OBJCXXFLAGS. * m4/depend.m4 (_AM_DEPENDENCIES): Add OBJCXX. * m4/init.m4 (AM_INIT_AUTOMAKE): Add AC_PROG_OBJCXX hook. Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de> Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* cosmetics: proper capitalization and full stops in 'm4/depend.m4'Stefano Lattarini2012-02-251-5/+5
|
* deptrack: avoid few forks in configure (minor optimization)Stefano Lattarini2012-02-241-2/+2
| | | | | | | | * m4/depend.m4 (_AM_DEPENDENCIES): Use 'echo > file' instead of 'touch file' to ensure the creation of a dummy file. Adjust the comment that explains why we can't simply use ': > file': the problem this latter idiom tickles is present also with Solaris 10 /bin/sh, not merely with Solaris 8 /bin/sh.
* m4: do not quote `like this', as per GCS recommendationStefano Lattarini2012-02-231-8/+8
| | | | | | | | | | | | | This patch converts the files comprising the automake's own build system to the use of new quoting format 'like this' or "like this" rather than `like this'. * m4/auxdir.m4, m4/ccstdc.m4, m4/depend.m4, m4/depout.m4, m4/tar.m4, m4/init.m4, m4/maintainer.m4, m4/make.m4, m4/missing.m4, m4/vala.m4, m4/mkdirp.m4, m4/sanity.m4, m4/silent.m4, m4/strip.m4: Update and adjust quoting format throughout, in comments and diagnostic. Some minor related rewordings and reformatting since we are at it. Bump serial numbers.
* maint: run "make update-copyright"Stefano Lattarini2012-02-161-2/+1
|
* cosmetics: better use of m4 quoting and m4sugar macrosStefano Lattarini2011-03-171-7/+7
| | | | | | | | | | | | | | | * m4/dmalloc.m4: Better use of m4 quoting. Bump serial number. * m4/gcj.m4: Likewise. * m4/init.m4: Likewise. * m4/install-sh.m4: Likewise. * m4/lex.m4: Likewise. * m4/multi.m4: Likewise. * m4/option.m4: Likewise. * m4/python.m4: Likewise. * m4/sanity.m4: Likewise. * m4/cond.m4: Likewise. Also, prefer the m4sugar macro 'm4_if' over the plain m4 macro 'ifelse'. * m4/depend.m4: Likewise.
* Merge branch 'maint'Ralf Wildenhues2011-01-191-2/+3
|\
| * Allow _AM_DEPENDENCIES to be used later in configure.Ralf Wildenhues2011-01-191-2/+3
| | | | | | | | | | | | | | | | | | * m4/depend.m4 (_AM_DEPENDENCIES): Remove a previously existing conftest.dir before recreating it. Fixes bug#7864. Report by Eric Blake, from report by Scott McCreary against M4. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* | More uses of AS_HELP_STRING in automake macros.Stefano Lattarini2010-12-161-4/+8
| | | | | | | | | | | | | | | | | | | | * m4/depend.m4 (AM_DEP_TRACK): Use `AS_HELP_STRING' to format the help message added to the generated configure. * m4/dmalloc.m4 (AM_WITH_DMALLOC): Likewise. * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise. * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise. * m4/multi.m4 (AM_ENABLE_MULTILIB): Likewise. Also, bumped all serial numbers of the modified m4 files.
* | depcomp: add new one-pass depmode for MSVC 7 and later.Peter Rosin2010-10-071-1/+1
|/ | | | | | | | | | * lib/depcomp: Add new depmodes 'msvc7' and 'msvc7msys' which make use of the -showIncludes option added in MSVC 7. * m4/depend.m4 (_AM_DEPENDENCIES): Handle the new depmodes similarly to 'msvisualcpp' and 'msvcmsys' as MSVC does not support the -o option. Signed-off-by: Peter Rosin <peda@lysator.liu.se>
* Fix silent-rules output for disabled dependency tracking.Ralf Wildenhues2010-01-241-3/+6
| | | | | | | | | | | | | | | | | | | | | | | * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable expansion code to also work in the case where %AMDEP% expands to FALSE at config.status time, using new substitution string %VERBOSE-NODEP%. * automake.in (verbose_nodep_flag): New function, appending `@am__nodep@' to the verbose-variable name. (handle_languages): If dependencies are not disabled, use it to set %VERBOSE-NODEP%. * m4/depend.m4: Substitute am__nodep as '_no', so the second verbose-variable will always expand to an empty string, if dependencies are enabled. * tests/silent5.test: Also test --disable-dependency-tracking; also test per-target flags for non-C language files. * tests/silent9.test: New test, like silent4.test but disable dependency tracking. * tests/Makefile.am: Adjust. * NEWS, THANKS: Update. Report by Dmitry V. Levin <ldv@altlinux.org>. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Avoid racy depmodes with universal builds.Ralf Wildenhues2009-04-221-0/+14
| | | | | | | | | | * m4/depend.m4 (_AM_DEPENDENCIES): If universal builds are used, avoid racy depmodes. * lib/depcomp: Ignore `-arch' argument for makedepend depmode. Report by Bruno Haible, analysis by Bruno Haible, Peter O'Gorman, and Eric Blake. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Relax depcomp test for MSVC to not require minuso.Ralf Wildenhues2009-03-091-8/+18
| | | | | | | | | | * m4/depend.m4 (_AM_DEPENDENCIES): When checking the msvisualcpp and msvcmsys depmodes, do not require `-c -o' to work just yet. It is not needed by the depcomp script for these depmodes, and works around the ordering issue between the tests. Report by Peter Rosin. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* * automake.in: Register "Unified Parallel C" as language.Alexandre Duret-Lutz2006-08-141-0/+1
| | | | | | | | | | | | | | | | | (lang_upc_rewrite): New function. (resolve_linker): Consider UPCLINK. * lib/Automake/Variable.pm (%_ac_macro_for_var): Suggest AM_PROG_UPC for UPC and UPCFLAGS. * m4/upc.m4: New file. * m4/depend.m4 (_AM_DEPENDENCIES): Add UPC case. * m4/Makefile.am (dist_m4data_DATA): Add upc.m4. * doc/automake.texi (Unified Parallel C Support): New node. (Public macros): Mention AM_PROG_UPC. (Program and Library Variables, Flag Variables Ordering): Mention UPCFLAGS. * tests/upc.test, tests/upc2.test, tests/upc3.test: New file. * tests/Makefile.am (TESTS): Add them. * tests/ext.test: Also test upc files.
* * m4/depend.m4 (_AM_DEPENDENCIES): The IRIX MIPSpro compilerRalf Wildenhues2006-06-061-0/+1
| | | | | 7.4.4m may omit the first included header dependency information with `-MDupdate'. Refine test to catch this.
* * automake.in (%ignored_configure_vars): New variable.Alexandre Duret-Lutz2006-04-091-4/+4
| | | | | | | | | | | | | | | | (scan_autoconf_traces): Trace for _AM_SUBST_NOTMAKE and fill %ignored_configure_vars. (define_configure_variable): Declare ignored configure variables as VAR_SILENT. Do not special-case AMDEPBACKSLASH and ANSI2KNR w.r.t. VAR_SILENT. * m4/substign.m4: New file. * m4/Makefile.am (dist_m4data_DATA): Add substign.m4. * m4/cond.m4: _AM_SUBST_IGNORE $1_TRUE and $1_FALSE (PR automake/477). * m4/depend.m4: _AM_SUBST_IGNORE AMDEPBACKSLASH. * m4/protos.m4: _AM_SUBST_IGNORE ANSI2KNR. * tests/cond.test: Make sure TEST_FALSE and TEST_TRUE are not defined. * tests/amsubst.test: New file. * tests/Makefile.am (TESTS): Add it.
* * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4,Alexandre Duret-Lutz2005-01-091-18/+7
| | | | | | | | | | | m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4, m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4, m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4, m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4, m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4, m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive license that is used in aclocal.m4. Relicensing backed by RMS.
* Fix for PR automake/416:Alexandre Duret-Lutz2004-04-121-3/+8
| | | | | | * m4/depend.m4 (_AM_DEPENDENCIES): Catch `not supported' ICC 8.0 remarks. From Peter Seiderer.
* * m4/depend.m4 (_AM_DEPENDENCIES): Use `touch' rather than `: >'Alexandre Duret-Lutz2004-02-291-2/+4
| | | | | | to create numbered dependencies. This fixes a portability issue when CONFIG_SHELL is forced to /bin/sh on Solaris 8. Reported by Mark Phillips.
* * m4/as.m4, m4/depend.m4, m4/maintainer.m4, m4/multi.m4: UpdateAlexandre Duret-Lutz2004-01-111-2/+3
| | | | copyright years and serial.
* * m4/as.m4 (AM_PROG_AS): Format and align help string moreAlexandre Duret-Lutz2004-01-101-2/+2
| | | | | | | | consistently. * m4/depend.m4 (AM_DEP_TRACK): Likewise. * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise. * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise. * m4/multi.m4 (AM_ENABLE_MULTILIB): Likewise.
* * lib/depcomp (icc): Update to grok ICC 7.1's output.Alexandre Duret-Lutz2003-07-041-7/+22
| | | | | | | * m4/depend.m4 (_AM_DEPENDENCIES): Check dependency generation in a subdirectory, and with many dependencies. This catches more failures of depcomp. Reports from Ralf Wildenhues and Akim Demaille.
* * m4/depend.m4: Grep depcomp's stderr for icc warnings aboutAlexandre Duret-Lutz2003-02-111-3/+9
| | | | | | | | ignored options. * lib/depcomp (icc): New mode. * tests/depcomp5.test: New file. * tests/defs.in: Handle required=icc. * tests/Makefile.am (TESTS): Add it.
* Use `_dirstamp' when the file-system doesn't support `.dirstamp'.Alexandre Duret-Lutz2003-01-131-12/+4
| | | | | | | | | | | | | * m4/lead-dot.m4: New file. * m4/Makefile.am (dist_m4data_DATA): Add lead-dot.m4 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_LEADING_DOT.: * m4/depend.m4 (AM_SET_DEPDIR): Require AM_SET_LEADING_DOT. Define DEPDIR using am__leading_dot. * automake.in (require_build_directory): Define am__dirstamp, a new variable for the dirstamp basename, based on am__leading_dot. * tests/subobj6.test: Move all `test -f' into Makefiles, so we can use $(am__dirstamp). Reported by Richard Dawe.
* (_AM_DEPENDENCIES): Don't put "-o foo" at the end of the $depccPaul Eggert2002-10-091-1/+1
| | | | | command line, as this runs afoul of the POSIX rules for command line arguments.
* * m4/depend.m4 (_AM_DEPENDENCIES): Compute am__fastdep<compiler>Tom Tromey2002-07-071-0/+3
| | | | | | conditional. * automake.in (handle_languages): Compute FASTDEP. * lib/am/depend2.am: Added %FASTDEP% mode.
* For PR automake/323:Alexandre Duret-Lutz2002-05-241-1/+1
| | | | | | | * m4/depend.m4: Missing comma. * tests/gcj4.test: New file. * tests/Makefile.am (TESTS): Add gcj4.test. Reported by David Pashley.
* Fix for PR automake/231:Tom Tromey2002-01-201-1/+1
| | | | | * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ). * m4/depend.m4: Document `GCJ'.
* * m4/depend.m4 (AM_DEP_TRACK): Use AC_SUBST([AMDEPBACKSLASH])Akim Demaille2001-10-151-7/+4
| | | | | | | | | | | normally, what is wrong is that automake outputs a variable definition for it, hence... * automake.in (scan_one_autoconf_file): don't. * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): New, extracted from... (AM_OUTPUT_DEPENDENCY_COMMANDS): here. Adjust. Use AC_CONFIG_COMMANDS. (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use AS_DIRNAME and AS_MKDIR_P.
* * ChangeLog, ChangeLog.1996, ChangeLog.1998, ChangeLog.2000,Akim Demaille2001-09-221-0/+16
| | | | | | | | | | | | | | | Makefile.am, NEWS, README, TODO, configure.in, lib/Makefile.am, lib/acinstall, lib/am/Makefile.am, m4/Makefile.am, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/error.m4, m4/gcj.m4, m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4, m4/multi.m4, m4/obstack.m4, m4/protos.m4, m4/ptrdiff.m4, m4/python.m4, m4/regex.m4, m4/sanity.m4, m4/strip.m4, m4/termios.m4, m4/winsz.m4: Add copyright notice. * INSTALL, lib/INSTALL: Upgrade to latest autoconf version, which has a copyright notice.
* From Erik Lindahl:Tom Tromey2001-07-211-1/+3
| | | | | | | * lib/depcomp (tru64): Some Tru64 compilers use `foo.d' and not `foo.o.d'. * m4/depend.m4 (_AM_DEPENDENCIES): Check to make sure compilation output is suitable for make.
* * automake.in (handle_single_transform_list): Use $(DEPDIR)Tim Van Holder2001-07-211-4/+5
| | | | | instead of hardcoding '.deps'. * m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
* * m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.Tom Tromey2001-07-171-4/+4
| | | | * m4/init.m4: Updated callers.
* * m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which isAkim Demaille2001-07-141-30/+25
| | | | | | | | not used. Do not require the corresponding AC_PROG_CC as AC_PROG_CC is actually modified to require AM_DEPENDENCIES. Rename `confdir' as `conftest.dir' so that the configure trap remove it.
* * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revertTom Tromey2001-05-181-1/+1
| | | | | | to no dependency tracking. * tests/Makefile.am (TESTS): Added depcomp2.test. * tests/depcomp2.test: New file. From Pavel Roskin.
* * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,Tom Tromey2001-05-141-1/+2
| | | | | | not AMDEP. * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK. Correctly look at AMDEP_TRUE, not AMDEP.
* * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objcTom Tromey2001-05-131-2/+2
| | | | and gcj.
* Fixes PR automake/169.Tom Tromey2001-05-131-2/+11
| | | | | | | | * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc style for OBJC. * automake.in (java): Added autodep entry. * tests/Makefile.am (TESTS): Added gcj3.test. * tests/gcj3.test: New file.
* Use AM_CONDITIONAL and if/endif for AMDEP.Akim Demaille2001-04-091-13/+2
| | | | | | | | | | | | * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP. * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading to a configure time if/endif), or to `FALSE' (static removal of the code). (&handle_dependencies): Adjust to use `AMDEP_TRUE'. * depend2.am: Use if/endif. Adjust the 101 tests that use dependencies so that they properly invoke aclocal before automake. They need to `see' `AM_CONDITIONAL([AMDEP], ...)'.
* * m4/Makefile.am (m4data_DATA): Added make.m4.Tom Tromey2001-02-051-2/+7
| | | | | | | | * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include dependency files. * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE. Copy depcomp to subdir. * m4/make.m4: New file.
* 2001-02-03 Ville Laurikari <vlaurika@hutcs.cs.hut.fi>Tom Tromey2001-02-041-2/+6
| | | | | | | * depcomp (aix): New side-effect dependency tracking mode, for the C for AIX compiler. * m4/depend.m4 (AM_DEPENDENCIES): Recreate `conftest.c' and `conftest.h' for each test.
* * m4/depend.m4 (depcpp): Run tests in a subdir. Fixes report fromTom Tromey2001-02-041-1/+9
| | | | Bob Proulx.
* * m4/depend.m4 (AM_DEPENDENCIES): Don't leave `AC_PROG_CC' etc. inAkim Demaille2001-01-251-13/+24
| | | | | | clear. * m4/init.m4: Likewise. * m4/sanity.m4: s/conftestfile/conftest.file/.
* * m4/multi.m4: Remove the hairy useless quotation of `$'.Akim Demaille2001-01-161-24/+24
| | | | | | | | | | Simplify `ifelse([$2],,,[$2])' into... `$2'! * m4/minuso.m4: Don't use changequote! * m4/cond.m4: Fix quotation. * m4/sanity.m4: Follow the Autoconf coding style. * m4/missing.m4 (AM_MISSING_INSTALL_SH): Use a for loop. * m4/depend.m4 (AM_DEPENDENCIES): Fix quotation issues. Use AC_CACHE_CHECK.