49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
])
])
AC_ARG_ENABLE(static, AS_HELP_STRING([--enable-static], [build static library]))
AS_IF([test x"$enable_static" = x"yes" -o x"$enable_shared" = x"no"], [
AC_SUBST(OBJSQLITE3_STATIC_LIB, "libobjsqlite3.a")
AC_SUBST(EXCEPTIONS_A, "exceptions.a")
AC_SUBST(EXCEPTIONS_EXCEPTIONS_A, "exceptions/exceptions.a")
])
AC_ARG_WITH(sqlite3, AS_HELP_STRING([--with-sqlite3=PREFIX],
[build with SQLite3 in the specified prefix]))
AS_IF([test x"$with_sqlite3" != x"no" -a x"$with_sqlite3" != x""], [
SQLITE3_CPPFLAGS="-I$with_sqlite3/include"
SQLITE3_LIBS="-L$with_sqlite3/lib"
|
>
|
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
])
])
AC_ARG_ENABLE(static, AS_HELP_STRING([--enable-static], [build static library]))
AS_IF([test x"$enable_static" = x"yes" -o x"$enable_shared" = x"no"], [
AC_SUBST(OBJSQLITE3_STATIC_LIB, "libobjsqlite3.a")
AC_SUBST(EXCEPTIONS_A, "exceptions.a")
AC_SUBST(EXCEPTIONS_EXCEPTIONS_A, "exceptions/exceptions.a")
AC_SUBST(LIBOBJSQLITE3_DEP, "../src/libobjsqlite3.a")
])
AC_ARG_WITH(sqlite3, AS_HELP_STRING([--with-sqlite3=PREFIX],
[build with SQLite3 in the specified prefix]))
AS_IF([test x"$with_sqlite3" != x"no" -a x"$with_sqlite3" != x""], [
SQLITE3_CPPFLAGS="-I$with_sqlite3/include"
SQLITE3_LIBS="-L$with_sqlite3/lib"
|