X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ea4806251e2d46d9926d7f1d695b6303f303b7b7..7892e035c9a247715635ec82f139741d20d07358:/wx-config-inplace.in diff --git a/wx-config-inplace.in b/wx-config-inplace.in index 1ffb80da62..a95d45f30f 100644 --- a/wx-config-inplace.in +++ b/wx-config-inplace.in @@ -3,7 +3,7 @@ # Name: wx-config-inplace # Purpose: wx configuration in tree search and query tool # Author: Ron -# Modified by: +# Modified by: VZ on 2005-09-20 to make it work with Bourne shell # Created: 14/9/2004 # RCS-ID: $Id$ # Copyright: (c) 2004 Ron @@ -27,7 +27,13 @@ check_dirname() # set the variables which allow the real wx-config to check if we're using it # in place or after installation this_prefix=`check_dirname "@abs_top_srcdir@"` +if [ "x$this_prefix" = "x" ]; then + exit 1 +fi 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@"