/ Check-in [309f2de6]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:merge the second portion of the cross-compile cleanup (CVS 3649)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:309f2de62f34160fa24a5e1a3de0d653aabfb52b
User & Date: vapier 2007-02-17 14:59:18
Context
2007-02-20
15:21
Enhance the documentation to clarify that SQLite is not reentrant through the authorization callback function. Ticket #2242. (CVS 3650) check-in: b18a758a user: drh tags: trunk
2007-02-17
14:59
merge the second portion of the cross-compile cleanup (CVS 3649) check-in: 309f2de6 user: vapier tags: trunk
14:46
regenerate (CVS 3648) check-in: 20ac0f36 user: vapier tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to configure.

  1927   1927   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1928   1928   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1929   1929   ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1930   1930   
  1931   1931   
  1932   1932   
  1933   1933   # The following RCS revision string applies to configure.in
  1934         -# $Revision: 1.41 $
         1934  +# $Revision: 1.42 $
  1935   1935   
  1936   1936   #########
  1937   1937   # Programs needed
  1938   1938   #
  1939   1939   # Check whether --enable-shared was given.
  1940   1940   if test "${enable_shared+set}" = set; then
  1941   1941     enableval=$enable_shared; p=${PACKAGE-default}
................................................................................
 19743  19743   
 19744  19744   
 19745  19745   
 19746  19746   ##########
 19747  19747   # Figure out what C libraries are required to compile programs
 19748  19748   # that use "fdatasync()" function.
 19749  19749   #
 19750         -CC=$TARGET_CC
 19751         -LIBS=$TARGET_LIBS
 19752  19750   { echo "$as_me:$LINENO: checking for library containing fdatasync" >&5
 19753  19751   echo $ECHO_N "checking for library containing fdatasync... $ECHO_C" >&6; }
 19754  19752   if test "${ac_cv_search_fdatasync+set}" = set; then
 19755  19753     echo $ECHO_N "(cached) $ECHO_C" >&6
 19756  19754   else
 19757  19755     ac_func_search_save_LIBS=$LIBS
 19758  19756   cat >conftest.$ac_ext <<_ACEOF
................................................................................
 19828  19826   echo "${ECHO_T}$ac_cv_search_fdatasync" >&6; }
 19829  19827   ac_res=$ac_cv_search_fdatasync
 19830  19828   if test "$ac_res" != no; then
 19831  19829     test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 19832  19830   
 19833  19831   fi
 19834  19832   
 19835         -TARGET_LIBS="$LIBS"
 19836  19833   
 19837  19834   #########
 19838  19835   # check for debug enabled
 19839  19836   # Check whether --enable-debug was given.
 19840  19837   if test "${enable_debug+set}" = set; then
 19841  19838     enableval=$enable_debug; use_debug=$enableval
 19842  19839   else

Changes to configure.ac.

    88     88   # the corresponding code.
    89     89   #
    90     90   AC_INIT(src/sqlite.h.in)
    91     91   
    92     92   dnl Put the RCS revision string after AC_INIT so that it will also
    93     93   dnl show in in configure.
    94     94   # The following RCS revision string applies to configure.in
    95         -# $Revision: 1.28 $
           95  +# $Revision: 1.29 $
    96     96   
    97     97   #########
    98     98   # Programs needed
    99     99   #
   100    100   AC_PROG_LIBTOOL
   101    101   AC_PROG_INSTALL
   102    102   AC_PROG_AWK
................................................................................
   545    545   AC_SUBST(TARGET_READLINE_INC)
   546    546   AC_SUBST(TARGET_HAVE_READLINE)
   547    547   
   548    548   ##########
   549    549   # Figure out what C libraries are required to compile programs
   550    550   # that use "fdatasync()" function.
   551    551   #
   552         -CC=$TARGET_CC
   553         -LIBS=$TARGET_LIBS
   554    552   AC_SEARCH_LIBS(fdatasync, [rt])
   555         -TARGET_LIBS="$LIBS"
   556    553   
   557    554   #########
   558    555   # check for debug enabled
   559    556   AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug],[enable debugging & verbose explain]),
   560    557         [use_debug=$enableval],[use_debug=no])
   561    558   if test "${use_debug}" = "yes" ; then
   562    559     TARGET_DEBUG="-DSQLITE_DEBUG=1"