Clipboard/autogen.sh
Cristian Henzel c0c1f4a5c4 ClipIt-v1.2.5-12112010002
+ Fixed: Now using autopoint instead of gettextize to avoid waiting for
		user input.
+ Fixed: Added AM_MAINTAINER_MODE, to get rid of the disable-maintainer-mode
		warning.
+ Fixed: Fixed a small typo in main.c.
+ Fixed: removed dependency of pthread.h (the pthread_exit function that we
		use is also in glib.h).
2011-05-23 13:51:45 +03:00

63 lines
1.1 KiB
Bash

#!/bin/sh
GETTEXTIZE="autopoint"
echo "$GETTEXTIZE..."
($GETTEXTIZE --version) < /dev/null > /dev/null 2>&1 || {
echo "$GETTEXTIZE not found"
exit 1
}
if test "$GETTEXTIZE"; then
echo "Creating $dr/aclocal.m4 ..."
test -r aclocal.m4 || touch aclocal.m4
echo "Running $GETTEXTIZE... Ignore non-fatal messages."
$GETTEXTIZE --force
echo "Making aclocal.m4 writable ..."
test -r aclocal.m4 && chmod u+w aclocal.m4
fi
echo "intltoolize..."
(intltoolize --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "intltoolize not found"
exit 1
}
intltoolize --copy --force --automake
echo "aclocal..."
(aclocal --version) < /dev/null > /dev/null 2>&1 || {
echo "aclocal not found"
exit 1
}
aclocal -I m4
echo "autoheader..."
(autoheader --version) < /dev/null > /dev/null 2>&1 || {
echo "autoheader not found"
exit 1
}
autoheader
echo "automake..."
(automake --version) < /dev/null > /dev/null 2>&1 || {
echo "automake not found"
exit 1
}
automake --add-missing --copy --gnu
echo "autoconf..."
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
echo "autoconf not found"
exit 1
}
autoconf
echo "now run configure"
exit 0