File: show-config.in

package info (click to toggle)
discover 2.1.2-7.1+deb9u1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 6,248 kB
  • sloc: sh: 8,115; ansic: 7,275; xml: 1,809; makefile: 732
file content (90 lines) | stat: -rw-r--r-- 1,961 bytes parent folder | download | duplicates (7)
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#! /bin/sh

# Run this program to show the build configuration.  The configure
# script will run this program at the end.

# $Progeny$

# This program is in the public domain.

indent=25

build=@build@
host=@host@
target=@target@

# Build paths
builddir=@builddir@
abs_builddir=@abs_builddir@
top_builddir=@top_builddir@
abs_top_builddir=@abs_top_builddir@
srcdir=@srcdir@
abs_srcdir=@abs_srcdir@
top_srcdir=@top_srcdir@
abs_top_srcdir=@abs_top_srcdir@

# Install paths
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
datadir=@datadir@
sysconfdir=@sysconfdir@
sharedstatedir=@sharedstatedir@
localstatedir=@localstatedir@
libdir=@libdir@
includedir=@includedir@
infodir=@infodir@
mandir=@mandir@

default_exec_prefix=${prefix}
default_bindir=${exec_prefix}/bin
default_sbindir=${exec_prefix}/sbin
default_libexecdir=${exec_prefix}/libexec
default_datadir=${prefix}/share
default_sysconfdir=${prefix}/etc
default_sharedstatedir=${prefix}/com
default_localstatedir=${prefix}/var
default_libdir=${exec_prefix}/lib
default_includedir=${prefix}/include
default_infodir=${prefix}/info
default_mandir=${prefix}/man

@PROGENY_SHOW_CONFIG_VARS@
@PROGENY_SHOW_CONFIG_SET@

PACKAGE_STRING='@PACKAGE_STRING@'
echo ${PACKAGE_STRING} configuration

for var in build host target; do
    eval val=\$${var}
    printf "%${indent}s %s\n" ${var} ${val}
done

printf "%${indent}s %s\n" 'prefix' ${prefix}

for var in exec_prefix bindir \
           sbindir \
           libexecdir \
           datadir \
           sysconfdir \
           sharedstatedir \
           localstatedir \
           libdir \
           includedir \
           infodir \
           mandir; do
  eval val=\$${var}
  eval default_val=\$default_${var}
  if [ ${default_val} != ${val} ]; then
      printf "%${indent}s %s\n" ${var} ${val}
  fi
done

for var in ${VARS}; do
    eval val="\$${var}"
    printf "%${indent}s %s\n" ${var} "${val}"
done

exit 0