1 Star 0 Fork 0

Seekladoom/wxWidgets

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
wx-config-inplace.in 1.10 KB
一键复制 编辑 原始数据 按行查看 历史
#!/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-20 to make it work with Bourne shell
# Created: 14/9/2004
# 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
( cd $1 && pwd )
}
# 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@"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/seekladoom/wxWidgets.git
git@gitee.com:seekladoom/wxWidgets.git
seekladoom
wxWidgets
wxWidgets
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385