/sqlite3cc

To get this branch, use:
bzr branch http://bzr.ed.am/sqlite3cc

« back to all changes in this revision

Viewing changes to configure

  • Committer: edam
  • Date: 2010-02-08 22:08:57 UTC
  • Revision ID: edam@waxworlds.org-20100208220857-5up6fi4y6jh5bz4k
- removed "OK" from test-main when test is successful
- aranged for test/test-main to buld properly and be called from "make check"
- added include/Makefile.am to arrange for installation of library headers
- added project website to configure.ac
- added library interface configuration variable to configure.ac

Show diffs side-by-side

added added

removed removed

1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.65 for sqlite3cc 0.1.0.
 
3
# Generated by GNU Autoconf 2.64 for sqlite3cc 0.1.0.
4
4
#
5
5
# Report bugs to <edam@waxworlds.org>.
6
6
#
7
 
#
8
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10
 
# Inc.
11
 
#
 
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
 
9
# Foundation, Inc.
12
10
#
13
11
# This configure script is free software; the Free Software Foundation
14
12
# gives unlimited permission to copy, distribute and modify it.
678
676
 
679
677
 
680
678
 
681
 
test -n "$DJDIR" || exec 7<&0 </dev/null
682
 
exec 6>&1
 
679
exec 7<&0 </dev/null 6>&1
683
680
 
684
681
# Name of the host.
685
682
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
706
703
PACKAGE_BUGREPORT='edam@waxworlds.org'
707
704
PACKAGE_URL='http://www.waxworlds.org/edam/software/sqlite3cc'
708
705
 
709
 
ac_unique_file="src/command.cc"
 
706
ac_unique_file="src/database.cc"
710
707
# Factoring default headers for most tests.
711
708
ac_includes_default="\
712
709
#include <stdio.h>
1524
1521
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1525
1522
              nonstandard directory <lib dir>
1526
1523
  LIBS        libraries to pass to the linker, e.g. -l<library>
1527
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1524
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1528
1525
              you have headers in a nonstandard directory <include dir>
1529
1526
  CPP         C preprocessor
1530
1527
  CXX         C++ compiler command
1599
1596
if $ac_init_version; then
1600
1597
  cat <<\_ACEOF
1601
1598
sqlite3cc configure 0.1.0
1602
 
generated by GNU Autoconf 2.65
 
1599
generated by GNU Autoconf 2.64
1603
1600
 
1604
1601
Copyright (C) 2009 Free Software Foundation, Inc.
1605
1602
This configure script is free software; the Free Software Foundation
1646
1643
        ac_retval=1
1647
1644
fi
1648
1645
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1649
 
  as_fn_set_status $ac_retval
 
1646
  return $ac_retval
1650
1647
 
1651
1648
} # ac_fn_c_try_compile
1652
1649
 
1692
1689
  # left behind by Apple's compiler.  We do this before executing the actions.
1693
1690
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1694
1691
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1695
 
  as_fn_set_status $ac_retval
 
1692
  return $ac_retval
1696
1693
 
1697
1694
} # ac_fn_c_try_link
1698
1695
 
1760
1757
    ac_retval=1
1761
1758
fi
1762
1759
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1763
 
  as_fn_set_status $ac_retval
 
1760
  return $ac_retval
1764
1761
 
1765
1762
} # ac_fn_c_try_cpp
1766
1763
 
1802
1799
fi
1803
1800
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1804
1801
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1805
 
  as_fn_set_status $ac_retval
 
1802
  return $ac_retval
1806
1803
 
1807
1804
} # ac_fn_c_try_run
1808
1805
 
1907
1904
        ac_retval=1
1908
1905
fi
1909
1906
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1910
 
  as_fn_set_status $ac_retval
 
1907
  return $ac_retval
1911
1908
 
1912
1909
} # ac_fn_cxx_try_compile
1913
1910
 
1944
1941
    ac_retval=1
1945
1942
fi
1946
1943
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1947
 
  as_fn_set_status $ac_retval
 
1944
  return $ac_retval
1948
1945
 
1949
1946
} # ac_fn_cxx_try_cpp
1950
1947
 
1990
1987
  # left behind by Apple's compiler.  We do this before executing the actions.
1991
1988
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1992
1989
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1993
 
  as_fn_set_status $ac_retval
 
