Skip to content

Commit a181dae

Browse files
authored
Merge pull request #743 from Nordix/autoconf-fixes
Replace obsolete macros in autoconf
2 parents a8cabf5 + f2c1066 commit a181dae

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

configure.ac

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ define([SOFTHSM_VERSION_REVISION], [5])
3131
# Init
3232
AC_PREREQ(2.61)
3333
AC_INIT([SoftHSM],[SOFTHSM_VERSION_MAJOR.SOFTHSM_VERSION_MINOR.SOFTHSM_VERSION_FIX[]PACKAGE_SUFFIX])
34-
AC_CONFIG_HEADER([config.h])
34+
AC_CONFIG_HEADERS([config.h])
3535
AC_CONFIG_SRCDIR([src/Makefile.am])
3636
AC_CONFIG_MACRO_DIR([m4])
3737
AM_INIT_AUTOMAKE([foreign subdir-objects])
@@ -67,7 +67,7 @@ ACX_NON_PAGED_MEMORY
6767
# If the user want to have the migration tool
6868
# Requires SQLite3
6969
AC_ARG_WITH(migrate,
70-
AC_HELP_STRING([--with-migrate],
70+
AS_HELP_STRING([--with-migrate],
7171
[Build the migration tool. Requires SQLite3.]
7272
),
7373
[build_migrate="${withval}"],
@@ -84,7 +84,7 @@ AM_CONDITIONAL([BUILD_MIGRATE], [test "x${build_migrate}" = "xyes"])
8484

8585
# If the user wants to have the database storage backend
8686
AC_ARG_WITH([objectstore-backend-db],
87-
AC_HELP_STRING([--with-objectstore-backend-db],
87+
AS_HELP_STRING([--with-objectstore-backend-db],
8888
[Build with object store backend database (SQLite3).]
8989
),
9090
[build_objectstore_backend_db="${withval}"],
@@ -194,7 +194,7 @@ AC_SUBST([default_softhsm2_lib])
194194

195195
# Generate the libtool script and install script
196196
AC_PROG_INSTALL
197-
AC_PROG_LIBTOOL
197+
LT_INIT
198198

199199
# Generate the makefiles
200200
AC_CONFIG_FILES([

m4/acx_botan.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
AC_DEFUN([ACX_BOTAN],[
22
WITH_BOTAN=
33
AC_ARG_WITH(botan,
4-
AC_HELP_STRING([--with-botan=PATH],[Specify prefix of path of Botan]),
4+
AS_HELP_STRING([--with-botan=PATH],[Specify prefix of path of Botan]),
55
[
66
BOTAN_PATH="$withval"
77
WITH_BOTAN=1

m4/acx_crypto_backend.m4

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ AC_DEFUN([ACX_CRYPTO_BACKEND],[
33
# First check if we want to support ECC and GOST
44
55
AC_ARG_ENABLE(ecc,
6-
AC_HELP_STRING([--enable-ecc],
6+
AS_HELP_STRING([--enable-ecc],
77
[Enable support for ECC (default detect)]
88
),
99
[enable_ecc="${enableval}"],
1010
[enable_ecc="detect"]
1111
)
1212
1313
AC_ARG_ENABLE(gost,
14-
AC_HELP_STRING([--enable-gost],
14+
AS_HELP_STRING([--enable-gost],
1515
[Enable support for GOST (default detect)]
1616
),
1717
[enable_gost="${enableval}"],
@@ -21,7 +21,7 @@ AC_DEFUN([ACX_CRYPTO_BACKEND],[
2121
# Add Eddsa check
2222
2323
AC_ARG_ENABLE(eddsa,
24-
AC_HELP_STRING([--enable-eddsa],
24+
AS_HELP_STRING([--enable-eddsa],
2525
[Enable support for EDDSA (default detect)]
2626
),
2727
[enable_eddsa="${enableval}"],
@@ -31,7 +31,7 @@ AC_DEFUN([ACX_CRYPTO_BACKEND],[
3131
# Second check for the FIPS 140-2 mode
3232
3333
AC_ARG_ENABLE(fips,
34-
AC_HELP_STRING([--enable-fips],
34+
AS_HELP_STRING([--enable-fips],
3535
[Enable support for FIPS 140-2 mode (default disabled)]
3636
),
3737
[enable_fips="${enableval}"],
@@ -52,7 +52,7 @@ AC_DEFUN([ACX_CRYPTO_BACKEND],[
5252
# Then check what crypto library we want to use
5353
5454
AC_ARG_WITH(crypto-backend,
55-
AC_HELP_STRING([--with-crypto-backend],
55+
AS_HELP_STRING([--with-crypto-backend],
5656
[Select crypto backend (openssl|botan)]
5757
),
5858
[crypto_backend="${withval}"],

m4/acx_non_paged_memory.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
AC_DEFUN([ACX_NON_PAGED_MEMORY],[
22
33
AC_ARG_ENABLE(non-paged-memory,
4-
AC_HELP_STRING([--disable-non-paged-memory],
4+
AS_HELP_STRING([--disable-non-paged-memory],
55
[Disable non-paged memory for secure storage (default enabled)]
66
),
77
[enable_non_paged_memory="${enableval}"],

m4/acx_openssl.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
AC_DEFUN([ACX_OPENSSL],[
22
AC_ARG_WITH(openssl,
3-
AC_HELP_STRING([--with-openssl=PATH],[Specify prefix of path of OpenSSL]),
3+
AS_HELP_STRING([--with-openssl=PATH],[Specify prefix of path of OpenSSL]),
44
[
55
OPENSSL_INCLUDES="-I$withval/include"
66
OPENSSL_LIBDIRS="-L$withval/lib"

m4/acx_p11kit.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
AC_DEFUN([ACX_P11KIT],[
22
AC_ARG_ENABLE([p11-kit],
3-
AC_HELP_STRING([--enable-p11-kit],
3+
AS_HELP_STRING([--enable-p11-kit],
44
[Enable p11-kit integration (default enabled)]
55
),
66
[enable_p11kit="${enableval}"],
77
[enable_p11kit="yes"]
88
)
99
1010
AC_ARG_WITH(p11-kit,
11-
AC_HELP_STRING([--with-p11-kit=PATH],[Specify install path of the p11-kit module, will override path given by pkg-config]),
11+
AS_HELP_STRING([--with-p11-kit=PATH],[Specify install path of the p11-kit module, will override path given by pkg-config]),
1212
[P11KIT_PATH="$withval"],
1313
[P11KIT_PATH=""]
1414
)

m4/acx_sqlite3.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
AC_DEFUN([ACX_SQLITE3],[
22
AC_ARG_WITH(sqlite3,
3-
AC_HELP_STRING([--with-sqlite3=PATH],[Specify prefix of path of SQLite3]),
3+
AS_HELP_STRING([--with-sqlite3=PATH],[Specify prefix of path of SQLite3]),
44
[
55
SQLITE3_INCLUDES="-I$withval/include"
66
SQLITE3_LIBDIRS="-L$withval/lib"

0 commit comments

Comments
 (0)