Skip to content
Browse files

build: add datarootdir and remove unused data and man configuration flag

  • Loading branch information...
1 parent 963444f commit 409645b9e36ed31b825b5093ffa9f2f99138a262 carenas committed Apr 2, 2008
Showing with 5 additions and 13 deletions.
  1. +5 −13 ganglia-config.in
View
18 ganglia-config.in
@@ -11,9 +11,7 @@ ganglia_exec_prefix="$exec_prefix"
ganglia_bindir="@bindir@"
ganglia_libdir="@libdir@"
ganglia_includedir="@includedir@"
-ganglia_mandir="@mandir@"
-ganglia_datadir="@datadir@"
-ganglia_acdir="@datadir@/aclocal"
+ganglia_datarootdir="@varstatedir@/ganglia"
ganglia_cflags="@CFLAGS@"
ganglia_ldflags="@LDFLAGS@"
ganglia_libs="@LIBS@"
@@ -24,7 +22,7 @@ version=no
usage="ganglia-config"
usage="$usage [--help] [--version] [--all]"
-usage="$usage [--prefix] [--exec-prefix] [--bindir] [--libdir] [--includedir] [--mandir] [--datadir] [--acdir]"
+usage="$usage [--prefix] [--exec-prefix] [--bindir] [--libdir] [--includedir] [--datarootdir]"
usage="$usage [--cflags] [--ldflags] [--libs]"
if [ $# -eq 0 ]; then
echo "ganglia-config:Error: Invalid option" 1>&2
@@ -75,15 +73,9 @@ do
--includedir)
output="$output $ganglia_includedir"
;;
- --mandir)
- output="$output $ganglia_mandir"
- ;;
- --datadir)
- output="$output $ganglia_datadir"
- ;;
- --acdir)
- output="$output $ganglia_acdir"
- ;;
+ --datarootdir)
+ output="$output $ganglia_datarootdir"
+ ;;
--cflags)
output="$output -I$ganglia_includedir"
output_extra="$output_extra $ganglia_cflags"

0 comments on commit 409645b

Please sign in to comment.
Something went wrong with that request. Please try again.