diff options
author | Jay Freeman <saurik@saurik.com> | 2009-08-11 11:54:52 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2009-08-11 11:54:52 +0000 |
commit | b0df81b3124c589feb57f390a0fd23c585231aae (patch) | |
tree | 657697ff69cb0c6722c45f059a8c84c7a7214bf5 /data | |
parent | 1790b69b7e010d910eee1f90c34c5dcd2a12b92b (diff) |
Fixed upstream configure bug reported by jlanger in #192.
git-svn-id: http://svn.telesphoreo.org/trunk@659 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data')
-rw-r--r-- | data/_sqlite3/host.diff | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/data/_sqlite3/host.diff b/data/_sqlite3/host.diff new file mode 100644 index 000000000..b6e8ac8b5 --- /dev/null +++ b/data/_sqlite3/host.diff @@ -0,0 +1,32 @@ +diff -ru sqlite-3.5.9/configure.ac sqlite-3.5.9+iPhone/configure.ac +--- sqlite-3.5.9/configure.ac 2008-05-07 12:18:23.000000000 +0000 ++++ sqlite-3.5.9+iPhone/configure.ac 2009-08-11 11:52:36.000000000 +0000 +@@ -163,8 +163,8 @@ + + ######### + # Check to see if the --with-hints=FILE option is used. If there is none, +-# then check for a files named "$host.hints" and ../$hosts.hints where +-# $host is the hostname of the build system. If still no hints are ++# then check for a files named "$host_.hints" and ../$hosts_.hints where ++# $host_ is the hostname of the build system. If still no hints are + # found, try looking in $system.hints and ../$system.hints where + # $system is the result of uname -s. + # +@@ -172,12 +172,12 @@ + AC_HELP_STRING([--with-hints=FILE],[Read configuration options from FILE]), + hints=$withval) + if test "$hints" = ""; then +- host=`hostname | sed 's/\..*//'` +- if test -r $host.hints; then +- hints=$host.hints ++ host_=`hostname | sed 's/\..*//'` ++ if test -r $host_.hints; then ++ hints=$host_.hints + else +- if test -r ../$host.hints; then +- hints=../$host.hints ++ if test -r ../$host_.hints; then ++ hints=../$host_.hints + fi + fi + fi |