diff options
| author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-01-30 14:30:03 +0000 |
|---|---|---|
| committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-01-30 14:30:03 +0000 |
| commit | 013a7a0aa76b6ec65807fecbc8a70849447f1e76 (patch) | |
| tree | 279a940e36b033bc663afebe9377a77431d9174b /misc/xine-config | |
| parent | 3343d52e459bfc9c9db28dcba7afb0c6e2f05f59 (diff) | |
| download | xine-lib-013a7a0aa76b6ec65807fecbc8a70849447f1e76.tar.gz xine-lib-013a7a0aa76b6ec65807fecbc8a70849447f1e76.tar.bz2 | |
Make sure that PKG_CONFIG_PATH is set properly by xine-config.
--HG--
rename : misc/xine-config => misc/xine-config.in
Diffstat (limited to 'misc/xine-config')
| -rw-r--r-- | misc/xine-config | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/misc/xine-config b/misc/xine-config deleted file mode 100644 index 5723a1a46..000000000 --- a/misc/xine-config +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh -# -# - -unset prefix -unset exec_prefix -unset args - -usage() -{ - cat <<EOF -Usage: xine-config [OPTIONS] [LIBRARIES] -Options: - [--prefix[=DIR]] - [--exec-prefix[=DIR]] - [--version] - [--libs] - [--acflags] - [--cflags] - [--plugindir] - [--datadir] - [--scriptdir] - [--localedir] - [--objcflags] -EOF - exit $1 -} - -if test $# -eq 0; then - usage 1 1>&2 -fi - -while test $# -gt 0; do - case "$1" in - -*=*) optarg="${1#--*=}" ;; - *) optarg= ;; - esac - - case "$1" in - --prefix=*) - prefix="$optarg" - if [ "$exec_prefix" = '' ]; then - exec_prefix="$optarg" - fi - ;; - --exec-prefix=*) - exec_prefix="$optarg" - ;; - --version) - args="$args${args+ }--modversion" - ;; - --cflags|--libs) - args="$args${args+ }$1" - ;; - --prefix|--acflags|--plugindir|--datadir|--scriptdir|--localedir|--objcflags) - args="$args${args+ }--variable=${1#--}" - ;; - --exec-prefix) - args="$args${args+ }--variable=exec_prefix" - ;; - *) - usage 1 1>&2 - ;; - esac - shift -done - -exec pkg-config "${prefix+--define-variable=prefix=}$prefix" \ - "${exec_prefix+--define-variable=exec_prefix=}$exec_prefix" \ - $args libxine |
