Artifact
32b191cf4d1bf24000b55fff3a891c57ceab6d59:
- File
configure.ac
— part of check-in
[c7456d90e9]
at
2019-08-22 11:22:10
on branch trunk
— Bump version number
(user:
bernd
size: 2378)
0000: 64 6e 6c 20 50 72 6f 63 65 73 73 20 74 68 69 73 dnl Process this
0010: 20 66 69 6c 65 20 77 69 74 68 20 61 75 74 6f 63 file with autoc
0020: 6f 6e 66 20 74 6f 20 70 72 6f 64 75 63 65 20 61 onf to produce a
0030: 20 63 6f 6e 66 69 67 75 72 65 20 73 63 72 69 70 configure scrip
0040: 74 2e 0a 0a 23 20 43 6f 70 79 72 69 67 68 74 20 t...# Copyright
0050: 28 43 29 20 32 30 31 35 20 20 20 42 65 72 6e 64 (C) 2015 Bernd
0060: 20 50 61 79 73 61 6e 0a 0a 23 20 54 68 69 73 20 Paysan..# This
0070: 70 72 6f 67 72 61 6d 20 69 73 20 66 72 65 65 20 program is free
0080: 73 6f 66 74 77 61 72 65 3a 20 79 6f 75 20 63 61 software: you ca
0090: 6e 20 72 65 64 69 73 74 72 69 62 75 74 65 20 69 n redistribute i
00a0: 74 20 61 6e 64 2f 6f 72 20 6d 6f 64 69 66 79 0a t and/or modify.
00b0: 23 20 69 74 20 75 6e 64 65 72 20 74 68 65 20 74 # it under the t
00c0: 65 72 6d 73 20 6f 66 20 74 68 65 20 47 4e 55 20 erms of the GNU
00d0: 41 66 66 65 72 6f 20 47 65 6e 65 72 61 6c 20 50 Affero General P
00e0: 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 61 73 ublic License as
00f0: 20 70 75 62 6c 69 73 68 65 64 20 62 79 0a 23 20 published by.#
0100: 74 68 65 20 46 72 65 65 20 53 6f 66 74 77 61 72 the Free Softwar
0110: 65 20 46 6f 75 6e 64 61 74 69 6f 6e 2c 20 65 69 e Foundation, ei
0120: 74 68 65 72 20 76 65 72 73 69 6f 6e 20 33 20 6f ther version 3 o
0130: 66 20 74 68 65 20 4c 69 63 65 6e 73 65 2c 20 6f f the License, o
0140: 72 0a 23 20 28 61 74 20 79 6f 75 72 20 6f 70 74 r.# (at your opt
0150: 69 6f 6e 29 20 61 6e 79 20 6c 61 74 65 72 20 76 ion) any later v
0160: 65 72 73 69 6f 6e 2e 0a 0a 23 20 54 68 69 73 20 ersion...# This
0170: 70 72 6f 67 72 61 6d 20 69 73 20 64 69 73 74 72 program is distr
0180: 69 62 75 74 65 64 20 69 6e 20 74 68 65 20 68 6f ibuted in the ho
0190: 70 65 20 74 68 61 74 20 69 74 20 77 69 6c 6c 20 pe that it will
01a0: 62 65 20 75 73 65 66 75 6c 2c 0a 23 20 62 75 74 be useful,.# but
01b0: 20 57 49 54 48 4f 55 54 20 41 4e 59 20 57 41 52 WITHOUT ANY WAR
01c0: 52 41 4e 54 59 3b 20 77 69 74 68 6f 75 74 20 65 RANTY; without e
01d0: 76 65 6e 20 74 68 65 20 69 6d 70 6c 69 65 64 20 ven the implied
01e0: 77 61 72 72 61 6e 74 79 20 6f 66 0a 23 20 4d 45 warranty of.# ME
01f0: 52 43 48 41 4e 54 41 42 49 4c 49 54 59 20 6f 72 RCHANTABILITY or
0200: 20 46 49 54 4e 45 53 53 20 46 4f 52 20 41 20 50 FITNESS FOR A P
0210: 41 52 54 49 43 55 4c 41 52 20 50 55 52 50 4f 53 ARTICULAR PURPOS
0220: 45 2e 20 20 53 65 65 20 74 68 65 0a 23 20 47 4e E. See the.# GN
0230: 55 20 41 66 66 65 72 6f 20 47 65 6e 65 72 61 6c U Affero General
0240: 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 Public License
0250: 66 6f 72 20 6d 6f 72 65 20 64 65 74 61 69 6c 73 for more details
0260: 2e 0a 0a 23 20 59 6f 75 20 73 68 6f 75 6c 64 20 ...# You should
0270: 68 61 76 65 20 72 65 63 65 69 76 65 64 20 61 20 have received a
0280: 63 6f 70 79 20 6f 66 20 74 68 65 20 47 4e 55 20 copy of the GNU
0290: 41 66 66 65 72 6f 20 47 65 6e 65 72 61 6c 20 50 Affero General P
02a0: 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 0a 23 20 ublic License.#
02b0: 61 6c 6f 6e 67 20 77 69 74 68 20 74 68 69 73 20 along with this
02c0: 70 72 6f 67 72 61 6d 2e 20 20 49 66 20 6e 6f 74 program. If not
02d0: 2c 20 73 65 65 20 3c 68 74 74 70 3a 2f 2f 77 77 , see <http://ww
02e0: 77 2e 67 6e 75 2e 6f 72 67 2f 6c 69 63 65 6e 73 w.gnu.org/licens
02f0: 65 73 2f 3e 2e 0a 0a 41 43 5f 49 4e 49 54 28 5b es/>...AC_INIT([
0300: 6e 65 74 32 6f 5d 2c 20 5b 30 2e 39 2e 31 2d 32 net2o], [0.9.1-2
0310: 30 31 39 30 38 32 32 5d 2c 20 5b 62 65 72 6e 64 0190822], [bernd
0320: 40 6e 65 74 32 6f 2e 64 65 5d 2c 20 5b 6e 65 74 @net2o.de], [net
0330: 32 6f 5d 2c 20 5b 68 74 74 70 73 3a 2f 2f 66 6f 2o], [https://fo
0340: 73 73 69 6c 2e 6e 65 74 32 6f 2e 64 65 2f 6e 65 ssil.net2o.de/ne
0350: 74 32 6f 2f 72 65 70 6f 72 74 6c 69 73 74 5d 29 t2o/reportlist])
0360: 0a 41 43 5f 50 52 45 52 45 51 28 5b 32 2e 35 39 .AC_PREREQ([2.59
0370: 5d 29 0a 41 43 5f 43 4f 4e 46 49 47 5f 4d 41 43 ]).AC_CONFIG_MAC
0380: 52 4f 5f 44 49 52 28 5b 6d 34 5d 29 0a 41 43 5f RO_DIR([m4]).AC_
0390: 55 53 45 5f 53 59 53 54 45 4d 5f 45 58 54 45 4e USE_SYSTEM_EXTEN
03a0: 53 49 4f 4e 53 0a 4c 54 5f 49 4e 49 54 0a 0a 41 SIONS.LT_INIT..A
03b0: 43 5f 4d 53 47 5f 43 48 45 43 4b 49 4e 47 28 5b C_MSG_CHECKING([
03c0: 66 6f 72 20 67 66 6f 72 74 68 5d 29 0a 0a 47 46 for gforth])..GF
03d0: 58 3d 22 22 0a 0a 63 61 73 65 20 22 24 43 43 22 X=""..case "$CC"
03e0: 0a 69 6e 0a 20 20 20 20 2a 2d 6d 33 32 2a 29 0a .in. *-m32*).
03f0: 09 47 46 58 3d 22 2d 33 38 36 22 0a 09 3b 3b 0a .GFX="-386"..;;.
0400: 65 73 61 63 0a 0a 41 43 5f 43 48 45 43 4b 5f 50 esac..AC_CHECK_P
0410: 52 4f 47 53 28 47 46 4f 52 54 48 2c 20 67 66 6f ROGS(GFORTH, gfo
0420: 72 74 68 24 47 46 58 29 0a 41 43 5f 43 48 45 43 rth$GFX).AC_CHEC
0430: 4b 5f 50 52 4f 47 53 28 47 46 4f 52 54 48 46 41 K_PROGS(GFORTHFA
0440: 53 54 2c 20 67 66 6f 72 74 68 2d 66 61 73 74 24 ST, gforth-fast$
0450: 47 46 58 29 0a 0a 74 65 73 74 20 2d 7a 20 22 24 GFX)..test -z "$
0460: 47 46 4f 52 54 48 22 20 7c 7c 20 72 65 61 64 20 GFORTH" || read
0470: 64 75 6d 6d 79 20 47 46 56 45 52 20 47 46 41 52 dummy GFVER GFAR
0480: 43 48 20 3c 3c 45 4f 46 0a 24 28 65 76 61 6c 20 CH <<EOF.$(eval
0490: 24 47 46 4f 52 54 48 20 2d 76 20 32 3e 26 31 29 $GFORTH -v 2>&1)
04a0: 0a 45 4f 46 0a 47 46 44 45 42 56 45 52 3d 24 28 .EOF.GFDEBVER=$(
04b0: 65 63 68 6f 20 24 47 46 56 45 52 20 7c 20 74 72 echo $GFVER | tr
04c0: 20 27 5f 27 20 27 2d 27 29 0a 0a 47 46 4f 52 54 '_' '-')..GFORT
04d0: 48 3d 24 28 77 68 69 63 68 20 24 47 46 4f 52 54 H=$(which $GFORT
04e0: 48 29 0a 47 46 4f 52 54 48 46 41 53 54 3d 24 28 H).GFORTHFAST=$(
04f0: 77 68 69 63 68 20 24 47 46 4f 52 54 48 46 41 53 which $GFORTHFAS
0500: 54 29 0a 0a 46 41 53 54 3d 6e 6f 0a 63 61 73 65 T)..FAST=no.case
0510: 20 22 24 68 6f 73 74 22 20 69 6e 0a 20 20 20 20 "$host" in.
0520: 61 72 6d 2a 2d 2a 6c 69 6e 75 78 2a 29 0a 09 46 arm*-*linux*)..F
0530: 41 53 54 3d 79 65 73 0a 09 3b 3b 0a 20 20 20 20 AST=yes..;;.
0540: 69 36 38 36 2d 2a 6c 69 6e 75 78 2a 7c 69 36 38 i686-*linux*|i68
0550: 36 2d 2a 63 79 67 77 69 6e 2a 29 0a 09 46 41 53 6-*cygwin*)..FAS
0560: 54 3d 79 65 73 0a 09 3b 3b 0a 65 73 61 63 0a 0a T=yes..;;.esac..
0570: 56 45 52 44 49 52 3d 0a 4e 4f 56 45 52 44 49 52 VERDIR=.NOVERDIR
0580: 3d 27 23 27 0a 0a 63 61 73 65 20 22 24 68 6f 73 ='#'..case "$hos
0590: 74 22 20 69 6e 0a 20 20 20 20 2a 61 6e 64 72 6f t" in. *andro
05a0: 69 64 2a 29 0a 09 56 45 52 44 49 52 3d 27 23 27 id*)..VERDIR='#'
05b0: 0a 09 4e 4f 56 45 52 44 49 52 3d 0a 09 3b 3b 0a ..NOVERDIR=..;;.
05c0: 65 73 61 63 0a 0a 41 43 5f 53 55 42 53 54 28 56 esac..AC_SUBST(V
05d0: 45 52 44 49 52 29 0a 41 43 5f 53 55 42 53 54 28 ERDIR).AC_SUBST(
05e0: 4e 4f 56 45 52 44 49 52 29 0a 0a 41 43 5f 50 52 NOVERDIR)..AC_PR
05f0: 4f 47 5f 43 43 0a 41 43 5f 50 52 4f 47 5f 49 4e OG_CC.AC_PROG_IN
0600: 53 54 41 4c 4c 0a 0a 50 52 45 43 43 3d 24 7b 43 STALL..PRECC=${C
0610: 43 25 67 63 63 2a 7d 0a 50 52 45 43 4c 41 4e 47 C%gcc*}.PRECLANG
0620: 3d 24 7b 50 52 45 43 43 25 63 6c 61 6e 67 2a 7d =${PRECC%clang*}
0630: 0a 64 6e 6c 20 4d 61 63 4f 53 20 58 20 68 61 73 .dnl MacOS X has
0640: 20 61 20 6c 69 62 74 6f 6f 6c 20 74 68 61 74 20 a libtool that
0650: 64 6f 65 73 20 73 6f 6d 65 74 68 69 6e 67 20 65 does something e
0660: 6c 73 65 0a 41 43 5f 43 48 45 43 4b 5f 50 52 4f lse.AC_CHECK_PRO
0670: 47 53 28 47 4e 55 5f 4c 49 42 54 4f 4f 4c 2c 22 GS(GNU_LIBTOOL,"
0680: 67 6c 69 62 74 6f 6f 6c 20 2d 2d 74 61 67 3d 43 glibtool --tag=C
0690: 43 22 20 6c 69 62 74 6f 6f 6c 29 0a 0a 47 4e 55 C" libtool)..GNU
06a0: 5f 4c 49 42 54 4f 4f 4c 3d 24 7b 50 52 45 43 4c _LIBTOOL=${PRECL
06b0: 41 4e 47 7d 24 7b 47 4e 55 5f 4c 49 42 54 4f 4f ANG}${GNU_LIBTOO
06c0: 4c 7d 0a 65 63 68 6f 20 22 4c 69 62 74 6f 6f 6c L}.echo "Libtool
06d0: 3a 20 24 50 52 45 43 43 2c 20 24 50 52 45 43 4c : $PRECC, $PRECL
06e0: 41 4e 47 2c 20 24 47 4e 55 5f 4c 49 42 54 4f 4f ANG, $GNU_LIBTOO
06f0: 4c 22 0a 0a 48 41 53 5f 47 50 53 44 3d 30 0a 41 L"..HAS_GPSD=0.A
0700: 43 5f 43 48 45 43 4b 5f 4c 49 42 28 67 70 73 2c C_CHECK_LIB(gps,
0710: 20 67 70 73 5f 6f 70 65 6e 2c 20 48 41 53 5f 47 gps_open, HAS_G
0720: 50 53 44 3d 31 29 0a 41 43 5f 53 55 42 53 54 28 PSD=1).AC_SUBST(
0730: 48 41 53 5f 47 50 53 44 29 0a 0a 41 43 5f 53 55 HAS_GPSD)..AC_SU
0740: 42 53 54 28 47 46 4f 52 54 48 29 0a 41 43 5f 53 BST(GFORTH).AC_S
0750: 55 42 53 54 28 47 46 4f 52 54 48 46 41 53 54 29 UBST(GFORTHFAST)
0760: 0a 41 43 5f 53 55 42 53 54 28 47 46 56 45 52 29 .AC_SUBST(GFVER)
0770: 0a 41 43 5f 53 55 42 53 54 28 47 46 44 45 42 56 .AC_SUBST(GFDEBV
0780: 45 52 29 0a 41 43 5f 53 55 42 53 54 28 47 46 41 ER).AC_SUBST(GFA
0790: 52 43 48 29 0a 41 43 5f 53 55 42 53 54 28 46 41 RCH).AC_SUBST(FA
07a0: 53 54 29 0a 41 43 5f 53 55 42 53 54 28 47 4e 55 ST).AC_SUBST(GNU
07b0: 5f 4c 49 42 54 4f 4f 4c 29 0a 0a 74 65 73 74 20 _LIBTOOL)..test
07c0: 22 78 24 70 72 65 66 69 78 22 20 3d 20 78 4e 4f "x$prefix" = xNO
07d0: 4e 45 20 26 26 20 70 72 65 66 69 78 3d 24 61 63 NE && prefix=$ac
07e0: 5f 64 65 66 61 75 6c 74 5f 70 72 65 66 69 78 0a _default_prefix.
07f0: 44 41 54 41 44 49 52 3d 24 28 65 76 61 6c 20 65 DATADIR=$(eval e
0800: 63 68 6f 20 24 28 65 76 61 6c 20 65 63 68 6f 20 cho $(eval echo
0810: 24 64 61 74 61 64 69 72 29 29 0a 41 43 5f 53 55 $datadir)).AC_SU
0820: 42 53 54 28 44 41 54 41 44 49 52 29 0a 0a 41 43 BST(DATADIR)..AC
0830: 5f 43 4f 4e 46 49 47 5f 46 49 4c 45 53 28 5b 4d _CONFIG_FILES([M
0840: 61 6b 65 66 69 6c 65 20 6e 32 6f 20 71 72 73 63 akefile n2o qrsc
0850: 61 6e 20 76 65 72 73 69 6f 6e 2e 66 73 20 64 65 an version.fs de
0860: 62 69 61 6e 2f 63 68 61 6e 67 65 6c 6f 67 20 64 bian/changelog d
0870: 65 62 69 61 6e 2f 63 6f 6e 74 72 6f 6c 5d 29 0a ebian/control]).
0880: 41 43 5f 43 4f 4e 46 49 47 5f 43 4f 4d 4d 41 4e AC_CONFIG_COMMAN
0890: 44 53 28 5b 73 74 61 6d 70 2d 68 5d 2c 5b 5b 64 DS([stamp-h],[[d
08a0: 61 74 65 20 3e 20 73 74 61 6d 70 2d 68 0a 63 68 ate > stamp-h.ch
08b0: 6d 6f 64 20 2b 78 20 6e 32 6f 20 71 72 73 63 61 mod +x n2o qrsca
08c0: 6e 5d 5d 2c 5b 50 41 43 4b 41 47 45 5f 56 45 52 n]],[PACKAGE_VER
08d0: 53 49 4f 4e 3d 24 50 41 43 4b 41 47 45 5f 56 45 SION=$PACKAGE_VE
08e0: 52 53 49 4f 4e 0a 20 6d 61 63 68 69 6e 65 3d 24 RSION. machine=$
08f0: 6d 61 63 68 69 6e 65 0a 20 41 52 43 48 3d 24 41 machine. ARCH=$A
0900: 52 43 48 5d 29 0a 0a 41 43 5f 4f 55 54 50 55 54 RCH])..AC_OUTPUT
0910: 0a 41 43 5f 43 4f 4e 46 49 47 5f 53 55 42 44 49 .AC_CONFIG_SUBDI
0920: 52 53 28 6b 65 63 63 61 6b 20 74 68 72 65 65 66 RS(keccak threef
0930: 69 73 68 20 65 64 32 35 35 31 39 2d 64 6f 6e 6e ish ed25519-donn
0940: 61 20 62 64 65 6c 74 61 29 0a a bdelta).