# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
#
-# $Id: configure,v 1.472 2009/11/03 23:18:11 jinmei Exp $
+# $Id: configure,v 1.473 2009/11/11 08:47:27 jinmei Exp $
#
# Portions Copyright (C) 1996-2001 Nominum, Inc.
#
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-# From configure.in Revision: 1.488 .
+# From configure.in Revision: 1.489 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61.
#
fi
case $want_symtable in
-yes|all|minimal)
-
+yes|all|minimal) # "yes" is a hidden value equivalent to "minimal"
if test "$PERL" = ""
then
{ { echo "$as_me:$LINENO: error: Internal symbol table requires perl but no perl is found.
{ echo "$as_me:$LINENO: WARNING: Internal symbol table does not work with libtool. Disabling symbol table." >&5
echo "$as_me: WARNING: Internal symbol table does not work with libtool. Disabling symbol table." >&2;}
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
+ { echo "$as_me:$LINENO: WARNING: this system is not known to generate internal symbol table safely; disabling it" >&5
+echo "$as_me: WARNING: this system is not known to generate internal symbol table safely; disabling it" >&2;}
+ fi
+ esac
fi
;;
*)