source: trunk/third/gnome-vfs/gnome-vfs-config.in @ 15863

Revision 15863, 621 bytes checked in by ghudson, 24 years ago (diff)
Merge with gnome-vfs 1.0.
Line 
1#!/bin/sh
2
3usage="\
4    Usage: gnome-vfs-config [--version] [--config] [--cflags] [--libs]"
5
6config_file="$ATHTOOLROOT@LIBDIR@/vfsConf.sh"
7. $config_file
8
9if test $# -eq 0; then
10      echo "${usage}" 1>&2
11      exit 1
12fi
13
14while test $# -gt 0; do
15  case "$1" in
16  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
17  *) optarg= ;;
18  esac
19
20  case $1 in
21    --version)
22      echo @VERSION@
23      ;;
24    --config)
25      echo $config_file
26      ;;
27    --cflags)
28      echo $VFS_INCLUDEDIR
29      ;;
30    --libs)
31      echo "$VFS_LIBDIR $VFS_LIBS"
32      ;;
33    *)
34      echo "${usage}" 1>&2
35      exit 1
36  esac
37  shift
38done
Note: See TracBrowser for help on using the repository browser.