Ticket #12231: macports-tclsqlite3.patch
File macports-tclsqlite3.patch, 832 bytes (added by afb@…, 17 years ago) |
---|
-
configure.ac
179 181 [with_included_sqlite3=yes]) 180 182 fi 181 183 184 case $host_os in 185 darwin*) 186 mp_sqlite3_default_dir="/usr/lib/sqlite3" 187 ;; 188 freebsd*) 189 mp_sqlite3_default_dir="/usr/local/lib/sqlite" 190 ;; 191 *) 192 mp_sqlite3_default_dir="/usr/share/tcl${TCL_VERSION}/sqlite3" 193 ;; 194 esac 195 182 196 AC_ARG_WITH( 183 197 tcl-sqlite3, 184 198 AS_HELP_STRING([--with-tcl-sqlite3=DIR], 185 199 [directory for Tcl sqlite3 (default /usr/lib/sqlite3)]), 186 200 [mp_sqlite3_dir=$withval], 187 [mp_sqlite3_dir= /usr/lib/sqlite3])201 [mp_sqlite3_dir=$mp_sqlite3_default_dir]) 188 202 189 203 # If sqlite3 package isn't installed, configure and install sqlite3 package. 190 204 if test "$with_included_sqlite3" = "yes"; then