You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<
9820
script type="application/json" data-target="react-app.embeddedData">{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"art","path":"art","contentType":"directory"},{"name":"autoconf","path":"autoconf","contentType":"directory"},{"name":"contrib","path":"contrib","contentType":"directory"},{"name":"doc","path":"doc","contentType":"directory"},{"name":"ext","path":"ext","contentType":"directory"},{"name":"mptest","path":"mptest","contentType":"directory"},{"name":"sqlcipher.xcodeproj","path":"sqlcipher.xcodeproj","contentType":"directory"},{"name":"src","path":"src","contentType":"directory"},{"name":"test","path":"test","contentType":"directory"},{"name":"tool","path":"tool","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":"CHANGELOG.md","path":"CHANGELOG.md","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"Makefile.arm-wince-mingw32ce-gcc","path":"Makefile.arm-wince-mingw32ce-gcc","contentType":"file"},{"name":"Makefile.in","path":"Makefile.in","contentType":"file"},{"name":"Makefile.linux-gcc","path":"Makefile.linux-gcc","contentType":"file"},{"name":"Makefile.msc","path":"Makefile.msc","contentType":"file"},{"name":"Makefile.vxworks","path":"Makefile.vxworks","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"VERSION","path":"VERSION","contentType":"file"},{"name":"aclocal.m4","path":"aclocal.m4","contentType":"file"},{"name":"addopcodes.awk","path":"addopcodes.awk","contentType":"file"},{"name":"config.guess","path":"config.guess","contentType":"file"},{"name":"config.h.in","path":"config.h.in","contentType":"file"},{"name":"config.sub","path":"config.sub","contentType":"file"},{"name":"configure","path":"configure","contentType":"file"},{"name":"configure.ac","path":"configure.ac","contentType":"file"},{"name":"install-sh","path":"install-sh","contentType":"file"},{"name":"ltmain.sh","path":"ltmain.sh","contentType":"file"},{"name":"magic.txt","path":"magic.txt","contentType":"file"},{"name":"main.mk","path":"main.mk","contentType":"file"},{"name":"manifest","path":"manifest","contentType":"file"},{"name":"manifest.uuid","path":"manifest.uuid","contentType":"file"},{"name":"mkopcodec.awk","path":"mkopcodec.awk","contentType":"file"},{"name":"mkopcodeh.awk","path":"mkopcodeh.awk","contentType":"file"},{"name":"mkso.sh","path":"mkso.sh","contentType":"file"},{"name":"spec.template","path":"spec.template","contentType":"file"},{"name":"sqlcipher-1.1.8-testkey.db","path":"sqlcipher-1.1.8-testkey.db","contentType":"file"},{"name":"sqlcipher-2.0-be-testkey.db","path":"sqlcipher-2.0-be-testkey.db","contentType":"file"},{"name":"sqlcipher-2.0-beta-testkey.db","path":"sqlcipher-2.0-beta-testkey.db","contentType":"file"},{"name":"sqlcipher-2.0-le-testkey.db","path":"sqlcipher-2.0-le-testkey.db","contentType":"file"},{"name":"sqlcipher-3.0-testkey.db","path":"sqlcipher-3.0-testkey.db","contentType":"file"},{"name":"sqlcipher.1","path":"sqlcipher.1","contentType":"file"},{"name":"sqlcipher.pc.in","path":"sqlcipher.pc.in","contentType":"file"},{"name":"sqlite.pc.in","path":"sqlite.pc.in","contentType":"file"}],"totalCount":45}},"fileTreeProcessingTime":2.170848,"foldersToFetch":[],"incompleteFileTree":false,"repo":{"id":49190703,"defaultBranch":"master","name":"sqlcipher","ownerLogin":"pysong","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2016-01-07T08:07:35.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/13842542?v=4","public":true,"private":false,"isOrgOwned":true},"codeLineWrapEnabled":false,"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1614802484.34772","canEdit":false,"refType":"branch","currentOid":"c01b94fb6a6b54e00b9839e7314893f72c9dab22"},"path":"configure.ac","currentUser":null,"blob":{"rawLines":["#","# The build process allows for using a cross-compiler. But the default","# action is to target the same platform that we are running on. The","# configure script needs to discover the following properties of the ","# build and target systems:","#","# srcdir","#","# The is the name of the directory that contains the","# \"configure\" shell script. All source files are","# located relative to this directory.","#","# bindir","#","# The name of the directory where executables should be","# written by the \"install\" target of the makefile.","#","# program_prefix","#","# Add this prefix to the names of all executables that run","# on the target machine. Default: \"\"","#","# ENABLE_SHARED","#","# True if shared libraries should be generated.","#","# BUILD_CC","#","# The name of a command that is used to convert C","# source files into executables that run on the build","# platform.","#","# BUILD_CFLAGS","#","# Switches that the build compiler needs in order to construct","# command-line programs.","#","# BUILD_LIBS","#","# Libraries that the build compiler needs in order to construct","# command-line programs.","#","# BUILD_EXEEXT","#","# The filename extension for executables on the build","# platform. \"\" for Unix and \".exe\" for Windows.","#","# TCL_*","#","# Lots of values are read in from the tclConfig.sh script,","# if that script is available. This values are used for","# constructing and installing the TCL extension.","#","# TARGET_READLINE_LIBS","#","# This is the library directives passed to the target linker","# that cause the executable to link against the readline library.","# This might be a switch like \"-lreadline\" or pathnames of library","# file like \"../../src/libreadline.a\".","#","# TARGET_READLINE_INC","#","# This variables define the directory that contain header","# files for the readline library. If the compiler is able ","# to find \u003creadline.h\u003e on its own, then this can be blank.","#","# TARGET_EXEEXT","#","# The filename extension for executables on the","# target platform. \"\" for Unix and \".exe\" for windows.","#","# This configure.in file is easy to reuse on other projects. Just","# change the argument to AC_INIT(). And disable any features that","# you don't need (for example BLT) by erasing or commenting out","# the corresponding code.","#","AC_INIT(sqlcipher, m4_esyscmd([cat VERSION | tr -d '\\n']))","","dnl Make sure the local VERSION file matches this configure script","sqlite_version_sanity_check=`cat $srcdir/VERSION | tr -d '\\n'`","if test \"$PACKAGE_VERSION\" != \"$sqlite_version_sanity_check\" ; then","AC_MSG_ERROR([configure script is out of date:"," configure \\$PACKAGE_VERSION = $PACKAGE_VERSION"," top level VERSION file = $sqlite_version_sanity_check","please regen with autoconf])","fi","","#########","# Programs needed","#","AC_PROG_LIBTOOL","AC_PROG_INSTALL","AC_PROG_AWK","","#########","# Enable large file support (if special flags are necessary)","#","AC_SYS_LARGEFILE","","#########","# Check for needed/wanted data types","AC_CHECK_TYPES([int8_t, int16_t, int32_t, int64_t, intptr_t, uint8_t,"," uint16_t, uint32_t, uint64_t, uintptr_t])","","#########","# Check for needed/wanted headers","AC_CHECK_HEADERS([sys/types.h stdlib.h stdint.h inttypes.h malloc.h])","","#########","# Figure out whether or not we have these functions","#","AC_CHECK_FUNCS([fdatasync gmtime_r isnan localtime_r localtime_s malloc_usable_size strchrnul usleep utime])","","#########","# By default, we use the amalgamation (this may be changed below...)","#","USE_AMALGAMATION=1","","#########","# See whether we can run specific tclsh versions known to work well;","# if not, then we fall back to plain tclsh.","# TODO: try other versions before falling back?","# ","AC_CHECK_PROGS(TCLSH_CMD, [tclsh8.6 tclsh8.5 tclsh], none)","if test \"$TCLSH_CMD\" = \"none\"; then"," # If we can't find a local tclsh, then building the amalgamation will fail."," # We act as though --disable-amalgamation has been used."," echo \"Warning: can't find tclsh - defaulting to non-amalgamation build.\""," USE_AMALGAMATION=0"," TCLSH_CMD=\"tclsh\"","fi","AC_SUBST(TCLSH_CMD)","","AC_ARG_VAR([TCLLIBDIR], [Where to install tcl plugin])","if test \"x${TCLLIBDIR+set}\" != \"xset\" ; then"," TCLLIBDIR='$(libdir)'"," for i in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}` ; do"," TCLLIBDIR=$i"," break"," done"," TCLLIBDIR=\"${TCLLIBDIR}/sqlite3\"","fi","","#########","# Set up an appropriate program prefix","#","if test \"$program_prefix\" = \"NONE\"; then"," program_prefix=\"\"","fi","AC_SUBST(program_prefix)","","VERSION=[`cat $srcdir/VERSION | sed 's/^\\([0-9]*\\.*[0-9]*\\).*/\\1/'`]","AC_MSG_NOTICE(Version set to $VERSION)","AC_SUBST(VERSION)","RELEASE=`cat $srcdir/VERSION`","AC_MSG_NOTICE(Release set to $RELEASE)","AC_SUBST(RELEASE)","VERSION_NUMBER=[`cat $srcdir/VERSION \\"," | sed 's/[^0-9]/ /g' \\"," | awk '{printf \"%d%03d%03d\",$1,$2,$3}'`]","AC_MSG_NOTICE(Version number set to $VERSION_NUMBER)","AC_SUBST(VERSION_NUMBER)","","#########","# Locate a compiler for the build machine. This compiler should","# generate command-line programs that run on the build machine.","#","if test x\"$cross_compiling\" = xno; then","\tBUILD_CC=$CC","\tBUILD_CFLAGS=$CFLAGS","else","\tif test \"${BUILD_CC+set}\" != set; then","\t\tAC_CHECK_PROGS(BUILD_CC, gcc cc cl)","\tfi","\tif test \"${BUILD_CFLAGS+set}\" != set; then","\t\tBUILD_CFLAGS=\"-g\"","\tfi","fi","AC_SUBST(BUILD_CC)","","##########","# Do we want to support multithreaded use of sqlite","#","AC_ARG_ENABLE(threadsafe, ","AC_HELP_STRING([--disable-threadsafe],[Disable mutexing]),,enable_threadsafe=yes)","AC_MSG_CHECKING([whether to support threadsafe operation])","if test \"$enable_threadsafe\" = \"no\"; then"," SQLITE_THREADSAFE=0"," AC_MSG_RESULT([no])","else"," SQLITE_THREADSAFE=1"," AC_MSG_RESULT([yes])","fi","AC_SUBST(SQLITE_THREADSAFE)","","if test \"$SQLITE_THREADSAFE\" = \"1\"; then"," AC_SEARCH_LIBS(pthread_create, pthread)","fi","","##########","# Which crypto library do we use","#","AC_ARG_WITH([crypto-lib],","AC_HELP_STRING([--with-crypto-lib],[Specify which crypto library to use]),","crypto_lib=$withval)","AC_MSG_CHECKING([for crypto library to use])","if test \"$crypto_lib\" = \"none\"; then"," AC_MSG_RESULT([none])","else"," if test \"$crypto_lib\" = \"commoncrypto\"; then"," CFLAGS+=\" -DSQLCIPHER_CRYPTO_CC\""," BUILD_CFLAGS+=\" -DSQLCIPHER_CRYPTO_CC\"","\t AC_MSG_RESULT([commoncrypto])"," else"," if test \"$crypto_lib\" = \"libtomcrypt\"; then"," CFLAGS+=\" -DSQLCIPHER_CRYPTO_LIBTOMCRYPT\""," BUILD_CFLAGS+=\" -DSQLCIPHER_CRYPTO_LIBTOMCRYPT\""," AC_MSG_RESULT([libtomcrypt])"," AC_CHECK_LIB([tomcrypt], [register_cipher], ,"," AC_MSG_ERROR([Library crypto not found. Install libtomcrypt!\"]))"," else"," CFLAGS+=\" -DSQLCIPHER_CRYPTO_OPENSSL\""," BUILD_CFLAGS+=\" -DSQLCIPHER_CRYPTO_OPENSSL\"","\t AC_MSG_RESULT([openssl])"," AC_CHECK_LIB([crypto], [HMAC_Init_ex], ,"," AC_MSG_ERROR([Library crypto not found. Install openssl!\"]))"," fi"," fi","fi","","##########","# Do we want to allow a connection created in one thread to be used","# in another thread. This does not work on many Linux systems (ex: RedHat 9)","# due to bugs in the threading implementations. This is thus off by default.","#","AC_ARG_ENABLE(cross-thread-connections, ","AC_HELP_STRING([--enable-cross-thread-connections],[Allow connection sharing across threads]),,enable_xthreadconnect=no)","AC_MSG_CHECKING([whether to allow connections to be shared across threads])","if test \"$enable_xthreadconnect\" = \"no\"; then"," XTHREADCONNECT=''"," AC_MSG_RESULT([no])","else"," XTHREADCONNECT='-DSQLITE_ALLOW_XTHREAD_CONNECT=1'"," AC_MSG_RESULT([yes])","fi","AC_SUBST(XTHREADCONNECT)","","##########","# Do we want to support release","#","AC_ARG_ENABLE(releasemode, ","AC_HELP_STRING([--enable-releasemode],[Support libtool link to release mode]),,enable_releasemode=no)","AC_MSG_CHECKING([whether to support shared library linked as release mode or not])","if test \"$enable_releasemode\" = \"no\"; then"," ALLOWRELEASE=\"\""," AC_MSG_RESULT([no])","else"," ALLOWRELEASE=\"-release `cat $srcdir/VERSION`\""," AC_MSG_RESULT([yes])","fi","AC_SUBST(ALLOWRELEASE)","","##########","# Do we want temporary databases in memory","#","AC_ARG_ENABLE(tempstore, ","AC_HELP_STRING([--enable-tempstore],[Use an in-ram database for temporary tables (never,no,yes,always)]),,enable_tempstore=no)","AC_MSG_CHECKING([whether to use an in-ram database for temporary tables])","case \"$enable_tempstore\" in"," never ) "," TEMP_STORE=0"," AC_MSG_RESULT([never])"," ;;"," no ) "," TEMP_STORE=1"," AC_MSG_RESULT([no])"," ;;"," yes ) "," TEMP_STORE=2"," AC_MSG_RESULT([yes])"," ;;"," always ) "," TEMP_STORE=3"," AC_MSG_RESULT([always])"," ;;"," * ) "," TEMP_STORE=1"," AC_MSG_RESULT([no])"," ;;","esac","","AC_SUBST(TEMP_STORE)","","###########","# Lots of things are different if we are compiling for Windows using","# the CYGWIN environment. So check for that special case and handle","# things accordingly.","#","AC_MSG_CHECKING([if executables have the .exe suffix])","if test \"$config_BUILD_EXEEXT\" = \".exe\"; then"," CYGWIN=yes"," AC_MSG_RESULT(yes)","else"," AC_MSG_RESULT(unknown)","fi","if test \"$CYGWIN\" != \"yes\"; then"," AC_CYGWIN","fi","if test \"$CYGWIN\" = \"yes\"; then"," BUILD_EXEEXT=.exe","else"," BUILD_EXEEXT=$EXEEXT","fi","if test x\"$cross_compiling\" = xno; then"," TARGET_EXEEXT=$BUILD_EXEEXT","else"," TARGET_EXEEXT=$config_TARGET_EXEEXT","fi","if test \"$TARGET_EXEEXT\" = \".exe\"; then"," SQLITE_OS_UNIX=0"," SQLITE_OS_WIN=1"," CFLAGS=\"$CFLAGS -DSQLITE_OS_WIN=1\"","else"," SQLITE_OS_UNIX=1"," SQLITE_OS_WIN=0"," CFLAGS=\"$CFLAGS -DSQLITE_OS_UNIX=1\"","fi","","AC_SUBST(BUILD_EXEEXT)","AC_SUBST(SQLITE_OS_UNIX)","AC_SUBST(SQLITE_OS_WIN)","AC_SUBST(TARGET_EXEEXT)","","##########","# Figure out all the parameters needed to compile against Tcl.","#","# This code is derived from the SC_PATH_TCLCONFIG and SC_LOAD_TCLCONFIG","# macros in the in the tcl.m4 file of the standard TCL distribution.","# Those macros could not be used directly since we have to make some","# minor changes to accomodate systems that do not have TCL installed.","#","AC_ARG_ENABLE(tcl, AC_HELP_STRING([--disable-tcl],[do not build TCL extension]),"," [use_tcl=$enableval],[use_tcl=yes])","if test \"${use_tcl}\" = \"yes\" ; then"," AC_ARG_WITH(tcl, AC_HELP_STRING([--with-tcl=DIR],[directory containing tcl configuration (tclConfig.sh)]), with_tclconfig=${withval})"," AC_MSG_CHECKING([for Tcl configuration])"," AC_CACHE_VAL(ac_cv_c_tclconfig,["," # First check to see if --with-tcl was specified."," if test x\"${with_tclconfig}\" != x ; then"," if test -f \"${with_tclconfig}/tclConfig.sh\" ; then"," ac_cv_c_tclconfig=`(cd ${with_tclconfig}; pwd)`"," else"," AC_MSG_ERROR([${with_tclconfig} directory doesn't contain tclConfig.sh])"," fi"," fi",""," # Start autosearch by asking tclsh"," if test x\"${ac_cv_c_tclconfig}\" = x ; then"," if test x\"$cross_compiling\" = xno; then"," for i in `echo 'puts stdout $auto_path' | ${TCLSH_CMD}`"," do"," if test -f \"$i/tclConfig.sh\" ; then"," ac_cv_c_tclconfig=\"$i\""," break"," fi"," done"," fi"," fi",""," # then check for a private Tcl installation"," if test x\"${ac_cv_c_tclconfig}\" = x ; then"," for i in \\"," ../tcl \\"," `ls -dr ../tcl[[8-9]].[[0-9]].[[0-9]]* 2\u003e/dev/null` \\"," `ls -dr ../tcl[[8-9]].[[0-9]] 2\u003e/dev/null` \\"," `ls -dr ../tcl[[8-9]].[[0-9]]* 2\u003e/dev/null` \\"," ../../tcl \\"," `ls -dr ../../tcl[[8-9]].[[0-9]].[[0-9]]* 2\u003e/dev/null` \\"," `ls -dr ../../tcl[[8-9]].[[0-9]] 2\u003e/dev/null` \\"," `ls -dr ../../tcl[[8-9]].[[0-9]]* 2\u003e/dev/null` \\"," ../../../tcl \\"," `ls -dr ../../../tcl[[8-9]].[[0-9]].[[0-9]]* 2\u003e/dev/null` \\"," `ls -dr ../../../tcl[[8-9]].[[0-9]] 2\u003e/dev/null` \\"," `ls -dr ../../../tcl[[8-9]].[[0-9]]* 2\u003e/dev/null`"," do"," if test -f \"$i/unix/tclConfig.sh\" ; then"," ac_cv_c_tclconfig=`(cd $i/unix; pwd)`"," break"," fi"," done"," fi",""," # check in a few common install locations"," if test x\"${ac_cv_c_tclconfig}\" = x ; then"," for i in \\"," `ls -d ${libdir} 2\u003e/dev/null` \\"," `ls -d /usr/local/lib 2\u003e/dev/null` \\"," `ls -d /usr/contrib/lib 2\u003e/dev/null` \\"," `ls -d /usr/lib 2\u003e/dev/null`"," do"," if test -f \"$i/tclConfig.sh\" ; then"," ac_cv_c_tclconfig=`(cd $i; pwd)`"," break"," fi"," done"," fi",""," # check in a few other private locations"," if test x\"${ac_cv_c_tclconfig}\" = x ; then"," for i in \\"," ${srcdir}/../tcl \\"," `ls -dr ${srcdir}/../tcl[[8-9]].[[0-9]].[[0-9]]* 2\u003e/dev/null` \\"," `ls -dr ${srcdir}/../tcl[[8-9]].[[0-9]] 2\u003e/dev/null` \\"," `ls -dr ${srcdir}/../tcl[[8-9]].[[0-9]]* 2\u003e/dev/null`"," do"," if test -f \"$i/unix/tclConfig.sh\" ; then"," ac_cv_c_tclconfig=`(cd $i/unix; pwd)`"," break"," fi"," done"," fi"," ])",""," if test x\"${ac_cv_c_tclconfig}\" = x ; then"," use_tcl=no"," AC_MSG_WARN(Can't find Tcl configuration definitions)"," AC_MSG_WARN(*** Without Tcl the regression tests cannot be executed ***)"," AC_MSG_WARN(*** Consider using --with-tcl=... to define location of Tcl ***)"," else"," TCL_BIN_DIR=${ac_cv_c_tclconfig}"," AC_MSG_RESULT(found $TCL_BIN_DIR/tclConfig.sh)",""," AC_MSG_CHECKING([for existence of $TCL_BIN_DIR/tclConfig.sh])"," if test -f \"$TCL_BIN_DIR/tclConfig.sh\" ; then"," AC_MSG_RESULT([loading])"," . $TCL_BIN_DIR/tclConfig.sh"," else"," AC_MSG_RESULT([file not found])"," fi"," "," #"," # If the TCL_BIN_DIR is the build directory (not the install directory),"," # then set the common variable name to the value of the build variables."," # For example, the variable TCL_LIB_SPEC will be set to the value"," # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC"," # instead of TCL_BUILD_LIB_SPEC since it will work with both an"," # installed and uninstalled version of Tcl."," #"," "," if test -f $TCL_BIN_DIR/Makefile ; then"," TCL_LIB_SPEC=${TCL_BUILD_LIB_SPEC}"," TCL_STUB_LIB_SPEC=${TCL_BUILD_STUB_LIB_SPEC}"," TCL_STUB_LIB_PATH=${TCL_BUILD_STUB_LIB_PATH}"," fi"," "," #"," # eval is required to do the TCL_DBGX substitution"," #"," "," eval \"TCL_LIB_FILE=\\\"${TCL_LIB_FILE}\\\"\""," eval \"TCL_LIB_FLAG=\\\"${TCL_LIB_FLAG}\\\"\""," eval \"TCL_LIB_SPEC=\\\"${TCL_LIB_SPEC}\\\"\""," "," eval \"TCL_STUB_LIB_FILE=\\\"${TCL_STUB_LIB_FILE}\\\"\""," eval \"TCL_STUB_LIB_FLAG=\\\"${TCL_STUB_LIB_FLAG}\\\"\""," eval \"TCL_STUB_LIB_SPEC=\\\"${TCL_STUB_LIB_SPEC}\\\"\""," "," AC_SUBST(TCL_VERSION)"," AC_SUBST(TCL_BIN_DIR)"," AC_SUBST(TCL_SRC_DIR)"," AC_SUBST(TCL_INCLUDE_SPEC)"," "," AC_SUBST(TCL_LIB_FILE)"," AC_SUBST(TCL_LIB_FLAG)"," AC_SUBST(TCL_LIB_SPEC)"," "," AC_SUBST(TCL_STUB_LIB_FILE)"," AC_SUBST(TCL_STUB_LIB_FLAG)"," AC_SUBST(TCL_STUB_LIB_SPEC)"," AC_SUBST(TCL_SHLIB_SUFFIX)"," fi","fi","if test \"${use_tcl}\" = \"no\" ; then"," HAVE_TCL=\"\"","else"," HAVE_TCL=1","fi","AC_SUBST(HAVE_TCL)","","##########","# Figure out what C libraries are required to compile programs","# that use \"readline()\" library.","#","TARGET_READLINE_LIBS=\"\"","TARGET_READLINE_INC=\"\"","TARGET_HAVE_READLINE=0","AC_ARG_ENABLE([readline],","\t[AC_HELP_STRING([--disable-readline],[disable readline support [default=detect]])],","\t[with_readline=$enableval],","\t[with_readline=auto])","","if test x\"$with_readline\" != xno; then","\tfound=\"yes\"","","\tAC_ARG_WITH([readline-lib],","\t\t[AC_HELP_STRING([--with-readline-lib],[specify readline library])],","\t\t[with_readline_lib=$withval],","\t\t[with_readline_lib=\"auto\"])","\tif test \"x$with_readline_lib\" = xauto; then","\t\tsave_LIBS=\"$LIBS\"","\t\tLIBS=\"\"","\t\tAC_SEARCH_LIBS(tgetent, [readline ncurses curses termcap], [term_LIBS=\"$LIBS\"], [term_LIBS=\"\"])","\t\tAC_CHECK_LIB([readline], [readline], [TARGET_READLINE_LIBS=\"-lreadline\"], [found=\"no\"])","\t\tTARGET_READLINE_LIBS=\"$TARGET_READLINE_LIBS $term_LIBS\"","\t\tLIBS=\"$save_LIBS\"","\telse","\t\tTARGET_READLINE_LIBS=\"$with_readline_lib\"","\tfi","","\tAC_ARG_WITH([readline-inc],","\t\t[AC_HELP_STRING([--with-readline-inc],[specify readline include paths])],","\t\t[with_readline_inc=$withval],","\t\t[with_readline_inc=\"auto\"])","\tif test \"x$with_readline_inc\" = xauto; then","\t\tAC_CHECK_HEADER(readline.h, [found=\"yes\"], [","\t\t\tfound=\"no\"","\t\t\tif test \"$cross_compiling\" != yes; then","\t\t\t\tfor dir in /usr /usr/local /usr/local/readline /usr/contrib /mingw; do","\t\t\t\t\tfor subdir in include include/readline; do","\t\t\t\t\t\tAC_CHECK_FILE($dir/$subdir/readline.h, found=yes)","\t\t\t\t\t\tif test \"$found\" = \"yes\"; then","\t\t\t\t\t\t\tTARGET_READLINE_INC=\"-I$dir/$subdir\"","\t\t\t\t\t\t\tbreak","\t\t\t\t\t\tfi","\t\t\t\t\tdone","\t\t\t\t\ttest \"$found\" = \"yes\" \u0026\u0026 break","\t\t\t\tdone","\t\t\tfi","\t\t])","\telse","\t\tTARGET_READLINE_INC=\"$with_readline_inc\"","\tfi","","\tif test x\"$found\" = xno; then","\t\tTARGET_READLINE_LIBS=\"\"","\t\tTARGET_READLINE_INC=\"\"","\t\tTARGET_HAVE_READLINE=0","\telse","\t\tTARGET_HAVE_READLINE=1","\tfi","fi","","AC_SUBST(TARGET_READLINE_LIBS)","AC_SUBST(TARGET_READLINE_INC)","AC_SUBST(TARGET_HAVE_READLINE)","","##########","# Figure out what C libraries are required to compile programs","# that use \"fdatasync()\" function.","#","AC_SEARCH_LIBS(fdatasync, [rt])","","#########","# check for debug enabled","AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug],[enable debugging \u0026 verbose explain]),"," [use_debug=$enableval],[use_debug=no])","if test \"${use_debug}\" = \"yes\" ; then"," TARGET_DEBUG=\"-DSQLITE_DEBUG=1\"","else"," TARGET_DEBUG=\"-DNDEBUG\"","fi","AC_SUBST(TARGET_DEBUG)","","#########","# See whether we should use the amalgamation to build","AC_ARG_ENABLE(amalgamation, AC_HELP_STRING([--disable-amalgamation],"," [Disable the amalgamation and instead build all files separately]),"," [use_amalgamation=$enableval],[use_amalgamation=yes])","if test \"${use_amalgamation}\" != \"yes\" ; then"," USE_AMALGAMATION=0","fi","AC_SUBST(USE_AMALGAMATION)","","#########","# See whether we should allow loadable extensions","AC_ARG_ENABLE(load-extension, AC_HELP_STRING([--disable-load-extension],"," [Disable loading of external extensions]),"," [use_loadextension=$enableval],[use_loadextension=yes])","if test \"${use_loadextension}\" = \"yes\" ; then"," OPT_FEATURE_FLAGS=\"\""," AC_SEARCH_LIBS(dlopen, dl)","else"," OPT_FEATURE_FLAGS=\"-DSQLITE_OMIT_LOAD_EXTENSION=1\"","fi","","#########","# attempt to duplicate any OMITS and ENABLES into the $(OPT_FEATURE_FLAGS) parameter","for option in $CFLAGS $CPPFLAGS","do"," case $option in"," -DSQLITE_OMIT*) OPT_FEATURE_FLAGS=\"$OPT_FEATURE_FLAGS $option\";;"," -DSQLITE_ENABLE*) OPT_FEATURE_FLAGS=\"$OPT_FEATURE_FLAGS $option\";;"," esac","done","AC_SUBST(OPT_FEATURE_FLAGS)","","","# attempt to remove any OMITS and ENABLES from the $(CFLAGS) parameter","ac_temp_CFLAGS=\"\"","for option in $CFLAGS","do"," case $option in"," -DSQLITE_OMIT*) ;;"," -DSQLITE_ENABLE*) ;;"," *) ac_temp_CFLAGS=\"$ac_temp_CFLAGS $option\";;"," esac","done","CFLAGS=$ac_temp_CFLAGS","","","# attempt to remove any OMITS and ENABLES from the $(CPPFLAGS) parameter","ac_temp_CPPFLAGS=\"\"","for option in $CPPFLAGS","do"," case $option in"," -DSQLITE_OMIT*) ;;"," -DSQLITE_ENABLE*) ;;"," *) ac_temp_CPPFLAGS=\"$ac_temp_CPPFLAGS $option\";;"," esac","done","CPPFLAGS=$ac_temp_CPPFLAGS","","","# attempt to remove any OMITS and ENABLES from the $(BUILD_CFLAGS) parameter","ac_temp_BUILD_CFLAGS=\"\"","for option in $BUILD_CFLAGS","do"," case $option in"," -DSQLITE_OMIT*) ;;"," -DSQLITE_ENABLE*) ;;"," *) ac_temp_BUILD_CFLAGS=\"$ac_temp_BUILD_CFLAGS $option\";;"," esac","done","BUILD_CFLAGS=$ac_temp_BUILD_CFLAGS","","","#########","# See whether we should use GCOV","AC_ARG_ENABLE(gcov, AC_HELP_STRING([--enable-gcov],"," [Enable coverage testing using gcov]),"," [use_gcov=$enableval],[use_gcov=no])","if test \"${use_gcov}\" = \"yes\" ; then"," USE_GCOV=1","else"," USE_GCOV=0","fi","AC_SUBST(USE_GCOV)","","","#########","# Output the config header","AC_CONFIG_HEADERS(config.h)","","#########","# Generate the output files.","#","AC_SUBST(BUILD_CFLAGS)","AC_OUTPUT([","Makefile","sqlcipher.pc","])"],"stylingDirectives":null,"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/pysong/sqlcipher/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"configure.ac","displayUrl":"https://github.com/pysong/sqlcipher/blob/master/configure.ac?raw=true","headerInfo":{"blobSize":"19.1 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"3585ae9","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fpysong%2Fsqlcipher%2Fblob%2Fmaster%2Fconfigure.ac","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"671","truncatedSloc":"613"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"M4Sugar","languageID":216,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/pysong/sqlcipher/blob/master/configure.ac","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/pysong/sqlcipher/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/pysong/sqlcipher/raw/refs/heads/master/configure.ac","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":null},"copilotInfo":null,"copilotAccessAllowed":false,"modelsAccessAllowed":false,"modelsRepoIntegrationEnabled":false,"csrf_tokens":{"/pysong/sqlcipher/branches":{"post":"Ifzw7MuvaRy6plu1eoQ0rDWkipvov41uajkDYsRcyWMobNYqLRpOcZNeCK45p3D1GUZEN3X_JqKIrphiPCK6GA"},"/repos/preferences":{"post":"BwTY2SY_CHEuYRSGLMiQFy14DzUNZ9plhgVJ9bqfnB_3eT9GPPHSDdw7qfOz8YNyS0hTvex1PnBNhsDAmPsJYA"}}},"title":"sqlcipher/configure.ac at master · pysong/sqlcipher","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-263cab1760dd.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1b17b3e7786a.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true}}}