Overview
Comment: | objfw-config: Improve help |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
c3412a7a8ec2564725b7ad0b1eb83f6b |
User & Date: | js on 2018-11-02 00:26:43 |
Other Links: | manifest | tags |
Context
2018-11-04
| ||
13:29 | autogen.sh: Use automake 1.16 on OpenBSD check-in: dc4c0a3d6b user: js tags: trunk | |
2018-11-02
| ||
00:26 | objfw-config: Improve help check-in: c3412a7a8e user: js tags: trunk | |
2018-10-28
| ||
14:53 | Use .init_array instead of .ctors on Solaris check-in: 12db1e2cc2 user: js tags: trunk | |
Changes
Modified utils/objfw-config.in from [095c498444] to [99ed5dfce7].
︙ | ︙ | |||
37 38 39 40 41 42 43 | PLUGIN_LDFLAGS="@PLUGIN_LDFLAGS@" PLUGIN_SUFFIX="@PLUGIN_SUFFIX@" PROG_SUFFIX="@EXEEXT@" STATIC_LIBS="${libdir}/libobjfw.a @LIBS@" VERSION="@PACKAGE_VERSION@" show_help() { | | | < < < > > > > > > > | 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 | PLUGIN_LDFLAGS="@PLUGIN_LDFLAGS@" PLUGIN_SUFFIX="@PLUGIN_SUFFIX@" PROG_SUFFIX="@EXEEXT@" STATIC_LIBS="${libdir}/libobjfw.a @LIBS@" VERSION="@PACKAGE_VERSION@" show_help() { cat >&2 <<__EOF__ objfw-config: Available arguments are: --all Outputs all flags + libs --arc Outputs the required OBJCFLAGS to use ARC --cflags Outputs the required CFLAGS --cppflags Outputs the required CPPFLAGS --cxxflags Outputs the required CXXFLAGS --framework-libs Outputs the required LIBS, preferring frameworks --help Print this help --ldflags Outputs the required LDFLAGS --libs Outputs the required LIBS --lib-cflags Outputs CFLAGS for building a library --lib-ldflags Outputs LDFLAGS for building a library --lib-prefix Outputs the prefix for libraries --lib-suffix Outputs the suffix for libraries --objc Outputs the OBJC used to compile ObjFW --objcflags Outputs the required OBJCFLAGS --plugin-cflags Outputs CFLAGS for building a plugin --plugin-ldflags Outputs LDFLAGS for building a plugin --plugin-suffix Outputs the suffix for plugins --prog-suffix Outputs the suffix for binaries --reexport Outputs LDFLAGS to reexport ObjFW --rpath Outputs LDFLAGS for using rpath --static-libs Outputs the required LIBS to link ObjFW statically --version Outputs the installed version __EOF__ exit $1 } test -z "$1" && show_help 1 |
︙ | ︙ | |||
88 89 90 91 92 93 94 95 96 97 98 99 100 101 | ;; --cxxflags) printf "%s" "$CXXFLAGS" ;; --framework-libs) printf "%s" "$FRAMEWORK_LIBS" ;; --objc) printf "%s" "$OBJC" ;; --objcflags) printf "%s" "$OBJCFLAGS" ;; --libs) | > > > | 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | ;; --cxxflags) printf "%s" "$CXXFLAGS" ;; --framework-libs) printf "%s" "$FRAMEWORK_LIBS" ;; --help) show_help 0 ;; --objc) printf "%s" "$OBJC" ;; --objcflags) printf "%s" "$OBJCFLAGS" ;; --libs) |
︙ | ︙ |