1990
  return $ac_retval
1994
1991
 
1995
1992
} # ac_fn_cxx_try_link
1996
1993
 
2091
2088
running configure, to aid debugging if configure makes a mistake.
2092
2089
 
2093
2090
It was created by sqlite3cc $as_me 0.1.0, which was
2094
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
2091
generated by GNU Autoconf 2.64.  Invocation command line was
2095
2092
 
2096
2093
  $ $0 $@
2097
2094
 
2344
2341
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2345
2342
do
2346
2343
  test "x$ac_site_file" = xNONE && continue
2347
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2344
  if test -r "$ac_site_file"; then
2348
2345
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2349
2346
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2350
2347
    sed 's/^/| /' "$ac_site_file" >&5
2353
2350
done
2354
2351
 
2355
2352
if test -r "$cache_file"; then
2356
 
  # Some versions of bash will fail to source /dev/null (special files
2357
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2358
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2353
  # Some versions of bash will fail to source /dev/null (special
 
2354
  # files actually), so we avoid doing that.
 
2355
  if test -f "$cache_file"; then
2359
2356
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2360
2357
$as_echo "$as_me: loading cache $cache_file" >&6;}
2361
2358
    case $cache_file in
2777
2774
 
2778
2775
fi
2779
2776
 
2780
 
  test -d ./--version && rmdir ./--version
2781
2777
  if test "${ac_cv_path_mkdir+set}" = set; then
2782
2778
    MKDIR_P="$ac_cv_path_mkdir -p"
2783
2779
  else
2785
2781
    # value for MKDIR_P within a source directory, because that will
2786
2782
    # break other packages using the cache if that directory is
2787
2783
    # removed, or if the value is a relative name.
 
2784
    test -d ./--version && rmdir ./--version
2788
2785
    MKDIR_P="$ac_install_sh -d"
2789
2786
  fi
2790
2787
fi
2952
2949
 
2953
2950
 
2954
2951
 
2955
 
macro_version='2.2.6b'
2956
 
macro_revision='1.3017'
 
2952
macro_version='2.2.6'
 
2953
macro_revision='1.3012'
2957
2954
 
2958
2955
 
2959
2956
 
3424
3421
... rest of stderr output deleted ...
3425
3422
         10q' conftest.err >conftest.er1
3426
3423
    cat conftest.er1 >&5
 
3424
    rm -f conftest.er1 conftest.err
3427
3425
  fi
3428
 
  rm -f conftest.er1 conftest.err
3429
3426
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3430
3427
  test $ac_status = 0; }
3431
3428
done
3432
3429
 
3433
3430
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434
3431
/* end confdefs.h.  */
3435
 
 
 
3432
#include <stdio.h>
3436
3433
int
3437
3434
main ()
3438
3435
{
 
3436
FILE *f = fopen ("conftest.out", "w");
 
3437
 return ferror (f) || fclose (f) != 0;
3439
3438
 
3440
3439
  ;
3441
3440
  return 0;
3442
3441
}
3443
3442
_ACEOF
3444
3443
ac_clean_files_save=$ac_clean_files
3445
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3444
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3446
3445
# Try to create an executable without -o first, disregard a.out.
3447
3446
# It will help us diagnose broken compilers, and finding out an intuition
3448
3447
# of exeext.
3449
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3450
 
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3449
$as_echo_n "checking for C compiler default output file name... " >&6; }
3451
3450
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3452
3451
 
3453
3452
# The possible output files:
3509
3508
else
3510
3509
  ac_file=''
3511
3510
fi
 
3511
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3512
$as_echo "$ac_file" >&6; }
3512
3513
if test -z "$ac_file"; then :
3513
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3514
 
$as_echo "no" >&6; }
3515
 
$as_echo "$as_me: failed program was:" >&5
 
3514
  $as_echo "$as_me: failed program was:" >&5
3516
3515
sed 's/^/| /' conftest.$ac_ext >&5
3517
3516
 
