From: Matthew Fernandez Date: Tue, 16 Aug 2022 03:42:13 +0000 (-0700) Subject: avoid adding non-existent TCL generic path to include directories X-Git-Tag: 5.0.1~3^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e93ef4ca8c6470f715cff6b2fe35bb367b877c6c;p=graphviz avoid adding non-existent TCL generic path to include directories It looks like a typo in 30f5e6535f21ca671d76159b49cc87add1f0b53e that this was not adjusted. This change squashes 25 -Wmissing-include-dir warnings. --- diff --git a/configure.ac b/configure.ac index 0bc9b43da..90212ad9f 100644 --- a/configure.ac +++ b/configure.ac @@ -1392,7 +1392,7 @@ if test "x$use_tcl" = "x"; then TCLSH_EXEC_PREFIX=`echo $TCLSH|sed -e 's%/bin/.*tclsh.*$%%'` if test -f ${TCLSH_EXEC_PREFIX}/include/tcl${TCL_VERSION_FOUND}/tcl.h; then - TCL_INCLUDES="-I${TCLSH_EXEC_PREFIX}/include/tcl${TCL_VERSION_FOUND} -I${TCLSH_EXEC_PREFIX}/include/tcl${TCL_VERSION_FOUND}/generic" + TCL_INCLUDES="-I${TCLSH_EXEC_PREFIX}/include/tcl${TCL_VERSION_FOUND}" if test -d ${TCLSH_EXEC_PREFIX}/include/tcl${TCL_VERSION_FOUND}/generic; then TCL_INCLUDES="${TCL_INCLUDES} -I${TCLSH_EXEC_PREFIX}/include/tcl${TCL_VERSION_FOUND}/generic" fi