libqmi-qmuxd/autogen.sh

26 lines
586 B
Bash
Raw Permalink Normal View History

2012-07-03 13:44:49 +00:00
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
REQUIRED_AUTOMAKE_VERSION=1.9
PKG_NAME=libqmi
2012-07-03 13:44:49 +00:00
(test -f $srcdir/configure.ac \
2013-07-10 20:04:48 +00:00
&& test -f $srcdir/src/libqmi-glib/libqmi-glib.h) || {
2012-07-03 13:44:49 +00:00
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level $PKG_NAME directory"
exit 1
}
(cd $srcdir;
gtkdocize || exit 1
2012-07-03 13:44:49 +00:00
mkdir -p m4
2016-03-21 09:34:17 +00:00
touch ChangeLog
2012-07-03 13:44:49 +00:00
autoreconf --force --install --verbose
)
if test -z "$NOCONFIGURE"; then
$srcdir/configure --enable-maintainer-mode "$@"
fi