mirror of
https://github.com/EnergyMech/energymech.git
synced 2025-12-17 15:36:50 +00:00
commit
1fb632429a
46
configure
vendored
46
configure
vendored
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# EnergyMech, IRC Bot software
|
# EnergyMech, IRC Bot software
|
||||||
# Copyright (c) 1997-2009 proton
|
# Copyright (c) 1997-2018 proton
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -995,9 +995,16 @@ def_perl='#undef PERL'
|
|||||||
# test "$ans" = y -o "$ans" = Y -o "$ans" = yes -o "$ans" = YES -o "$ans" = Yes && def_perl='#define PERL'
|
# test "$ans" = y -o "$ans" = Y -o "$ans" = yes -o "$ans" = YES -o "$ans" = Yes && def_perl='#define PERL'
|
||||||
# fi
|
# fi
|
||||||
|
|
||||||
|
def_redirect='#undef REDIRECT'
|
||||||
|
unset ans
|
||||||
|
echo $ac_n "Command output redirect? ................... [Y/n] "$ac_c
|
||||||
|
test "$ft_redirect" && echo "$ft_redirect" && ans=$ft_redirect
|
||||||
|
test -z "$ft_redirect" && read ans
|
||||||
|
test -z "$ans" -o "$ans" = y -o "$ans" = Y -o "$ans" = yes -o "$ans" = YES -o "$ans" = Yes && def_redirect='#define REDIRECT'
|
||||||
|
|
||||||
def_python='#undef PYTHON'
|
def_python='#undef PYTHON'
|
||||||
unset ans
|
unset ans
|
||||||
echo $ac_n "Python scripting support? .................. [y/N] "$ac_c
|
echo $ac_n "Scripting support (Python)? ................ [y/N] "$ac_c
|
||||||
if [ "$has_python" = no ]; then
|
if [ "$has_python" = no ]; then
|
||||||
echo 'no (unsupported)'
|
echo 'no (unsupported)'
|
||||||
else
|
else
|
||||||
@ -1010,12 +1017,20 @@ if [ "$def_python" = '#undef PYTHON' ]; then
|
|||||||
incpython=
|
incpython=
|
||||||
fi
|
fi
|
||||||
|
|
||||||
def_redirect='#undef REDIRECT'
|
def_tcl='#undef TCL'
|
||||||
unset ans
|
unset ans
|
||||||
echo $ac_n "Command output redirect? ................... [Y/n] "$ac_c
|
echo $ac_n "Scripting support (Tcl)? ................... [y/N] "$ac_c
|
||||||
test "$ft_redirect" && echo "$ft_redirect" && ans=$ft_redirect
|
if [ "$has_tcl" = no ]; then
|
||||||
test -z "$ft_redirect" && read ans
|
echo 'no (unsupported)'
|
||||||
test -z "$ans" -o "$ans" = y -o "$ans" = Y -o "$ans" = yes -o "$ans" = YES -o "$ans" = Yes && def_redirect='#define REDIRECT'
|
else
|
||||||
|
test "$ft_tcl" && echo "$ft_tcl" && ans=$ft_tcl
|
||||||
|
test -z "$ft_tcl" && read ans
|
||||||
|
test "$ans" = y -o "$ans" = Y -o "$ans" = yes -o "$ans" = YES -o "$ans" = Yes && def_tcl='#define TCL'
|
||||||
|
fi
|
||||||
|
if [ "$def_tcl" = '#undef TCL' ]; then
|
||||||
|
libtcl=
|
||||||
|
inctcl=
|
||||||
|
fi
|
||||||
|
|
||||||
def_seen='#undef SEEN'
|
def_seen='#undef SEEN'
|
||||||
unset ans
|
unset ans
|
||||||
@ -1038,21 +1053,6 @@ test "$ft_stats" && echo "$ft_stats" && ans=$ft_stats
|
|||||||
test -z "$ft_stats" && read ans
|
test -z "$ft_stats" && read ans
|
||||||
test -z "$ans" -o "$ans" = y -o "$ans" = Y -o "$ans" = yes -o "$ans" = YES -o "$ans" = Yes && def_stats='#define STATS'
|
test -z "$ans" -o "$ans" = y -o "$ans" = Y -o "$ans" = yes -o "$ans" = YES -o "$ans" = Yes && def_stats='#define STATS'
|
||||||
|
|
||||||
def_tcl='#undef TCL'
|
|
||||||
unset ans
|
|
||||||
echo $ac_n "Tcl scripting support? ..................... [y/N] "$ac_c
|
|
||||||
if [ "$has_tcl" = no ]; then
|
|
||||||
echo 'no (unsupported)'
|
|
||||||
else
|
|
||||||
test "$ft_tcl" && echo "$ft_tcl" && ans=$ft_tcl
|
|
||||||
test -z "$ft_tcl" && read ans
|
|
||||||
test "$ans" = y -o "$ans" = Y -o "$ans" = yes -o "$ans" = YES -o "$ans" = Yes && def_tcl='#define TCL'
|
|
||||||
fi
|
|
||||||
if [ "$def_tcl" = '#undef TCL' ]; then
|
|
||||||
libtcl=
|
|
||||||
inctcl=
|
|
||||||
fi
|
|
||||||
|
|
||||||
def_telnet='#undef TELNET'
|
def_telnet='#undef TELNET'
|
||||||
unset ans
|
unset ans
|
||||||
echo $ac_n "Telnet support? ............................ [Y/n] "$ac_c
|
echo $ac_n "Telnet support? ............................ [Y/n] "$ac_c
|
||||||
@ -1163,7 +1163,7 @@ s|@UNALIGNED_MEM@|$UNALIGNED_MEM|;
|
|||||||
echo ''
|
echo ''
|
||||||
echo 'All done. You can now "make clean install"'
|
echo 'All done. You can now "make clean install"'
|
||||||
echo ''
|
echo ''
|
||||||
echo 'Send your bugreports to <proton@energymech.net>'
|
echo 'Submit your bugreports at https://github.com/MadCamel/energymech/issues'
|
||||||
echo ''
|
echo ''
|
||||||
echo 'You have read the README file I hope?'
|
echo 'You have read the README file I hope?'
|
||||||
echo ''
|
echo ''
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user