Mercurial > hgrepos > Python2 > PyMuPDF
view mupdf-source/thirdparty/harfbuzz/autogen.sh @ 38:8934ac156ef5
Allow to build with the PyPI package "clang" instead of "libclang".
1. It seems to be maintained.
2. In the FreeBSD base system there is no pre-built libclang.so. If you
need this library you have to install llvm from ports additionally.
2. On FreeBSD there is no pre-built wheel "libclang" with a packaged
libclang.so.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 23 Sep 2025 10:27:15 +0200 |
| parents | b50eed0cc0ef |
| children |
line wrap: on
line source
#!/bin/sh # Run this to generate all the initial makefiles, etc. test -n "$srcdir" || srcdir=`dirname "$0"` test -n "$srcdir" || srcdir=. olddir=`pwd` cd $srcdir #printf "checking for ragel... " #which ragel || { # echo "You need to install ragel... See http://www.complang.org/ragel/" # exit 1 #} printf "checking for pkg-config... " which pkg-config || { echo "*** No pkg-config found, please install it ***" exit 1 } printf "checking for libtoolize... " which glibtoolize || which libtoolize || { echo "*** No libtoolize (libtool) found, please install it ***" exit 1 } printf "checking for gtkdocize... " if which gtkdocize ; then gtkdocize --copy || exit 1 else echo "*** No gtkdocize (gtk-doc) found, skipping documentation ***" echo "EXTRA_DIST = " > gtk-doc.make fi printf "checking for autoreconf... " which autoreconf || { echo "*** No autoreconf (autoconf) found, please install it ***" exit 1 } echo "running autoreconf --force --install --verbose" autoreconf --force --install --verbose || exit $? cd $olddir test -n "$NOCONFIGURE" || { echo "running configure $@" "$srcdir/configure" "$@" }