3518
3517
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3520
3519
{ as_fn_set_status 77
3521
3520
as_fn_error "C compiler cannot create executables
3522
3521
See \`config.log' for more details." "$LINENO" 5; }; }
3523
 
else
3524
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3525
 
$as_echo "yes" >&6; }
3526
3522
fi
3527
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3528
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3529
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3530
 
$as_echo "$ac_file" >&6; }
3531
3523
ac_exeext=$ac_cv_exeext
3532
3524
 
3533
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3525
# Check that the compiler produces executables we can run.  If not, either
 
3526
# the compiler is broken, or we cross compile.
 
3527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3528
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3529
# If not cross compiling, check that we can run a simple program.
 
3530
if test "$cross_compiling" != yes; then
 
3531
  if { ac_try='./$ac_file'
 
3532
  { { case "(($ac_try" in
 
3533
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3534
  *) ac_try_echo=$ac_try;;
 
3535
esac
 
3536
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3537
$as_echo "$ac_try_echo"; } >&5
 
3538
  (eval "$ac_try") 2>&5
 
3539
  ac_status=$?
 
3540
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3541
  test $ac_status = 0; }; }; then
 
3542
    cross_compiling=no
 
3543
  else
 
3544
    if test "$cross_compiling" = maybe; then
 
3545
        cross_compiling=yes
 
3546
    else
 
3547
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3548
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3549
as_fn_error "cannot run C compiled programs.
 
3550
If you meant to cross compile, use \`--host'.
 
3551
See \`config.log' for more details." "$LINENO" 5; }
 
3552
    fi
 
3553
  fi
 
3554
fi
 
3555
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3556
$as_echo "yes" >&6; }
 
3557
 
 
3558
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3534
3559
ac_clean_files=$ac_clean_files_save
 
3560
# Check that the compiler produces executables we can run.  If not, either
 
3561
# the compiler is broken, or we cross compile.
 
3562
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3563
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3564
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3565
$as_echo "$cross_compiling" >&6; }
 
3566
 
3535
3567
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3536
3568
$as_echo_n "checking for suffix of executables... " >&6; }
3537
3569
if { { ac_try="$ac_link"
3564
3596
as_fn_error "cannot compute suffix of executables: cannot compile and link
3565
3597
See \`config.log' for more details." "$LINENO" 5; }
3566
3598
fi
3567
 
rm -f conftest conftest$ac_cv_exeext
 
3599
rm -f conftest$ac_cv_exeext
3568
3600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3569
3601
$as_echo "$ac_cv_exeext" >&6; }
3570
3602
 
3571
3603
rm -f conftest.$ac_ext
3572
3604
EXEEXT=$ac_cv_exeext
3573
3605
ac_exeext=$EXEEXT
3574
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3575
 
/* end confdefs.h.  */
3576
 
#include <stdio.h>
3577
 
int
3578
 
main ()
3579
 
{
3580
 
FILE *f = fopen ("conftest.out", "w");
3581
 
 return ferror (f) || fclose (f) != 0;
3582
 
 
3583
 
  ;
3584
 
  return 0;
3585
 
}
3586
 
_ACEOF
3587
 
ac_clean_files="$ac_clean_files conftest.out"
3588
 
# Check that the compiler produces executables we can run.  If not, either
3589
 
# the compiler is broken, or we cross compile.
3590
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3591
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3592
 
if test "$cross_compiling" != yes; then
3593
 
  { { ac_try="$ac_link"
3594
 
case "(($ac_try" in
3595
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3596
 
  *) ac_try_echo=$ac_try;;
3597
 
esac
3598
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3599
 
$as_echo "$ac_try_echo"; } >&5
3600
 
  (eval "$ac_link") 2>&5
3601
 
  ac_status=$?
3602
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3603
 
  test $ac_status = 0; }
3604
 
  if { ac_try='./conftest$ac_cv_exeext'
3605
 
  { { case "(($ac_try" in
3606
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3607
 
  *) ac_try_echo=$ac_try;;
3608
 
esac
3609
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3610
 
$as_echo "$ac_try_echo"; } >&5
3611
 
  (eval "$ac_try") 2>&5
3612
 
  ac_status=$?
3613
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3614
 
  test $ac_status = 0; }; }; then
3615
 
    cross_compiling=no
3616
 
  else
3617
 
    if test "$cross_compiling" = maybe; then
3618
 
        cross_compiling=yes
3619
 
    else
3620
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3621
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3622
 
as_fn_error "cannot run C compiled programs.
3623
 
If you meant to cross compile, use \`--host'.
3624
 
See \`config.log' for more details." "$LINENO" 5; }
3625
 
    fi
3626
 
  fi
3627
 
fi
3628
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3629
 
$as_echo "$cross_compiling" >&6; }
3630
 
 
3631
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3632
 
ac_clean_files=$ac_clean_files_save
3633
3606
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3634
3607
$as_echo_n "checking for suffix of object files... " >&6; }
3635
3608
if test "${ac_cv_objext+set}" = set; then :
4604
4577
else
4605
4578
  lt_cv_nm_interface="BSD nm"
4606
4579
  echo "int some_variable = 0;" > conftest.$ac_ext
4607
 
  (eval echo "\"\$as_me:4607: $ac_compile\"" >&5)
 
4580
  (eval echo "\"\$as_me:4580: $ac_compile\"" >&5)
4608
4581
  (eval "$ac_compile" 2>conftest.err)
4609
4582
  cat conftest.err >&5
4610
 
  (eval echo "\"\$as_me:4610: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4583
  (eval echo "\"\$as_me:4583: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4611
4584
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4612
4585
  cat conftest.err >&5
4613
 
  (eval echo "\"\$as_me:4613: output\"" >&5)
 
4586
  (eval echo "\"\$as_me:4586: output\"" >&5)
4614
4587
  cat conftest.out >&5
4615
4588
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4616
4589
    lt_cv_nm_interface="MS dumpbin"
5816
5789
  ;;
5817
5790
*-*-irix6*)
5818
5791
  # Find out which ABI we are using.
5819
 
  echo '#line 5819 "configure"' > conftest.$ac_ext
 
5792
  echo '#line 5792 "configure"' > conftest.$ac_ext
5820
5793
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5821
5794
  (eval $ac_compile) 2>&5
5822
5795
  ac_status=$?
7346
7319
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7347
7320
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7348
7321
   -e 's:$: $lt_compiler_flag:'`
7349
 
   (eval echo "\"\$as_me:7349: $lt_compile\"" >&5)
 
7322
   (eval echo "\"\$as_me:7322: $lt_compile\"" >&5)
7350
7323
   (eval "$lt_compile" 2>conftest.err)
7351
7324
   ac_status=$?
7352
7325
   cat conftest.err >&5
7353
 
   echo "$as_me:7353: \$? = $ac_status" >&5
 
7326
   echo "$as_me:7326: \$? = $ac_status" >&5
7354
7327
   if (exit $ac_status) && test -s "$ac_outfile"; then
7355
7328
     # The compiler can only warn and ignore the option if not recognized
7356
7329
     # So say no if there are warnings other than the usual output.
7685
7658
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7686
7659
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7687
7660
   -e 's:$: $lt_compiler_flag:'`
7688
 
   (eval echo "\"\$as_me:7688: $lt_compile\"" >&5)
 
7661
   (eval echo "\"\$as_me:7661: $lt_compile\"" >&5)
7689
7662
   (eval "$lt_compile" 2>conftest.err)
7690
7663
   ac_status=$?
7691
7664
   cat conftest.err >&5
7692
 
   echo "$as_me:7692: \$? = $ac_status" >&5
 
7665
   echo "$as_me:7665: \$? = $ac_status" >&5
7693
7666
   if (exit $ac_status) && test -s "$ac_outfile"; then
7694
7667
     # The compiler can only warn and ignore the option if not recognized
7695
7668
     # So say no if there are warnings other than the usual output.
7790
7763
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7791
7764
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7792
7765
   -e 's:$: $lt_compiler_flag:'`
7793
 
   (eval echo "\"\$as_me:7793: $lt_compile\"" >&5)
 
7766
   (eval echo "\"\$as_me:7766: $lt_compile\"" >&5)
7794
7767
   (eval "$lt_compile" 2>out/conftest.err)
7795
7768
   ac_status=$?
7796
7769
   cat out/conftest.err >&5
7797
 
   echo "$as_me:7797: \$? = $ac_status" >&5
 
7770
   echo "$as_me:7770: \$? = $ac_status" >&5
7798
7771
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7799
7772
   then
7800
7773
     # The compiler can only warn and ignore the option if not recognized
7845
7818
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7846
7819
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7847
7820
   -e 's:$: $lt_compiler_flag:'`
7848
 
   (eval echo "\"\$as_me:7848: $lt_compile\"" >&5)
 
7821
   (eval echo "\"\$as_me:7821: $lt_compile\"" >&5)
7849
7822
   (eval "$lt_compile" 2>out/conftest.err)
7850
7823
   ac_status=$?
7851
7824
   cat out/conftest.err >&5
7852
 
   echo "$as_me:7852: \$? = $ac_status" >&5
 
7825
   echo "$as_me:7825: \$? = $ac_status" >&5
7853
7826
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7854
7827
   then
7855
7828
     # The compiler can only warn and ignore the option if not recognized
10228
10201
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10229
10202
  lt_status=$lt_dlunknown
10230
10203
  cat > conftest.$ac_ext <<_LT_EOF
10231
 
#line 10231 "configure"
 
10204
#line 10204 "configure"
10232
10205
#include "confdefs.h"
10233
10206
 
10234
10207
#if HAVE_DLFCN_H
10324
10297
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10325
10298
  lt_status=$lt_dlunknown
10326
10299
  cat > conftest.$ac_ext <<_LT_EOF
10327
 
#line 10327 "configure"
 
10300
#line 10300 "configure"
10328
10301
#include "confdefs.h"
10329
10302
 
10330
10303
#if HAVE_DLFCN_H
10683
10656
... rest of stderr output deleted ...
10684
10657
         10q' conftest.err >conftest.er1
10685
10658
    cat conftest.er1 >&5
 
10659
    rm -f conftest.er1 conftest.err
10686
10660
  fi
10687
 
  rm -f conftest.er1 conftest.err
10688
10661
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10689
10662
  test $ac_status = 0; }
10690
10663
done
11068
11041
... rest of stderr output deleted ...
11069
11042
         10q' conftest.err >conftest.er1
11070
11043
    cat conftest.er1 >&5
 
11044
    rm -f conftest.er1 conftest.err
11071
11045
  fi
11072
 
  rm -f conftest.er1 conftest.err
11073
11046
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11074
11047
  test $ac_status = 0; }
11075
11048
done
13212
13185
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13213
13186
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13214
13187
   -e 's:$: $lt_compiler_flag:'`
13215
 
   (eval echo "\"\$as_me:13215: $lt_compile\"" >&5)
 
13188
   (eval echo "\"\$as_me:13188: $lt_compile\"" >&5)
13216
13189
   (eval "$lt_compile" 2>conftest.err)
13217
13190
   ac_status=$?
13218
13191
   cat conftest.err >&5
13219
 
   echo "$as_me:13219: \$? = $ac_status" >&5
 
13192
   echo "$as_me:13192: \$? = $ac_status" >&5
13220
13193
   if (exit $ac_status) && test -s "$ac_outfile"; then
13221
13194
     # The compiler can only warn and ignore the option if not recognized
13222
13195
     # So say no if there are warnings other than the usual output.
13311
13284
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13312
13285
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13313
13286
   -e 's:$: $lt_compiler_flag:'`
13314
 
   (eval echo "\"\$as_me:13314: $lt_compile\"" >&5)
 
13287
   (eval echo "\"\$as_me:13287: $lt_compile\"" >&5)
13315
13288
   (eval "$lt_compile" 2>out/conftest.err)
13316
13289
   ac_status=$?
13317
13290
   cat out/conftest.err >&5
13318
 
   echo "$as_me:13318: \$? = $ac_status" >&5
 
13291
   echo "$as_me:13291: \$? = $ac_status" >&5
13319
13292
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13320
13293
   then
13321
13294
     # The compiler can only warn and ignore the option if not recognized
13363
13336
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13364
13337
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13365
13338
   -e 's:$: $lt_compiler_flag:'`
13366
 
   (eval echo "\"\$as_me:13366: $lt_compile\"" >&5)
 
13339
   (eval echo "\"\$as_me:13339: $lt_compile\"" >&5)
13367
13340
   (eval "$lt_compile" 2>out/conftest.err)
13368
13341
   ac_status=$?
13369
13342
   cat out/conftest.err >&5
13370
 
   echo "$as_me:13370: \$? = $ac_status" >&5
 
13343
   echo "$as_me:13343: \$? = $ac_status" >&5
13371
13344
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13372
13345
   then
13373
13346
     # The compiler can only warn and ignore the option if not recognized
14314
14287
 
14315
14288
 
14316
14289
# checks for libraries.
14317
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_filesystem-mt" >&5
14318
 
$as_echo_n "checking for main in -lboost_filesystem-mt... " >&6; }
14319
 
