and restored error checking too: this completes sequence of 3 check ins making wx-config work on systems with Bourne shell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ea4806251e
commit
66c05fa96b
@ -3,7 +3,7 @@
|
|||||||
# Name: wx-config-inplace
|
# Name: wx-config-inplace
|
||||||
# Purpose: wx configuration in tree search and query tool
|
# Purpose: wx configuration in tree search and query tool
|
||||||
# Author: Ron <ron@debian.org>
|
# Author: Ron <ron@debian.org>
|
||||||
# Modified by:
|
# Modified by: VZ on 2005-09-20 to make it work with Bourne shell
|
||||||
# Created: 14/9/2004
|
# Created: 14/9/2004
|
||||||
# RCS-ID: $Id$
|
# RCS-ID: $Id$
|
||||||
# Copyright: (c) 2004 Ron <ron@debian.org>
|
# Copyright: (c) 2004 Ron <ron@debian.org>
|
||||||
@ -27,7 +27,13 @@ check_dirname()
|
|||||||
# set the variables which allow the real wx-config to check if we're using it
|
# set the variables which allow the real wx-config to check if we're using it
|
||||||
# in place or after installation
|
# in place or after installation
|
||||||
this_prefix=`check_dirname "@abs_top_srcdir@"`
|
this_prefix=`check_dirname "@abs_top_srcdir@"`
|
||||||
|
if [ "x$this_prefix" = "x" ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
this_exec_prefix=`check_dirname "@abs_top_builddir@"`
|
this_exec_prefix=`check_dirname "@abs_top_builddir@"`
|
||||||
|
if [ "x$this_exec_prefix" = "x" ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
. "$this_exec_prefix/lib/wx/config/@TOOLCHAIN_FULLNAME@"
|
. "$this_exec_prefix/lib/wx/config/@TOOLCHAIN_FULLNAME@"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user