uronode/debian/patches/non-interactive-install.patch

29 lines
761 B
Diff

Description: Remove interactive mode from configure, speed up build
Author: Dave Hibberd <d@vehibberd.com>
Last-Update: 2018-02-10
--- a/configure
+++ b/configure
@@ -1,11 +1,5 @@
#!/bin/sh
-echo -n "Use interactive mode? [Y/n]: "; read answer
-if [ "$answer" = "Y" -o "$answer" = "y" -o "$answer" = "" ]
- then NON_INTERACTIVE=0;
- else NON_INTERACTIVE=1;
-fi
-
_sleep()
{
[ "$NON_INTERACTIVE" = 1 ] || sleep "$@"
@@ -122,6 +116,9 @@
if [ $? -ne 1 ]
then
HAVEAX25="#define HAVE_AX25 1"
+ #These have been moved out of tcp-ip so I have an MOTD when I don't build telnet in
+ HAVEMOTD="#define HAVEMOTD"
+ MOTDPATH='"/etc/ax25/uronode.motd"'
fi
#
# echo -n "Include support for the FlexNet protocol ? [Y/n]: "; read answer