#!/bin/sh # # Name: wx-config-inplace # Purpose: wx configuration in tree search and query tool # Author: Ron # Modified by: # Created: 14/9/2004 # RCS-ID: $Id$ # Copyright: (c) 2004 Ron # Licence: wxWindows licence ############################################################################ # Not much to do here. Just initialise prefix to point things into the # local tree by default and then source the real wx-config if it all still # looks sane. this_prefix=$( cd "@abs_top_builddir@" 2> /dev/null && pwd ) if [ -z "$this_prefix" ]; then printf "\n *** Error: Directory '@abs_top_builddir@'\n" 1>&2 printf " no longer exists.\n\n" 1>&2 exit 1 fi . "$this_prefix/lib/wx/config/@TOOLCHAIN_FULLNAME@"