summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:40:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:40:30 +0000
commitad8b856c3b0d4d6055141a74664dbea4416c198d (patch)
tree8596d1a11d20a850e3316e27e51e422baa0aa1e5 /autogen.sh
parentInitial commit. (diff)
downloadxdg-user-dirs-ad8b856c3b0d4d6055141a74664dbea4416c198d.tar.xz
xdg-user-dirs-ad8b856c3b0d4d6055141a74664dbea4416c198d.zip
Adding upstream version 0.17.upstream/0.17upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..10e0fb3
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+cd $srcdir
+
+autoreconf -v --install || exit 1
+cd $ORIGDIR || exit $?
+
+if test -z "$NOCONFIGURE"; then
+ $srcdir/configure "$@"
+fi