if test "${ac_cv_lib_boost_filesystem_mt_main+set}" = set; then :
14320
 
  $as_echo_n "(cached) " >&6
14321
 
else
14322
 
  ac_check_lib_save_LIBS=$LIBS
14323
 
LIBS="-lboost_filesystem-mt  $LIBS"
14324
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14325
 
/* end confdefs.h.  */
14326
 
 
14327
 
 
14328
 
int
14329
 
main ()
14330
 
{
14331
 
return main ();
14332
 
  ;
14333
 
  return 0;
14334
 
}
14335
 
_ACEOF
14336
 
if ac_fn_c_try_link "$LINENO"; then :
14337
 
  ac_cv_lib_boost_filesystem_mt_main=yes
14338
 
else
14339
 
  ac_cv_lib_boost_filesystem_mt_main=no
14340
 
fi
14341
 
rm -f core conftest.err conftest.$ac_objext \
14342
 
    conftest$ac_exeext conftest.$ac_ext
14343
 
LIBS=$ac_check_lib_save_LIBS
14344
 
fi
14345
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_filesystem_mt_main" >&5
14346
 
$as_echo "$ac_cv_lib_boost_filesystem_mt_main" >&6; }
14347
 
if test "x$ac_cv_lib_boost_filesystem_mt_main" = x""yes; then :
14348
 
  cat >>confdefs.h <<_ACEOF
