Commit graph

50 commits

Author SHA1 Message Date
Norbert Thiebaud
ae4e327739 Prepare for read-only source build
This patch allows to do

mkdir <build_dir>
cd <build_dir>
<src_root>/autogen.sh
make

Only the remaining dmake modules are poluting the <src_root>...
which will get eventually convererd to gmake...

Change-Id: Iefd64732fa12e096d554cff4eee6b777deb92338
Reviewed-on: https://gerrit.libreoffice.org/1273
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-12-11 14:26:30 +00:00
Tor Lillqvist
b8f3214f5c Don't require configure to appear executable
Makes autogen.sh work on Cygwin when the build directory is on a
vmware Shared Folder volume.
2012-12-01 08:35:04 +02:00
Enrico Weigelt, metux ITS
695c1946e6 Fixed previous commit on autogen.sh default config
Change-Id: I29cc49dcc284b462ac29d0d040e331f3e6d08e74
Reviewed-on: https://gerrit.libreoffice.org/1097
Reviewed-by: Rene Engelhard <rene@debian.org>
Tested-by: Rene Engelhard <rene@debian.org>
2012-11-17 13:54:16 +00:00
Enrico Weigelt, metux ITS
c1caa1dca8 autogen.sh: support for default distro config
Always try to read distro-configs/default.conf (if existing) before
any option parsing.

That way, downstreams (distros, etc) can just place there site config
into the tree without having to pass any additional options to autogen.sh,
and even automatic invocations will always have the right parameters.

Change-Id: Ic5bf68adc719476d374cf03e31e054b69c931b72
Reviewed-on: https://gerrit.libreoffice.org/1096
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2012-11-17 10:21:56 +00:00
Stephan Bergmann
1dfb956306 Indentation clean up
Change-Id: I1e3633f5bbf6b3ad0cdb2005a2a5608f3265ffdb
2012-06-05 14:18:40 +02:00
Ruslan Kabatsayev
cbe733f19a autogen.sh: append aclocal arguments to ACLOCAL_FLAGS unconditionally
Change-Id: I2254628edfe213c3424dce2bc5d9f164752e913c
2012-05-17 11:04:56 +02:00
Michael Meeks
02f385b9ea deal with symlinks in your PWD breaking gnumake dependencies 2012-03-29 17:28:11 +01:00
Josh Heidenreich
6635337181 Fix authgen.sh to not clobber autogen.lastrun when using --help
Fix also works for -h and -?
2012-03-13 08:58:31 +10:30
Thomas Collerton
0847fd63d7 Improvement to fdo#46565 2012-03-05 10:41:25 +02:00
Thomas Collerton
39d026a11f fdo#46565: perl / autogen.sh should backup autogen.lastrun 2012-02-29 11:33:35 +00:00
David Tardon
12c35f511e add macro for extracting mingw dll names from libtool files
Hardcoding dll names from SuSE Linux in configure.in is not good,
because they might be slightly different on other systems (notably
Fedora :-), or the libraries might be compiled with different
dependencies.
2012-02-17 15:53:58 +01:00
Miklos Vajna
a36addcc85 autogen: sync vim modeline with emacs one 2012-01-09 22:42:09 +01:00
Stephan Bergmann
8d6d6bd8bd Fix to create autogen.lastrun for a single argument case. 2011-08-30 21:53:24 -04:00
Miklos Vajna
e4278fa989 autogen.sh: don't touch autogen.lastrun if it already exists 2011-08-29 09:04:42 +02:00
Norbert Thiebaud
3ea37ac700 touch autogen.lastrun to make sure that such file exist before make 2011-08-28 13:59:10 -05:00
Tor Lillqvist
e058530153 Allow comments in the autogen.lastrun file 2011-08-24 18:01:46 +03:00
Norbert Thiebaud
2a9692a465 have autogen.sh return an erro if configure failed 2011-08-18 00:26:14 -05:00
Tor Lillqvist
da456ccd77 I doubt we need a ChangeLog file 2011-07-03 17:13:53 +03:00
Tor Lillqvist
e3a07b8a6c Include environment variables already in autogen.sh's environment 2011-07-03 17:08:32 +03:00
Tor Lillqvist
173997227e Allow use of $ACLOCAL to override the name aclocal
Useful for instance when only aclocal-1.10 exists. But, systems that
are broken like that will have lots of more problems, too. It is just
a (sad?) fact that building LO on anything except those platforms that
people work on constantly will require lots of tweaks. Many of the
assumptions in various solenv .mk files for rare platforms are rather
outdated and/or arbitrary, assuming a certain mix of more or less
"official" additional tools.
2011-07-03 10:56:49 +03:00
Tor Lillqvist
29a2abb9a3 We should not look for .exe extensions for Cygwin programs 2011-05-31 10:32:37 +03:00
Tor Lillqvist
471fd2e4e8 Stylize consistently, add more Emacs mode goodness 2011-05-31 10:00:39 +03:00
Christian Lohmaier
90a9bed187 one doesn't need pkg-config on mac 2011-05-30 17:35:24 +02:00
Michael Meeks
dd771be140 initial attempt to avoid ugly errors with missing pkgconfig etc. 2011-05-30 15:23:15 +01:00
Tor Lillqvist
98bbdc8bcb Add Emacs and vim mode setting 2011-05-29 19:41:28 +03:00
Tor Lillqvist
1ec7b6a496 Don't overwrite autogen.lastrun with identical (perhaps re-ordered) contents 2011-05-29 19:41:28 +03:00
Jan Holesovsky
ca907e0220 Merge remote-tracking branch 'origin/integration/dev300_m106'
Conflicts:
	Makefile.in
	Repository.mk
	autogen.sh
	bin/lo-commit-stat
	configure.in
	distro-configs/LibreOfficeOpenBSD.conf
	distro-configs/LibreOfficeWin32.conf
	instsetoo_native/util/openoffice.lst
	ooo.lst.in
	scp2/source/ooo/module_langpack.ulf
	set_soenv.in
	solenv/bin/ooinstall
	solenv/gbuild/CppunitTest.mk
	solenv/gbuild/Library.mk
	solenv/gbuild/LinkTarget.mk
	solenv/gbuild/TargetLocations.mk
	solenv/gbuild/platform/macosx.mk
	solenv/gbuild/platform/solaris.mk
	solenv/gbuild/platform/unxgcc.mk
	solenv/gbuild/platform/windows.mk
	solenv/inc/minor.mk
	solenv/inc/settings.mk
	tail_build/prj/makefile.mk
