summaryrefslogtreecommitdiff
path: root/wxgtk3/wx-config
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-11-14 19:54:21 +0000
committerB Stack <bgstack15@gmail.com>2019-11-14 19:54:21 +0000
commitff330d04a028e68584fb051c083619ce01175b83 (patch)
tree26f78dbfad675059ac4e7e5fb3af4abd41235d23 /wxgtk3/wx-config
parentMerge branch 'palemoon-bump' into 'master' (diff)
parentupdate documentation (diff)
downloadstackrpms-ff330d04a028e68584fb051c083619ce01175b83.tar.gz
stackrpms-ff330d04a028e68584fb051c083619ce01175b83.tar.bz2
stackrpms-ff330d04a028e68584fb051c083619ce01175b83.zip
Merge branch 'updates' into 'master'
Slew of applicaton updates See merge request bgstack15/stackrpms!99
Diffstat (limited to 'wxgtk3/wx-config')
-rw-r--r--wxgtk3/wx-config45
1 files changed, 0 insertions, 45 deletions
diff --git a/wxgtk3/wx-config b/wxgtk3/wx-config
deleted file mode 100644
index 970ded9..0000000
--- a/wxgtk3/wx-config
+++ /dev/null
@@ -1,45 +0,0 @@
-#! /bin/sh
-#
-# Multilib-aware wrapper for the wx-config script
-#
-# Usage: wx-config [--arch <arch>] <regular wx-config options>
-#
-
-version=3.1
-
-if [ $# -ge 2 ]; then
- if [ $1 = "--arch" ]; then
- arch=$2
- shift 2
- fi
-fi
-
-if [ -z $arch ]; then
- arch=`uname -m`
-fi
-
-case $arch in
- i?86|ppc|s390|sparc|arm*|ia64|mips|mipsel)
- libdir=/usr/lib
- ;;
- x86_64|ppc64|s390x|sparc64|aarch64|ppc64le|mips64*)
- libdir=/usr/lib64
- ;;
- *)
- echo "Unsupported architecture '$arch'"
- exit 8
- ;;
-esac
-
-wxconfig=$libdir/wx/config/gtk3-unicode-$version
-# special case when using 32-bit userspace and 64-bit kernel
-if [ ! -f $wxconfig -a \( $arch = ppc64 -o $arch = sparc64 \) ]; then
- wxconfig=/usr/lib/wx/config/gtk3-unicode-$version
-fi
-
-if [ -x $wxconfig ]; then
- exec $wxconfig $@
-else
- echo "wxWidgets3-devel isn't installed for architecture '$arch'"
- exit 9
-fi
bgstack15