Annotation of Amaya/configure.in, revision 1.5
1.1 cvs 1: dnl
2: dnl Process this file with autoconf to produce a configure script.
3: dnl Autoconf script for Amaya and Thot.
4: dnl Daniel Veillard, 1997
5: dnl
6:
7: dnl ***************************************************************
8: dnl
9: dnl GENERIC AUTOCONF STUFF : GUESS INFORMATIONS ON SYSTEM SETUP
10: dnl
11: dnl ***************************************************************
12:
13: AC_PREREQ(2.2)
14: AC_INIT(thotlib/internals/h/constpiv.h)
15: AC_REVISION
16:
17: dnl
18: dnl Checks for platform information
19: dnl
20:
21: AC_CANONICAL_SYSTEM
22: AC_CONFIG_HEADER(config.h)
23:
24: dnl
25: dnl Initializing Automake
26: dnl
27:
28: AC_PROG_MAKE_SET
29: AC_ARG_PROGRAM
30:
31: dnl
32: dnl Checks for programs.
33: dnl
34:
35: AC_PROG_YACC
36: AC_PROG_CC
37: AC_PROG_CPP
38: AC_PROG_LEX
39: AC_PROG_AWK
40: AC_PROG_INSTALL
41: AC_PROG_LN_S
42: AC_PROG_MAKE_SET
43: AC_PROG_RANLIB
44: AC_PATH_PROG(CP, cp, /bin/cp, $PATH:/bin:/usr/bin:/usr/ucb/bin)
45: AC_PATH_PROG(MV, mv, /bin/mv, $PATH:/bin:/usr/bin:/usr/ucb/bin)
46: AC_PATH_PROG(RM, rm, /bin/rm, $PATH:/bin:/usr/bin:/usr/ucb/bin)
47: AC_PATH_PROG(MKDIR, mkdir, /bin/mkdir, $PATH:/bin:/usr/bin:/usr/ucb/bin)
48: AC_PATH_PROG(ECHO, echo, /bin/echo, $PATH:/bin:/usr/bin:/usr/ucb/bin)
49: AC_PATH_PROG(CAT, cat, /bin/cat, $PATH:/bin:/usr/bin:/usr/ucb/bin)
50: AC_PATH_PROG(CHMOD, chmod, /bin/chmod, $PATH:/bin:/usr/bin:/usr/ucb/bin)
51: AC_PATH_PROG(SED, sed, /bin/sed, $PATH:/bin:/usr/bin:/usr/ucb/bin)
52: AC_PATH_PROG(AR, ar, /usr/bin/ar, $PATH:/bin:/usr/bin:/usr/ucb/bin)
53:
54: dnl
55: dnl Checks for libraries.
56: dnl
57:
58: AC_CHECK_LIB(socket, socket, )
59: AC_CHECK_LIB(inet, connect)
60: AC_CHECK_LIB(nsl, t_accept)
61: AC_CHECK_LIB(dl, dlopen)
62: AC_PATH_X
63: AC_PATH_XTRA
64:
65: dnl
1.5 ! cvs 66: dnl Checks for header files.
! 67: dnl
! 68:
! 69: AC_HEADER_DIRENT
! 70: AC_HEADER_STDC
! 71: AC_HEADER_SYS_WAIT
! 72:
! 73: AC_CHECK_HEADERS(stdio.h)
! 74: AC_CHECK_HEADERS(sys/types.h types.h)
! 75: AC_CHECK_HEADERS(sys/unistd.h unistd.h)
! 76: AC_CHECK_HEADERS(sys/fcntl.h fcntl.h)
! 77: AC_CHECK_HEADERS(sys/limits.h limits.h)
! 78: AC_CHECK_HEADERS(sys/stat.h stat.h)
! 79: AC_CHECK_HEADERS(sys/file.h)
! 80: AC_CHECK_HEADERS(sys/ioctl.h)
! 81: AC_CHECK_HEADERS(sys/time.h time.h)
! 82: AC_CHECK_HEADERS(sys/systeminfo.h)
! 83: AC_CHECK_HEADERS(string.h strings.h)
! 84: AC_CHECK_HEADERS(syslog.h)
! 85: AC_CHECK_HEADERS(sys/socket.h socket.h)
! 86: AC_CHECK_HEADERS(appkit/appkit.h appkit.h)
! 87: AC_CHECK_HEADERS(netinet/in.h in.h)
! 88: AC_CHECK_HEADERS(dn.h)
! 89: AC_CHECK_HEADERS(sys/ipc.h)
! 90: AC_CHECK_HEADERS(net/errno.h sys/errno.h errno.h)
! 91: AC_CHECK_HEADERS(pwd.h)
! 92: AC_CHECK_HEADERS(grp.h)
! 93: AC_CHECK_HEADERS(arpa/inet.h inet.h)
! 94: AC_CHECK_HEADERS(netdb.h)
! 95: AC_CHECK_HEADERS(manifest.h)
! 96: AC_CHECK_HEADERS(bsdtypes.h)
! 97: AC_CHECK_HEADERS(stdefs.h)
! 98: AC_CHECK_HEADERS(bsdtime.h)
! 99: AC_CHECK_HEADERS(sys/select.h select.h)
! 100: AC_CHECK_HEADERS(dnetdb.h)
! 101: AC_CHECK_HEADERS(libc.h)
! 102: AC_CHECK_HEADERS(stdlib.h)
! 103: AC_CHECK_HEADERS(malloc.h)
! 104: AC_CHECK_HEADERS(memory.h)
! 105: AC_CHECK_HEADERS(unixlib.h)
! 106: AC_CHECK_HEADERS(ctype.h)
! 107: AC_CHECK_HEADERS(cursesX.h curses.h)
! 108: AC_CHECK_HEADERS(sys/resource.h resource.h)
! 109: AC_HEADER_DIRENT
! 110: AC_CHECK_HEADERS(dir.h direct.h) dnl AC_HEADER_DIRENT only checks for some..
! 111: AC_HEADER_STDC
! 112: AC_HEADER_SYS_WAIT
! 113: AC_HEADER_TIME
! 114: AC_HEADER_STAT
! 115:
! 116: dnl
! 117: dnl Checks for typedefs, structures, and compiler characteristics.
! 118: dnl
! 119:
! 120: AC_C_CONST
! 121: AC_C_INLINE
! 122: AC_TYPE_MODE_T
! 123: AC_TYPE_OFF_T
! 124: AC_TYPE_SIZE_T
! 125: AC_HEADER_TIME
! 126: AC_STRUCT_TM
! 127: AC_STRUCT_TIMEZONE
! 128: AC_TYPE_UID_T
! 129:
! 130: dnl
! 131: dnl Checks for library functions.
! 132: dnl
! 133:
! 134: AC_FUNC_ALLOCA
! 135: AC_TYPE_GETGROUPS
! 136: AC_PROG_GCC_TRADITIONAL
! 137: AC_FUNC_MEMCMP
! 138: AC_FUNC_MMAP
! 139: AC_TYPE_SIGNAL
! 140: AC_FUNC_VPRINTF
! 141: AC_CHECK_FUNCS(getcwd gethostname gettimeofday getwd mkdir mktime putenv select socket strdup strerror strftime strstr strtod strtol uname)
! 142:
! 143: dnl
1.4 cvs 144: dnl Checking for Motif libraries and includes
145: dnl
146: dnl Borrowed from Lesstif configure.in
147: dnl Lesstif is a Great Project (TM)
148: dnl
149:
150: AC_DEFUN(AC_PATH_MOTIF_DIRECT,
151: [test -z "$motif_direct_test_library" && motif_direct_test_library=Xm
152: test -z "$motif_direct_test_function" && motif_direct_test_function=XmCreatePushButton
153: test -z "$motif_direct_test_include" && motif_direct_test_include=Xm/Xm.h
154: for ac_dir in \
155: /usr/include/Motif1.2 \
156: /usr/Motif1.2/include \
157: \
158: /usr/motif/include \
159: \
160: /usr/X11R6/include \
161: /usr/X11R5/include \
162: \
163: /usr/include/X11R6 \
164: /usr/include/X11R5 \
165: \
166: /usr/local/X11R6/include \
167: /usr/local/X11R5/include \
168: \
169: /usr/local/include/X11R6 \
170: /usr/local/include/X11R5 \
171: \
172: /usr/X11/include \
173: /usr/include/X11 \
174: /usr/local/X11/include \
175: /usr/local/include/X11 \
176: \
177: /usr/X386/include \
178: /usr/x386/include \
179: /usr/XFree86/include/X11 \
180: \
181: /usr/dt/include \
182: \
183: /usr/include \
184: /usr/local/include \
185: /usr/unsupported/include \
186: /usr/athena/include \
187: /usr/local/x11r5/include \
188: /usr/lpp/Xamples/include \
189: ; \
190: do
191: if test -r "$ac_dir/$motif_direct_test_include"; then
192: no_motif= ac_motif_includes=$ac_dir
193: break
194: fi
195: done
196:
197: # Check for the libraries.
198: # See if we find them without any special options.
199: # Don't add to $LIBS permanently.
200: ac_save_LIBS="$LIBS"
201: LIBS="-l$motif_direct_test_library $LIBS"
202: # First see if replacing the include by lib works.
203: for ac_dir in `echo "$ac_motif_includes" | sed s/include/lib/` \
204: /usr/lib/Motif1.2 \
205: /usr/Motif1.2/lib \
206: \
207: /usr/motif/lib \
208: \
209: /usr/X11R6/lib \
210: /usr/X11R5/lib \
211: \
212: /usr/lib/X11R6 \
213: /usr/lib/X11R5 \
214: \
215: /usr/local/X11R6/lib \
216: /usr/local/X11R5/lib \
217: \
218: /usr/local/lib/X11R6 \
219: /usr/local/lib/X11R5 \
220: \
221: /usr/X11/lib \
222: /usr/lib/X11 \
223: /usr/local/X11/lib \
224: \
225: /usr/X386/lib \
226: /usr/x386/lib \
227: /usr/XFree86/lib/X11 \
228: \
229: /usr/lib \
230: /usr/local/lib \
231: /usr/unsupported/lib \
232: /usr/athena/lib \
233: /usr/local/x11r5/lib \
234: /usr/lpp/Xamples/lib \
235: ; \
236: do
237: for ac_extension in a so sl; do
238: if test -r $ac_dir/lib${motif_direct_test_library}.$ac_extension; then
239: no_motif= ac_motif_libraries=$ac_dir
240: break 2
241: fi
242: done
1.5 ! cvs 243: done
! 244: LIBS="$ac_save_LIBS"
! 245: ])
1.4 cvs 246:
247: AC_DEFUN(AC_PATH_MOTIF,
248: [AC_REQUIRE_CPP()dnl
249:
250: motif_includes=NONE
251: motif_libraries=NONE
252:
253: AC_MSG_CHECKING(for Motif)
254: AC_ARG_WITH(motif, [ --with-motif enable Motif tests])
255: if test "x$with_motif" = xno; then
256: no_motif=yes
257: else
258: if test "x$motif_includes" != xNONE && test "x$motif_libraries" != xNONE; then
259: no_motif=
260: else
261: AC_CACHE_VAL(ac_cv_path_motif,
262: [# One or both of these vars are not set, and there is no cached value.
263: no_motif=yes
264: AC_PATH_MOTIF_DIRECT
265:
266: if test "$no_motif" = yes; then
267: ac_cv_path_motif="no_motif=yes"
268: else
269: ac_cv_path_motif="no_motif= ac_motif_includes=$ac_motif_includes ac_motif_libraries=$ac_motif_libraries"
270: fi])dnl
271: fi
272: eval "$ac_cv_path_motif"
273: fi # with_motif != no
274:
275: if test "$no_motif" = yes; then
276: AC_MSG_RESULT(no)
1.5 ! cvs 277: MOTIF_INCLUDES=
! 278: MOTIF_LIBRARIES=
1.4 cvs 279: else
280: test "x$motif_includes" = xNONE && motif_includes=$ac_motif_includes
281: test "x$motif_libraries" = xNONE && motif_libraries=$ac_motif_libraries
282: ac_cv_path_motif="no_motif= ac_motif_includes=$motif_includes ac_motif_libraries=$motif_libraries"
283: AC_MSG_RESULT([libraries $motif_libraries, headers $motif_includes])
1.5 ! cvs 284: if test "$motif_includes" != "/usr/include" ; then
! 285: MOTIF_INCLUDES="-I$motif_includes"
! 286: fi
! 287: if test "$motif_libraries" != "/usr/lib" ; then
! 288: MOTIF_LIBRARIES="-L$motif_libraries"
! 289: fi
1.4 cvs 290: fi
1.5 ! cvs 291: AC_SUBST(MOTIF_INCLUDES)
! 292: AC_SUBST(MOTIF_LIBRARIES)
1.4 cvs 293: ])
294:
295: AC_PATH_MOTIF
296:
1.1 cvs 297: dnl ***************************************************************
298: dnl
299: dnl SPECIFIC STUFF : CONFIGURATION OPTIONS FOR THOT AND AMAYA
300: dnl
301: dnl ***************************************************************
302:
303: THOT_VER="2.1a"
304: AMAYA_VER="1.0a"
305: KAFFE_VER="0.8.4"
306: LIBWWW_VER="5.0a"
307:
308: dnl
1.3 cvs 309: dnl Check when building with Insure from Parasoft
310: dnl
311:
1.5 ! cvs 312: AC_ARG_WITH(insure, [ --with-insure Uses Insure Parasoft debugger])
! 313: if test "$with_insure" = "yes" ; then
! 314: CC=insight
1.3 cvs 315: fi
316:
317: dnl
1.1 cvs 318: dnl Check for availability of amaya and thot editor sources
319: dnl
320:
1.5 ! cvs 321: AC_ARG_WITH(thot, [ --with-thot Build the Thot editor])
! 322: AC_ARG_WITH(amaya, [ --with-amaya Build the Amaya HTML browser/editor])
1.1 cvs 323:
324: build_thot="yes"
325: build_amaya="yes"
326:
327: if test "$with_thot" = "no" ; then
328: build_thot="no"
329: fi
330: if test "$with_amaya" = "no" ; then
331: build_amaya="no"
332: fi
333:
334: if test ! -f $srcdir/thot/Makefile.in ; then
335: AC_MSG_WARN(Thot editor sources not found, disabling Thot build !)
336: build_thot="no"
337: fi
338:
339: if test ! -f $srcdir/amaya/Makefile.in ; then
340: AC_MSG_WARN(Amaya browser/editor sources not found, disabling Amaya build !)
341: build_amaya="no"
342: fi
343:
344: dnl
1.3 cvs 345: dnl Check for external, Thot related programs
346: dnl
347:
348: build_misc="no"
349: if test "$build_thot" = "yes" ; then
350: if test -f $srcdir/misc/Makefile.in ; then
351: build_misc="yes"
352: build_annotations="no"
353: if test -f $srcdir/misc/annotations/Makefile.in ; then
354: build_annotations="yes"
355: fi
356: if test -f $srcdir/misc/util/Makefile.in ; then
357: build_util="yes"
358: build_tableaux="no"
359: build_transform="no"
360: build_versions="no"
361: if test -f $srcdir/misc/util/tableaux/Makefile.in ; then
362: build_tableaux="yes"
363: fi
364: if test -f $srcdir/misc/util/transform/Makefile.in ; then
365: build_transform="yes"
366: fi
367: if test -f $srcdir/misc/util/versions/Makefile.in ; then
368: build_versions="yes"
369: fi
370: fi
371: fi
372: fi
373:
374: dnl
1.1 cvs 375: dnl Check for additionnal packages kaffe-xxx or libwww
376: dnl use AC_CONFIG_SUBDIRS to launch configure in the subdir
377: dnl
378:
1.5 ! cvs 379: AC_ARG_ENABLE(java, [ --enable-java Add Kaffe Java virtual machine])
! 380: AC_ARG_ENABLE(plugin, [ --enable-plugin Add Netscape Plug-Ins support])
1.1 cvs 381:
382: if test "$enable_java" = "no" ; then
383: with_java="no"
384: else
385: with_java="yes"
386: fi
387: if test "$enable_plugin" = "yes" ; then
388: with_plugin="yes"
389: else
390: with_plugin="no"
391: fi
392:
393: if test "$build_amaya" = "yes" ; then
394: if test ! -f $srcdir/kaffe-$KAFFE_VER/Makefile.in ; then
395: if test "$with_java" = "yes" ; then
396: AC_MSG_WARN(kaffe-$KAFFE_VER sources not found, disabling Java !)
397: with_java="no"
398: fi
399: fi
400:
401: if test ! -f $srcdir/classes/thotlib.zip ; then
402: if test "$with_java" = "yes" ; then
403: AC_MSG_WARN(Java classes not found, disabling Java !)
404: with_java="no"
405: fi
406: fi
407:
408: if test ! -f $srcdir/w3c-libwww-$LIBWWW_VER/Makefile.in ; then
409: if test "$with_java" = "no" ; then
410: AC_MSG_WARN(w3c-libwww-$LIBWWW_VER sources not found !!)
411: AC_MSG_WARN(Disabling Amaya build !)
412: build_amaya="no"
413: fi
414: fi
415: fi
416:
417: dnl
418: dnl The options for each library or binary
419: dnl
420:
421: THOT_OPTIONS=
422: AMAYA_OPTIONS="-DCOUGAR"
423: PLUGIN_OPTIONS="-DPLUGIN_TRACE -DXP_UNIX"
424: dnl JAVA_OPTIONS="-DDEBUG_KAFFE -DDEBUG_LOCK -DDEBUG_SELECT -DDEBUG_SELECT_CHANNELS -DDEBUG_TIMING -DSYNC_DNS"
425: JAVA_OPTIONS=
426: ANNOTATIONS_OPTIONS=
427: IMGLIBS="-ljpeg -lpng -lz"
1.3 cvs 428: EXTRA_LIBS=
1.1 cvs 429:
430: dnl
431: dnl Set up the PATHs needed
432: dnl
433:
434: API="\$(THOTDIR)/thotlib/include"
435: VAR="\$(THOTDIR)/thotlib/internals/var"
436: INCL="\$(THOTDIR)/thotlib/internals/h"
437: FUNC="\$(THOTDIR)/thotlib/internals/f"
438: SCHEMAS="\$(THOTDIR)/schemas"
439: SCHEMASOPERA="\$(THOTDIR)/schemasOPERA"
440: JPEGINCL="-I\$(THOTDIR)/libjpeg"
441: PNGINCL="-I\$(THOTDIR)/libpng -I\$(THOTDIR)/libpng/zlib"
442:
443: dnl
444: dnl Set up the include variables.
445: dnl
446:
447: THOTINCLUDES="-I$API -I$VAR -I$INCL -I$FUNC -I$SCHEMAS -I$SCHEMASOPERA $JPEGINCL $PNGINCL"
448: APIINCLUDES=-I$API
449: if test "$VPATHOPT" = "" ; then
450: VPATHOPT="VPATH"
451: fi
452:
453: dnl
454: dnl Exports the current values of the variables.
455: dnl
456:
457: AC_SUBST(THOT_VER)
458: AC_SUBST(AMAYA_VER)
459: AC_SUBST(LIBWWW_VER)
460: AC_SUBST(KAFFE_VER)
461:
462: AC_SUBST(THOTINCLUDES)
463: AC_SUBST(APIINCLUDES)
464: AC_SUBST(VPATHOPT)
465:
466: AC_SUBST(THOT_OPTIONS)
467: AC_SUBST(AMAYA_OPTIONS)
468: AC_SUBST(PLUGIN_OPTIONS)
469: AC_SUBST(JAVA_OPTIONS)
470: AC_SUBST(ANNOTATIONS_OPTIONS)
471: AC_SUBST(IMGLIBS)
1.3 cvs 472: AC_SUBST(EXTRA_LIBS)
1.1 cvs 473:
474: dnl
475: dnl Include the option Makefile.xxx fragment for plugin and or Java options
476: dnl
477:
478: if test "$with_plugin" = "yes" ; then
479: AC_SUBST_FILE(plugin_frag)dnl
480: plugin_frag=$srcdir/pluginlib/Makefile.plugin
481: else
482: AC_SUBST_FILE(plugin_frag)
483: plugin_frag=/dev/null
484: fi
485:
486: if test "$with_java" = "yes" ; then
487: AC_SUBST_FILE(java_frag)dnl
488: java_frag=$srcdir/javalib/Makefile.java
489: AC_SUBST_FILE(www_frag)
490: www_frag=/dev/null
491: else
492: AC_SUBST_FILE(java_frag)
493: java_frag=/dev/null
494: AC_SUBST_FILE(www_frag)dnl
495: www_frag=$srcdir/amaya/Makefile.libwww
496: fi
497:
498: dnl ***************************************************************
499: dnl
500: dnl FINAL STEP : PRODUCE ALL THE MAKEFILES AND CONFIG FILES
501: dnl
502: dnl ***************************************************************
503:
504: EXTRA_MAKEFILE_IN=
1.2 cvs 505: make_output="Makefile Options.orig:Options.in tools/Makefile \
1.1 cvs 506: libjpeg/Makefile libpng/Makefile libpng/zlib/Makefile \
1.2 cvs 507: tools/mkdep/Makefile \
1.1 cvs 508: tools/cextract-1.7/Makefile thotlib/Makefile \
1.5 ! cvs 509: thotlib/include/Makefile batch/Makefile tablelib/Makefile"
1.1 cvs 510:
511: if test "$build_amaya" = "yes" ; then
1.2 cvs 512:
513: make_output="$make_output amaya/Makefile \
514: tools/javastub/Makefile tools/dns_daemon/Makefile javalib/Makefile \
515: pluginlib/Makefile"
516:
517: EXTRA_MAKEFILE_IN="$srcdir/amaya/Makefile.in \
518: $srcdir/amaya/Makefile.libwww \
519: $srcdir/tools/javastub/Makefile.in \
520: $srcdir/tools/dns_daemon/Makefile.in \
521: $srcdir/javalib/Makefile.in \
522: $srcdir/pluginlib/Makefile.in \
523: $srcdir/pluginlib/Makefile.plugin"
524:
1.1 cvs 525: fi
526:
527: if test "$build_thot" = "yes" ; then
1.3 cvs 528:
1.5 ! cvs 529: make_output="$make_output thot/Makefile \
! 530: drawlib/Makefile indexlib/Makefile"
! 531:
1.3 cvs 532: EXTRA_MAKEFILE_IN="$EXTRA_MAKEFILE_IN \
1.5 ! cvs 533: $srcdir/thot/Makefile.in \
! 534: $srcdir/drawlib/Makefile.in \
! 535: $srcdir/indexlib/Makefile.in"
1.3 cvs 536:
537: if test "$build_misc" = "yes" ; then
538:
539: make_output="$make_output misc/Makefile"
540: EXTRA_MAKEFILE_IN="$EXTRA_MAKEFILE_IN \
541: $srcdir/misc/Makefile.in"
542:
543: if test "$build_annotations" = "yes" ; then
544:
545: make_output="$make_output misc/annotations/Makefile"
546: EXTRA_MAKEFILE_IN="$EXTRA_MAKEFILE_IN \
547: $srcdir/misc/annotations/Makefile.in"
548:
549: fi
550: if test "$build_util" = "yes" ; then
551:
552: make_output="$make_output misc/util/Makefile"
553: EXTRA_MAKEFILE_IN="$EXTRA_MAKEFILE_IN \
554: $srcdir/misc/util/Makefile.in"
555:
556: if test "$build_tableaux" = "yes" ; then
557:
558: make_output="$make_output misc/util/tableaux/Makefile"
559: EXTRA_MAKEFILE_IN="$EXTRA_MAKEFILE_IN \
560: $srcdir/misc/util/tableaux/Makefile.in"
561:
562: fi
563: if test "$build_transform" = "yes" ; then
564:
565: make_output="$make_output misc/util/transform/Makefile"
566: EXTRA_MAKEFILE_IN="$EXTRA_MAKEFILE_IN \
567: $srcdir/misc/util/transform/Makefile.in"
568:
569: fi
570: if test "$build_versions" = "yes" ; then
571:
572: make_output="$make_output misc/util/versions/Makefile"
573: EXTRA_MAKEFILE_IN="$EXTRA_MAKEFILE_IN \
574: $srcdir/misc/util/versions/Makefile.in"
575:
576: fi
577: fi
578: fi
1.1 cvs 579: fi
580:
581: AC_SUBST(EXTRA_MAKEFILE_IN)
582: AC_OUTPUT($make_output , echo timestamp > stamp-h)
583:
584: if test "$build_thot" = "yes" ; then
585: if test "$build_amaya" = "yes" ; then
586: echo Amaya and Thot packages are now configured
587: else
588: echo Thot package is now configured
589: fi
590: else
591: if test "$build_amaya" = "yes" ; then
592: echo Amaya package is now configured
593: else
594: echo Nor Amaya nor Thot package found, get the corresponding archive
595: fi
596:
597: fi
598:
599: if test "$build_amaya" = "yes" ; then
1.5 ! cvs 600: if test "$with_java" = "yes" -a "$with_plugin" = "yes" ; then
! 601: AC_MSG_WARN(Amaya configured with both Java and Plugins support)
! 602: AC_MSG_WARN(Beware this combination doesn't work well)
1.1 cvs 603: else
1.5 ! cvs 604: if test "$with_java" = "yes" ; then
! 605: echo Amaya configured with Java support
! 606: else
! 607: echo Amaya configured with libWWW
! 608: fi
! 609: if test "$with_plugin" = "yes" ; then
! 610: echo Amaya configured with Plugins support
! 611: fi
1.1 cvs 612: fi
1.5 ! cvs 613: fi
! 614:
! 615: if test "$no_motif" = yes ; then
! 616: echo "Motif seems not installed on this machine"
! 617: echo "Thot and Amaya need Motif 1.2 or 2.0"
! 618: echo "Thot and Amaya probably won't compile"
! 619: else
! 620: if test "$motif_includes" = "" ; then
! 621: echo "Motif includes were not found"
! 622: echo "Thot and Amaya might not compile"
! 623: echo "Edit your Option file"
! 624: else
! 625: if test "$motif_libraries" = "" ; then
! 626: echo "Motif libraries were not found"
! 627: echo "Thot and Amaya might not compile"
! 628: echo "Edit your Option file"
! 629: fi
! 630: fi
1.1 cvs 631: fi
632:
633: echo "Now start \"make all\" (GNU make preferably) to build the binaries"
1.5 ! cvs 634:
Webmaster