libreoffice-online/autogen.sh
Tor Lillqvist 0b49485383 Require running configure also in tree where you will build the iOS app
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
2018-10-30 12:10:31 +02:00

37 lines
578 B
Bash
Executable file

#! /bin/bash
srcdir=`dirname $0`
test -n "$srcdir" || srcdir=.
olddir=`pwd`
cd "$srcdir"
function failed {
cat << EOF 1>&2
Result: $1 failed
Please try running the commands from autogen.sh manually, and fix errors.
EOF
exit 1
}
if test `uname -s` = Linux; then
libtoolize || failed "libtool"
fi
aclocal || failed "aclocal"
autoheader || failed "autoheader"
automake --add-missing || failed "automake"
autoreconf || failed "autoreconf"
cat << EOF
Result: All went OK, please run $srcdir/configure (with the appropriate parameters) now.
EOF
cd "$olddir"