summaryrefslogtreecommitdiff
path: root/m4/ax_enable_builddir.m4
Commit message (Collapse)AuthorAgeFilesLines
* Fix serial numbers after spelling fixes from cf2bd2c981de.Peter Simons2017-03-291-1/+1
|
* spelling: overriddenJosh Soref2017-03-281-1/+1
|
* spelling: detectionJosh Soref2017-03-281-1/+1
|
* spelling: absoluteJosh Soref2017-03-281-1/+1
|
* switch gnu.org sites to httpsMike Frysinger2017-02-081-3/+3
|
* ax_enable_builddir: require AC_CANONICAL_TARGETMichael Stapelberg2016-10-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Without AC_CANONICAL_TARGET, I get the following error when running ./configure: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu mkdir: cannot create directory '': No such file or directory mkdir: cannot create directory '': No such file or directory ./configure: line 2470: /conftest.tmp: Permission denied configure: error: could not change to default builddir "./" With AC_CANONICAL_TARGET (either called explicitly in configure.ac, or required in AX_ENABLE_BUILDDIR), ./configure works as expected: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu continue configure in default builddir "./x86_64-unknown-linux-gnu" ....exec /nix/store/nyj6xd7s1n1w8c0xdwk5ddhi7bjcyi9x-bash-4.3-p46/bin/bash .././configure "--srcdir=.." "--enable-builddir=x86_64-unknown-linux-gnu" "linux gnu" checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for gsed... sed […]
* Fix AX_ENABLE_BUILDDIR in case of absolute configure pathJeremie Knuesel2014-10-151-2/+3
|
* AX_ENABLE_BUILDDIR: fixed Darwin supportPeter Simons2011-09-251-4/+4
| | | | Further details are available at <http://savannah.gnu.org/patch/?7619>.
* Bump version of GPL, as per authors' request.Reuben Thomas2010-11-161-2/+2
|
* Updated NEWS file, bumped serial numbers after recent changes, and remedied ↵Peter Simons2010-09-241-1/+1
| | | | minor cosmetic issues.
* change SP-TAB inside a [...] expression to TAB-SPJim Meyering2010-09-241-1/+1
| | | | | git grep -l '\[ .*\]' \ | xargs perl -pi -e 's/\[ \t([^]]*\])/[\t $1/g'
* ALL: update web site URL to ↵Peter Simons2010-03-011-2/+2
| | | | http://www.gnu.org/software/autoconf-archive/MACRO-NAME.html
* Replaced obsolete AC_HELP_STRING with AS_HELP_STRINGFrancesco Salvestrini2010-02-081-2/+2
|
* Assigned all macros a unique serial number.Peter Simons2010-01-251-0/+2
| | | | | | | The serial number corresponds to the number of commits that have modified the macro in the Archive's Git repository. Refer to http://www.gnu.org/software/libtool//manual/automake/Serials.html to find out why these numbers are useful.
* ax_enable_builddir: improve quality of generated top-level MakefileAlan Jenkins2009-10-251-2/+3
| | | | | | | | | | | The top-level Makefile is generated by mangling rules, "a: b". We already avoid mangling "a := b". But we should also exclude "a = :". Apparently this was causing unbalanced parenthesis errors on some systems. Reported-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
* all: macro home pages now reside on savannah (but old links still work)Peter Simons2009-04-281-1/+1
|
* ALL: consistency edits (see NEWS)Peter Simons2009-04-261-8/+4
| | | | | | | | | | * Consistently refer to this project as Autoconf Archive. * Removed the LAST MODIFICATION section, because that information is redundant in the presence of Git. * COPYLEFT has been renamed to LICENSE: some licenses, like all-permissive, are no copylefts.
* Synchronize last-modified-date with GIT repository.Peter Simons2009-04-201-1/+1
| | | | | | | | The last-modified-date of these macros didn't match their respective last-modified-date in the GIT repository. A version bump remedies this inconsistency. In hindsight, these dates should have bumped when the distribution format changed; all macros had to be touched at this point anyway.
* AUTHORS: updated after recent changes to AX_ENABLE_BUILDDIRPeter Simons2009-04-191-1/+2
|
* AX_ENABLE_BUILDDIR: Add support for "dist-bzip2" target and friendsAlan Jenkins2009-04-191-3/+15
| | | | | | | | | | | | We already get a special toplevel Makefile rule for "dist", which copies the tarball from the build directory to the source directory. Many projects publish tarballs compressed using Bzip2 to save a bit more bandwidth. Automake provides a "dist-bzip2" rule for this purpose, and many others for different compression methods. Unfortunately the rules don't all match the file extensions (dist-bzip makes .bz2). So for dist-foo rules, just copy *all* the tarballs. Ugly, but useful.
* AX_ENABLE_BUILDDIR: Fix "make distclean" toplevel Makefile targetAlan Jenkins2009-04-191-1/+3
| | | | | | | | | | | | | | | | | | | $ ./configure; make ... MAKE i686-pc-linux-gnu : 0 * distclean make[1]: Entering directory `/home/alan/bootup/src/module-init-tools/build' rm -f doc/*.tmp manpage.refs manpage.links make[1]: Leaving directory `/home/alan/bootup/src/module-init-tools/build' MAKE i686-pc-linux-gnu : 0 * distclean (all local builds) # rm -r . # (sleep 3) rm -r . rm: cannot remove directory `.' The problem is the method used to determine which builddirs are local, and therefore should removed by "make distclean". It relies on them starting with "./", but they don't :-). Instead, we can assume that non-local directories will start with "/" or "../".
* AX_ENABLE_BUILDDIR: Prevent multiple dist-all targets in top-level MakefileAlan Jenkins2009-04-191-1/+2
| | | | | | | | | | | | | | | | | | | $ ./configure; make ... Makefile:852: target `dist-all' given more than once in the same rule. The macro generates additional X-all targets, meaning "make target X in all build directories". My source Makefile includes a rule like this: dist dist-all: ... It gets converted to dist dist-all dist-all: When what we really want is this dist dist-all:
* AX_ENABLE_BUILDDIR: Fix ":=" assignments in top-level generated MakefileAlan Jenkins2009-04-191-5/+8
| | | | | | | | | | | | | | | | | The sed script which generates the top-level Makefile from the Makefile in the build directory is flawed. It treats an assignment of the form "TESTSUITE := ..." as a makefile rule - because it contains ":". $ make ... MAKE : 1 * TESTSUITE make[1]: Entering directory `/home/alan/bootup/src/module-init-tools/build' make[1]: *** No rule to make target `TESTSUITE'. Stop. Fix the sed script to skip the rule-related commands for lines which contain ":=". As a cleanup, we can also skip the rule-related commands for lines which do not contain ":". That simplifies those commands, because they don't need to test for ":" themselves.
* AX_ENABLE_BUILDDIR: Fix builds configured from a subdirectoryAlan Jenkins2009-04-191-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I would like to be able to bypass ENABLE_BUILDDIR and configure a subdirectory myself, without generating a toplevel Makefile. (This is for an unusual automated testsuite which tests behaviour with different configure options, and compiles with -DJUST_TESTING to build a testable version of the program). $ mkdir build; cd build; ../configure ... config.status: executing buildir commands config.status: create top_srcdir/Makefile guessed from local Makefile config.status: build in yes (HOST=) ... $ cd ..; make MAKE i686-pc-linux-gnu : 0 * all-all /bin/bash: line 9: cd: yes: No such file or directory make: *** [all-all] Error 1 Also: ./configure --disable-builddir ... config.status: executing buildir commands config.status: keeping top_srcdir/Makefile from earlier configure ... Which should really be: config.status: executing buildir commands config.status: leaving top_srcdir/Makefile untouched
* AX_ENABLE_BUILDDIR: Fix path for config.guessAlan Jenkins2009-04-191-5/+3
| | | | | | | | | | | | | | | | | | | Using this macro, I get a warning that config.guess can't be found. It doesn't cause a problem for me because I'm not cross-compiling for multiple hosts, but it is annoying. $ ./configure ... $ make sh: Can't open ../config.guess ... Reason: ".." is "$AUX". The top-level makefile is generated *after* the configure script reruns itself in the build directory. At that point, AUX is equal to "..". Solution: use AM_AUX_DIR_EXPAND to generate an absolute version of ac_aux_dir.
* ALL: updated m4 distribution formatPeter Simons2008-04-121-48/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The markup format distributed by the Autoconf Macro Archive underwent the following changes: * All archive entries use '#' comment delimiters, rather than 'dnl', because we would like those comments to go into the generated configure script. It should be simple for everyone to determine where the macro came from originally, who wrote it, and where the latest version can be retrieved. To achieve this, every macro used to start with a distinguished line that shows the URL of its respective home page, i.e.: | ##### http://autoconf-archive.cryp.to/ax_prog_acme.html As it happens, the aclocal utility distributed with Automake ignores all comment lines that start with a double hash '##', thus those home page URLs will not make it into any automatically generated aclocal.m4 file. Duh. To remedy the situation, the following markup is now used instead: | # ================================================================= | # http://autoconf-archive.cryp.to/ax_prog_acme.html | # ================================================================= * The 2.x versions of the GNU GPL and LGPL contain the following clause: | You should have received a copy of the <GNU LICENSE NAME> along | with this program; if not, write to the Free Software Foundation, | Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Version 3.x, however, smartly refers the reader to the Web: | You should have received a copy of the GNU General Public License | along with this program. If not, see <http://www.gnu.org/licenses/>. This patch changes all GPL2 and LGPL2 macros to do the same, i.e. to refer to the GNU web site for the full text of the respective license. * Since all m4 files had to be changed in this commit anyway, the opportunity was used to increase the auto-fill column for documentation from 65 to 75 characters per line. It's a trivial change, but it just looks nicer.
* AX_ENABLE_BUILDDIR: Bump modification date to obsolete the reverted version.Peter Simons2007-08-211-1/+1
|
* AX_ENABLE_BUILDDIR: Revert renaming of variable HOST to BUILD.Peter Simons2007-08-211-25/+24
| | | | | | | | | | | | | | | | | Further discussion on the Autoconf mailing list has reached the following consensus: although BUILD is the right choice in most cases, in case of cross-compilation it is not. Cross-compilation needs HOST to be set, so the original version of this macro is the safer choice. This patch reverts commit 41da8f494cd209a9836ebeae8f211cb84dde9153. An unpleasant property of HOST is that most shell environments define that variable to the local hostname. When configure uses $HOST as a default setting, however, that is not what it expects to find -- HOST is supposed to be config.guess tripple. Thus, the user is forced to specify HOST explicitly or to undefine $HOST in the shell before calling configure. That's a bit of mess. Bright ideas and patches are welcome.
* AX_ENABLE_BUILDDIR: Renamed variable HOST to BUILD.Julian Cummings2007-08-041-24/+25
| | | | | | | | | The patch universally replaces "host" with "build" and "HOST" with "BUILD". The rationale is that typically the user wishes to segregate builds based upon the BUILD target rather than the configuration HOST type. Now that these host and build variables are treated as more fully distinct in Autoconf, it makes sense to honor this distinction.
* Imported http://autoconf-archive.cryp.to/ release 2007-02-14.Peter Simons2007-02-181-0/+286