Ignore:
Timestamp:
May 31, 2007, 11:00:11 PM (13 years ago)
Author:
sfiera@…
Message:

Build MacPorts with sqlite3 support in preparation for GSoC work

  • Include sqlite-3.1.3 for Panther; link against static lib
  • Install Tcl sqlite3 to ${prefix}/share/darwinports/Tcl if it's built, thus, it's always available
  • Rename ambiguous configure option "--with-sqlite3" to "--with-tcl-sqlite3"
  • Build our_included_packages before MacPorts so the static lib is there in later stages
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/aclocal.m4

    r24366 r25770  
    733733
    734734
    735 # OD_PATH_SQLITE3
    736 #       Specify sqlite3 location
    737 #
    738 # Arguments:
    739 #       None.
    740 #
    741 # Requires:
    742 #   System or user-specified --with-sqlite=dir to specify
    743 #
    744 # Results:
    745 #   Sets SQLITE3_DIR to the directory where sqlite3 tcl pkgIndex.tcl is
    746 #---------------------------------------
    747 AC_DEFUN([OD_PATH_SQLITE3],[
    748 
    749         AC_ARG_WITH([sqlite],
    750                 AS_HELP_STRING([--with-sqlite3=DIR],
    751                         [directory for sqlite3 (default /usr/lib/sqlite3)]),           
    752                 [od_sqlite3_dir=$withval], [od_sqlite3_dir=/usr/lib/sqlite3])
    753                
    754         AC_CACHE_CHECK([for sqlite3 location], [od_cv_sqlite3_dir],
    755                 [od_cv_sqlite3_dir=
    756                 test -r "${od_sqlite3_dir}/pkgIndex.tcl" && od_cv_sqlite3_dir=$od_sqlite3_dir
    757                 ])
    758                
    759         SQLITE3_DIR=$od_cv_sqlite3_dir
    760         AC_SUBST(SQLITE3_DIR)
    761 ])
    762 
    763735dnl This macro tests if the compiler supports GCC's
    764736dnl __attribute__ syntax for unused variables/parameters
Note: See TracChangeset for help on using the changeset viewer.