added --basename and --release flags to wx-config (patch #750815)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-06-18 16:08:15 +00:00
parent 37a4073bef
commit c334e639dc
2 changed files with 11 additions and 2 deletions

View File

@@ -190,6 +190,7 @@ Generic:
Unix:
- fixed build problems with OpenGL when libGL(U) were in different directories
- added --basename and --release flags to wx-config (Robert O'Connor)
wxMSW:

View File

@@ -15,8 +15,8 @@ inplace_flag=no
usage()
{
cat <<EOF
Usage: wx-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--static]
[--libs] [--gl-libs]
Usage: wx-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--release]
[--basename] [--static] [--libs] [--gl-libs]
[--cppflags] [--cflags] [--cxxflags] [--ldflags] [--rezflags]
[--cc] [--cxx] [--ld]
[--inplace]
@@ -106,6 +106,14 @@ while test $# -gt 0; do
--version)
echo @WX_MAJOR_VERSION_NUMBER@.@WX_MINOR_VERSION_NUMBER@.@WX_RELEASE_NUMBER@
;;
--release)
# Should echo @WX_RELEASE@ instead, but that doesn't seem to be replaced after
# configure has run on this file.
echo @WX_MAJOR_VERSION_NUMBER@.@WX_MINOR_VERSION_NUMBER@
;;
--basename)
echo @WX_LIBRARY_BASENAME@
;;
--static)
static_flag=yes
;;