2011-05-27 20:39:04 +02:00
Jan Holesovsky
56c4710008 Don't mention that we are updating autogen.lastrun. 2011-04-15 14:20:36 +02:00
Tor Lillqvist
47bca2f064 Don't worry if there is no distro-configs/Foo.conf
The --with-distro options might come from bin/build-ooo in a "build"
style build, and in that case, the relevant configure options are
already on the command line, too.
2011-04-08 13:30:17 +03:00
Tor Lillqvist
45f8c190a9 Make the list of valid distros show up also in slightly older Perl versions
See http://perldoc.perl.org/functions/readdir.html .
2011-04-08 13:30:15 +03:00
Norbert Thiebaud
b8f27e21e5 fix the autogen perl wrapper: mishandling of the Darwins-pecific aclocal
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2011-04-07 14:34:59 +02:00
Jan Holesovsky
c0b9fdfbba Migrate the old autogen.lastrun format to the new one automatically.
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2011-04-07 14:33:40 +02:00
Michael Meeks
1e5339ec92 re-write into perl, to reduce ninja-coding, and fix distro-config bug
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2011-04-07 14:33:04 +02:00
Michael Meeks
396fd9fc61 check more carefully for configure generation, and fix quoting of vendors 2011-04-07 13:27:47 +01:00
Jan Holesovsky
b2a2b92a0d Migrate the old autogen.lastrun format to the new one automatically. 2011-04-06 08:48:26 +02:00
Norbert Thiebaud
f3430509e2 fix the autogen perl wrapper: mishandling of the Darwins-pecific aclocal 2011-04-05 14:21:38 -05:00
Michael Meeks
434df16fd6 re-write into perl, to reduce ninja-coding, and fix distro-config bug 2011-04-05 16:16:33 +01:00
Norbert Thiebaud
19ef1eb7a7 fix the IFS trick. the bashims removal broke that part 2010-12-01 18:22:32 -06:00
Jan Holesovsky
f9eb714c78 autogen.sh: Even more portable. 2010-12-02 00:14:48 +01:00
Jan Holesovsky
5da12b112f autogen.sh: Remove bashism / non-portable stuff. 2010-12-01 19:03:56 +01:00
Norbert Thiebaud
edac2b708b add support for --with-distro 2010-12-01 06:21:09 -06:00
Takeshi Abe
d2e91b8732 ban bashism 2010-11-30 22:34:22 -06:00
Norbert Thiebaud
4a8e692f6b make autogen ability to remember the last command line work on MacOS
futhermore: the conf.log extraction method is no reliable. autoconf
has changed and newer version don't put it there.
furthermore, because of the post_download generation,
the conf.log get crowded by a second autoconf...
2010-11-30 20:25:22 -06:00
Norbert Thiebaud
4c8c8751e5 building rawbuild on mac should not depend on pkg-config being installed 2010-11-30 20:25:20 -06:00
Thomas Klausner
fb354eb03d Use more portable sed construct for quoting expressions.
Remove unused variable.
2010-10-05 13:06:28 +02:00
Jan Holesovsky
5096198055 Solve the problem with eval & $@. 2010-10-04 17:05:05 +02:00
Fridrich Štrba
03e305a2b5 Don't quote stuff that does not need to be quoted 2010-10-04 16:16:52 +02:00
Jan Holesovsky
55d3dff944 Remove 'configure' from the SCM, generate it using ./autogen.sh instead. 2010-08-24 15:03:44 +02:00
Jan Holesovsky
f645e1bc33 Split build: Revert it for now. 2010-08-18 17:48:07 +02:00
Jan Holesovsky
061104ffd1 Split build: Remove files that should not be revision controlled.
They are generated; so actually also add autogen.sh and Makefile.am to help
to generate them :-)

* Makefile.in: Bin.
* aclocal.m4: Bin.
* configure: Bin.
* autogen.sh: New file.
* Makefile.am: New file.
2009-06-26 00:23:43 +02:00