forked from knicos/Cadence
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
executable file
·659 lines (555 loc) · 18.7 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
#####################################################################
# Cadence Configure.in
# 13/9/2010
# Nicolas Pope
#####################################################################
#AC_PREREQ(2.59)
AC_INIT(Cadence, 1.1)
AC_CONFIG_SRCDIR(loader/linux.cpp)
AC_CANONICAL_TARGET
AC_CONFIG_HEADER(config.h)
dnl #####################################################################
dnl Functions for use later on
dnl #####################################################################
AC_DEFUN([CF_CHECK_CACHE],
[
#
# Check if we're accidentally using a cache from a different machine.
# Derive the system name, as a check for reusing the autoconf cache.
#
# If we've packaged config.guess and config.sub, run that (since it does a
# better job than uname).
#
if test -f $srcdir/config.guess ; then
AC_CANONICAL_HOST
system_name="$host_os"
else
system_name="`(uname -s -r) 2>/dev/null`"
if test -z "$system_name" ; then
system_name="`(hostname) 2>/dev/null`"
fi
fi
test -n "$system_name" && AC_DEFINE_UNQUOTED(SYSTEM_NAME,"$system_name")
AC_CACHE_VAL(cf_cv_system_name,[cf_cv_system_name="$system_name"])
test -z "$system_name" && system_name="$cf_cv_system_name"
test -n "$cf_cv_system_name" && AC_MSG_RESULT("Configuring for $cf_cv_system_name")
if test ".$system_name" != ".$cf_cv_system_name" ; then
AC_MSG_RESULT("Cached system name does not agree with actual")
AC_ERROR("Please remove config.cache and try again.")
fi
])dnl
AC_DEFUN([CF_ANSI_CC_CHECK],
[
AC_MSG_CHECKING(for ${CC-cc} option to accept ANSI C)
AC_CACHE_VAL(cf_cv_ansi_cc,[
cf_cv_ansi_cc=no
cf_save_CFLAGS="$CFLAGS"
# Don't try gcc -ansi; that turns off useful extensions and
# breaks some systems' header files.
# AIX -qlanglvl=ansi
# Ultrix and OSF/1 -std1
# HP-UX -Aa -D_HPUX_SOURCE
# SVR4 -Xc
# UnixWare 1.2 (cannot use -Xc, since ANSI/POSIX clashes)
for cf_arg in "-DCC_HAS_PROTOS" "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc
do
CFLAGS="$cf_save_CFLAGS $cf_arg"
AC_TRY_COMPILE(
[
#ifndef CC_HAS_PROTOS
#if !defined(__STDC__) || __STDC__ != 1
choke me
#endif
#endif
],[
int test (int i, double x);
struct s1 {int (*f) (int a);};
struct s2 {int (*f) (double a);};],
[cf_cv_ansi_cc="$cf_arg"; break])
done
CFLAGS="$cf_save_CFLAGS"
])
AC_MSG_RESULT($cf_cv_ansi_cc)
if test "$cf_cv_ansi_cc" != "no"; then
if test ".$cf_cv_ansi_cc" != ".-DCC_HAS_PROTOS"; then
CFLAGS="$CFLAGS $cf_cv_ansi_cc"
else
AC_DEFINE(CC_HAS_PROTOS)
fi
fi
])dnl
dnl #####################################################################
dnl End functions - carry on with the work
dnl #####################################################################
# Checks for programs.
AC_PROG_RANLIB
AC_PROG_CXX
AC_PROG_CC
AC_LANG(C++)
AC_PROG_LEX
AC_PROG_MAKE_SET
AC_PROG_INSTALL
# Checks for header files.
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS([fcntl.h stddef.h stdlib.h string.h sys/time.h unistd.h])
AC_CHECK_HEADERS([string vector list])
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_C_INLINE
AC_HEADER_TIME
# Might define TM_IN_SYS_TIME, "which means that including sys/time.h
# had better define struct tm." (from Autoconf manual - huh?).
AC_STRUCT_TM
# Checks for library functions.
AC_FUNC_ERROR_AT_LINE
AC_PROG_GCC_TRADITIONAL
AC_FUNC_MALLOC
AC_FUNC_MEMCMP
AC_CHECK_FUNCS([memset sqrt strstr strdup])
# Tcl on Linux on PC seems to require -ldl
AC_CHECK_LIB(dl, dlerror)
#########################################################################
# X / GUI libraries
#########################################################################
dnl Sets $X_CFLAGS, $X_LIBS, $X_EXTRA_LIBS, $X_PRE_LIBS
AC_PATH_XTRA
AC_MSG_CHECKING(system type to determine GUI libraries)
dnl The following isn't a great way to do this -- it is borrowed from
dnl the run time linker config test below. Hopefully it'll do for
dnl our common cases though.
case "`(uname -s) 2>/dev/null`" in
CYGWIN*)
# Probably Windows
AW_X_LIBS="-lGDI32 -lUSER32 -lCOMDLG32 -lKERNEL32 -Wl,--subsystem,windows"
ICON_OBJS="eden-res.o"
;;
Darwin*)
# Probably Mac
AW_X_LIBS="-framework CoreFoundation -framework Carbon"
ICON_OBJS=""
;;
*)
# Probably some flavour of X11
AW_X_LIBS="-lXt -lX11"
if test "$aw_want_sasami" = "yes"; then
AW_X_LIBS="$AW_X_LIBS -lXmu -lXext"
fi
ICON_OBJS=""
;;
esac
AC_MSG_RESULT(think we need $AW_X_LIBS)
#########################################################################
# tcl
#########################################################################
#
# Sets Example
# TCL_INCLUDE -I/usr/local/include
# TCL_LIB -L/usr/local/lib -ltcl
#
AC_DEFUN([AW_CHECK_TCL],
[
aw_tcl_include=$1
aw_tcl_lib=$2
if test "$aw_need_r" = "yes"; then
# !@!@ This bit should really be an AC function
# Note I need m4 [] quotes around this so that the brackets in the
# sed expression do not get eaten
aw_tcl_lib=[`echo $aw_tcl_lib | sed 's/-L\([^ ]*\)/-L\1 -R\1/'`]
fi
# If we haven't already found an answer...
if test -z "$aw_finished_tcl"; then
aw_save_libs=$LIBS
LIBS="$aw_tcl_include $aw_tcl_lib $LIBS"
AC_MSG_CHECKING(whether we can link tcl using $LIBS)
AC_TRY_LINK(
[#include <tcl.h>],
[Tcl_AsyncReady()],
[
# Link succeeded
AC_MSG_RESULT(yes)
# Don't do any more tests - we have the answer
aw_finished_tcl="yes"
TCL_INCLUDE=$aw_tcl_include
TCL_LIB=$aw_tcl_lib
AC_MSG_CHECKING(whether tcl has Tcl_EvalEx)
AC_TRY_LINK(
[#include <tcl.h>],
[
Tcl_Interp *interp;
Tcl_EvalEx(interp, "", -1, 0)
],
[
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_TCL_EVALEX, 1, [Tcl])
],
[
AC_MSG_RESULT(no)
]
)
LIBS=$aw_save_libs
],
[
# Link failed - do nothing.
LIBS=$aw_save_libs
AC_MSG_RESULT(no)
]
)
fi
])
AC_ARG_WITH(tcl-include,
[ --with-tcl-include=compiler options to enable location of tcl.h
eg \"-I/usr/local/include\"],
[aw_user_tcl_include=$withval]
)
AC_ARG_WITH(tcl-lib,
[ --with-tcl-lib=linker options to enable location of the tcl library
eg \"-L/usr/local/lib -R/usr/local/lib -ltcl\"],
[aw_user_tcl_lib=$withval]
)
# If the user provided both or either option, then try it first
if test -n "$aw_user_tcl_include" -o -n "$aw_user_tcl_lib"; then
AW_CHECK_TCL($aw_user_tcl_include, $aw_user_tcl_lib)
fi
# Else can we use tcl with just -ltcl?
AW_CHECK_TCL(, "-ltcl")
# Now we're guessing... :)
# This works at DCS, University of Warwick
AW_CHECK_TCL("-I/usr/local/include", "-L/usr/local/lib -ltcl")
# This works at ITS, University of Warwick
AW_CHECK_TCL(, "-L/usr/local/lib -ltcl8.0")
# This works on ride, a Sparc Solaris 7 machine with packages
# from sunfreeware.com
AW_CHECK_TCL(, "-L/usr/local/lib -ltcl")
# This works on Ubuntu
AW_CHECK_TCL("-I/usr/include/tcl", "-ltcl")
# I give a warning if tcl is not found at the end of the script
#########################################################################
# tk
#########################################################################
#
# Sets Example
# TK_INCLUDE -I/usr/local/include
# TK_LIB -L/usr/local/lib -ltk
#
AC_DEFUN([AW_CHECK_TK],
[
aw_tk_include=$1
aw_tk_lib=$2
if test "$aw_need_r" = "yes"; then
# Note I need m4 [] quotes around this so that the brackets in the
# sed expression do not get eaten
aw_tk_lib=[`echo $aw_tk_lib | sed 's/-L\([^ ]*\)/-L\1 -R\1/'`]
fi
# If we haven't already found an answer...
if test -z "$aw_finished_tk"; then
aw_save_libs=$LIBS
# Also add X stuff and tcl stuff. Existing LIBS must go at the
# end: -lm must come after -ltk for example.
# NB don't seem to need $AW_X_LIBS and -lglPNG may cause an error
LIBS="$aw_tk_include $aw_tk_lib $X_CFLAGS $X_PRE_LIBS $X_LIBS $X_EXTRA_LIBS $TCL_INCLUDE $TCL_LIB $LIBS"
AC_MSG_CHECKING(whether we can link tk using $LIBS)
AC_TRY_LINK(
[#include <tk.h>],
[Tk_GetNumMainWindows();],
[
# Link succeeded
LIBS=$aw_save_libs
AC_MSG_RESULT(yes)
# Don't do any more tests - we have the answer
aw_finished_tk="yes"
TK_INCLUDE=$aw_tk_include
TK_LIB=$aw_tk_lib
],
[
# Link failed - do nothing.
LIBS=$aw_save_libs
AC_MSG_RESULT(no)
]
)
fi
])
AC_ARG_WITH(tk-include,
[ --with-tk-include=compiler options to enable location of tk.h
eg \"-I/usr/local/include\"],
[aw_user_tk_include=$withval]
)
AC_ARG_WITH(tk-lib,
[ --with-tk-lib=linker options to enable location of the tk library
eg \"-L/usr/local/lib -R/usr/local/lib -ltk\"],
[aw_user_tk_lib=$withval]
)
# If the user provided both or either option, then try it first
if test -n "$aw_user_tk_include" -o -n "$aw_user_tk_lib"; then
AW_CHECK_TK($aw_user_tk_include, $aw_user_tk_lib)
fi
# Else can we use tk with just -ltk?
AW_CHECK_TK(, "-ltk")
# Now we're guessing... :)
# This works at DCS, University of Warwick
AW_CHECK_TK("-I/usr/local/include", "-L/usr/local/lib -ltk")
# This works at ITS, University of Warwick
AW_CHECK_TK(, "-L/usr/local/lib -ltk8.0")
# This works on ride, a Sparc Solaris 7 machine with packages from
# sunfreeware.com
AW_CHECK_TK(, "-L/usr/local/lib -ltk8.2")
# This works on Ubuntu
AW_CHECK_TK("-I/usr/include/tk", "-ltk")
# I give a warning if tk is not found at the end of the script
#########################################################################
# PNG library
#########################################################################
#
# Sets Example
# PNG_INCLUDE -I/usr/local/include
# PNG_LIB -L/usr/local/lib -R/usr/local/lib -lpng
AC_DEFUN([AW_CHECK_PNG],
[
aw_png_include=$1
aw_png_lib=$2
if test "$aw_need_r" = "yes"; then
# Note I need m4 [] quotes around this so that the brackets in the
# sed expression do not get eaten
aw_png_lib=[`echo $aw_png_lib | sed 's/-L\([^ ]*\)/-L\1 -R\1/'`]
fi
# If we haven't already found an answer...
if test -z "$aw_finished_png"; then
aw_save_libs=$LIBS
# -lpng needs -lm
LIBS="$aw_png_include $aw_png_lib -lm"
AC_MSG_CHECKING(whether we can link png using $LIBS)
AC_TRY_LINK(
[
#include <png.h>
],
[
png_structp png;
png = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
],
[
# Link succeeded
LIBS=$aw_save_libs
AC_MSG_RESULT(yes)
# Don't do any more tests - we have the answer
aw_finished_png="yes"
PNG_INCLUDE=$aw_png_include
PNG_LIB=$aw_png_lib
],
[
# Link failed - do nothing.
LIBS=$aw_save_libs
AC_MSG_RESULT(no)
]
)
fi
]
)
AC_ARG_WITH(png-include,
[ --with-png-include=compiler options to enable location of PNG header files
eg \"-I/usr/local/include\"],
[aw_user_png_include=$withval]
)
AC_ARG_WITH(png-lib,
[ --with-png-lib=linker options to enable location of the PNG library
eg \"-L/usr/local/lib -R/usr/local/lib -lpng\"],
[aw_user_png_lib=$withval]
)
if test "$aw_want_sasami" = "yes"; then
# We want to build Sasami - so figure out PNG
# If the user provided both or either option, then try it first
if test -n "$aw_user_png_include" -o -n "$aw_user_png_lib"; then
AW_CHECK_PNG($aw_user_png_include, $aw_user_png_lib)
fi
# Else can we use PNG with just -lpng?
AW_CHECK_PNG(, "-lpng")
# Try this...
AW_CHECK_PNG("-I/usr/local/include", "-L/usr/local/lib -lpng")
else
PNG_INCLUDE=""
PNG_LIB=""
fi
#########################################################################
# Memory alignment
#########################################################################
# I could use the gcc __alignof__ function, but then this would
# restrict us to using gcc only. So we attempt to detect the alignment
# required instead.
AC_MSG_CHECKING(how doubles should be aligned)
AC_TRY_RUN(
[
#include <stdio.h>
struct foo {
union align {
double d;
long l;
void *p;
} u;
char c;
};
int main() {
struct foo f[2];
FILE *fp;
int n;
if ((fp = fopen("conftestalignoutput", "w")) == NULL) exit(1);
if( 2*sizeof(union align) != sizeof(f) ) {
n = fprintf(fp, "%ld\n", (long)(sizeof(struct foo) - sizeof(union align)));
}
else {
n = fprintf(fp, "%ld\n", (long)sizeof(union align));
}
/* If fprintf didn't complete successfully, exit code 1 */
if (n < 0) exit(1);
if (fclose(fp) != 0) exit(1);
/* All OK - exit code 0 */
exit(0);
}
],
[
# The code compiled, linked, executed and had exit code 0,
# so we can read the alignment value written to the temporary
# file.
aw_alignment=`cat conftestalignoutput`
AC_DEFINE_UNQUOTED([DOUBLE_ALIGNMENT], [$aw_alignment], [Check double alignment])
AC_MSG_RESULT($aw_alignment byte boundaries)
],
[
# The test failed in some way, so assume the worst.
AC_DEFINE([DOUBLE_ALIGNMENT], [sizeof(double)], [Check double alignment])
AC_MSG_RESULT([sizeof(double) byte boundaries])
],
[
# We are cross compiling so can't run the test, so we
# assume the worst.
AC_DEFINE([DOUBLE_ALIGNMENT], [sizeof(double)], [Check double alignment])
AC_MSG_RESULT([sizeof(double) byte boundaries])
]
)
#########################################################################
# dmalloc (tool for checking for memory leaks etc)
#########################################################################
# I'm trusting the user to get this right, so no checks are done to see
# if the arguments provided are correct. If they want to run it with a
# memory debugger, they should know what they are doing... I hope.
DMALLOC_INCLUDE=
DMALLOC_LIB=
AC_ARG_WITH(dmalloc-include,
[ --with-dmalloc-include=DIR
dmalloc include file is in DIR],
[
AC_DEFINE([HAVE_DMALLOC], 1, [Memory leak check])
DMALLOC_INCLUDE=-I$withval
]
)
AC_ARG_WITH(dmalloc-lib,
[ --with-dmalloc-lib=DIR dmalloc lib file is in DIR],
[
AC_DEFINE([HAVE_DMALLOC], 1, [Memory leak check])
DMALLOC_LIB="-L$withval -ldmalloc"
]
)
#########################################################################
# Pascal strings
#########################################################################
# Need to try with -fpascal-strings first as \p only results in a
# warning if the option is not given
aw_save_cflags=$CFLAGS
CFLAGS="$CFLAGS -fpascal-strings"
AC_TRY_COMPILE(
[],
[
char *pascal = "\pHello world";
],
[],
[
# Had a problem: all we can do is to omit the option again
CFLAGS="$aw_save_cflags"
]
)
#########################################################################
# Create the Makefiles
#########################################################################
BISON=../bison-1.27/bison
# Substitute the following variables in the Makefiles
AC_SUBST(AW_X_LIBS)
AC_SUBST(CURSES_TYPE)
AC_SUBST(CURSES_INCLUDE)
AC_SUBST(CURSES_LIB)
AC_SUBST(CURSES_LIB_PATH)
AC_SUBST(TCL_INCLUDE)
AC_SUBST(TCL_LIB)
AC_SUBST(TK_INCLUDE)
AC_SUBST(TK_LIB)
AC_SUBST(DMALLOC_INCLUDE)
AC_SUBST(DMALLOC_LIB)
AC_SUBST(READLINE_INCLUDE)
AC_SUBST(READLINE_LIB)
AC_SUBST(OPENGL_INCLUDE)
AC_SUBST(OPENGL_LIB)
AC_SUBST(PNG_INCLUDE)
AC_SUBST(PNG_LIB)
AC_SUBST(DEPEND_MAKEDEFS)
AC_SUBST(EMBEDDEDTCLTKFRAMEWORKS)
AC_SUBST(BISON)
AC_SUBST(ICON_OBJS)
#################
CXXFLAGS="$CXXFLAGS -g -Wall -DLINUX "
CFLAGS="-DLINUX -O3"
LDFLAGS="$LDFLAGS -lpthread -ldl"
if test -f /local/java/qt-x11-opensource/bin/moc ; then
QTMOC="/local/java/qt-x11-opensource/bin/moc"
QTLIBS="-L/local/java/qt-x11-opensource/lib"
QTINCLUDES="-I/local/java/qt-x11-opensource/include/Qt -I/local/java/qt-x11-opensource/include/QtCore -I/local/java/qt-x11-opensource/include/QtGui -I/local/java/qt-x11-opensource/include"
else
if test -f /usr/include/qt4/Qt/qlist.h; then
QTMOC="moc"
QTINCLUDES="-I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui"
QTLIBS=""
else
QTMOC="moc"
QTINCLUDES="-I/usr/include/QtCore -I/usr/include/QtGui"
QTLIBS=""
fi
fi
if test "$target_cpu" == "x86_64"; then
CXXFLAGS="$CXXFLAGS -DX86_64"
LDFLAGS="$LDFLAGS -L/usr/X11R6/lib64"
else
CXXFLAGS="$CXXFLAGS -march=pentium3 -mfpmath=sse"
LDFLAGS="$LDFLAGS -L/usr/X11R6/lib"
fi
# Checks for libraries.
WGDLIBS="-lGL -lGLU -lX11 -lXxf86vm"
##############################################################################
# Select which modules to build
##############################################################################
MODULES="ui basic_agents xnet wgd_base wgd_resources_base wgd_base_2d wgd_base_3d wgd_heightmap wgd_input wgd_models wgd_widgets"
AC_ARG_ENABLE(eden,
[ --enable-eden Build and install the EDEN module],
[
MODULES="$MODULES eden"
]
)
AC_ARG_ENABLE(debug,
[ --enable-debug Enable all debug output],
[
CXXFLAGS="$CXXFLAGS -DDEBUG"
CFLAGS="$CFLAGS -DDEBUG"
]
)
# CXXFLAGS="$CXXFLAGS -I/usr/include/libxml++-2.6 -I/usr/include/glibmm-2.4"
AC_SUBST(QTMOC)
AC_SUBST(QTLIBS)
AC_SUBST(WGDLIBS)
AC_SUBST(QTINCLUDES)
AC_SUBST(MODULES)
AC_OUTPUT(Makefile libcadence/Makefile libcadence/src/Makefile libcadence/src/doste/Makefile libcadence/src/library/Makefile libcadence/scripts/Makefile loader/Makefile loader/cadence modules/Makefile modules/ui/Makefile modules/ui/src/Makefile modules/ui/data/Makefile modules/ui/data/ui/Makefile modules/ui/scripts/Makefile modules/ui/scripts/ui/Makefile modules/xnet/Makefile modules/xnet/src/Makefile modules/xnet/scripts/Makefile modules/xnet/scripts/xnet/Makefile modules/basic_agents/Makefile modules/basic_agents/src/Makefile modules/basic_agents/scripts/Makefile modules/basic_agents/scripts/agents/Makefile modules/wgd_base/Makefile modules/wgd_base/src/Makefile modules/wgd_base/scripts/Makefile modules/wgd_base/scripts/wgd/Makefile modules/wgd_base_2d/Makefile modules/wgd_base_2d/src/Makefile modules/wgd_base_2d/scripts/Makefile modules/wgd_base_2d/scripts/wgd/Makefile modules/wgd_base_3d/Makefile modules/wgd_base_3d/src/Makefile modules/wgd_base_3d/scripts/Makefile modules/wgd_base_3d/scripts/wgd/Makefile modules/wgd_heightmap/Makefile modules/wgd_heightmap/src/Makefile modules/wgd_heightmap/scripts/Makefile modules/wgd_heightmap/scripts/wgd/Makefile modules/wgd_input/Makefile modules/wgd_input/src/Makefile modules/wgd_input/scripts/Makefile modules/wgd_input/scripts/wgd/Makefile modules/wgd_models/Makefile modules/wgd_models/src/Makefile modules/wgd_models/scripts/Makefile modules/wgd_models/scripts/wgd/Makefile modules/wgd_resources_base/Makefile modules/wgd_resources_base/src/Makefile modules/wgd_resources_base/scripts/Makefile modules/wgd_resources_base/scripts/wgd/Makefile modules/wgd_widgets/Makefile modules/wgd_widgets/src/Makefile modules/wgd_widgets/scripts/Makefile modules/wgd_widgets/scripts/wgd/Makefile modules/wgd_widgets/scripts/wgd/themes/Makefile modules/wgd_widgets/scripts/wgd/themes/simple_dark/Makefile modules/wgd_widgets/data/Makefile modules/wgd_widgets/data/wgd/Makefile )
####################
if test -z "$aw_finished_tcl"; then
AC_MSG_WARN(Could not locate tcl - cannot build EDEN module)
fi
if test -z "$aw_finished_tk"; then
AC_MSG_WARN(Could not locate tk - cannot build EDEN module)
fi