Overview
Comment: | objfw-config: Change packages format and location |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
35779c332cb09628ab5cea62b8c800b3 |
User & Date: | js on 2019-01-20 12:13:50 |
Other Links: | manifest | tags |
Context
2019-01-20
| ||
12:34 | objfw-config: Clean up output of flags check-in: b85ae3cbc1 user: js tags: trunk | |
12:13 | objfw-config: Change packages format and location check-in: 35779c332c user: js tags: trunk | |
2019-01-17
| ||
21:59 | class_registerAlias_np(): Acquire the global mutex check-in: 1ac944d7c1 user: js tags: trunk | |
Changes
Modified utils/objfw-config.in from [3230b8f5bb] to [bb9b179125].
︙ | ︙ | |||
13 14 15 16 17 18 19 | # Public License, either version 2 or 3, which can be found in the file # LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this # file. # prefix="@prefix@" exec_prefix="@exec_prefix@" | < < > | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | # Public License, either version 2 or 3, which can be found in the file # LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this # file. # prefix="@prefix@" exec_prefix="@exec_prefix@" libdir="@libdir@" packagesdir="$libdir/objfw-config" CFLAGS="" CPPFLAGS="@OBJFW_CPPFLAGS@ -I@includedir@" CXXFLAGS="" OBJC="@OBJC@" OBJCFLAGS="@OBJFW_OBJCFLAGS@" LIB_CFLAGS="@LIB_CFLAGS@" LIB_LDFLAGS="@LIB_LDFLAGS@" |
︙ | ︙ | |||
73 74 75 76 77 78 79 | --version Outputs the installed version __EOF__ exit $1 } test -z "$1" && show_help 1 | | | | | > | > | | < | | 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | --version Outputs the installed version __EOF__ exit $1 } test -z "$1" && show_help 1 package_description() { if test "$1" != "1"; then echo "Unsupported package description version: $1" exit 1 fi } package_depends_on() { if ! test -f "$packagesdir/$1.oc"; then echo "No such package: $1" exit 1 fi set -e source "$packagesdir/$1.oc" set +e } parse_packages() { while test x"$1" != "x"; do case "$1" in --package) shift package_depends_on "$1" ;; esac shift done } parse_packages "$@" while test x"$1" != "x"; do case "$1" in --all) printf "%s %s %s " "$CFLAGS" "$CPPFLAGS" "$CXXFLAGS" printf "%s %s " "$OBJCFLAGS" "$LDFLAGS" printf "%s %s " "$LDFLAGS_REEXPORT" "$LDFLAGS_RPATH" |
︙ | ︙ | |||
189 190 191 192 193 194 195 | printf "%s" "$LDFLAGS_RPATH" ;; --package) # Already included into the flags. shift ;; --packages-dir) | | | 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 | printf "%s" "$LDFLAGS_RPATH" ;; --package) # Already included into the flags. shift ;; --packages-dir) printf "%s" "$packagesdir" ;; --plugin-cflags) printf "%s" "$PLUGIN_CFLAGS" ;; --plugin-ldflags) printf "%s" "$PLUGIN_LDFLAGS" ;; |
︙ | ︙ |