summaryrefslogtreecommitdiffstats
path: root/autogen.sh
Commit message (Collapse)AuthorAgeFilesLines
* autogen: conditionally invoke configure at the endMiklos Vajna2023-12-191-0/+14
| | | | | | | | This is backwards-compatible and core.git autogen.sh executes configure, so it eliminates a pointless difference. Signed-off-by: Miklos Vajna <vmiklos@collabora.com> Change-Id: I897bd2f6464201a19e26e55006cd52727abdfc41
* No need to cd back before exiting a shell script that is run as a commandTor Lillqvist2022-12-071-3/+0
| | | | | | | | | | | The autogen.sh script is not supposed to be sourced ("source autogen.sh"), but run as a command ("./autogen.sh"). After all, it has the executable bit set. Also, the function called "failed" in it does an "exit" at the end. That would be a rather rude thing to do as soon as something goes wrong if the script is sourced. Signed-off-by: Tor Lillqvist <tml@collabora.com> Change-Id: Ia0e4bbb2b9bed93fb4dba5c0f46a1760ec6e50d7
* Use portable `/usr/bin/env bash` shebang, instead of `/bin/bash` one.Gleb Popov2020-12-171-1/+1
| | | | | Signed-off-by: Gleb Popov <6yearold@gmail.com> Change-Id: I196c8747d9c88991bd0352849113748f8ea1294d
* Add FreeBSD case to autogen.shprivate/kara/masterprivate/kara/--helpGleb Popov2020-10-241-1/+1
| | | | Change-Id: Ib0e1cb3f34099a46e34e17a23e38d1c4bdb7dec9
* git hooks: enable them automatically during 'make'Miklos Vajna2020-10-071-0/+2
| | | | | | So one can't forget enabling them. Change-Id: Icb595e9d0711227eaa6f11c1a9ff87f2c361e0bb
* typoAndras Timar2020-05-201-1/+1
| | | | Change-Id: Iaaf095e80a7bcff597825438ce54f8039a7e6bfc
* Look also for libtoolize on macOS, not just glibtoolizeTor Lillqvist2020-05-201-1/+1
| | | | | | | | | | | | When build in lode, it gets installed only as "libtoolize". (Note that when bulding the iOS app, it is needed only by online's configure script. Not at all at build or run time, of course.) Change-Id: I7c96672b2660354aecd17db7004f5b79d707e245 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94560 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
* Revert "Get rid of use of GNU libtool" and its follow-upTor Lillqvist2019-05-271-1/+5
| | | | | | | | | | The change causes problems for people on various sad distros. Oh well, whatever. This reverts commit bd00d9fd0576b8f249d2145d8570bc395d137dc1. This reverts commit 054a9cdb045a84c0d779ad47cbec0b11f28a4f06. Change-Id: Ie439e4c655d02b6f34bdd1a9c1c5b6db6048b653
* Get rid of use of GNU libtoolTor Lillqvist2019-05-241-5/+1
| | | | | | | | | | | | | | | | | | | | | It is is complicated enough to build the iOS app. Requiring GNU libtool brings with it the risk of polluting the command environment as there already is a completely different command in macOS with the same name, /usr/bin/libtool. And as GNU libtool was used only to build the unit tests for the "normal" server-based Online that are built and run only on Linux anyway, we don't really need any of the "portability" that GNU libtool brings. Without GNU libtool, we compile all the $(wsd_sources) (see test/Makefile.am) that the unit-* tests use into a single object file, WsdSources.o. (Because they need to be compiled as PIC we can't use the already compiled object files for the Online server programs.) This required some additional minor changes to a few source files. Change-Id: I20a2c523170376fa4c1a0d9d8d6b693a9779376f Reviewed-on: https://gerrit.libreoffice.org/72840 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
* Revert "configure: add Boost.Locale library"Jan Holesovsky2019-03-151-1/+1
| | | | This reverts commit b1bec2f5005049204badee639ece50012d631933.
* configure: add Boost.Locale libraryHenry Castro2019-03-051-1/+1
| | | | | | use --with-boost-libdir=LIB_DIR Change-Id: I7c01fa33ce1dafcfc636ddcdeae46111b2ccab8e
* Revert "Make glibtoolize optional, as presumably was the thought"Tor Lillqvist2019-02-261-4/+1
| | | | | | | | | | | | I was wrong. I didn't remember that I had had to run glibtoolize myself once back in the days when initially setting up my iOS build tree on macOS, in order to get the m4 directory with its symlinks to the libtool-related m4 files in (for me) /opt/gnu/share/aclocal. Even if libtool is not used in any way when building the iOS app. This reverts commit 14e998723fc0d234c798fa156c0df7b6e4a94478. Change-Id: I474b0f47a2156a30b22be8c39864ebcd09010e21
* Make glibtoolize optional, as presumably was the thoughtTor Lillqvist2019-02-191-1/+4
| | | | Change-Id: I85b7247451d74182906e96a8a9aa0d7cdcbe1970
* iOS: add some alternative brew / pip instructions for local building.Michael Meeks2019-02-181-0/+2
| | | | Change-Id: Icefeb848537cefc618170d730d3c0b32e3898de6
* Require running configure also in tree where you will build the iOS appTor Lillqvist2018-10-301-1/+3
| | | | | | | | | | | | | | | Take the user-visible name of the iOS app as a configure parameter --with-iosapp-name. The only purpose of running the configure script in this case is to get that expanded into the Info.plist file. You need autofoo to build LibreOffice core for iOS anyway, so this doesn't really add any new hurdles for a potential developer who wants to build the iOS app Bypass some checks that aren't relevant (and would fail) in this case. Could bypass a lot more of configure.ac in the ENABLE_IOSAPP case. Change-Id: Ia0cb82ad552da1bb597411748f0cd74f825774fa
* execute autogen.sh from a build directoryHenry Castro2018-04-121-1/+9
| | | | Change-Id: Ibd394549366d0059fe27696343870645e1e11947
* Apply the pre-branch rename script to re-organize the source.Michael Meeks2016-11-251-0/+27