moved wx-config to wx-config-VERSION (with symlink), to satisfy Debian packagers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
22
configure.in
22
configure.in
@@ -6292,23 +6292,33 @@ AC_CONFIG_COMMANDS([default],
|
||||
mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
|
||||
fi
|
||||
|
||||
if test -f wx-config; then
|
||||
dnl This test is required to make the following idempotent.
|
||||
dnl Otherwise running config.status or rerunning configure
|
||||
dnl would stomp the wx-config link or try to move it onto
|
||||
dnl itself.
|
||||
dnl Use -h instead of -L to test for link (GD)
|
||||
dnl -h is documented as obsolete under Mac OS X but works
|
||||
dnl -L is obsolete under Solaris8
|
||||
if test ! -h wx-config; then
|
||||
chmod +x wx-config
|
||||
mv -f wx-config lib/wx/config/${WXCONFIG_DATA_FILE}
|
||||
( cd lib/wx/config ;
|
||||
rm -f ${TOOLCHAIN_NAME}
|
||||
${LN_S} ${WXCONFIG_DATA_FILE} ${TOOLCHAIN_NAME} )
|
||||
${LN_S} wx-config-${WX_RELEASE} wx-config
|
||||
fi
|
||||
( cd lib/wx/config ;
|
||||
rm -f ${TOOLCHAIN_NAME}
|
||||
${LN_S} ${WXCONFIG_DATA_FILE} ${TOOLCHAIN_NAME} )
|
||||
|
||||
if test -f wx-config-wrapper; then
|
||||
chmod +x wx-config-wrapper
|
||||
mv -f wx-config-wrapper wx-config
|
||||
mv -f wx-config-wrapper wx-config-${WX_RELEASE}
|
||||
rm -f wx${TOOLCHAIN_NAME}-config
|
||||
${LN_S} wx-config wx${TOOLCHAIN_NAME}-config
|
||||
${LN_S} wx-config-${WX_RELEASE} wx${TOOLCHAIN_NAME}-config
|
||||
fi
|
||||
],
|
||||
[
|
||||
TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
|
||||
WXCONFIG_DATA_FILE="${WXCONFIG_DATA_FILE}"
|
||||
WX_RELEASE="${WX_RELEASE}"
|
||||
LN_S="${LN_S}"
|
||||
]
|
||||
)
|
||||
|
Reference in New Issue
Block a user