]> git.saurik.com Git - wxWidgets.git/blame_incremental - wx-config-inplace.in
Avoid dropping events in wxDocParentFrameAnyBase in some circumstances.
[wxWidgets.git] / wx-config-inplace.in
... / ...
CommitLineData
1#!/bin/sh
2#
3# Name: wx-config-inplace
4# Purpose: wx configuration in tree search and query tool
5# Author: Ron <ron@debian.org>
6# Modified by: VZ on 2005-09-20 to make it work with Bourne shell
7# Created: 14/9/2004
8# Copyright: (c) 2004 Ron <ron@debian.org>
9# Licence: wxWindows licence
10############################################################################
11
12# Not much to do here. Just initialise prefix to point things into the
13# local tree by default and then source the real wx-config if it all still
14# looks sane.
15
16check_dirname()
17{
18 if [ ! -d "$1" ]; then
19 printf "\n *** Error: Directory '$1'\n" 1>&2
20 printf " no longer exists.\n\n" 1>&2
21 exit 1
22 fi
23 ( cd $1 && pwd )
24}
25
26# set the variables which allow the real wx-config to check if we're using it
27# in place or after installation
28this_prefix=`check_dirname "@abs_top_srcdir@"`
29if [ "x$this_prefix" = "x" ]; then
30 exit 1
31fi
32this_exec_prefix=`check_dirname "@abs_top_builddir@"`
33if [ "x$this_exec_prefix" = "x" ]; then
34 exit 1
35fi
36
37. "$this_exec_prefix/lib/wx/config/@TOOLCHAIN_FULLNAME@"
38