]> git.saurik.com Git - wxWidgets.git/blob - wx-config-inplace.in
fix bug
[wxWidgets.git] / wx-config-inplace.in
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:
7 # Created: 14/9/2004
8 # RCS-ID: $Id$
9 # Copyright: (c) 2004 Ron <ron@debian.org>
10 # Licence: wxWindows licence
11 ############################################################################
12
13 # Not much to do here. Just initialise prefix to point things into the
14 # local tree by default and then source the real wx-config if it all still
15 # looks sane.
16
17 this_prefix=$( cd "@abs_top_builddir@" 2> /dev/null && pwd )
18
19 if [ -z "$this_prefix" ]; then
20 printf "\n *** Error: Directory '@abs_top_builddir@'\n" 1>&2
21 printf " no longer exists.\n\n" 1>&2
22 exit 1
23 fi
24
25 . "$this_prefix/lib/wx/config/@TOOLCHAIN_FULLNAME@"
26