]> granicus.if.org Git - graphviz/commitdiff
avoid adding non-existent TCL generic path to include directories
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 16 Aug 2022 03:42:13 +0000 (20:42 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 20 Aug 2022 00:23:26 +0000 (17:23 -0700)
It looks like a typo in 30f5e6535f21ca671d76159b49cc87add1f0b53e that this was
not adjusted. This change squashes 25 -Wmissing-include-dir warnings.

configure.ac

index 0bc9b43da4884481f0cd817b28f246ee7fb3490f..90212ad9f5b62c2039d3f36e3e11b52c058dc1c1 100644 (file)
@@ -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