]> git.pld-linux.org Git - packages/awznode.git/blame - awznode-configure.patch
- Release 3,
[packages/awznode.git] / awznode-configure.patch
CommitLineData
45c19914 1*** configure Fri Feb 18 10:42:07 2000
2--- configure.new Thu Oct 11 13:01:21 2001
3***************
4*** 4,69 ****
5 SBIN_DIR=/usr/sbin
6 BIN_DIR=/usr/bin
7 LIB_DIR=/usr/lib
8! MAN_DIR=/usr/man
9 VAR_DIR=/var/ax25
10
11! echo -n "Your machine architecture is ... "
12! ARCH=`uname -m`
13 echo $ARCH
14
15- echo -n "Checking for the existence of the Zlib headers... "
16- ZLIB=""
17- HAVEZLIB="#undef"
18- for zlibdir in /usr/include /usr/local/include
19- do
20- if [ -f $zlibdir/zlib.h ]
21- then
22- echo $zlibdir/zlib.h
23 ZLIB="-lz"
24 HAVEZLIB="#define"
25- fi
26- done
27- if [ -z "$ZLIB" ]
28- then
29- echo "not found."
30- echo " Without Zlib Node will lack compression support"
31- echo " See INSTALL for more information."
32- echo
33- fi
34-
35- # Global protocol definition symbols for programmers that want to conditionally
36- # compile
37- HAVEAX25="#undef"
38- HAVENETROM="#undef"
39- HAVEROSE="#undef"
40- HAVEMHEARD="#undef"
41-
42- echo -n "Include support for the AX.25 protocol ? [Y/n]: "; read answer
43- if [ "$answer" = "Y" -o "$answer" = "y" -o "$answer" = "" ]
44- then
45 HAVEAX25="#define"
46- fi
47- #
48- echo -n "Include support for the NetRom protocol ? [Y/n]: "; read answer
49- if [ "$answer" = "Y" -o "$answer" = "y" -o "$answer" = "" ]
50- then
51 HAVEAX25="#define"
52 HAVENETROM="#define"
53- fi
54- #
55- echo -n "Include support for the Rose protocol ? [Y/n]: "; read answer
56- if [ "$answer" = "Y" -o "$answer" = "y" -o "$answer" = "" ]
57- then
58 HAVEAX25="#define"
59 HAVEROSE="#define"
60- fi
61- #
62- echo -n "Include support for MHeard ports listen ? [Y/n]: "; read answer
63- if [ "$answer" = "Y" -o "$answer" = "y" -o "$answer" = "" ]
64- then
65 HAVEAX25="#define"
66 HAVEMHEARD="#define"
67- fi
68
69 echo "Creating Makefile.include"
70
71--- 4,24 ----
72 SBIN_DIR=/usr/sbin
73 BIN_DIR=/usr/bin
74 LIB_DIR=/usr/lib
75! MAN_DIR=/usr/share/man
76 VAR_DIR=/var/ax25
77
78! echo -n "Your arch : "
79 echo $ARCH
80
81 ZLIB="-lz"
82 HAVEZLIB="#define"
83 HAVEAX25="#define"
84 HAVEAX25="#define"
85 HAVENETROM="#define"
86 HAVEAX25="#define"
87 HAVEROSE="#define"
88 HAVEAX25="#define"
89 HAVEMHEARD="#define"
90
91 echo "Creating Makefile.include"
92
This page took 0.036538 seconds and 4 git commands to generate.