14349
 
#define HAVE_LIBBOOST_FILESYSTEM_MT 1
14350
 
_ACEOF
14351
 
 
14352
 
  LIBS="-lboost_filesystem-mt $LIBS"
14353
 
 
14354
 
else
14355
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to find Boost Filesystem library - the library tests may not compile!" >&5
14356
 
$as_echo "$as_me: WARNING: Unable to find Boost Filesystem library - the library tests may not compile!" >&2;}
14357
 
fi
14358
 
 
14359
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_thread-mt" >&5
14360
 
$as_echo_n "checking for main in -lboost_thread-mt... " >&6; }
14361
 
if test "${ac_cv_lib_boost_thread_mt_main+set}" = set; then :
14362
 
  $as_echo_n "(cached) " >&6
14363
 
else
14364
 
  ac_check_lib_save_LIBS=$LIBS
14365
 
LIBS="-lboost_thread-mt  $LIBS"
14366
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14367
 
/* end confdefs.h.  */
14368
 
 
14369
 
 
14370
 
int
14371
 
main ()
14372
 
{
14373
 
return main ();
14374
 
  ;
14375
 
  return 0;
14376
 
}
14377
 
_ACEOF
14378
 
if ac_fn_c_try_link "$LINENO"; then :
14379
 
  ac_cv_lib_boost_thread_mt_main=yes
