File: configure.ac

package info (click to toggle)
globus-simple-ca 5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 544 kB
  • sloc: sh: 5,231; perl: 267; makefile: 98
file content (54 lines) | stat: -rw-r--r-- 1,490 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
AC_PREREQ([2.60])

AC_INIT([globus_simple_ca],[5.0],[https://github.com/gridcf/gct/issues])
AC_SUBST([MAJOR_VERSION], [${PACKAGE_VERSION%%.*}])
AC_SUBST([MINOR_VERSION], [${PACKAGE_VERSION##*.}])
AC_SUBST([AGE_VERSION], [2])
AC_SUBST([PACKAGE_DEPS], [""])

AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([1.11 foreign parallel-tests tar-pax])

m4_include([dirt.sh])
AC_SUBST(DIRT_TIMESTAMP)
AC_SUBST(DIRT_BRANCH_ID)

AC_CANONICAL_HOST

grid_security_conf_tmpl="$srcdir/grid-security.conf.tmpl"
AC_SUBST_FILE(grid_security_conf_tmpl)
ca_signing_policy_tmpl="$srcdir/ca-signing-policy.tmpl"
AC_SUBST_FILE(ca_signing_policy_tmpl)
grid_ca_ssl_conf_tmpl="$srcdir/grid-ca-ssl.conf.tmpl"
AC_SUBST_FILE(grid_ca_ssl_conf_tmpl)

GLOBUS_COMMON_PATH=
PKG_CHECK_EXISTS([globus-common], [
    GLOBUS_COMMON_PATH="$($PKG_CONFIG --variable=path globus-common)"])
AC_SUBST([GLOBUS_COMMON_PATH])
AM_CONDITIONAL([CYGPATH_W_DEFINED], [
    case $host in
        *mingw32*)
        test x"$CYGPATH_W" != x;
        ;;
        *)
        false
        ;;
    esac])


AC_PATH_PROGS(OPENSSL, [openssl])
AC_PATH_PROGS(A2X, [a2x a2x.py])
AM_CONDITIONAL([BUILD_MANPAGES], [test x"$A2X" != x])

AC_CONFIG_FILES(
        [globus-simple-ca-undefined.pc
        globus-simple-ca.pc
        Makefile
        test/Makefile])

AC_CONFIG_FILES([grid-ca-create], [chmod a+x grid-ca-create])
AC_CONFIG_FILES([grid-ca-package], [chmod a+x grid-ca-package])
AC_CONFIG_FILES([grid-ca-sign], [chmod a+x grid-ca-sign])

AC_OUTPUT