1 --- configure_min.orig 2008-04-02 22:58:34.504868912 +0100
2 +++ configure_min 2008-04-02 23:47:56.967829265 +0100
4 #----- C++ compiler name
5 echo "Input C++ compiler name (e.g. g++, no default)."
10 #----- Optimization option of the C++ compiler
11 echo "Input optimization option (e.g. -O2, no default)"
16 #----- Input Tcl/Tk window shell name
17 echo "Input Tcl/Tk window shell name"
18 echo -n " (e.g. wish, no default): "
22 #----- Input directory name to install dawn and DAWN_GUI
23 echo "Input directory to install executable files"
24 echo -n " (e.g. /usr/local/bin, no default ): "
32 echo "### C++ compiler" >> Makefile
33 #echo "ifndef CXX" >> Makefile
34 -echo "CC = $cpp_compiler" >> Makefile
35 +#echo "CC = $cpp_compiler" >> Makefile
36 #echo "else" >> Makefile
37 -#echo 'CC = $(CXX)' >> Makefile
38 +echo 'CC = $(CXX)' >> Makefile
39 #echo "endif" >> Makefile
42 echo "### Optimization" >> Makefile
43 -echo "OPTIMIZE = $optimize" >> Makefile
44 +echo 'OPTIMIZE = $(CXXFLAGS)' >> Makefile
47 echo "### Waring level" >> Makefile
51 echo "### Directory where to install executable files" >> Makefile
52 -echo "INSTALL_DIR = $install_dir" >> Makefile
53 +echo 'INSTALL_DIR = $(DESTDIR)/usr/bin' >> Makefile
57 --- configure.orig 2008-04-02 22:58:23.660250913 +0100
58 +++ configure 2008-04-03 00:06:20.081610809 +0100
60 #----- C++ compiler name
61 echo "Input C++ compiler name (e.g. g++, no default)."
67 #----- Optimization option of the C++ compiler
68 echo "Input optimization option (e.g. -O2, no default)"
74 #----- Input Tcl/Tk window shell name
75 echo "Input Tcl/Tk window shell name"
76 echo -n " (e.g. wish, no default): "
83 echo " (e.g. -I/usr/X11R6/include) "
84 echo " Hit return key if path is already set properly. )"
92 echo " (e.g. -L/usr/X11R6/lib) "
93 echo " Hit return key if path is already set properly.)"
101 echo " (e.g. -I/usr/X11R6/include) "
102 echo " Hit return key if path is already set properly. )"
110 echo " (e.g. -I/usr/X11R6/include/GL "
111 echo " Hit return key if path is already set properly. )"
119 echo " (e.g. -L/usr/X11R6/lib "
120 echo " Hit return key if path is already set properly.)"
127 echo -n "Select OpenGL/Mesa or old Masa (0: OpenGL/Mesa , 1: Old Mesa (ver.3.0)): "
133 #----- Input directory name to install dawn and DAWN_GUI
134 echo "Input directory to install executable files"
135 echo -n " (e.g. /usr/local/bin, no default ): "
140 #----- Input system name
141 echo -n "Select a system (0: Defalut, 1: AIX, 2: IRIX, 3: Solaris, 4: RedHat/FedoraCore): "
146 set sysname = "Default"
148 echo "Do you use remote-visualization function? (y/n, no default)"
149 echo " (Select n if your compilation fails for FRClientServer.cc)"
151 -set ynflag_socket=$<
153 switch ($ynflag_socket)
155 set macro_socket = '#define USE_SOCKET'
156 @@ -159,14 +159,14 @@
158 echo "### C++ compiler" >> Makefile
159 #echo "ifndef CXX" >> Makefile
160 -echo "CC = $cpp_compiler" >> Makefile
161 +#echo "CC = $cpp_compiler" >> Makefile
162 #echo "else" >> Makefile
163 -#echo 'CC = $(CXX)' >> Makefile
164 +echo 'CC = $(CXX)' >> Makefile
165 #echo "endif" >> Makefile
168 echo "### Optimization" >> Makefile
169 -echo "OPTIMIZE = $optimize" >> Makefile
170 +echo 'OPTIMIZE = $(CXXFLAGS)' >> Makefile
173 echo "### Waring level" >> Makefile
177 echo "### Directory where to install executable files" >> Makefile
178 -echo "INSTALL_DIR = $install_dir" >> Makefile
179 +echo 'INSTALL_DIR = $(DESTDIR)/usr/bin' >> Makefile
182 echo "### Socket libraries to be linked " >> Makefile
185 echo 'After compilation, type "make install" for installation.'
186 echo 'Then four executable files "dawn", "DAWN_GUI",'
187 -echo '"dawnunixd", and "dawninetd" will be installed to '
188 +echo '"dawnunixd", and "dawninetd" will be installed'
191 --- configure_xwin.orig 2008-04-02 22:58:44.973465484 +0100
192 +++ configure_xwin 2008-04-03 00:02:15.950190359 +0100
194 #----- C++ compiler name
195 echo "Input C++ compiler name (e.g. g++, no default)."
200 #----- Optimization option of the C++ compiler
201 echo "Input optimization option (e.g. -O2, no default)"
206 #----- Input Tcl/Tk window shell name
207 echo "Input Tcl/Tk window shell name"
208 echo -n " (e.g. wish, no default): "
215 echo " (e.g. -I/usr/X11R6/include) "
216 echo " Hit return key if path is already set properly. )"
224 echo " (e.g. -L/usr/X11R6/lib) "
225 echo " Hit return key if path is already set properly.)"
231 #----- Input directory name to install dawn and DAWN_GUI
232 echo "Input directory to install executable files"
233 echo -n " (e.g. /usr/local/bin, no default ): "
237 #----- Input system name
238 echo -n "Select a system (0: Defalut, 1: AIX, 2: IRIX, 3: Solaris, 4: RedHat/FedoraCore): "
243 set sysname = "Default"
245 echo "Do you use remote-visualization function? (y/n, no default)"
246 echo " (Select n if your compilation fails for FRClientServer.cc)"
248 -set ynflag_socket=$<
250 switch ($ynflag_socket)
252 set macro_socket = '#define USE_SOCKET'
253 @@ -123,14 +123,14 @@
255 echo "### C++ compiler" >> Makefile
256 #echo "ifndef CXX" >> Makefile
257 -echo "CC = $cpp_compiler" >> Makefile
258 +#echo "CC = $cpp_compiler" >> Makefile
259 #echo "else" >> Makefile
260 -#echo 'CC = $(CXX)' >> Makefile
261 +echo 'CC = $(CXX)' >> Makefile
262 #echo "endif" >> Makefile
265 echo "### Optimization" >> Makefile
266 -echo "OPTIMIZE = $optimize" >> Makefile
267 +echo 'OPTIMIZE = $(CXXFLAGS)' >> Makefile
270 echo "### Waring level" >> Makefile
274 echo "### Directory where to install executable files" >> Makefile
275 -echo "INSTALL_DIR = $install_dir" >> Makefile
276 +echo 'INSTALL_DIR = $(DESTDIR)/usr/bin' >> Makefile
279 echo "### Socket libraries to be linked " >> Makefile
280 --- FRSocketMacro.h.orig 2008-04-02 23:58:51.126518123 +0100
281 +++ FRSocketMacro.h 2008-04-02 23:59:03.443220012 +0100
283 #elif defined SOCKET_REDHAT61
284 #define CLIENT_ADDR_LENGTH socklen_t
286 - #define CLIENT_ADDR_LENGTH int
287 -// #define CLIENT_ADDR_LENGTH size_t
288 +// #define CLIENT_ADDR_LENGTH int
289 + #define CLIENT_ADDR_LENGTH size_t