From c7244ba1ba567c445b4bdc4a1d04bfcf1b9cdb8c Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Tue, 21 Nov 2000 15:27:18 +0000 Subject: [PATCH] Added `--cflags', `--libs' and `--extra-libs' parameters. 2000-11-21 Martin Baulig * libgtop-config.h.in: Added `--cflags', `--libs' and `--extra-libs' parameters. --- ChangeLog | 5 +++++ libgtop-config.in | 11 ++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 85299009..caca5fd4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-11-21 Martin Baulig + + * libgtop-config.h.in: Added `--cflags', `--libs' and `--extra-libs' + parameters. + 2000-11-20 Martin Baulig Released LibGTop 1.0.10 "November Rain". diff --git a/libgtop-config.in b/libgtop-config.in index cbd3055a..9f1904f7 100644 --- a/libgtop-config.in +++ b/libgtop-config.in @@ -1,7 +1,7 @@ #!/bin/sh usage="\ - Usage: libgtop-config [--version] [--config] [--features-def-file]" +Usage: libgtop-config [--version] [--config] [--features-def-file] [--cflags] [--libs] [--extra-libs]" config_file="@LIBGTOP_LIBDIR@/libgtopConf.sh" . $config_file @@ -29,6 +29,15 @@ while test $# -gt 0; do --features-def-file) echo $features_def_file ;; + --cflags) + echo $LIBGTOP_INCS + ;; + --libs) + echo $LIBGTOP_LIBS + ;; + --extra-libs) + echo $LIBGTOP_EXTRA_LIBS + ;; *) echo "${usage}" 1>&2 exit 1