Skip to content
Tcl Source Code Artifact [d533714ce2]
Login

Artifact [d533714ce2]

Artifact d533714ce2fe05bf725fa23fee7189c2faa372a0:

Ticket change [d533714ce2] - New ticket [948498ffffffffff|948498ffff] <i>bug tcl8.4.6 -&gt; autoconf -&gt; tcl.m4</i>. by aotto1968 on 2004-05-05 14:11:03.
D 2004-05-05T14:11:03
J assignee hobbs
J cmimetype text/plain
J comment Hi,\s\n\s\n  my case:  current SuSe linux to build "configure" with autoconf 2-13\s\n\s\n  what happen: building configure with "autoconf" fails:\s\n  why?\s\n\s\n  1) tcl.m4 -> SC_ENABLE_SYMBOLS\s\n  2) SC_ENABLE_SYMBOLS is using the word "symbols" to check for\s\n     --enable-symbols\s\n  4) now gnu-m4 defines:\s\n\s\ninfo\s->\sm4\s\n>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><\s\nGetting\sthe\sdefined\smacro\snames\s\n===============================\s\n\s\n   The name of the currently defined macro can be accessed by `symbols':\s\n     symbols\s\n\s\nwhich\sresults\sin\sa\ssorted\slist\sof\squoted\s\nstrings.  This contrasts with\s\n`dumpdef'\swhich\soutput\scan\snot\sbe\saccessed\sby\s`m4'\s\nprograms.\s\n\s\n   When given arguments, `symbols' returns the sorted subset of the\s\nsymbols\scurrently\sdefined:\s\n     symbols(`ifndef', `ifdef', `define', `undef')\s\n     =>define,ifdef\s\n<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\s\n\s\nthe\sm4\skey-word\s"symbols"\sbreaks\sthe\stcl\sbuild-keyword\s\n"symbols"\s\n   5) patch tcl.m4 (ACHTUNG!: "[" and "]" arround "symbols" ) :\s\n\s\n>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>\s\nAC_DEFUN(SC_ENABLE_SYMBOLS,\s[\s\n    AC_MSG_CHECKING([for build with [symbols]])\s\n    AC_ARG_ENABLE([[symbols]], [  --enable-symbols        build with\s\ndebugging\ssymbols\s[--disable-symbols]],    [tcl_ok=\n$enableval],\s\n[tcl_ok=no])\s\n#\sFIXME:\sCurrently,\sLDFLAGS_DEFAULT\sis\snot\sused,\sit\s\nshould\swork\slike\s\nCFLAGS_DEFAULT.\s\n    if test "$tcl_ok" = "no"; then\s\n        CFLAGS_DEFAULT='$(CFLAGS_OPTIMIZE)'\s\n        LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)'\s\n        DBGX=""\s\n        AC_MSG_RESULT([no])\s\n    else\s\n        CFLAGS_DEFAULT='$(CFLAGS_DEBUG)'\s\n        LDFLAGS_DEFAULT='$(LDFLAGS_DEBUG)'\s\n        DBGX=g\s\n        if test "$tcl_ok" = "yes"; then\s\n            AC_MSG_RESULT([yes (standard debugging)])\s\n        fi\s\n    fi\s\n    AC_SUBST(CFLAGS_DEFAULT)\s\n    AC_SUBST(LDFLAGS_DEFAULT)\s\n\s\n    if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then\s\n        AC_DEFINE(TCL_MEM_DEBUG)\s\n    fi\s\n\s\n    if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then\s\n        AC_DEFINE(TCL_COMPILE_DEBUG)\s\n        AC_DEFINE(TCL_COMPILE_STATS)\s\n    fi\s\n\s\n    if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then\s\n        if test "$tcl_ok" = "all"; then\s\n            AC_MSG_RESULT([enabled [symbols] mem compile debugging])\s\n        else\s\n            AC_MSG_RESULT([enabled $tcl_ok debugging])\s\n        fi\s\n    fi\s\n])\s\n<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\s\n  to fix this problem :^)\s\n\s\nmfg\s\n\s\n  aotto\s
J foundin obsolete:\s8.4.6
J priority 5\sMedium
J resolution None
J status Open
J submitter aotto1968
J subsystem 85.\stclconfig
J title bug\stcl8.4.6\s->\sautoconf\s->\stcl.m4
J type Bug
K 948498ffffffffffffffffffffffffffffffffff
U aotto1968
Z 0a72bfe16c6ddfe6180fef3a9603cf15