forked from enlightenment/efl
stop running exit since its bad form ... use AC_MSG_ERROR instead
SVN revision: 14464
This commit is contained in:
parent
5a3d6981e7
commit
07b258a472
|
@ -466,8 +466,7 @@ if test "x$have_ecore_evas" = "xyes"; then
|
||||||
if [ test -z $EVAS_CONFIG ]; then
|
if [ test -z $EVAS_CONFIG ]; then
|
||||||
echo $PROG " is not in your \$PATH. Please ensure it is.";
|
echo $PROG " is not in your \$PATH. Please ensure it is.";
|
||||||
echo "Read the manual page for you shell as to how to extend your path.";
|
echo "Read the manual page for you shell as to how to extend your path.";
|
||||||
echo "FATAL ERROR. ABORT.";
|
AC_MSG_ERROR(Cannot find $PROG)
|
||||||
exit -1;
|
|
||||||
fi
|
fi
|
||||||
evas_cflags=`$EVAS_CONFIG --cflags`
|
evas_cflags=`$EVAS_CONFIG --cflags`
|
||||||
evas_libs=`$EVAS_CONFIG --libs`
|
evas_libs=`$EVAS_CONFIG --libs`
|
||||||
|
|
|
@ -185,54 +185,46 @@ xine_libs=`$XINE_CONFIG --libs`
|
||||||
|
|
||||||
V=`$ECORE_CONFIG --version`
|
V=`$ECORE_CONFIG --version`
|
||||||
if test -z "$V"; then
|
if test -z "$V"; then
|
||||||
echo "Error. Ecore is not installed or $ECORE_CONFIG cannot be found. Abort."
|
AC_MSG_ERROR(Ecore is not installed or $ECORE_CONFIG cannot be found.)
|
||||||
exit -1
|
|
||||||
fi
|
fi
|
||||||
VV=`vser $V`
|
VV=`vser $V`
|
||||||
VM="0.9.9"
|
VM="0.9.9"
|
||||||
VVM=`vser $VM`
|
VVM=`vser $VM`
|
||||||
if test $VV -lt $VVM; then
|
if test $VV -lt $VVM; then
|
||||||
echo "Error. Ecore is not at least "$VM". It is "$V". Abort."
|
AC_MSG_ERROR(Ecore is not at least "$VM". It is "$V".)
|
||||||
exit -1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
V=`$EVAS_CONFIG --version`
|
V=`$EVAS_CONFIG --version`
|
||||||
if test -z "$V"; then
|
if test -z "$V"; then
|
||||||
echo "Error. Evas is not installed or $EVAS_CONFIG cannot be found. Abort."
|
AC_MSG_ERROR(Evas is not installed or $EVAS_CONFIG cannot be found.)
|
||||||
exit -1
|
|
||||||
fi
|
fi
|
||||||
VV=`vser $V`
|
VV=`vser $V`
|
||||||
VM="0.9.9"
|
VM="0.9.9"
|
||||||
VVM=`vser $VM`
|
VVM=`vser $VM`
|
||||||
if test $VV -lt $VVM; then
|
if test $VV -lt $VVM; then
|
||||||
echo "Error. Evas is not at least "$VM". It is "$V". Abort."
|
AC_MSG_ERROR(Evas is not at least "$VM". It is "$V".)
|
||||||
exit -1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
V=`$EDJE_CONFIG --version`
|
V=`$EDJE_CONFIG --version`
|
||||||
if test -z "$V"; then
|
if test -z "$V"; then
|
||||||
echo "Error. Edje is not installed or $EDJE_CONFIG cannot be found. Abort."
|
AC_MSG_ERROR(Edje is not installed or $EDJE_CONFIG cannot be found.)
|
||||||
exit -1
|
|
||||||
fi
|
fi
|
||||||
VV=`vser $V`
|
VV=`vser $V`
|
||||||
VM="0.5.0"
|
VM="0.5.0"
|
||||||
VVM=`vser $VM`
|
VVM=`vser $VM`
|
||||||
if test $VV -lt $VVM; then
|
if test $VV -lt $VVM; then
|
||||||
echo "Error. Edje is not at least "$VM". It is "$V". Abort."
|
AC_MSG_ERROR(Edje is not at least "$VM". It is "$V".)
|
||||||
exit -1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
V=`$XINE_CONFIG --version`
|
V=`$XINE_CONFIG --version`
|
||||||
if test -z "$V"; then
|
if test -z "$V"; then
|
||||||
echo "Error. Xine is not installed or $XINE_CONFIG cannot be found. Abort."
|
AC_MSG_ERROR(Xine is not installed or $XINE_CONFIG cannot be found.)
|
||||||
exit -1
|
|
||||||
fi
|
fi
|
||||||
VV=`vser $V`
|
VV=`vser $V`
|
||||||
VM="1.0.0"
|
VM="1.0.0"
|
||||||
VVM=`vser $VM`
|
VVM=`vser $VM`
|
||||||
if test $VV -lt $VVM; then
|
if test $VV -lt $VVM; then
|
||||||
echo "Error. Xine is not at least "$VM". It is "$V". Abort."
|
AC_MSG_ERROR(Xine is not at least "$VM". It is "$V".)
|
||||||
exit -1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
my_cflags=`$EVAS_CONFIG --cflags`" "`$ECORE_CONFIG --cflags`
|
my_cflags=`$EVAS_CONFIG --cflags`" "`$ECORE_CONFIG --cflags`
|
||||||
|
|
Loading…
Reference in New Issue