+2761. [cleanup] Enable internal symbol table for backtrace only for
+ systems that are known to work. Currently, BSD
+ variants, Linux and Solaris are supported. [RT# 20202]
+
2760. [cleanup] Corrected named-compilezone usage summary. [RT #20533]
2759. [doc] Add information about .jbk/.jnw files to
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
AC_DIVERT_POP()dnl
-AC_REVISION($Revision: 1.488 $)
+AC_REVISION($Revision: 1.489 $)
AC_INIT(lib/dns/name.c)
AC_PREREQ(2.59)
[[all|minimal(default)|none]]],
want_symtable="$enableval", want_symtable="minimal")
case $want_symtable in
-yes|all|minimal)
-
+yes|all|minimal) # "yes" is a hidden value equivalent to "minimal"
if test "$PERL" = ""
then
AC_MSG_ERROR([Internal symbol table requires perl but no perl is found.
if test "$use_libtool" = "yes"; then
AC_MSG_WARN([Internal symbol table does not work with libtool. Disabling symbol table.])
else
- MKSYMTBL_PROGRAM="$PERL"
- if test $want_symtable = all; then
- ALWAYS_MAKE_SYMTABLE="yes"
- fi
+ # we generate the internal symbol table only for those systems
+ # known to work to avoid unexpected build failure. Also, warn
+ # about unsupported systems when the feature is enabled
+ # manually.
+ case $host_os in
+ freebsd*|netbsd*|openbsd*|linux*|solaris*|darwin*)
+ MKSYMTBL_PROGRAM="$PERL"
+ if test $want_symtable = all; then
+ ALWAYS_MAKE_SYMTABLE="yes"
+ fi
+ ;;
+ *)
+ if test $want_symtable = yes -o $want_symtable = all
+ then
+ AC_MSG_WARN([this system is not known to generate internal symbol table safely; disabling it])
+ fi
+ esac
fi
;;
*)