14380
 
else
14381
 
  ac_cv_lib_boost_thread_mt_main=no
14382
 
fi
14383
 
rm -f core conftest.err conftest.$ac_objext \
14384
 
    conftest$ac_exeext conftest.$ac_ext
14385
 
LIBS=$ac_check_lib_save_LIBS
14386
 
fi
14387
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_thread_mt_main" >&5
14388
 
$as_echo "$ac_cv_lib_boost_thread_mt_main" >&6; }
14389
 
if test "x$ac_cv_lib_boost_thread_mt_main" = x""yes; then :
14390
 
  cat >>confdefs.h <<_ACEOF
14391
 
#define HAVE_LIBBOOST_THREAD_MT 1
14392
 
_ACEOF
14393
 
 
14394
 
  LIBS="-lboost_thread-mt $LIBS"
14395
 
 
14396
 
else
14397
 
  as_fn_error "Unable to find Boost Thread library" "$LINENO" 5
14398
 
fi
14399
 
 
14400
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_initialize in -lsqlite3" >&5
14401
 
$as_echo_n "checking for sqlite3_initialize in -lsqlite3... " >&6; }
14402
 
if test "${ac_cv_lib_sqlite3_sqlite3_initialize+set}" = set; then :
14403
 
  $as_echo_n "(cached) " >&6
14404
 
