]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Updates to configure.ac to help it find where the TCL libraries hidden
authordrh <drh@noemail.net>
Sat, 30 May 2015 22:57:49 +0000 (22:57 +0000)
committerdrh <drh@noemail.net>
Sat, 30 May 2015 22:57:49 +0000 (22:57 +0000)
on Ubuntu 14.04.

FossilOrigin-Name: c864ff912db8bc0a3c3ecc1ceac61a25332e76c5

configure
configure.ac
manifest
manifest.uuid

index 1b9060d3ada26ceb76f1a105877a0cf30cc46194..b92c4e210e61d9529c5c8e81142b702326b50159 100755 (executable)
--- a/configure
+++ b/configure
@@ -10715,6 +10715,20 @@ else
       fi
     fi
 
+    # On ubuntu 14.10, $auto_path on tclsh is not quite correct.
+    # So try again after applying corrections.
+    if test x"${ac_cv_c_tclconfig}" = x ; then
+      if test x"$cross_compiling" = xno; then
+        for i in `echo 'puts stdout $auto_path' | ${TCLSH_CMD} | sed 's,/tcltk/tcl,/tcl,g'`
+        do
+          if test -f "$i/tclConfig.sh" ; then
+            ac_cv_c_tclconfig="$i"
+            break
+          fi
+        done
+      fi
+    fi
+
     # then check for a private Tcl installation
     if test x"${ac_cv_c_tclconfig}" = x ; then
       for i in \
index 6a1188842aba1eab63a36bc57f7e227d972a6dd0..92d9b47b39db3bcaf4cbcd98a0d735c9f67d28e7 100644 (file)
@@ -320,6 +320,20 @@ if test "${use_tcl}" = "yes" ; then
       fi
     fi
 
+    # On ubuntu 14.10, $auto_path on tclsh is not quite correct.
+    # So try again after applying corrections.
+    if test x"${ac_cv_c_tclconfig}" = x ; then
+      if test x"$cross_compiling" = xno; then
+        for i in `echo 'puts stdout $auto_path' | ${TCLSH_CMD} | sed 's,/tcltk/tcl,/tcl,g'`
+        do
+          if test -f "$i/tclConfig.sh" ; then
+            ac_cv_c_tclconfig="$i"
+            break
+          fi
+        done
+      fi
+    fi
+
     # then check for a private Tcl installation
     if test x"${ac_cv_c_tclconfig}" = x ; then
       for i in \
index 9ca096fae72fbb85dcb2f14884add22053a2a764..7b8605d3c0f87d35c6679e4dfb4e01fe78cae107 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Fix\sminor\stypo\sin\scomment.\s\sNo\schanges\sto\scode.
-D 2015-05-30T22:05:17.458
+C Updates\sto\sconfigure.ac\sto\shelp\sit\sfind\swhere\sthe\sTCL\slibraries\shidden\non\sUbuntu\s14.04.
+D 2015-05-30T22:57:49.610
 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
 F Makefile.in 994bab32a3a69e0c35bd148b65cde49879772964
 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -38,8 +38,8 @@ F autoconf/tea/win/rules.vc c511f222b80064096b705dbeb97060ee1d6b6d63
 F config.guess 226d9a188c6196f3033ffc651cbc9dcee1a42977
 F config.h.in 42b71ad3fe21c9e88fa59e8458ca1a6bc72eb0c0
 F config.sub 9ebe4c3b3dab6431ece34f16828b594fb420da55
-F configure 35cbd52af707ae22401641fe7b3672f05aea0eb1 x
-F configure.ac 0b775d383c536bbaafc1e46dd3cbb81a7ea11aeb
+F configure 17bd8dc3e35c718df68d04f53bf7dacf2b639732 x
+F configure.ac 713de38000413e469188db2cb85bed759b56f322
 F contrib/sqlitecon.tcl 210a913ad63f9f991070821e599d600bd913e0ad
 F doc/lemon.html 334dbf6621b8fb8790297ec1abf3cfa4621709d1
 F doc/pager-invariants.txt 27fed9a70ddad2088750c4a2b493b63853da2710
@@ -1281,7 +1281,7 @@ F tool/vdbe_profile.tcl 67746953071a9f8f2f668b73fe899074e2c6d8c1
 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
 F tool/warnings.sh 0abfd78ceb09b7f7c27c688c8e3fe93268a13b32
 F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
-P 09a38bf665902834936d39341627ded88142e6ae
-R ef3c3ce42e00538e32e192eb7a670812
-U mistachkin
-Z 7d37f32a6f8f03a1b757dcda37cff44f
+P 73fc058b3a74c1b018cff990de793f19a602c12f
+R 6be0a2acb8b138e304ff212c6a26c60d
+U drh
+Z d3293018ae234b91be7ef388addbca2d
index 264528281fe4548005a3774f3f45ba174913230c..202770641ebc4c88c0bf5ac281b4a9157fb0cd51 100644 (file)
@@ -1 +1 @@
-73fc058b3a74c1b018cff990de793f19a602c12f
\ No newline at end of file
+c864ff912db8bc0a3c3ecc1ceac61a25332e76c5
\ No newline at end of file