comparison mupdf-source/thirdparty/harfbuzz/autogen.sh @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
3
4 test -n "$srcdir" || srcdir=`dirname "$0"`
5 test -n "$srcdir" || srcdir=.
6
7 olddir=`pwd`
8 cd $srcdir
9
10 #printf "checking for ragel... "
11 #which ragel || {
12 # echo "You need to install ragel... See http://www.complang.org/ragel/"
13 # exit 1
14 #}
15
16 printf "checking for pkg-config... "
17 which pkg-config || {
18 echo "*** No pkg-config found, please install it ***"
19 exit 1
20 }
21
22 printf "checking for libtoolize... "
23 which glibtoolize || which libtoolize || {
24 echo "*** No libtoolize (libtool) found, please install it ***"
25 exit 1
26 }
27 printf "checking for gtkdocize... "
28 if which gtkdocize ; then
29 gtkdocize --copy || exit 1
30 else
31 echo "*** No gtkdocize (gtk-doc) found, skipping documentation ***"
32 echo "EXTRA_DIST = " > gtk-doc.make
33 fi
34
35 printf "checking for autoreconf... "
36 which autoreconf || {
37 echo "*** No autoreconf (autoconf) found, please install it ***"
38 exit 1
39 }
40
41 echo "running autoreconf --force --install --verbose"
42 autoreconf --force --install --verbose || exit $?
43
44 cd $olddir
45 test -n "$NOCONFIGURE" || {
46 echo "running configure $@"
47 "$srcdir/configure" "$@"
48 }