summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorHibby <d@vehibberd.com>2017-01-21 14:34:12 +0000
committerHibby <d@vehibberd.com>2017-01-21 14:34:12 +0000
commit374dc15bb0cd3ce686ace56248f2f6eb00c7dbf0 (patch)
tree8f68e5904475ce7ac5a99f0c00e3e9695d3cd49e /configure
parent0fff0b425e261ba80f0888f49267de16a5e90100 (diff)
parenta3886f2ff62cabdb912db7a0d9c163cbe96c0c40 (diff)
Merge tag 'upstream/2.6'
Upstream version 2.6
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure13
1 files changed, 10 insertions, 3 deletions
diff --git a/configure b/configure
index 2911fa0..923f672 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,11 @@
#!/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 "$@"
@@ -100,7 +106,7 @@ fi
IN="#"
HAVENETROM="#undef HAVE_NETROM"
HAVEROSE="#undef HAVE_ROSE"
- HAVEMHEARD="#undef HAVE_MHEARD"
+ HAVEMHEARD="#undef HAVE_JHEARD"
HAVEAUTOROUTE="#undef HAVE_AUTOROUTE"
HAVETCPIP="#undef HAVE_TCPIP"
HAVEMOTD="#undef HAVE_MOTD"
@@ -174,7 +180,7 @@ fi
if [ $? -ne 1 ]
then
HAVEAX25="#define HAVE_AX25 1"
- HAVEMHEARD="#define HAVE_MHEARD 1"
+ HAVEMHEARD="#define HAVE_JHEARD 1"
fi
#
# echo -n "Include support for ax25 AutoRouter ? [Y/n]: "; read answer
@@ -270,7 +276,8 @@ echo ""
_sleep 1
echo "Special thanks to: Morgan, sm6tky for his security report"
echo "and Barry K2MF for his input on some of my routines and supplying"
-echo "some source code."
+echo "some source code. If you did not use interactive mode, you must"
+echo "run make manually."
_sleep 1
echo ""
#echo -n "Shall I run the make command for you ? [Y/n]: "