57764418a4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
31 lines
885 B
Bash
31 lines
885 B
Bash
#!/bin/sh
|
|
#
|
|
# Name: wx-config-inplace
|
|
# Purpose: wx configuration in tree search and query tool
|
|
# Author: Ron <ron@debian.org>
|
|
# Modified by: VZ on 2005-09-21 to actually work with Bourne shell
|
|
# Created: 14/9/2004
|
|
# RCS-ID: $Id$
|
|
# Copyright: (c) 2004 Ron <ron@debian.org>
|
|
# 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.
|
|
|
|
check_dirname()
|
|
{
|
|
if [ ! -d "$1" ]; then
|
|
printf "\n *** Error: Directory '$1'\n" 1>&2
|
|
printf " no longer exists.\n\n" 1>&2
|
|
exit 1
|
|
fi
|
|
}
|
|
|
|
check_dirname "@abs_top_srcdir@"
|
|
check_dirname "@abs_top_builddir@"
|
|
|
|
. "@abs_top_builddir@/lib/wx/config/@TOOLCHAIN_FULLNAME@"
|
|
|