kopia lustrzana https://gitlab.com/sane-project/frontends
Configure script aborts now if sane or gtk is not found
Oliver RauchDEVEL_2_0_BRANCH-1
rodzic
d1129d8d6a
commit
af05c5a53b
|
@ -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>
|
2000-11-12, 2000-11-11 Oliver Rauch <Oliver.Rauch@Wolfsburg.DE>
|
||||||
|
|
||||||
* several changes in configure scripts and Makefiles
|
* several changes in configure scripts and Makefiles
|
||||||
|
|
|
@ -3246,24 +3246,24 @@ CPPFLAGS="${CPPFLAGS} \
|
||||||
-DPATH_SANE_DATA_DIR=\$(sanedatadir) \
|
-DPATH_SANE_DATA_DIR=\$(sanedatadir) \
|
||||||
-DV_MAJOR=${V_MAJOR} -DV_MINOR=${V_MINOR} -DV_BUILD=${V_BUILD} -DSANE_V_MAJOR=${SANE_V_MAJOR}"
|
-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 "****************************************************************"
|
||||||
echo "ERROR: SANE is needed for compiling sane-frontends"
|
echo "ERROR: SANE is needed for compiling sane-frontends"
|
||||||
echo " - if you installed SANE as rpm make sure you also included"
|
echo " - if you installed SANE as rpm make sure you also included"
|
||||||
echo " sane-devel"
|
echo " sane-devel"
|
||||||
echo "****************************************************************"
|
echo "****************************************************************"
|
||||||
rm -f $cache_file
|
rm -f $cache_file
|
||||||
exit -1
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "${HAVE_GTK}" = "no"; then
|
if test "x${HAVE_GTK}" = "x"; then
|
||||||
echo "****************************************************************"
|
echo "****************************************************************"
|
||||||
echo "ERROR: GTK-1.2.0 or newer is needed for compiling sane-frontends"
|
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 " if you installed gtk as rpm make sure you also included"
|
||||||
echo " gtk-devel"
|
echo " gtk-devel"
|
||||||
echo "****************************************************************"
|
echo "****************************************************************"
|
||||||
rm -f $cache_file
|
rm -f $cache_file
|
||||||
exit -1
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -116,24 +116,24 @@ CPPFLAGS="${CPPFLAGS} \
|
||||||
-DV_MAJOR=${V_MAJOR} -DV_MINOR=${V_MINOR} -DV_BUILD=${V_BUILD} -DSANE_V_MAJOR=${SANE_V_MAJOR}"
|
-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
|
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 "****************************************************************"
|
||||||
echo "ERROR: SANE is needed for compiling sane-frontends"
|
echo "ERROR: SANE is needed for compiling sane-frontends"
|
||||||
echo " - if you installed SANE as rpm make sure you also included"
|
echo " - if you installed SANE as rpm make sure you also included"
|
||||||
echo " sane-devel"
|
echo " sane-devel"
|
||||||
echo "****************************************************************"
|
echo "****************************************************************"
|
||||||
rm -f $cache_file
|
rm -f $cache_file
|
||||||
exit -1
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "${HAVE_GTK}" = "no"; then
|
if test "x${HAVE_GTK}" = "x"; then
|
||||||
echo "****************************************************************"
|
echo "****************************************************************"
|
||||||
echo "ERROR: GTK-1.2.0 or newer is needed for compiling sane-frontends"
|
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 " if you installed gtk as rpm make sure you also included"
|
||||||
echo " gtk-devel"
|
echo " gtk-devel"
|
||||||
echo "****************************************************************"
|
echo "****************************************************************"
|
||||||
rm -f $cache_file
|
rm -f $cache_file
|
||||||
exit -1
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue