All pastes #441545 Raw Edit

Stuff

public text v1 · immutable
·published 2007-04-15 19:13 UTC
rendered paste body
dnl figure out whether we need to build Tk
build_brlcad_tk="no (using system)"
if test "x$bc_build_tk" != "xno" ; then
    build_brlcad_tk=yes
else
    if test "x$bc_build_tk" = "xno" ; then
        if test "x$tk_works" = "xno" ; then
            AC_MSG_NOTICE([libtk was disabled, but no system Tk library was foun
            BC_RETRY_CONFIGURE([$this], [$args])
            AC_MSG_NOTICE([}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}])
            AC_MSG_NOTICE([Try adding --enable-tk-build])
            AC_MSG_ERROR([*** Tk was disabled, yet no usable libtk system librar
        fi
    else
        dnl automatic detection
        if test "x$tk_works" = "xno" ; then
            build_brlcad_tk=yes
        fi
    fi
fi
AC_MSG_CHECKING(whether to build Tk)