summaryrefslogtreecommitdiff
path: root/build-aux/meson/check_libgd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/meson/check_libgd.sh')
-rwxr-xr-xbuild-aux/meson/check_libgd.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/build-aux/meson/check_libgd.sh b/build-aux/meson/check_libgd.sh
new file mode 100755
index 000000000..f1fabc0c3
--- /dev/null
+++ b/build-aux/meson/check_libgd.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ ! -f "${MESON_SOURCE_ROOT}/libgd/meson.build" ]
+then
+ git \
+ --git-dir="${MESON_SOURCE_ROOT}/.git" \
+ submodule update --init libgd
+fi