summary refs log tree commit diff stats
path: root/autogen.sh
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2016-03-31 07:48:28 -0400
committerPatrick Griffis <tingping@tingping.se>2016-03-31 07:51:08 -0400
commit19c4adf8ba9dc73eadd3503ce820cb6a5f1cc13c (patch)
treef2db5175d22b3862eafd91b207523dbfe24e473e /autogen.sh
parent1f48f9dd6fdb0a289393b75776f846017fb30167 (diff)
autogen: Don't copy all files by default
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh13
1 files changed, 9 insertions, 4 deletions
diff --git a/autogen.sh b/autogen.sh
index d669a37b..df42d3bd 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -9,10 +9,15 @@ test -z "$srcdir" && srcdir=.
 	exit 1
 }
 
-aclocal --install -I m4 || exit 1
-glib-gettextize --force --copy || exit 1
-intltoolize --force --copy --automake || exit 1
-autoreconf --force --install -Wno-portability || exit 1
+if [ "$1" = "--copy" ]; then
+	shift
+	aclocal --force --install || exit 1
+	intltoolize --force --copy --automake || exit 1
+	autoreconf --force --install --include=m4 -Wno-portability || exit 1
+else
+	intltoolize --automake || exit 1
+	autoreconf --install --symlink --include=m4 -Wno-portability || exit 1
+fi
 
 if [ "$NOCONFIGURE" = "" ]; then
         $srcdir/configure "$@" || exit 1