Index: Makefile.am ================================================================== --- Makefile.am +++ Makefile.am @@ -16,11 +16,12 @@ include_HEADERS = tclreadline.h INCLUDES = -I$(TCL_INCLUDE_DIR) -I$(READLINE_INCLUDE_DIR) ## libtclreadline_la_LIBADD = $(LIBS) -libtclreadline_la_LIBADD = $(TCL_LIB_SPEC) -lreadline +libtclreadline_la_CFLAGS = -Wall +libtclreadline_la_LIBADD = $(TCL_LIB_SPEC) libtclreadline_la_LDFLAGS = -release $(MAJOR).$(MINOR).$(PATCHLEVEL) tclrldir = @TCLRL_DIR@ tclrl_SCRIPTS = pkgIndex.tcl tclreadlineCompleter.tcl tclreadlineInit.tcl tclreadlineSetup.tcl INSTALL_SCRIPT = ${INSTALL_DATA} Index: tclreadline.c ================================================================== --- tclreadline.c +++ tclreadline.c @@ -413,11 +413,11 @@ /* * ring the terminal bell obeying the current * settings -- audible or visible. */ - ding(); + rl_ding(); break; case TCLRL_UPDATE: if (objc != 2) { Tcl_WrongNumArgs(interp, 2, objv, "");