X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/89816e4f30339f72fd44d389dce7ff6750408b6c..6ea1280cb72eca20ee34d0c76e660d5cc0a482b7:/wx-config.in?ds=inline diff --git a/wx-config.in b/wx-config.in index 72c1e4b3dd..65b263f842 100755 --- a/wx-config.in +++ b/wx-config.in @@ -9,6 +9,7 @@ WX_MAJOR_VERSION_NUMBER="@WX_MAJOR_VERSION_NUMBER@" WX_MINOR_VERSION_NUMBER="@WX_MINOR_VERSION_NUMBER@" WX_RELEASE_NUMBER="@WX_RELEASE_NUMBER@" +WX_SUBRELEASE_NUMBER="@WX_SUBRELEASE_NUMBER@" release="@WX_MAJOR_VERSION_NUMBER@.@WX_MINOR_VERSION_NUMBER@" is_monolithic="@MONOLITHIC@" cross_compiling="@cross_compiling@" @@ -29,7 +30,6 @@ update_prefixes CC="@CC@" GCC="@GCC@" -GCC_SEARCHES_USR_LOCAL_INCLUDE="@GCC_SEARCHES_USR_LOCAL_INCLUDE@" CXX="@CXX@" LD="@SHARED_LD@" srcdir="@top_srcdir@" @@ -144,29 +144,14 @@ get_ldflags_gui() echo $flags_to_ret } -# return the absolute path prepending builddir to it if needed -makeabs() -{ - path=$1 - # TODO: this only works under Unix and even there it could be - # enhanced to remove ".." and "." - if [ `echo $path | sed 's/^\(.\).*/\1/'` != "/" ]; then - if [ $path = "." ]; then - path=$builddir - else - path="$builddir/$path" - fi - fi - - echo $path -} - usage() { cat <&2 ;; + -*) + # unrecognized flag is error + usage 1 1>&2 + ;; esac shift done