/ Hex Artifact Content
Login

Artifact 8dd08ca564279fff091c9bfdd2599d8f992c9f1f70c5396de2126ad2bd1b3bed:


0000: 0a 23 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  .#--------------
0010: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0020: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0030: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0040: 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 23 20 53 75 70 70  ---------.# Supp
0050: 6f 72 74 73 20 74 68 65 20 66 6f 6c 6c 6f 77 69  orts the followi
0060: 6e 67 20 6e 6f 6e 2d 73 74 61 6e 64 61 72 64 20  ng non-standard 
0070: 73 77 69 74 63 68 65 73 2e 0a 23 0a 23 20 20 20  switches..#.#   
0080: 2d 2d 65 6e 61 62 6c 65 2d 74 68 72 65 61 64 73  --enable-threads
0090: 61 66 65 0a 23 20 20 20 2d 2d 65 6e 61 62 6c 65  afe.#   --enable
00a0: 2d 72 65 61 64 6c 69 6e 65 0a 23 20 20 20 2d 2d  -readline.#   --
00b0: 65 6e 61 62 6c 65 2d 65 64 69 74 6c 69 6e 65 0a  enable-editline.
00c0: 23 20 20 20 2d 2d 65 6e 61 62 6c 65 2d 73 74 61  #   --enable-sta
00d0: 74 69 63 2d 73 68 65 6c 6c 0a 23 20 20 20 2d 2d  tic-shell.#   --
00e0: 65 6e 61 62 6c 65 2d 64 79 6e 61 6d 69 63 2d 65  enable-dynamic-e
00f0: 78 74 65 6e 73 69 6f 6e 73 0a 23 0a 0a 41 43 5f  xtensions.#..AC_
0100: 50 52 45 52 45 51 28 32 2e 36 31 29 0a 41 43 5f  PREREQ(2.61).AC_
0110: 49 4e 49 54 28 73 71 6c 69 74 65 2c 20 2d 2d 53  INIT(sqlite, --S
0120: 51 4c 49 54 45 2d 56 45 52 53 49 4f 4e 2d 2d 2c  QLITE-VERSION--,
0130: 20 68 74 74 70 3a 2f 2f 77 77 77 2e 73 71 6c 69   http://www.sqli
0140: 74 65 2e 6f 72 67 29 0a 41 43 5f 43 4f 4e 46 49  te.org).AC_CONFI
0150: 47 5f 53 52 43 44 49 52 28 5b 73 71 6c 69 74 65  G_SRCDIR([sqlite
0160: 33 2e 63 5d 29 0a 41 43 5f 43 4f 4e 46 49 47 5f  3.c]).AC_CONFIG_
0170: 41 55 58 5f 44 49 52 28 5b 2e 5d 29 0a 0a 23 20  AUX_DIR([.])..# 
0180: 55 73 65 20 61 75 74 6f 6d 61 6b 65 2e 0a 41 4d  Use automake..AM
0190: 5f 49 4e 49 54 5f 41 55 54 4f 4d 41 4b 45 28 5b  _INIT_AUTOMAKE([
01a0: 66 6f 72 65 69 67 6e 5d 29 0a 0a 41 43 5f 53 59  foreign])..AC_SY
01b0: 53 5f 4c 41 52 47 45 46 49 4c 45 0a 0a 23 20 43  S_LARGEFILE..# C
01c0: 68 65 63 6b 20 66 6f 72 20 72 65 71 75 69 72 65  heck for require
01d0: 64 20 70 72 6f 67 72 61 6d 73 2e 0a 41 43 5f 50  d programs..AC_P
01e0: 52 4f 47 5f 43 43 0a 41 43 5f 50 52 4f 47 5f 4c  ROG_CC.AC_PROG_L
01f0: 49 42 54 4f 4f 4c 0a 41 43 5f 50 52 4f 47 5f 4d  IBTOOL.AC_PROG_M
0200: 4b 44 49 52 5f 50 0a 0a 23 20 43 68 65 63 6b 20  KDIR_P..# Check 
0210: 66 6f 72 20 6c 69 62 72 61 72 79 20 66 75 6e 63  for library func
0220: 74 69 6f 6e 73 20 74 68 61 74 20 53 51 4c 69 74  tions that SQLit
0230: 65 20 63 61 6e 20 6f 70 74 69 6f 6e 61 6c 6c 79  e can optionally
0240: 20 75 73 65 2e 0a 41 43 5f 43 48 45 43 4b 5f 46   use..AC_CHECK_F
0250: 55 4e 43 53 28 5b 66 64 61 74 61 73 79 6e 63 20  UNCS([fdatasync 
0260: 75 73 6c 65 65 70 20 66 75 6c 6c 66 73 79 6e 63  usleep fullfsync
0270: 20 6c 6f 63 61 6c 74 69 6d 65 5f 72 20 67 6d 74   localtime_r gmt
0280: 69 6d 65 5f 72 5d 29 0a 41 43 5f 46 55 4e 43 5f  ime_r]).AC_FUNC_
0290: 53 54 52 45 52 52 4f 52 5f 52 0a 0a 41 43 5f 43  STRERROR_R..AC_C
02a0: 4f 4e 46 49 47 5f 46 49 4c 45 53 28 5b 4d 61 6b  ONFIG_FILES([Mak
02b0: 65 66 69 6c 65 20 73 71 6c 69 74 65 33 2e 70 63  efile sqlite3.pc
02c0: 5d 29 0a 41 43 5f 53 55 42 53 54 28 42 55 49 4c  ]).AC_SUBST(BUIL
02d0: 44 5f 43 46 4c 41 47 53 29 0a 0a 23 2d 2d 2d 2d  D_CFLAGS)..#----
02e0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
02f0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0300: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0310: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0320: 2d 2d 2d 2d 2d 0a 23 20 54 77 6f 20 6f 70 74 69  -----.# Two opti
0330: 6f 6e 73 20 74 6f 20 65 6e 61 62 6c 65 20 72 65  ons to enable re
0340: 61 64 6c 69 6e 65 20 63 6f 6d 70 61 74 69 62 6c  adline compatibl
0350: 65 20 6c 69 62 72 61 72 69 65 73 3a 20 0a 23 0a  e libraries: .#.
0360: 23 20 20 20 2d 2d 65 6e 61 62 6c 65 2d 65 64 69  #   --enable-edi
0370: 74 6c 69 6e 65 0a 23 20 20 20 2d 2d 65 6e 61 62  tline.#   --enab
0380: 6c 65 2d 72 65 61 64 6c 69 6e 65 0a 23 0a 23 20  le-readline.#.# 
0390: 42 6f 74 68 20 61 72 65 20 65 6e 61 62 6c 65 64  Both are enabled
03a0: 20 62 79 20 64 65 66 61 75 6c 74 2e 20 49 66 2c   by default. If,
03b0: 20 61 66 74 65 72 20 63 6f 6d 6d 61 6e 64 20 6c   after command l
03c0: 69 6e 65 20 70 72 6f 63 65 73 73 69 6e 67 20 62  ine processing b
03d0: 6f 74 68 20 61 72 65 0a 23 20 73 74 69 6c 6c 20  oth are.# still 
03e0: 65 6e 61 62 6c 65 64 2c 20 74 68 65 20 73 63 72  enabled, the scr
03f0: 69 70 74 20 73 65 61 72 63 68 65 73 20 66 6f 72  ipt searches for
0400: 20 65 64 69 74 6c 69 6e 65 20 66 69 72 73 74 20   editline first 
0410: 61 6e 64 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c  and automaticall
0420: 79 0a 23 20 64 69 73 61 62 6c 65 73 20 72 65 61  y.# disables rea
0430: 64 6c 69 6e 65 20 69 66 20 69 74 20 69 73 20 66  dline if it is f
0440: 6f 75 6e 64 2e 20 53 6f 2c 20 74 6f 20 75 73 65  ound. So, to use
0450: 20 72 65 61 64 6c 69 6e 65 20 65 78 70 6c 69 63   readline explic
0460: 69 74 6c 79 2c 20 74 68 65 0a 23 20 75 73 65 72  itly, the.# user
0470: 20 6d 75 73 74 20 70 61 73 73 20 22 2d 2d 64 69   must pass "--di
0480: 73 61 62 6c 65 2d 65 64 69 74 6c 69 6e 65 22 2e  sable-editline".
0490: 20 54 6f 20 64 69 73 61 62 6c 65 20 63 6f 6d 6d   To disable comm
04a0: 61 6e 64 20 6c 69 6e 65 20 65 64 69 74 69 6e 67  and line editing
04b0: 0a 23 20 73 75 70 70 6f 72 74 20 61 6c 74 6f 67  .# support altog
04c0: 65 74 68 65 72 2c 20 22 2d 2d 64 69 73 61 62 6c  ether, "--disabl
04d0: 65 2d 65 64 69 74 6c 69 6e 65 20 2d 2d 64 69 73  e-editline --dis
04e0: 61 62 6c 65 2d 72 65 61 64 6c 69 6e 65 22 2e 0a  able-readline"..
04f0: 23 0a 23 20 57 68 65 6e 20 73 65 61 72 63 68 69  #.# When searchi
0500: 6e 67 20 66 6f 72 20 65 69 74 68 65 72 20 6c 69  ng for either li
0510: 62 72 61 72 79 2c 20 63 68 65 63 6b 20 66 6f 72  brary, check for
0520: 20 68 65 61 64 65 72 73 20 62 65 66 6f 72 65 20   headers before 
0530: 6c 69 62 72 61 72 69 65 73 20 0a 23 20 61 73 20  libraries .# as 
0540: 73 6f 6d 65 20 64 69 73 74 72 6f 73 20 73 75 70  some distros sup
0550: 70 6c 79 20 70 61 63 6b 61 67 65 73 20 74 68 61  ply packages tha
0560: 74 20 63 6f 6e 74 61 69 6e 20 6c 69 62 72 61 72  t contain librar
0570: 69 65 73 20 62 75 74 20 6e 6f 74 20 68 65 61 64  ies but not head
0580: 65 72 0a 23 20 66 69 6c 65 73 2c 20 77 68 69 63  er.# files, whic
0590: 68 20 63 6f 6d 65 20 61 73 20 61 20 73 65 70 61  h come as a sepa
05a0: 72 61 74 65 20 64 65 76 65 6c 6f 70 6d 65 6e 74  rate development
05b0: 20 70 61 63 6b 61 67 65 2e 0a 23 0a 41 43 5f 41   package..#.AC_A
05c0: 52 47 5f 45 4e 41 42 4c 45 28 65 64 69 74 6c 69  RG_ENABLE(editli
05d0: 6e 65 2c 20 5b 41 53 5f 48 45 4c 50 5f 53 54 52  ne, [AS_HELP_STR
05e0: 49 4e 47 28 5b 2d 2d 65 6e 61 62 6c 65 2d 65 64  ING([--enable-ed
05f0: 69 74 6c 69 6e 65 5d 2c 5b 75 73 65 20 42 53 44  itline],[use BSD
0600: 20 6c 69 62 65 64 69 74 5d 29 5d 29 0a 41 43 5f   libedit])]).AC_
0610: 41 52 47 5f 45 4e 41 42 4c 45 28 72 65 61 64 6c  ARG_ENABLE(readl
0620: 69 6e 65 2c 20 5b 41 53 5f 48 45 4c 50 5f 53 54  ine, [AS_HELP_ST
0630: 52 49 4e 47 28 5b 2d 2d 65 6e 61 62 6c 65 2d 72  RING([--enable-r
0640: 65 61 64 6c 69 6e 65 5d 2c 5b 75 73 65 20 72 65  eadline],[use re
0650: 61 64 6c 69 6e 65 5d 29 5d 29 0a 0a 41 53 5f 49  adline])])..AS_I
0660: 46 28 5b 20 74 65 73 74 20 78 22 24 65 6e 61 62  F([ test x"$enab
0670: 6c 65 5f 65 64 69 74 6c 69 6e 65 22 20 21 3d 20  le_editline" != 
0680: 78 6e 6f 20 5d 2c 5b 0a 20 20 41 43 5f 43 48 45  xno ],[.  AC_CHE
0690: 43 4b 5f 48 45 41 44 45 52 53 28 5b 65 64 69 74  CK_HEADERS([edit
06a0: 6c 69 6e 65 2f 72 65 61 64 6c 69 6e 65 2e 68 5d  line/readline.h]
06b0: 2c 5b 0a 20 20 20 20 73 4c 49 42 53 3d 24 4c 49  ,[.    sLIBS=$LI
06c0: 42 53 0a 20 20 20 20 4c 49 42 53 3d 22 22 0a 20  BS.    LIBS="". 
06d0: 20 20 20 41 43 5f 53 45 41 52 43 48 5f 4c 49 42     AC_SEARCH_LIB
06e0: 53 28 5b 72 65 61 64 6c 69 6e 65 5d 2c 5b 65 64  S([readline],[ed
06f0: 69 74 5d 2c 5b 0a 20 20 20 20 20 20 41 43 5f 44  it],[.      AC_D
0700: 45 46 49 4e 45 28 5b 48 41 56 45 5f 45 44 49 54  EFINE([HAVE_EDIT
0710: 4c 49 4e 45 5d 2c 31 2c 44 65 66 69 6e 65 20 74  LINE],1,Define t
0720: 6f 20 75 73 65 20 42 53 44 20 65 64 69 74 6c 69  o use BSD editli
0730: 6e 65 29 0a 20 20 20 20 20 20 52 45 41 44 4c 49  ne).      READLI
0740: 4e 45 5f 4c 49 42 53 3d 22 24 4c 49 42 53 20 2d  NE_LIBS="$LIBS -
0750: 6c 74 69 6e 66 6f 22 0a 20 20 20 20 20 20 65 6e  ltinfo".      en
0760: 61 62 6c 65 5f 72 65 61 64 6c 69 6e 65 3d 6e 6f  able_readline=no
0770: 0a 20 20 20 20 5d 2c 5b 5d 2c 5b 2d 6c 74 69 6e  .    ],[],[-ltin
0780: 66 6f 5d 29 0a 20 20 20 20 41 53 5f 55 4e 53 45  fo]).    AS_UNSE
0790: 54 28 61 63 5f 63 76 5f 73 65 61 72 63 68 5f 72  T(ac_cv_search_r
07a0: 65 61 64 6c 69 6e 65 29 0a 20 20 20 20 4c 49 42  eadline).    LIB
07b0: 53 3d 24 73 4c 49 42 53 0a 20 20 5d 29 0a 5d 29  S=$sLIBS.  ]).])
07c0: 0a 0a 41 53 5f 49 46 28 5b 20 74 65 73 74 20 78  ..AS_IF([ test x
07d0: 22 24 65 6e 61 62 6c 65 5f 72 65 61 64 6c 69 6e  "$enable_readlin
07e0: 65 22 20 21 3d 20 78 6e 6f 20 5d 2c 5b 0a 20 20  e" != xno ],[.  
07f0: 41 43 5f 43 48 45 43 4b 5f 48 45 41 44 45 52 53  AC_CHECK_HEADERS
0800: 28 5b 72 65 61 64 6c 69 6e 65 2f 72 65 61 64 6c  ([readline/readl
0810: 69 6e 65 2e 68 5d 2c 5b 0a 20 20 20 20 73 4c 49  ine.h],[.    sLI
0820: 42 53 3d 24 4c 49 42 53 0a 20 20 20 20 4c 49 42  BS=$LIBS.    LIB
0830: 53 3d 22 22 0a 20 20 20 20 41 43 5f 53 45 41 52  S="".    AC_SEAR
0840: 43 48 5f 4c 49 42 53 28 74 67 65 74 65 6e 74 2c  CH_LIBS(tgetent,
0850: 20 74 65 72 6d 63 61 70 20 63 75 72 73 65 73 20   termcap curses 
0860: 6e 63 75 72 73 65 73 20 6e 63 75 72 73 65 73 77  ncurses ncursesw
0870: 2c 20 5b 5d 2c 20 5b 5d 29 0a 20 20 20 20 41 43  , [], []).    AC
0880: 5f 53 45 41 52 43 48 5f 4c 49 42 53 28 72 65 61  _SEARCH_LIBS(rea
0890: 64 6c 69 6e 65 2c 5b 72 65 61 64 6c 69 6e 65 20  dline,[readline 
08a0: 65 64 69 74 5d 2c 20 5b 0a 20 20 20 20 20 20 41  edit], [.      A
08b0: 43 5f 44 45 46 49 4e 45 28 5b 48 41 56 45 5f 52  C_DEFINE([HAVE_R
08c0: 45 41 44 4c 49 4e 45 5d 2c 31 2c 44 65 66 69 6e  EADLINE],1,Defin
08d0: 65 20 74 6f 20 75 73 65 20 72 65 61 64 6c 69 6e  e to use readlin
08e0: 65 20 6f 72 20 77 72 61 70 70 65 72 29 0a 20 20  e or wrapper).  
08f0: 20 20 20 20 52 45 41 44 4c 49 4e 45 5f 4c 49 42      READLINE_LIB
0900: 53 3d 24 4c 49 42 53 0a 20 20 20 20 5d 29 0a 20  S=$LIBS.    ]). 
0910: 20 20 20 4c 49 42 53 3d 24 73 4c 49 42 53 0a 20     LIBS=$sLIBS. 
0920: 20 5d 29 0a 5d 29 0a 0a 41 43 5f 53 55 42 53 54   ]).])..AC_SUBST
0930: 28 52 45 41 44 4c 49 4e 45 5f 4c 49 42 53 29 0a  (READLINE_LIBS).
0940: 23 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  #---------------
0950: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0960: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0970: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0980: 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 23 2d 2d 2d 2d 2d  --------..#-----
0990: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
09a0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
09b0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
09c0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
09d0: 2d 2d 0a 23 20 20 20 2d 2d 65 6e 61 62 6c 65 2d  --.#   --enable-
09e0: 74 68 72 65 61 64 73 61 66 65 0a 23 0a 41 43 5f  threadsafe.#.AC_
09f0: 41 52 47 5f 45 4e 41 42 4c 45 28 74 68 72 65 61  ARG_ENABLE(threa
0a00: 64 73 61 66 65 2c 20 5b 41 53 5f 48 45 4c 50 5f  dsafe, [AS_HELP_
0a10: 53 54 52 49 4e 47 28 0a 20 20 5b 2d 2d 65 6e 61  STRING(.  [--ena
0a20: 62 6c 65 2d 74 68 72 65 61 64 73 61 66 65 5d 2c  ble-threadsafe],
0a30: 20 5b 62 75 69 6c 64 20 61 20 74 68 72 65 61 64   [build a thread
0a40: 2d 73 61 66 65 20 6c 69 62 72 61 72 79 20 5b 64  -safe library [d
0a50: 65 66 61 75 6c 74 3d 79 65 73 5d 5d 29 5d 2c 20  efault=yes]])], 
0a60: 0a 20 20 5b 5d 2c 20 5b 65 6e 61 62 6c 65 5f 74  .  [], [enable_t
0a70: 68 72 65 61 64 73 61 66 65 3d 79 65 73 5d 29 0a  hreadsafe=yes]).
0a80: 54 48 52 45 41 44 53 41 46 45 5f 46 4c 41 47 53  THREADSAFE_FLAGS
0a90: 3d 2d 44 53 51 4c 49 54 45 5f 54 48 52 45 41 44  =-DSQLITE_THREAD
0aa0: 53 41 46 45 3d 30 0a 69 66 20 74 65 73 74 20 78  SAFE=0.if test x
0ab0: 22 24 65 6e 61 62 6c 65 5f 74 68 72 65 61 64 73  "$enable_threads
0ac0: 61 66 65 22 20 21 3d 20 22 78 6e 6f 22 3b 20 74  afe" != "xno"; t
0ad0: 68 65 6e 0a 20 20 54 48 52 45 41 44 53 41 46 45  hen.  THREADSAFE
0ae0: 5f 46 4c 41 47 53 3d 22 2d 44 5f 52 45 45 4e 54  _FLAGS="-D_REENT
0af0: 52 41 4e 54 3d 31 20 2d 44 53 51 4c 49 54 45 5f  RANT=1 -DSQLITE_
0b00: 54 48 52 45 41 44 53 41 46 45 3d 31 22 0a 20 20  THREADSAFE=1".  
0b10: 41 43 5f 53 45 41 52 43 48 5f 4c 49 42 53 28 70  AC_SEARCH_LIBS(p
0b20: 74 68 72 65 61 64 5f 63 72 65 61 74 65 2c 20 70  thread_create, p
0b30: 74 68 72 65 61 64 29 0a 20 20 41 43 5f 53 45 41  thread).  AC_SEA
0b40: 52 43 48 5f 4c 49 42 53 28 70 74 68 72 65 61 64  RCH_LIBS(pthread
0b50: 5f 6d 75 74 65 78 61 74 74 72 5f 69 6e 69 74 2c  _mutexattr_init,
0b60: 20 70 74 68 72 65 61 64 29 0a 66 69 0a 41 43 5f   pthread).fi.AC_
0b70: 53 55 42 53 54 28 54 48 52 45 41 44 53 41 46 45  SUBST(THREADSAFE
0b80: 5f 46 4c 41 47 53 29 0a 23 2d 2d 2d 2d 2d 2d 2d  _FLAGS).#-------
0b90: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0ba0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0bb0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0bc0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0bd0: 0a 0a 23 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ..#-------------
0be0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0bf0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0c00: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0c10: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 23 20 20 20 2d  ----------.#   -
0c20: 2d 65 6e 61 62 6c 65 2d 64 79 6e 61 6d 69 63 2d  -enable-dynamic-
0c30: 65 78 74 65 6e 73 69 6f 6e 73 0a 23 0a 41 43 5f  extensions.#.AC_
0c40: 41 52 47 5f 45 4e 41 42 4c 45 28 64 79 6e 61 6d  ARG_ENABLE(dynam
0c50: 69 63 2d 65 78 74 65 6e 73 69 6f 6e 73 2c 20 5b  ic-extensions, [
0c60: 41 53 5f 48 45 4c 50 5f 53 54 52 49 4e 47 28 0a  AS_HELP_STRING(.
0c70: 20 20 5b 2d 2d 65 6e 61 62 6c 65 2d 64 79 6e 61    [--enable-dyna
0c80: 6d 69 63 2d 65 78 74 65 6e 73 69 6f 6e 73 5d 2c  mic-extensions],
0c90: 20 5b 73 75 70 70 6f 72 74 20 6c 6f 61 64 61 62   [support loadab
0ca0: 6c 65 20 65 78 74 65 6e 73 69 6f 6e 73 20 5b 64  le extensions [d
0cb0: 65 66 61 75 6c 74 3d 79 65 73 5d 5d 29 5d 2c 20  efault=yes]])], 
0cc0: 0a 20 20 5b 5d 2c 20 5b 65 6e 61 62 6c 65 5f 64  .  [], [enable_d
0cd0: 79 6e 61 6d 69 63 5f 65 78 74 65 6e 73 69 6f 6e  ynamic_extension
0ce0: 73 3d 79 65 73 5d 29 0a 69 66 20 74 65 73 74 20  s=yes]).if test 
0cf0: 78 22 24 65 6e 61 62 6c 65 5f 64 79 6e 61 6d 69  x"$enable_dynami
0d00: 63 5f 65 78 74 65 6e 73 69 6f 6e 73 22 20 21 3d  c_extensions" !=
0d10: 20 22 78 6e 6f 22 3b 20 74 68 65 6e 0a 20 20 41   "xno"; then.  A
0d20: 43 5f 53 45 41 52 43 48 5f 4c 49 42 53 28 64 6c  C_SEARCH_LIBS(dl
0d30: 6f 70 65 6e 2c 20 64 6c 29 0a 65 6c 73 65 0a 20  open, dl).else. 
0d40: 20 44 59 4e 41 4d 49 43 5f 45 58 54 45 4e 53 49   DYNAMIC_EXTENSI
0d50: 4f 4e 5f 46 4c 41 47 53 3d 2d 44 53 51 4c 49 54  ON_FLAGS=-DSQLIT
0d60: 45 5f 4f 4d 49 54 5f 4c 4f 41 44 5f 45 58 54 45  E_OMIT_LOAD_EXTE
0d70: 4e 53 49 4f 4e 3d 31 0a 66 69 0a 41 43 5f 4d 53  NSION=1.fi.AC_MS
0d80: 47 5f 43 48 45 43 4b 49 4e 47 28 5b 66 6f 72 20  G_CHECKING([for 
0d90: 77 68 65 74 68 65 72 20 74 6f 20 73 75 70 70 6f  whether to suppo
0da0: 72 74 20 64 79 6e 61 6d 69 63 20 65 78 74 65 6e  rt dynamic exten
0db0: 73 69 6f 6e 73 5d 29 0a 41 43 5f 4d 53 47 5f 52  sions]).AC_MSG_R
0dc0: 45 53 55 4c 54 28 24 65 6e 61 62 6c 65 5f 64 79  ESULT($enable_dy
0dd0: 6e 61 6d 69 63 5f 65 78 74 65 6e 73 69 6f 6e 73  namic_extensions
0de0: 29 0a 41 43 5f 53 55 42 53 54 28 44 59 4e 41 4d  ).AC_SUBST(DYNAM
0df0: 49 43 5f 45 58 54 45 4e 53 49 4f 4e 5f 46 4c 41  IC_EXTENSION_FLA
0e00: 47 53 29 0a 23 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  GS).#-----------
0e10: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0e20: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0e30: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0e40: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 23 2d  ------------..#-
0e50: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0e60: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0e70: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0e80: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0e90: 2d 2d 2d 2d 2d 2d 0a 23 20 20 20 2d 2d 65 6e 61  ------.#   --ena
0ea0: 62 6c 65 2d 66 74 73 35 0a 23 0a 41 43 5f 41 52  ble-fts5.#.AC_AR
0eb0: 47 5f 45 4e 41 42 4c 45 28 66 74 73 35 2c 20 5b  G_ENABLE(fts5, [
0ec0: 41 53 5f 48 45 4c 50 5f 53 54 52 49 4e 47 28 0a  AS_HELP_STRING(.
0ed0: 20 20 5b 2d 2d 65 6e 61 62 6c 65 2d 66 74 73 35    [--enable-fts5
0ee0: 5d 2c 20 5b 69 6e 63 6c 75 64 65 20 66 74 73 35  ], [include fts5
0ef0: 20 73 75 70 70 6f 72 74 20 5b 64 65 66 61 75 6c   support [defaul
0f00: 74 3d 6e 6f 5d 5d 29 5d 2c 20 0a 20 20 5b 5d 2c  t=no]])], .  [],
0f10: 20 5b 65 6e 61 62 6c 65 5f 66 74 73 35 3d 6e 6f   [enable_fts5=no
0f20: 5d 29 0a 69 66 20 74 65 73 74 20 78 22 24 65 6e  ]).if test x"$en
0f30: 61 62 6c 65 5f 66 74 73 35 22 20 3d 20 22 78 79  able_fts5" = "xy
0f40: 65 73 22 3b 20 74 68 65 6e 0a 20 20 41 43 5f 53  es"; then.  AC_S
0f50: 45 41 52 43 48 5f 4c 49 42 53 28 6c 6f 67 2c 20  EARCH_LIBS(log, 
0f60: 6d 29 0a 20 20 46 54 53 35 5f 46 4c 41 47 53 3d  m).  FTS5_FLAGS=
0f70: 2d 44 53 51 4c 49 54 45 5f 45 4e 41 42 4c 45 5f  -DSQLITE_ENABLE_
0f80: 46 54 53 35 0a 66 69 0a 41 43 5f 53 55 42 53 54  FTS5.fi.AC_SUBST
0f90: 28 46 54 53 35 5f 46 4c 41 47 53 29 0a 23 2d 2d  (FTS5_FLAGS).#--
0fa0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0fb0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0fc0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0fd0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0fe0: 2d 2d 2d 2d 2d 0a 0a 23 2d 2d 2d 2d 2d 2d 2d 2d  -----..#--------
0ff0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
1000: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
1010: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
1020: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a  ---------------.
1030: 23 20 20 20 2d 2d 65 6e 61 62 6c 65 2d 6a 73 6f  #   --enable-jso
1040: 6e 31 0a 23 0a 41 43 5f 41 52 47 5f 45 4e 41 42  n1.#.AC_ARG_ENAB
1050: 4c 45 28 6a 73 6f 6e 31 2c 20 5b 41 53 5f 48 45  LE(json1, [AS_HE
1060: 4c 50 5f 53 54 52 49 4e 47 28 0a 20 20 5b 2d 2d  LP_STRING(.  [--
1070: 65 6e 61 62 6c 65 2d 6a 73 6f 6e 31 5d 2c 20 5b  enable-json1], [
1080: 69 6e 63 6c 75 64 65 20 6a 73 6f 6e 31 20 73 75  include json1 su
1090: 70 70 6f 72 74 20 5b 64 65 66 61 75 6c 74 3d 6e  pport [default=n
10a0: 6f 5d 5d 29 5d 2c 20 0a 20 20 5b 5d 2c 20 5b 65  o]])], .  [], [e
10b0: 6e 61 62 6c 65 5f 6a 73 6f 6e 31 3d 6e 6f 5d 29  nable_json1=no])
10c0: 0a 69 66 20 74 65 73 74 20 78 22 24 65 6e 61 62  .if test x"$enab
10d0: 6c 65 5f 6a 73 6f 6e 31 22 20 3d 20 22 78 79 65  le_json1" = "xye
10e0: 73 22 3b 20 74 68 65 6e 0a 20 20 4a 53 4f 4e 31  s"; then.  JSON1
10f0: 5f 46 4c 41 47 53 3d 2d 44 53 51 4c 49 54 45 5f  _FLAGS=-DSQLITE_
1100: 45 4e 41 42 4c 45 5f 4a 53 4f 4e 31 0a 66 69 0a  ENABLE_JSON1.fi.
1110: 41 43 5f 53 55 42 53 54 28 4a 53 4f 4e 31 5f 46  AC_SUBST(JSON1_F
1120: 4c 41 47 53 29 0a 23 2d 2d 2d 2d 2d 2d 2d 2d 2d  LAGS).#---------
1130: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
1140: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
1150: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
1160: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a  --------------..
1170: 23 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  #---------------
1180: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
1190: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
11a0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
11b0: 2d 2d 2d 2d 2d 2d 2d 2d 0a 23 20 20 20 2d 2d 65  --------.#   --e
11c0: 6e 61 62 6c 65 2d 73 65 73 73 69 6f 6e 0a 23 0a  nable-session.#.
11d0: 41 43 5f 41 52 47 5f 45 4e 41 42 4c 45 28 73 65  AC_ARG_ENABLE(se
11e0: 73 73 69 6f 6e 2c 20 5b 41 53 5f 48 45 4c 50 5f  ssion, [AS_HELP_
11f0: 53 54 52 49 4e 47 28 0a 20 20 5b 2d 2d 65 6e 61  STRING(.  [--ena
1200: 62 6c 65 2d 73 65 73 73 69 6f 6e 5d 2c 20 5b 65  ble-session], [e
1210: 6e 61 62 6c 65 20 74 68 65 20 73 65 73 73 69 6f  nable the sessio
1220: 6e 20 65 78 74 65 6e 73 69 6f 6e 20 5b 64 65 66  n extension [def
1230: 61 75 6c 74 3d 6e 6f 5d 5d 29 5d 2c 20 0a 20 20  ault=no]])], .  
1240: 5b 5d 2c 20 5b 65 6e 61 62 6c 65 5f 73 65 73 73  [], [enable_sess
1250: 69 6f 6e 3d 6e 6f 5d 29 0a 69 66 20 74 65 73 74  ion=no]).if test
1260: 20 78 22 24 65 6e 61 62 6c 65 5f 73 65 73 73 69   x"$enable_sessi
1270: 6f 6e 22 20 3d 20 22 78 79 65 73 22 3b 20 74 68  on" = "xyes"; th
1280: 65 6e 0a 20 20 53 45 53 53 49 4f 4e 5f 46 4c 41  en.  SESSION_FLA
1290: 47 53 3d 22 2d 44 53 51 4c 49 54 45 5f 45 4e 41  GS="-DSQLITE_ENA
12a0: 42 4c 45 5f 53 45 53 53 49 4f 4e 20 2d 44 53 51  BLE_SESSION -DSQ
12b0: 4c 49 54 45 5f 45 4e 41 42 4c 45 5f 50 52 45 55  LITE_ENABLE_PREU
12c0: 50 44 41 54 45 5f 48 4f 4f 4b 22 0a 66 69 0a 41  PDATE_HOOK".fi.A
12d0: 43 5f 53 55 42 53 54 28 53 45 53 53 49 4f 4e 5f  C_SUBST(SESSION_
12e0: 46 4c 41 47 53 29 0a 23 2d 2d 2d 2d 2d 2d 2d 2d  FLAGS).#--------
12f0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
1300: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
1310: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
1320: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a  ---------------.
1330: 0a 23 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  .#--------------
1340: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
1350: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
1360: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
1370: 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 23 20 20 20 2d 2d  ---------.#   --
1380: 65 6e 61 62 6c 65 2d 73 74 61 74 69 63 2d 73 68  enable-static-sh
1390: 65 6c 6c 0a 23 0a 41 43 5f 41 52 47 5f 45 4e 41  ell.#.AC_ARG_ENA
13a0: 42 4c 45 28 73 74 61 74 69 63 2d 73 68 65 6c 6c  BLE(static-shell
13b0: 2c 20 5b 41 53 5f 48 45 4c 50 5f 53 54 52 49 4e  , [AS_HELP_STRIN
13c0: 47 28 0a 20 20 5b 2d 2d 65 6e 61 62 6c 65 2d 73  G(.  [--enable-s
13d0: 74 61 74 69 63 2d 73 68 65 6c 6c 5d 2c 20 0a 20  tatic-shell], . 
13e0: 20 5b 73 74 61 74 69 63 61 6c 6c 79 20 6c 69 6e   [statically lin
13f0: 6b 20 6c 69 62 73 71 6c 69 74 65 33 20 69 6e 74  k libsqlite3 int
1400: 6f 20 73 68 65 6c 6c 20 74 6f 6f 6c 20 5b 64 65  o shell tool [de
1410: 66 61 75 6c 74 3d 79 65 73 5d 5d 29 5d 2c 20 0a  fault=yes]])], .
1420: 20 20 5b 5d 2c 20 5b 65 6e 61 62 6c 65 5f 73 74    [], [enable_st
1430: 61 74 69 63 5f 73 68 65 6c 6c 3d 79 65 73 5d 29  atic_shell=yes])
1440: 0a 69 66 20 74 65 73 74 20 78 22 24 65 6e 61 62  .if test x"$enab
1450: 6c 65 5f 73 74 61 74 69 63 5f 73 68 65 6c 6c 22  le_static_shell"
1460: 20 3d 20 22 78 79 65 73 22 3b 20 74 68 65 6e 0a   = "xyes"; then.
1470: 20 20 45 58 54 52 41 5f 53 48 45 4c 4c 5f 4f 42    EXTRA_SHELL_OB
1480: 4a 3d 73 71 6c 69 74 65 33 2d 73 71 6c 69 74 65  J=sqlite3-sqlite
1490: 33 2e 24 4f 42 4a 45 58 54 0a 65 6c 73 65 0a 20  3.$OBJEXT.else. 
14a0: 20 45 58 54 52 41 5f 53 48 45 4c 4c 5f 4f 42 4a   EXTRA_SHELL_OBJ
14b0: 3d 6c 69 62 73 71 6c 69 74 65 33 2e 6c 61 0a 66  =libsqlite3.la.f
14c0: 69 0a 41 43 5f 53 55 42 53 54 28 45 58 54 52 41  i.AC_SUBST(EXTRA
14d0: 5f 53 48 45 4c 4c 5f 4f 42 4a 29 0a 23 2d 2d 2d  _SHELL_OBJ).#---
14e0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
14f0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
1500: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
1510: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
1520: 2d 2d 2d 2d 0a 0a 41 43 5f 43 48 45 43 4b 5f 46  ----..AC_CHECK_F
1530: 55 4e 43 53 28 70 6f 73 69 78 5f 66 61 6c 6c 6f  UNCS(posix_fallo
1540: 63 61 74 65 29 0a 0a 23 2d 2d 2d 2d 2d 2d 2d 2d  cate)..#--------
1550: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
1560: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
1570: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
1580: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a  ---------------.
1590: 23 20 55 50 44 41 54 45 3a 20 4d 61 79 62 65 20  # UPDATE: Maybe 
15a0: 69 74 27 73 20 62 65 74 74 65 72 20 69 66 20 75  it's better if u
15b0: 73 65 72 73 20 6a 75 73 74 20 73 65 74 20 43 46  sers just set CF
15c0: 4c 41 47 53 20 62 65 66 6f 72 65 20 69 6e 76 6f  LAGS before invo
15d0: 6b 69 6e 67 0a 23 20 63 6f 6e 66 69 67 75 72 65  king.# configure
15e0: 2e 20 54 68 69 73 20 6f 70 74 69 6f 6e 20 64 6f  . This option do
15f0: 65 73 6e 27 74 20 72 65 61 6c 6c 79 20 61 64 64  esn't really add
1600: 20 6d 75 63 68 2e 2e 2e 0a 23 0a 23 20 20 20 2d   much....#.#   -
1610: 2d 65 6e 61 62 6c 65 2d 74 65 6d 70 73 74 6f 72  -enable-tempstor
1620: 65 0a 23 0a 23 20 41 43 5f 41 52 47 5f 45 4e 41  e.#.# AC_ARG_ENA
1630: 42 4c 45 28 74 65 6d 70 73 74 6f 72 65 2c 20 5b  BLE(tempstore, [
1640: 41 53 5f 48 45 4c 50 5f 53 54 52 49 4e 47 28 0a  AS_HELP_STRING(.
1650: 23 20 20 20 5b 2d 2d 65 6e 61 62 6c 65 2d 74 65  #   [--enable-te
1660: 6d 70 73 74 6f 72 65 5d 2c 20 0a 23 20 20 20 5b  mpstore], .#   [
1670: 69 6e 2d 6d 65 6d 6f 72 79 20 74 65 6d 70 6f 72  in-memory tempor
1680: 61 72 79 20 74 61 62 6c 65 73 20 28 6e 65 76 65  ary tables (neve
1690: 72 2c 20 6e 6f 2c 20 79 65 73 2c 20 61 6c 77 61  r, no, yes, alwa
16a0: 79 73 29 20 5b 64 65 66 61 75 6c 74 3d 6e 6f 5d  ys) [default=no]
16b0: 5d 29 5d 2c 20 0a 23 20 20 20 5b 5d 2c 20 5b 65  ])], .#   [], [e
16c0: 6e 61 62 6c 65 5f 74 65 6d 70 73 74 6f 72 65 3d  nable_tempstore=
16d0: 6e 6f 5d 29 0a 23 20 41 43 5f 4d 53 47 5f 43 48  no]).# AC_MSG_CH
16e0: 45 43 4b 49 4e 47 28 5b 66 6f 72 20 77 68 65 74  ECKING([for whet
16f0: 68 65 72 20 6f 72 20 6e 6f 74 20 74 6f 20 73 74  her or not to st
1700: 6f 72 65 20 74 65 6d 70 20 74 61 62 6c 65 73 20  ore temp tables 
1710: 69 6e 2d 6d 65 6d 6f 72 79 5d 29 0a 23 20 63 61  in-memory]).# ca
1720: 73 65 20 22 24 65 6e 61 62 6c 65 5f 74 65 6d 70  se "$enable_temp
1730: 73 74 6f 72 65 22 20 69 6e 0a 23 20 20 20 6e 65  store" in.#   ne
1740: 76 65 72 20 29 20 20 54 45 4d 50 5f 53 54 4f 52  ver )  TEMP_STOR
1750: 45 3d 30 20 3b 3b 0a 23 20 20 20 6e 6f 20 29 20  E=0 ;;.#   no ) 
1760: 20 20 20 20 54 45 4d 50 5f 53 54 4f 52 45 3d 31      TEMP_STORE=1
1770: 20 3b 3b 0a 23 20 20 20 61 6c 77 61 79 73 20 29   ;;.#   always )
1780: 20 54 45 4d 50 5f 53 54 4f 52 45 3d 33 20 3b 3b   TEMP_STORE=3 ;;
1790: 0a 23 20 20 20 79 65 73 20 29 20 20 20 20 54 45  .#   yes )    TE
17a0: 4d 50 5f 53 54 4f 52 45 3d 33 20 3b 3b 0a 23 20  MP_STORE=3 ;;.# 
17b0: 20 20 2a 20 29 0a 23 20 20 20 20 20 54 45 4d 50    * ).#     TEMP
17c0: 5f 53 54 4f 52 45 3d 31 0a 23 20 20 20 20 20 65  _STORE=1.#     e
17d0: 6e 61 62 6c 65 5f 74 65 6d 70 73 74 6f 72 65 3d  nable_tempstore=
17e0: 79 65 73 0a 23 20 20 20 3b 3b 0a 23 20 65 73 61  yes.#   ;;.# esa
17f0: 63 0a 23 20 41 43 5f 4d 53 47 5f 52 45 53 55 4c  c.# AC_MSG_RESUL
1800: 54 28 24 65 6e 61 62 6c 65 5f 74 65 6d 70 73 74  T($enable_tempst
1810: 6f 72 65 29 0a 23 20 41 43 5f 53 55 42 53 54 28  ore).# AC_SUBST(
1820: 54 45 4d 50 5f 53 54 4f 52 45 29 0a 23 2d 2d 2d  TEMP_STORE).#---
1830: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
1840: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
1850: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
1860: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
1870: 2d 2d 2d 2d 0a 0a 41 43 5f 4f 55 54 50 55 54 0a  ----..AC_OUTPUT.