Files
federated-calendar/autogen.sh
T

32 lines
510 B
Bash
Executable File

#!/bin/sh
# Run this to generate all the initial makefiles, etc.
set -e
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
olddir=`pwd`
cd $srcdir
mkdir -p m4
gtkdocize || exit 1
autoreconf --verbose --force --install || exit $?
if test -z "$NOCONFIGURE"; then
run_configure=true
for arg in $*; do
case $arg in
--no-configure)
run_configure=false
;;
*)
;;
esac
done
else
run_configure=false
fi
cd "$olddir"
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"