else
14405
 
  ac_check_lib_save_LIBS=$LIBS
14406
 
LIBS="-lsqlite3  $LIBS"
14407
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14408
 
/* end confdefs.h.  */
14409
 
 
14410
 
/* Override any GCC internal prototype to avoid an error.
14411
 
   Use char because int might match the return type of a GCC
14412
 
   builtin and then its argument prototype would still apply.  */
14413
 
#ifdef __cplusplus
14414
 
extern "C"
14415
 
#endif
14416
 
char sqlite3_initialize ();
14417
 
int
14418
 
main ()
14419
 
{
14420
 
return sqlite3_initialize ();
14421
 
  ;
14422
 
  return 0;
14423
 
}
14424
 
_ACEOF
14425
 
if ac_fn_c_try_link "$LINENO"; then :
14426
 
  ac_cv_lib_sqlite3_sqlite3_initialize=yes
14427
 
else
14428
 
  ac_cv_lib_sqlite3_sqlite3_initialize=no
14429
 
fi
14430
 
rm -f core conftest.err conftest.$ac_objext \
14431
 
    conftest$ac_exeext conftest.$ac_ext
14432
 
LIBS=$ac_check_lib_save_LIBS
14433
 
fi
14434
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_initialize" >&5
14435
 
$as_echo "$ac_cv_lib_sqlite3_sqlite3_initialize" >&6; }
14436
 
if test "x$ac_cv_lib_sqlite3_sqlite3_initialize" = x""yes; then :
14437
 
  cat >>confdefs.h <<_ACEOF
14438
 
#define HAVE_LIBSQLITE3 1
14439
 
_ACEOF
14440
 
 
14441
 
  LIBS="-lsqlite3 $LIBS"
14442
 
 
14443
 
else
14444
 
  as_fn_error "Unable to find SQLite3 library" "$LINENO" 5
14445
 
fi
14446
 
 
14447
14290
 
14448
14291
# checks for header files.
14449
14292
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15107
14950
# values after options handling.
15108
14951
ac_log="
15109
14952
This file was extended by sqlite3cc $as_me 0.1.0, which was
15110
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
14953
generated by GNU Autoconf 2.64.  Invocation command line was
15111
14954
 
15112
14955
  CONFIG_FILES    = $CONFIG_FILES
15113
14956
  CONFIG_HEADERS  = $CONFIG_HEADERS
15147
14990
 
15148
14991
  -h, --help       print this help, then exit
15149
14992
  -V, --version    print version number and configuration settings, then exit
15150
 
      --config     print configuration, then exit
15151
14993
  -q, --quiet, --silent
15152
14994
                   do not print progress messages
15153
14995
  -d, --debug      don't remove temporary files
15171
15013
 
15172
15014
_ACEOF
15173
15015
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15174
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15175
15016
ac_cs_version="\\
15176
15017
sqlite3cc config.status 0.1.0
15177
 
configured by $0, generated by GNU Autoconf 2.65,
15178
 
  with options \\"\$ac_cs_config\\"
 
15018
configured by $0, generated by GNU Autoconf 2.64,
 
15019
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15179
15020
 
15180
15021
Copyright (C) 2009 Free Software Foundation, Inc.
15181
15022
This config.status script is free software; the Free Software Foundation
15213
15054
    ac_cs_recheck=: ;;
15214
15055
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15215
15056
    $as_echo "$ac_cs_version"; exit ;;
15216
 
  --config | --confi | --conf | --con | --co | --c )
15217
 
    $as_echo "$ac_cs_config"; exit ;;
15218
15057
  --debug | --debu | --deb | --de | --d | -d )
15219
15058
    debug=: ;;
15220
15059
  --file | --fil | --fi | --f )
15757
15596
t delim
15758
15597
:nl
15759
15598
h
15760
 
s/\(.\{148\}\)..*/\1/
 
15599
s/\(.\{148\}\).*/\1/
15761
15600
t more1
15762
15601
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15763
15602
p
15771
15610
t nl
15772
15611
:delim
15773
15612
h
15774
 
s/\(.\{148\}\)..*/\1/
 
15613
s/\(.\{148\}\).*/\1/
15775
15614
t more2
15776
15615
s/["\\]/\\&/g; s/^/"/; s/$/"/
15777
15616
p