build: look for src/main.c in autogen.sh

This commit is contained in:
Aleksander Morgado
2012-02-27 16:22:17 +01:00
parent 5c73e8d200
commit f42eb8684b

View File

@@ -7,7 +7,7 @@ REQUIRED_AUTOMAKE_VERSION=1.9
PKG_NAME=ModemManager PKG_NAME=ModemManager
(test -f $srcdir/configure.ac \ (test -f $srcdir/configure.ac \
&& test -f $srcdir/src/mm-modem.c) || { && test -f $srcdir/src/main.c) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level $PKG_NAME directory" echo " top-level $PKG_NAME directory"
exit 1 exit 1
@@ -21,3 +21,4 @@ PKG_NAME=ModemManager
./configure --enable-maintainer-mode $@ ./configure --enable-maintainer-mode $@
fi fi
) )