Annotation of Amaya/configure.in, revision 1.4

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

Webmaster