Configure script aborts now if sane or gtk is not found

Oliver Rauch
DEVEL_2_0_BRANCH-1
Oliver Rauch 2000-11-13 21:38:47 +00:00
rodzic d1129d8d6a
commit af05c5a53b
3 zmienionych plików z 14 dodań i 8 usunięć

Wyświetl plik

@ -1,3 +1,9 @@
2000-11-13 Oliver Rauch <Oliver.Rauch@Wolfsburg.DE>
* changed configure + configure.in, script aborts now if sane or gtk
is not found
2000-11-12, 2000-11-11 Oliver Rauch <Oliver.Rauch@Wolfsburg.DE>
* several changes in configure scripts and Makefiles

8
configure vendored
Wyświetl plik

@ -3246,24 +3246,24 @@ CPPFLAGS="${CPPFLAGS} \
-DPATH_SANE_DATA_DIR=\$(sanedatadir) \
-DV_MAJOR=${V_MAJOR} -DV_MINOR=${V_MINOR} -DV_BUILD=${V_BUILD} -DSANE_V_MAJOR=${SANE_V_MAJOR}"
if test "${HAVE_SANE}" = "no"; then
if test "x${HAVE_SANE}" = "x"; then
echo "****************************************************************"
echo "ERROR: SANE is needed for compiling sane-frontends"
echo " - if you installed SANE as rpm make sure you also included"
echo " sane-devel"
echo "****************************************************************"
rm -f $cache_file
exit -1
exit
fi
if test "${HAVE_GTK}" = "no"; then
if test "x${HAVE_GTK}" = "x"; then
echo "****************************************************************"
echo "ERROR: GTK-1.2.0 or newer is needed for compiling sane-frontends"
echo " if you installed gtk as rpm make sure you also included"
echo " gtk-devel"
echo "****************************************************************"
rm -f $cache_file
exit -1
exit
fi

Wyświetl plik

@ -116,24 +116,24 @@ CPPFLAGS="${CPPFLAGS} \
-DV_MAJOR=${V_MAJOR} -DV_MINOR=${V_MINOR} -DV_BUILD=${V_BUILD} -DSANE_V_MAJOR=${SANE_V_MAJOR}"
dnl Print error message if sane or gtk is missing
if test "${HAVE_SANE}" = "no"; then
if test "x${HAVE_SANE}" = "x"; then
echo "****************************************************************"
echo "ERROR: SANE is needed for compiling sane-frontends"
echo " - if you installed SANE as rpm make sure you also included"
echo " sane-devel"
echo "****************************************************************"
rm -f $cache_file
exit -1
exit
fi
if test "${HAVE_GTK}" = "no"; then
if test "x${HAVE_GTK}" = "x"; then
echo "****************************************************************"
echo "ERROR: GTK-1.2.0 or newer is needed for compiling sane-frontends"
echo " if you installed gtk as rpm make sure you also included"
echo " gtk-devel"
echo "****************************************************************"
rm -f $cache_file
exit -1
exit
fi