]> granicus.if.org Git - graphviz/commitdiff
try to fix breakage to builds for older 64bit systems
authorellson <devnull@localhost>
Sun, 6 Jan 2008 16:03:26 +0000 (16:03 +0000)
committerellson <devnull@localhost>
Sun, 6 Jan 2008 16:03:26 +0000 (16:03 +0000)
configure.ac

index 24dc83ac6b7f6aa4af6664f9024431f07ea1e2d4..f56b2313d8ca356e1e235f389213fb6db94d3487 100644 (file)
@@ -1162,9 +1162,6 @@ if test "$HAVE_TCL" = "1"; then
             fi
         fi
     fi
-    if test -d ${TCLSH_EXEC_PREFIX}/lib${LIBPOSTFIX}/tcl${TCL_VERSION_FOUND}/; then
-       TCL_INSTALL_DIR="${TCLSH_EXEC_PREFIX}/lib${LIBPOSTFIX}/tcl${TCL_VERSION_FOUND}"
-    fi
     if test "x$TCLCONFIG" != "x"; then
         AC_MSG_RESULT([using $TCLCONFIG])
         file=${TCLCONFIG}
@@ -1173,6 +1170,7 @@ if test "$HAVE_TCL" = "1"; then
         AC_MSG_WARN([Unable to find tclConfig.sh. The Tcl packages will not be built])
         HAVE_TCL=0
     fi
+    TCL_INSTALL_DIR="${TCLSH_EXEC_PREFIX}/lib${LIBPOSTFIX}/tcl${TCL_VERSION_FOUND}"
 fi
 
 if test "$HAVE_TCL" = "1"; then