Make autogen.sh prompt to run configure
Patch from cpet, thanks!
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
[Changes 1.2.2]
|
[Changes 1.2.2]
|
||||||
|
|
||||||
|
* Apply patch from cpet to make autogen.sh prompt to run configure. (caf)
|
||||||
|
|
||||||
* Improve some messages in /window size (reported by cpet). (caf)
|
* Improve some messages in /window size (reported by cpet). (caf)
|
||||||
|
|
||||||
* Improve messages around DCC auto-get / auto-rename / auto-resume. (caf)
|
* Improve messages around DCC auto-get / auto-rename / auto-resume. (caf)
|
||||||
|
|||||||
13
autogen.sh
13
autogen.sh
@@ -152,9 +152,18 @@ do
|
|||||||
done
|
done
|
||||||
|
|
||||||
if test x"$NOCONFIGURE" = x; then
|
if test x"$NOCONFIGURE" = x; then
|
||||||
|
read -p "Would you like to run configure? (y/n): " var
|
||||||
|
else
|
||||||
|
var=n
|
||||||
|
fi
|
||||||
|
|
||||||
|
case $var in
|
||||||
|
y|Y|yes|YES)
|
||||||
rm -f $srcdir/config.cache
|
rm -f $srcdir/config.cache
|
||||||
echo Running $srcdir/configure $conf_flags "$@" ...
|
echo Running $srcdir/configure $conf_flags "$@" ...
|
||||||
$srcdir/configure $conf_flags "$@"
|
$srcdir/configure $conf_flags "$@"
|
||||||
else
|
;;
|
||||||
|
*)
|
||||||
echo Skipping configure process.
|
echo Skipping configure process.
|
||||||
fi
|
;;
|
||||||
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user