Compare commits
1 Commits
v2.3.4
...
wxPy_2_3_3
Author | SHA1 | Date | |
---|---|---|---|
|
ff96ce192b |
24
Makefile.in
24
Makefile.in
@@ -536,7 +536,6 @@ ALL_DIST: distclean
|
|||||||
cp $(WXDIR)/install-sh $(DISTDIR)
|
cp $(WXDIR)/install-sh $(DISTDIR)
|
||||||
cp $(WXDIR)/mkinstalldirs $(DISTDIR)
|
cp $(WXDIR)/mkinstalldirs $(DISTDIR)
|
||||||
cp $(WXDIR)/wx-config.in $(DISTDIR)
|
cp $(WXDIR)/wx-config.in $(DISTDIR)
|
||||||
cp $(WXDIR)/version-script.in $(DISTDIR)
|
|
||||||
cp $(WXDIR)/setup.h.in $(DISTDIR)
|
cp $(WXDIR)/setup.h.in $(DISTDIR)
|
||||||
cp $(WXDIR)/setup.h_vms $(DISTDIR)
|
cp $(WXDIR)/setup.h_vms $(DISTDIR)
|
||||||
cp $(WXDIR)/descrip.mms $(DISTDIR)
|
cp $(WXDIR)/descrip.mms $(DISTDIR)
|
||||||
@@ -544,16 +543,13 @@ ALL_DIST: distclean
|
|||||||
cp $(WXDIR)/wxBase.spec $(DISTDIR)
|
cp $(WXDIR)/wxBase.spec $(DISTDIR)
|
||||||
cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
|
cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
|
||||||
cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
|
cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
|
||||||
|
cp $(DOCDIR)/symbols.txt $(DISTDIR)/SYMBOLS.txt
|
||||||
cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
|
cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
|
||||||
mkdir $(DISTDIR)/lib
|
mkdir $(DISTDIR)/lib
|
||||||
cp $(WXDIR)/lib/vms.opt $(DISTDIR)/lib
|
cp $(WXDIR)/lib/vms.opt $(DISTDIR)/lib
|
||||||
cp $(WXDIR)/lib/vms_gtk.opt $(DISTDIR)/lib
|
cp $(WXDIR)/lib/vms_gtk.opt $(DISTDIR)/lib
|
||||||
mkdir $(DISTDIR)/src
|
mkdir $(DISTDIR)/src
|
||||||
# temp hack for common/execcmn.cpp: it's not supported by tmake
|
cp $(SRCDIR)/files.lst $(DISTDIR)/src/
|
||||||
# yet (it's a header-like file but in src/common directory and it
|
|
||||||
# shouldn't be distributed...)
|
|
||||||
mkdir $(DISTDIR)/src/common
|
|
||||||
cp $(SRCDIR)/common/execcmn.cpp $(DISTDIR)/src/common
|
|
||||||
mkdir $(DISTDIR)/src/zlib
|
mkdir $(DISTDIR)/src/zlib
|
||||||
cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
|
cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
|
||||||
cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
|
cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
|
||||||
@@ -602,6 +598,7 @@ ALL_GUI_DIST: ALL_DIST
|
|||||||
cp $(WXDIR)/art/*.xpm $(DISTDIR)/art
|
cp $(WXDIR)/art/*.xpm $(DISTDIR)/art
|
||||||
cp $(WXDIR)/art/gtk/*.xpm $(DISTDIR)/art/gtk
|
cp $(WXDIR)/art/gtk/*.xpm $(DISTDIR)/art/gtk
|
||||||
cp $(WXDIR)/art/motif/*.xpm $(DISTDIR)/art/motif
|
cp $(WXDIR)/art/motif/*.xpm $(DISTDIR)/art/motif
|
||||||
|
mkdir $(DISTDIR)/src/common
|
||||||
mkdir $(DISTDIR)/src/generic
|
mkdir $(DISTDIR)/src/generic
|
||||||
mkdir $(DISTDIR)/src/html
|
mkdir $(DISTDIR)/src/html
|
||||||
mkdir $(DISTDIR)/src/$(TOOLKITDIR)
|
mkdir $(DISTDIR)/src/$(TOOLKITDIR)
|
||||||
@@ -653,6 +650,7 @@ BASE_DIST: ALL_DIST
|
|||||||
mkdir $(DISTDIR)/include/wx/protocol
|
mkdir $(DISTDIR)/include/wx/protocol
|
||||||
mkdir $(DISTDIR)/include/wx/unix
|
mkdir $(DISTDIR)/include/wx/unix
|
||||||
mkdir $(DISTDIR)/include/wx/msw
|
mkdir $(DISTDIR)/include/wx/msw
|
||||||
|
mkdir $(DISTDIR)/src/common
|
||||||
mkdir $(DISTDIR)/src/unix
|
mkdir $(DISTDIR)/src/unix
|
||||||
mkdir $(DISTDIR)/src/msw
|
mkdir $(DISTDIR)/src/msw
|
||||||
cp @PORT_FILES@ $(DISTDIR)
|
cp @PORT_FILES@ $(DISTDIR)
|
||||||
@@ -661,7 +659,6 @@ BASE_DIST: ALL_DIST
|
|||||||
cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
|
cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
|
||||||
cp $(DOCDIR)/base/readme.txt $(DISTDIR)/README.txt
|
cp $(DOCDIR)/base/readme.txt $(DISTDIR)/README.txt
|
||||||
cp $(SRCDIR)/*.in $(DISTDIR)/src
|
cp $(SRCDIR)/*.in $(DISTDIR)/src
|
||||||
cp $(SRCDIR)/files.lst $(DISTDIR)/src
|
|
||||||
cp $(WXDIR)/src/common/*.inc $(DISTDIR)/src/common
|
cp $(WXDIR)/src/common/*.inc $(DISTDIR)/src/common
|
||||||
cp $(WXDIR)/src/common/base.rc $(DISTDIR)/src/common
|
cp $(WXDIR)/src/common/base.rc $(DISTDIR)/src/common
|
||||||
cp $(WXDIR)/src/common/unzip.h $(DISTDIR)/src/common
|
cp $(WXDIR)/src/common/unzip.h $(DISTDIR)/src/common
|
||||||
@@ -695,16 +692,6 @@ GTK_DIST: ALL_GUI_DIST
|
|||||||
mkdir $(DISTDIR)/contrib
|
mkdir $(DISTDIR)/contrib
|
||||||
cp -R $(WXDIR)/contrib $(DISTDIR)
|
cp -R $(WXDIR)/contrib $(DISTDIR)
|
||||||
|
|
||||||
X11_DIST: ALL_GUI_DIST UNIV_DIST
|
|
||||||
cp $(WXDIR)/wxX11.spec $(DISTDIR)
|
|
||||||
cp $(INCDIR)/wx/x11/*.h $(DISTDIR)/include/wx/x11
|
|
||||||
cp $(X11DIR)/files.lst $(DISTDIR)/src/x11
|
|
||||||
cp $(X11DIR)/*.cpp $(DISTDIR)/src/x11
|
|
||||||
cp $(X11DIR)/*.c $(DISTDIR)/src/x11
|
|
||||||
cp $(X11DIR)/*.xbm $(DISTDIR)/src/x11
|
|
||||||
mkdir $(DISTDIR)/contrib
|
|
||||||
cp -R $(WXDIR)/contrib $(DISTDIR)
|
|
||||||
|
|
||||||
MOTIF_DIST: ALL_GUI_DIST
|
MOTIF_DIST: ALL_GUI_DIST
|
||||||
cp $(WXDIR)/wxMotif.spec $(DISTDIR)
|
cp $(WXDIR)/wxMotif.spec $(DISTDIR)
|
||||||
cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
|
cp $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
|
||||||
@@ -778,8 +765,6 @@ MSW_ZIP_TEXT_DIST: ALL_GUI_DIST
|
|||||||
cp $(SRCDIR)/*.??? $(DISTDIR)/src
|
cp $(SRCDIR)/*.??? $(DISTDIR)/src
|
||||||
cp $(SRCDIR)/*.?? $(DISTDIR)/src
|
cp $(SRCDIR)/*.?? $(DISTDIR)/src
|
||||||
cp $(MSWDIR)/?ake*.* $(DISTDIR)/src/msw
|
cp $(MSWDIR)/?ake*.* $(DISTDIR)/src/msw
|
||||||
mkdir $(DISTDIR)/contrib
|
|
||||||
cp -R $(WXDIR)/contrib $(DISTDIR)
|
|
||||||
|
|
||||||
UNIV_DIST: ALL_GUI_DIST
|
UNIV_DIST: ALL_GUI_DIST
|
||||||
mkdir $(DISTDIR)/include/wx/univ
|
mkdir $(DISTDIR)/include/wx/univ
|
||||||
@@ -1502,7 +1487,6 @@ debian-dist: debian-native-dist debian-msw-dirs MSW_DIST
|
|||||||
mv $(DISTDIR) $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)
|
mv $(DISTDIR) $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)
|
||||||
|
|
||||||
debian-native-dist: @GUIDIST@ UNIV_DIST MANUAL_DIST PYTHON_DIST
|
debian-native-dist: @GUIDIST@ UNIV_DIST MANUAL_DIST PYTHON_DIST
|
||||||
cp $(SRCDIR)/files.lst $(DISTDIR)/src
|
|
||||||
|
|
||||||
debian-msw-dirs:
|
debian-msw-dirs:
|
||||||
mkdir $(DISTDIR)/include/wx/msw
|
mkdir $(DISTDIR)/include/wx/msw
|
||||||
|
78
acinclude.m4
78
acinclude.m4
@@ -19,7 +19,7 @@ dnl ---------------------------------------------------------------------------
|
|||||||
AC_DEFUN([WX_PATH_FIND_INCLUDES],
|
AC_DEFUN([WX_PATH_FIND_INCLUDES],
|
||||||
[
|
[
|
||||||
ac_find_includes=
|
ac_find_includes=
|
||||||
for ac_dir in $1 /usr/include;
|
for ac_dir in $1;
|
||||||
do
|
do
|
||||||
if test -f "$ac_dir/$2"; then
|
if test -f "$ac_dir/$2"; then
|
||||||
ac_find_includes=$ac_dir
|
ac_find_includes=$ac_dir
|
||||||
@@ -35,7 +35,7 @@ dnl ---------------------------------------------------------------------------
|
|||||||
AC_DEFUN([WX_PATH_FIND_LIBRARIES],
|
AC_DEFUN([WX_PATH_FIND_LIBRARIES],
|
||||||
[
|
[
|
||||||
ac_find_libraries=
|
ac_find_libraries=
|
||||||
for ac_dir in $1 /usr/lib;
|
for ac_dir in $1;
|
||||||
do
|
do
|
||||||
for ac_extension in a so sl dylib; do
|
for ac_extension in a so sl dylib; do
|
||||||
if test -f "$ac_dir/lib$2.$ac_extension"; then
|
if test -f "$ac_dir/lib$2.$ac_extension"; then
|
||||||
@@ -51,17 +51,13 @@ dnl Path to include, already defined
|
|||||||
dnl ---------------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------------
|
||||||
AC_DEFUN([WX_INCLUDE_PATH_EXIST],
|
AC_DEFUN([WX_INCLUDE_PATH_EXIST],
|
||||||
[
|
[
|
||||||
dnl never add -I/usr/include to the CPPFLAGS
|
ac_path_to_include=$1
|
||||||
if test "x$1" = "x/usr/include"; then
|
echo "$2" | grep "\-I$1" > /dev/null
|
||||||
|
result=$?
|
||||||
|
if test $result = 0; then
|
||||||
ac_path_to_include=""
|
ac_path_to_include=""
|
||||||
else
|
else
|
||||||
echo "$2" | grep "\-I$1" > /dev/null
|
ac_path_to_include=" -I$1"
|
||||||
result=$?
|
|
||||||
if test $result = 0; then
|
|
||||||
ac_path_to_include=""
|
|
||||||
else
|
|
||||||
ac_path_to_include=" -I$1"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
@@ -340,15 +336,10 @@ AC_DEFUN([WX_ARG_WITH],
|
|||||||
])
|
])
|
||||||
|
|
||||||
dnl like WX_ARG_WITH but uses AC_ARG_ENABLE instead of AC_ARG_WITH
|
dnl like WX_ARG_WITH but uses AC_ARG_ENABLE instead of AC_ARG_WITH
|
||||||
dnl usage: WX_ARG_ENABLE(option, helpmessage, variable-name, enablestring)
|
dnl usage: WX_ARG_ENABLE(option, helpmessage, variable-name)
|
||||||
dnl
|
|
||||||
dnl enablestring is a hack and allows to show "checking for --disable-foo"
|
|
||||||
dnl message when running configure instead of the default "checking for
|
|
||||||
dnl --enable-foo" one whih is useful for the options enabled by default
|
|
||||||
AC_DEFUN([WX_ARG_ENABLE],
|
AC_DEFUN([WX_ARG_ENABLE],
|
||||||
[
|
[
|
||||||
enablestring=$4
|
AC_MSG_CHECKING([for --enable-$1])
|
||||||
AC_MSG_CHECKING([for --${enablestring:-enable}-$1])
|
|
||||||
no_cache=0
|
no_cache=0
|
||||||
AC_ARG_ENABLE($1, [$2],
|
AC_ARG_ENABLE($1, [$2],
|
||||||
[
|
[
|
||||||
@@ -382,57 +373,6 @@ AC_DEFUN([WX_ARG_ENABLE],
|
|||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
dnl ===========================================================================
|
|
||||||
dnl Linker features test
|
|
||||||
dnl ===========================================================================
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl WX_VERSIONED_SYMBOLS checks whether the linker can create versioned
|
|
||||||
dnl symbols. If it can, sets LDFLAGS_VERSIONING to $CXX flags needed to use
|
|
||||||
dnl version script file named versionfile
|
|
||||||
dnl
|
|
||||||
dnl call WX_VERSIONED_SYMBOLS(versionfile)
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
AC_DEFUN([WX_VERSIONED_SYMBOLS],
|
|
||||||
[
|
|
||||||
found_versioning=no
|
|
||||||
|
|
||||||
dnl Check for known non-gcc cases:
|
|
||||||
case "${host}" in
|
|
||||||
*-*-solaris2* )
|
|
||||||
if test "x$GCC" != "xyes" ; then
|
|
||||||
LDFLAGS_VERSIONING="-M $1"
|
|
||||||
found_versioning=yes
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
dnl Generic check for GCC or GCC-like behaviour (Intel C++, GCC):
|
|
||||||
if test $found_versioning = no ; then
|
|
||||||
AC_CACHE_CHECK([if the linker accepts --version-script], wx_cv_version_script,
|
|
||||||
[
|
|
||||||
echo "VER_1 { *; };" >conftest.sym
|
|
||||||
echo "int main() { return 0; }" >conftest.cpp
|
|
||||||
|
|
||||||
if AC_TRY_COMMAND([
|
|
||||||
$CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
|
|
||||||
-Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr]) ; then
|
|
||||||
if test -s conftest.stderr ; then
|
|
||||||
wx_cv_version_script=no
|
|
||||||
else
|
|
||||||
wx_cv_version_script=yes
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
wx_cv_version_script=no
|
|
||||||
fi
|
|
||||||
rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
|
|
||||||
])
|
|
||||||
if test $wx_cv_version_script = yes ; then
|
|
||||||
LDFLAGS_VERSIONING="-Wl,--version-script,$1"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
dnl ===========================================================================
|
dnl ===========================================================================
|
||||||
dnl "3rd party" macros included here because they are not widely available
|
dnl "3rd party" macros included here because they are not widely available
|
||||||
|
194
aclocal.m4
vendored
194
aclocal.m4
vendored
@@ -31,7 +31,7 @@ dnl ---------------------------------------------------------------------------
|
|||||||
AC_DEFUN([WX_PATH_FIND_INCLUDES],
|
AC_DEFUN([WX_PATH_FIND_INCLUDES],
|
||||||
[
|
[
|
||||||
ac_find_includes=
|
ac_find_includes=
|
||||||
for ac_dir in $1 /usr/include;
|
for ac_dir in $1;
|
||||||
do
|
do
|
||||||
if test -f "$ac_dir/$2"; then
|
if test -f "$ac_dir/$2"; then
|
||||||
ac_find_includes=$ac_dir
|
ac_find_includes=$ac_dir
|
||||||
@@ -47,7 +47,7 @@ dnl ---------------------------------------------------------------------------
|
|||||||
AC_DEFUN([WX_PATH_FIND_LIBRARIES],
|
AC_DEFUN([WX_PATH_FIND_LIBRARIES],
|
||||||
[
|
[
|
||||||
ac_find_libraries=
|
ac_find_libraries=
|
||||||
for ac_dir in $1 /usr/lib;
|
for ac_dir in $1;
|
||||||
do
|
do
|
||||||
for ac_extension in a so sl dylib; do
|
for ac_extension in a so sl dylib; do
|
||||||
if test -f "$ac_dir/lib$2.$ac_extension"; then
|
if test -f "$ac_dir/lib$2.$ac_extension"; then
|
||||||
@@ -63,17 +63,13 @@ dnl Path to include, already defined
|
|||||||
dnl ---------------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------------
|
||||||
AC_DEFUN([WX_INCLUDE_PATH_EXIST],
|
AC_DEFUN([WX_INCLUDE_PATH_EXIST],
|
||||||
[
|
[
|
||||||
dnl never add -I/usr/include to the CPPFLAGS
|
ac_path_to_include=$1
|
||||||
if test "x$1" = "x/usr/include"; then
|
echo "$2" | grep "\-I$1" > /dev/null
|
||||||
|
result=$?
|
||||||
|
if test $result = 0; then
|
||||||
ac_path_to_include=""
|
ac_path_to_include=""
|
||||||
else
|
else
|
||||||
echo "$2" | grep "\-I$1" > /dev/null
|
ac_path_to_include=" -I$1"
|
||||||
result=$?
|
|
||||||
if test $result = 0; then
|
|
||||||
ac_path_to_include=""
|
|
||||||
else
|
|
||||||
ac_path_to_include=" -I$1"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
@@ -352,15 +348,10 @@ AC_DEFUN([WX_ARG_WITH],
|
|||||||
])
|
])
|
||||||
|
|
||||||
dnl like WX_ARG_WITH but uses AC_ARG_ENABLE instead of AC_ARG_WITH
|
dnl like WX_ARG_WITH but uses AC_ARG_ENABLE instead of AC_ARG_WITH
|
||||||
dnl usage: WX_ARG_ENABLE(option, helpmessage, variable-name, enablestring)
|
dnl usage: WX_ARG_ENABLE(option, helpmessage, variable-name)
|
||||||
dnl
|
|
||||||
dnl enablestring is a hack and allows to show "checking for --disable-foo"
|
|
||||||
dnl message when running configure instead of the default "checking for
|
|
||||||
dnl --enable-foo" one whih is useful for the options enabled by default
|
|
||||||
AC_DEFUN([WX_ARG_ENABLE],
|
AC_DEFUN([WX_ARG_ENABLE],
|
||||||
[
|
[
|
||||||
enablestring=$4
|
AC_MSG_CHECKING([for --enable-$1])
|
||||||
AC_MSG_CHECKING([for --${enablestring:-enable}-$1])
|
|
||||||
no_cache=0
|
no_cache=0
|
||||||
AC_ARG_ENABLE($1, [$2],
|
AC_ARG_ENABLE($1, [$2],
|
||||||
[
|
[
|
||||||
@@ -394,57 +385,6 @@ AC_DEFUN([WX_ARG_ENABLE],
|
|||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
dnl ===========================================================================
|
|
||||||
dnl Linker features test
|
|
||||||
dnl ===========================================================================
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl WX_VERSIONED_SYMBOLS checks whether the linker can create versioned
|
|
||||||
dnl symbols. If it can, sets LDFLAGS_VERSIONING to $CXX flags needed to use
|
|
||||||
dnl version script file named versionfile
|
|
||||||
dnl
|
|
||||||
dnl call WX_VERSIONED_SYMBOLS(versionfile)
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
AC_DEFUN([WX_VERSIONED_SYMBOLS],
|
|
||||||
[
|
|
||||||
found_versioning=no
|
|
||||||
|
|
||||||
dnl Check for known non-gcc cases:
|
|
||||||
case "${host}" in
|
|
||||||
*-*-solaris2* )
|
|
||||||
if test "x$GCC" != "xyes" ; then
|
|
||||||
LDFLAGS_VERSIONING="-M $1"
|
|
||||||
found_versioning=yes
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
dnl Generic check for GCC or GCC-like behaviour (Intel C++, GCC):
|
|
||||||
if test $found_versioning = no ; then
|
|
||||||
AC_CACHE_CHECK([if the linker accepts --version-script], wx_cv_version_script,
|
|
||||||
[
|
|
||||||
echo "VER_1 { *; };" >conftest.sym
|
|
||||||
echo "int main() { return 0; }" >conftest.cpp
|
|
||||||
|
|
||||||
if AC_TRY_COMMAND([
|
|
||||||
$CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
|
|
||||||
-Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr]) ; then
|
|
||||||
if test -s conftest.stderr ; then
|
|
||||||
wx_cv_version_script=no
|
|
||||||
else
|
|
||||||
wx_cv_version_script=yes
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
wx_cv_version_script=no
|
|
||||||
fi
|
|
||||||
rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
|
|
||||||
])
|
|
||||||
if test $wx_cv_version_script = yes ; then
|
|
||||||
LDFLAGS_VERSIONING="-Wl,--version-script,$1"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
dnl ===========================================================================
|
dnl ===========================================================================
|
||||||
dnl "3rd party" macros included here because they are not widely available
|
dnl "3rd party" macros included here because they are not widely available
|
||||||
@@ -788,6 +728,64 @@ main ()
|
|||||||
rm -f conf.gtktest
|
rm -f conf.gtktest
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
|
||||||
|
dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
|
||||||
|
dnl also defines GSTUFF_PKG_ERRORS on error
|
||||||
|
AC_DEFUN(PKG_CHECK_MODULES, [
|
||||||
|
succeeded=no
|
||||||
|
|
||||||
|
if test -z "$PKG_CONFIG"; then
|
||||||
|
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "$PKG_CONFIG" = "no" ; then
|
||||||
|
echo "*** The pkg-config script could not be found. Make sure it is"
|
||||||
|
echo "*** in your path, or set the PKG_CONFIG environment variable"
|
||||||
|
echo "*** to the full path to pkg-config."
|
||||||
|
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
|
||||||
|
else
|
||||||
|
PKG_CONFIG_MIN_VERSION=0.9.0
|
||||||
|
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
|
||||||
|
AC_MSG_CHECKING(for $2)
|
||||||
|
|
||||||
|
if $PKG_CONFIG --exists "$2" ; then
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
succeeded=yes
|
||||||
|
|
||||||
|
AC_MSG_CHECKING($1_CFLAGS)
|
||||||
|
$1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
|
||||||
|
AC_MSG_RESULT($$1_CFLAGS)
|
||||||
|
|
||||||
|
AC_MSG_CHECKING($1_LIBS)
|
||||||
|
$1_LIBS=`$PKG_CONFIG --libs "$2"`
|
||||||
|
AC_MSG_RESULT($$1_LIBS)
|
||||||
|
else
|
||||||
|
$1_CFLAGS=""
|
||||||
|
$1_LIBS=""
|
||||||
|
## If we have a custom action on failure, don't print errors, but
|
||||||
|
## do set a variable so people can do so.
|
||||||
|
$1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
|
||||||
|
ifelse([$4], ,echo $$1_PKG_ERRORS,)
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_SUBST($1_CFLAGS)
|
||||||
|
AC_SUBST($1_LIBS)
|
||||||
|
else
|
||||||
|
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
|
||||||
|
echo "*** See http://www.freedesktop.org/software/pkgconfig"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test $succeeded = yes; then
|
||||||
|
ifelse([$3], , :, [$3])
|
||||||
|
else
|
||||||
|
ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
|
||||||
|
fi
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Configure paths for GTK+
|
# Configure paths for GTK+
|
||||||
# Owen Taylor 97-11-3
|
# Owen Taylor 97-11-3
|
||||||
|
|
||||||
@@ -983,61 +981,3 @@ main ()
|
|||||||
rm -f conf.gtktest
|
rm -f conf.gtktest
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
|
|
||||||
dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
|
|
||||||
dnl also defines GSTUFF_PKG_ERRORS on error
|
|
||||||
AC_DEFUN(PKG_CHECK_MODULES, [
|
|
||||||
succeeded=no
|
|
||||||
|
|
||||||
if test -z "$PKG_CONFIG"; then
|
|
||||||
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$PKG_CONFIG" = "no" ; then
|
|
||||||
echo "*** The pkg-config script could not be found. Make sure it is"
|
|
||||||
echo "*** in your path, or set the PKG_CONFIG environment variable"
|
|
||||||
echo "*** to the full path to pkg-config."
|
|
||||||
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
|
|
||||||
else
|
|
||||||
PKG_CONFIG_MIN_VERSION=0.9.0
|
|
||||||
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
|
|
||||||
AC_MSG_CHECKING(for $2)
|
|
||||||
|
|
||||||
if $PKG_CONFIG --exists "$2" ; then
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
succeeded=yes
|
|
||||||
|
|
||||||
AC_MSG_CHECKING($1_CFLAGS)
|
|
||||||
$1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
|
|
||||||
AC_MSG_RESULT($$1_CFLAGS)
|
|
||||||
|
|
||||||
AC_MSG_CHECKING($1_LIBS)
|
|
||||||
$1_LIBS=`$PKG_CONFIG --libs "$2"`
|
|
||||||
AC_MSG_RESULT($$1_LIBS)
|
|
||||||
else
|
|
||||||
$1_CFLAGS=""
|
|
||||||
$1_LIBS=""
|
|
||||||
## If we have a custom action on failure, don't print errors, but
|
|
||||||
## do set a variable so people can do so.
|
|
||||||
$1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
|
|
||||||
ifelse([$4], ,echo $$1_PKG_ERRORS,)
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_SUBST($1_CFLAGS)
|
|
||||||
AC_SUBST($1_LIBS)
|
|
||||||
else
|
|
||||||
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
|
|
||||||
echo "*** See http://www.freedesktop.org/software/pkgconfig"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test $succeeded = yes; then
|
|
||||||
ifelse([$3], , :, [$3])
|
|
||||||
else
|
|
||||||
ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
BIN
art/wxwin.ico
BIN
art/wxwin.ico
Binary file not shown.
Before Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB |
@@ -1,25 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *wxwin16x16_xpm[] = {
|
|
||||||
"16 16 6 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
"X c #000084",
|
|
||||||
"o c #FFFFFF",
|
|
||||||
"O c #FFFF00",
|
|
||||||
"+ c #FF0000",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ....... ",
|
|
||||||
" .XXXXX. ",
|
|
||||||
" .oXXXX. ",
|
|
||||||
" .oXXX.......",
|
|
||||||
".....oXXX.OOOOO.",
|
|
||||||
".+++.XXXX.oOOOO.",
|
|
||||||
".o++......oOOOO.",
|
|
||||||
".o++++. .oOOOO.",
|
|
||||||
".o++++. .OOOOO.",
|
|
||||||
".+++++. .......",
|
|
||||||
"....... ",
|
|
||||||
" ",
|
|
||||||
" "};
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB |
@@ -1,41 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char *wxwin32x32_xpm[] = {
|
|
||||||
"32 32 6 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
"X c #000084",
|
|
||||||
"o c #FFFFFF",
|
|
||||||
"O c #FFFF00",
|
|
||||||
"+ c #FF0000",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" .............. ",
|
|
||||||
" .XXXXXXXXXXXX. ",
|
|
||||||
" .XXXXXXXXXXXX. ",
|
|
||||||
" .XooXXXXXXXXX. ",
|
|
||||||
" .XooXXXXXXXXX. ",
|
|
||||||
" .XooXXXXXXXXX. ",
|
|
||||||
" .XooXXXXXX..............",
|
|
||||||
" .XooXXXXXX.OOOOOOOOOOOO.",
|
|
||||||
".........XooXXXXXX.OOOOOOOOOOOO.",
|
|
||||||
".+++++++.XooXXXXXX.OooOOOOOOOOO.",
|
|
||||||
".+++++++.XooXXXXXX.OooOOOOOOOOO.",
|
|
||||||
".+oo++++.XXXXXXXXX.OooOOOOOOOOO.",
|
|
||||||
".+oo++++.XXXXXXXXX.OooOOOOOOOOO.",
|
|
||||||
".+oo++++...........OooOOOOOOOOO.",
|
|
||||||
".+oo+++++++++. .OooOOOOOOOOO.",
|
|
||||||
".+oo+++++++++. .OooOOOOOOOOO.",
|
|
||||||
".+oo+++++++++. .OooOOOOOOOOO.",
|
|
||||||
".+oo+++++++++. .OOOOOOOOOOOO.",
|
|
||||||
".+oo+++++++++. .OOOOOOOOOOOO.",
|
|
||||||
".++++++++++++. ..............",
|
|
||||||
".++++++++++++. ",
|
|
||||||
".............. ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
" "};
|
|
346
config.guess
vendored
346
config.guess
vendored
@@ -1,9 +1,9 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Attempt to guess a canonical system name.
|
# Attempt to guess a canonical system name.
|
||||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# 2000, 2001, 2002 Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
|
|
||||||
timestamp='2002-09-03'
|
timestamp='2001-09-04'
|
||||||
|
|
||||||
# This file is free software; you can redistribute it and/or modify it
|
# This file is free software; you can redistribute it and/or modify it
|
||||||
# under the terms of the GNU General Public License as published by
|
# under the terms of the GNU General Public License as published by
|
||||||
@@ -24,9 +24,8 @@ timestamp='2002-09-03'
|
|||||||
# configuration script generated by Autoconf, you may include it under
|
# configuration script generated by Autoconf, you may include it under
|
||||||
# the same distribution terms that you use for the rest of that program.
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
# Originally written by Per Bothner <per@bothner.com>.
|
# Written by Per Bothner <bothner@cygnus.com>.
|
||||||
# Please send patches to <config-patches@gnu.org>. Submit a context
|
# Please send patches to <config-patches@gnu.org>.
|
||||||
# diff and a properly formatted ChangeLog entry.
|
|
||||||
#
|
#
|
||||||
# This script attempts to guess a canonical system name similar to
|
# This script attempts to guess a canonical system name similar to
|
||||||
# config.sub. If it succeeds, it prints the system name on stdout, and
|
# config.sub. If it succeeds, it prints the system name on stdout, and
|
||||||
@@ -88,40 +87,30 @@ if test $# != 0; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
trap 'exit 1' 1 2 15
|
|
||||||
|
|
||||||
# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
|
dummy=dummy-$$
|
||||||
# compiler to aid in system detection is discouraged as it requires
|
trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
|
||||||
# temporary files to be created and, as you can see below, it is a
|
|
||||||
# headache to deal with in a portable fashion.
|
|
||||||
|
|
||||||
|
# CC_FOR_BUILD -- compiler used by this script.
|
||||||
# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
|
# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
|
||||||
# use `HOST_CC' if defined, but it is deprecated.
|
# use `HOST_CC' if defined, but it is deprecated.
|
||||||
|
|
||||||
# This shell variable is my proudest work .. or something. --bje
|
set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in
|
||||||
|
,,) echo "int dummy(){}" > $dummy.c ;
|
||||||
set_cc_for_build='tmpdir=${TMPDIR-/tmp}/config-guess-$$ ;
|
for c in cc gcc c89 ; do
|
||||||
(old=`umask` && umask 077 && mkdir $tmpdir && umask $old && unset old)
|
($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ;
|
||||||
|| (echo "$me: cannot create $tmpdir" >&2 && exit 1) ;
|
if test $? = 0 ; then
|
||||||
dummy=$tmpdir/dummy ;
|
|
||||||
files="$dummy.c $dummy.o $dummy.rel $dummy" ;
|
|
||||||
trap '"'"'rm -f $files; rmdir $tmpdir; exit 1'"'"' 1 2 15 ;
|
|
||||||
case $CC_FOR_BUILD,$HOST_CC,$CC in
|
|
||||||
,,) echo "int x;" > $dummy.c ;
|
|
||||||
for c in cc gcc c89 c99 ; do
|
|
||||||
if ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ; then
|
|
||||||
CC_FOR_BUILD="$c"; break ;
|
CC_FOR_BUILD="$c"; break ;
|
||||||
fi ;
|
fi ;
|
||||||
done ;
|
done ;
|
||||||
rm -f $files ;
|
rm -f $dummy.c $dummy.o $dummy.rel ;
|
||||||
if test x"$CC_FOR_BUILD" = x ; then
|
if test x"$CC_FOR_BUILD" = x ; then
|
||||||
CC_FOR_BUILD=no_compiler_found ;
|
CC_FOR_BUILD=no_compiler_found ;
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
,,*) CC_FOR_BUILD=$CC ;;
|
,,*) CC_FOR_BUILD=$CC ;;
|
||||||
,*,*) CC_FOR_BUILD=$HOST_CC ;;
|
,*,*) CC_FOR_BUILD=$HOST_CC ;;
|
||||||
esac ;
|
esac'
|
||||||
unset files'
|
|
||||||
|
|
||||||
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
|
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
|
||||||
# (ghazi@noc.rutgers.edu 1994-08-24)
|
# (ghazi@noc.rutgers.edu 1994-08-24)
|
||||||
@@ -138,30 +127,29 @@ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
|||||||
|
|
||||||
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||||
*:NetBSD:*:*)
|
*:NetBSD:*:*)
|
||||||
# NetBSD (nbsd) targets should (where applicable) match one or
|
# Netbsd (nbsd) targets should (where applicable) match one or
|
||||||
# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
|
# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
|
||||||
# *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
|
# *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
|
||||||
# switched to ELF, *-*-netbsd* would select the old
|
# switched to ELF, *-*-netbsd* would select the old
|
||||||
# object file format. This provides both forward
|
# object file format. This provides both forward
|
||||||
# compatibility and a consistent mechanism for selecting the
|
# compatibility and a consistent mechanism for selecting the
|
||||||
# object file format.
|
# object file format.
|
||||||
#
|
# Determine the machine/vendor (is the vendor relevant).
|
||||||
# Note: NetBSD doesn't particularly care about the vendor
|
case "${UNAME_MACHINE}" in
|
||||||
# portion of the name. We always set it to "unknown".
|
amiga) machine=m68k-unknown ;;
|
||||||
sysctl="sysctl -n hw.machine_arch"
|
arm32) machine=arm-unknown ;;
|
||||||
UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
|
atari*) machine=m68k-atari ;;
|
||||||
/usr/sbin/$sysctl 2>/dev/null || echo unknown)`
|
sun3*) machine=m68k-sun ;;
|
||||||
case "${UNAME_MACHINE_ARCH}" in
|
mac68k) machine=m68k-apple ;;
|
||||||
armeb) machine=armeb-unknown ;;
|
macppc) machine=powerpc-apple ;;
|
||||||
arm*) machine=arm-unknown ;;
|
hp3[0-9][05]) machine=m68k-hp ;;
|
||||||
sh3el) machine=shl-unknown ;;
|
ibmrt|romp-ibm) machine=romp-ibm ;;
|
||||||
sh3eb) machine=sh-unknown ;;
|
*) machine=${UNAME_MACHINE}-unknown ;;
|
||||||
*) machine=${UNAME_MACHINE_ARCH}-unknown ;;
|
|
||||||
esac
|
esac
|
||||||
# The Operating System including object format, if it has switched
|
# The Operating System including object format, if it has switched
|
||||||
# to ELF recently, or will in the future.
|
# to ELF recently, or will in the future.
|
||||||
case "${UNAME_MACHINE_ARCH}" in
|
case "${UNAME_MACHINE}" in
|
||||||
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
|
i386|sparc|amiga|arm*|hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3*|x68k)
|
||||||
eval $set_cc_for_build
|
eval $set_cc_for_build
|
||||||
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
||||||
| grep __ELF__ >/dev/null
|
| grep __ELF__ >/dev/null
|
||||||
@@ -184,45 +172,6 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|||||||
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
|
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
|
||||||
echo "${machine}-${os}${release}"
|
echo "${machine}-${os}${release}"
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
amiga:OpenBSD:*:*)
|
|
||||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
arc:OpenBSD:*:*)
|
|
||||||
echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
hp300:OpenBSD:*:*)
|
|
||||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
mac68k:OpenBSD:*:*)
|
|
||||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
macppc:OpenBSD:*:*)
|
|
||||||
echo powerpc-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
mvme68k:OpenBSD:*:*)
|
|
||||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
mvme88k:OpenBSD:*:*)
|
|
||||||
echo m88k-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
mvmeppc:OpenBSD:*:*)
|
|
||||||
echo powerpc-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
pmax:OpenBSD:*:*)
|
|
||||||
echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
sgi:OpenBSD:*:*)
|
|
||||||
echo mipseb-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
sun3:OpenBSD:*:*)
|
|
||||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
wgrisc:OpenBSD:*:*)
|
|
||||||
echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
*:OpenBSD:*:*)
|
|
||||||
echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
alpha:OSF1:*:*)
|
alpha:OSF1:*:*)
|
||||||
if test $UNAME_RELEASE = "V4.0"; then
|
if test $UNAME_RELEASE = "V4.0"; then
|
||||||
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
|
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
|
||||||
@@ -231,7 +180,6 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|||||||
# A Tn.n version is a released field test version.
|
# A Tn.n version is a released field test version.
|
||||||
# A Xn.n version is an unreleased experimental baselevel.
|
# A Xn.n version is an unreleased experimental baselevel.
|
||||||
# 1.2 uses "1.2" for uname -r.
|
# 1.2 uses "1.2" for uname -r.
|
||||||
eval $set_cc_for_build
|
|
||||||
cat <<EOF >$dummy.s
|
cat <<EOF >$dummy.s
|
||||||
.data
|
.data
|
||||||
\$Lformat:
|
\$Lformat:
|
||||||
@@ -257,9 +205,10 @@ main:
|
|||||||
jsr \$26,exit
|
jsr \$26,exit
|
||||||
.end main
|
.end main
|
||||||
EOF
|
EOF
|
||||||
|
eval $set_cc_for_build
|
||||||
$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
|
$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
|
||||||
if test "$?" = 0 ; then
|
if test "$?" = 0 ; then
|
||||||
case `$dummy` in
|
case `./$dummy` in
|
||||||
0-0)
|
0-0)
|
||||||
UNAME_MACHINE="alpha"
|
UNAME_MACHINE="alpha"
|
||||||
;;
|
;;
|
||||||
@@ -281,12 +230,9 @@ EOF
|
|||||||
2-1307)
|
2-1307)
|
||||||
UNAME_MACHINE="alphaev68"
|
UNAME_MACHINE="alphaev68"
|
||||||
;;
|
;;
|
||||||
3-1307)
|
|
||||||
UNAME_MACHINE="alphaev7"
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
rm -f $dummy.s $dummy && rmdir $tmpdir
|
rm -f $dummy.s $dummy
|
||||||
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
Alpha\ *:Windows_NT*:*)
|
Alpha\ *:Windows_NT*:*)
|
||||||
@@ -301,11 +247,29 @@ EOF
|
|||||||
Amiga*:UNIX_System_V:4.0:*)
|
Amiga*:UNIX_System_V:4.0:*)
|
||||||
echo m68k-unknown-sysv4
|
echo m68k-unknown-sysv4
|
||||||
exit 0;;
|
exit 0;;
|
||||||
|
amiga:OpenBSD:*:*)
|
||||||
|
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
*:[Aa]miga[Oo][Ss]:*:*)
|
*:[Aa]miga[Oo][Ss]:*:*)
|
||||||
echo ${UNAME_MACHINE}-unknown-amigaos
|
echo ${UNAME_MACHINE}-unknown-amigaos
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:[Mm]orph[Oo][Ss]:*:*)
|
arc64:OpenBSD:*:*)
|
||||||
echo ${UNAME_MACHINE}-unknown-morphos
|
echo mips64el-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
arc:OpenBSD:*:*)
|
||||||
|
echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
hkmips:OpenBSD:*:*)
|
||||||
|
echo mips-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
pmax:OpenBSD:*:*)
|
||||||
|
echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
sgi:OpenBSD:*:*)
|
||||||
|
echo mips-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
wgrisc:OpenBSD:*:*)
|
||||||
|
echo mipsel-unknown-openbsd${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:OS/390:*:*)
|
*:OS/390:*:*)
|
||||||
echo i370-ibm-openedition
|
echo i370-ibm-openedition
|
||||||
@@ -327,10 +291,6 @@ EOF
|
|||||||
NILE*:*:*:dcosx)
|
NILE*:*:*:dcosx)
|
||||||
echo pyramid-pyramid-svr4
|
echo pyramid-pyramid-svr4
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
DRS?6000:UNIX_SV:4.2*:7*)
|
|
||||||
case `/usr/bin/uname -p` in
|
|
||||||
sparc) echo sparc-icl-nx7 && exit 0 ;;
|
|
||||||
esac ;;
|
|
||||||
sun4H:SunOS:5.*:*)
|
sun4H:SunOS:5.*:*)
|
||||||
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -359,7 +319,7 @@ EOF
|
|||||||
echo m68k-sun-sunos${UNAME_RELEASE}
|
echo m68k-sun-sunos${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
sun*:*:4.2BSD:*)
|
sun*:*:4.2BSD:*)
|
||||||
UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
|
UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
|
||||||
test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
|
test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
|
||||||
case "`/bin/arch`" in
|
case "`/bin/arch`" in
|
||||||
sun3)
|
sun3)
|
||||||
@@ -373,6 +333,12 @@ EOF
|
|||||||
aushp:SunOS:*:*)
|
aushp:SunOS:*:*)
|
||||||
echo sparc-auspex-sunos${UNAME_RELEASE}
|
echo sparc-auspex-sunos${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
sparc*:NetBSD:*)
|
||||||
|
echo `uname -p`-unknown-netbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
atari*:OpenBSD:*:*)
|
||||||
|
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
# The situation for MiNT is a little confusing. The machine name
|
# The situation for MiNT is a little confusing. The machine name
|
||||||
# can be virtually everything (everything which is not
|
# can be virtually everything (everything which is not
|
||||||
# "atarist" or "atariste" at least should have a processor
|
# "atarist" or "atariste" at least should have a processor
|
||||||
@@ -399,6 +365,18 @@ EOF
|
|||||||
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
|
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
|
||||||
echo m68k-unknown-mint${UNAME_RELEASE}
|
echo m68k-unknown-mint${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
sun3*:OpenBSD:*:*)
|
||||||
|
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
mac68k:OpenBSD:*:*)
|
||||||
|
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
mvme68k:OpenBSD:*:*)
|
||||||
|
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
mvme88k:OpenBSD:*:*)
|
||||||
|
echo m88k-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
powerpc:machten:*:*)
|
powerpc:machten:*:*)
|
||||||
echo powerpc-apple-machten${UNAME_RELEASE}
|
echo powerpc-apple-machten${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -438,20 +416,14 @@ EOF
|
|||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
$CC_FOR_BUILD $dummy.c -o $dummy \
|
$CC_FOR_BUILD $dummy.c -o $dummy \
|
||||||
&& $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
|
&& ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
|
||||||
&& rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
|
&& rm -f $dummy.c $dummy && exit 0
|
||||||
rm -f $dummy.c $dummy && rmdir $tmpdir
|
rm -f $dummy.c $dummy
|
||||||
echo mips-mips-riscos${UNAME_RELEASE}
|
echo mips-mips-riscos${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
Motorola:PowerMAX_OS:*:*)
|
Motorola:PowerMAX_OS:*:*)
|
||||||
echo powerpc-motorola-powermax
|
echo powerpc-motorola-powermax
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
Motorola:*:4.3:PL8-*)
|
|
||||||
echo powerpc-harris-powermax
|
|
||||||
exit 0 ;;
|
|
||||||
Night_Hawk:*:*:PowerMAX_OS)
|
|
||||||
echo powerpc-harris-powermax
|
|
||||||
exit 0 ;;
|
|
||||||
Night_Hawk:Power_UNIX:*:*)
|
Night_Hawk:Power_UNIX:*:*)
|
||||||
echo powerpc-harris-powerunix
|
echo powerpc-harris-powerunix
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -524,8 +496,8 @@ EOF
|
|||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
$CC_FOR_BUILD $dummy.c -o $dummy && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
|
$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
|
||||||
rm -f $dummy.c $dummy && rmdir $tmpdir
|
rm -f $dummy.c $dummy
|
||||||
echo rs6000-ibm-aix3.2.5
|
echo rs6000-ibm-aix3.2.5
|
||||||
elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
|
elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
|
||||||
echo rs6000-ibm-aix3.2.4
|
echo rs6000-ibm-aix3.2.4
|
||||||
@@ -534,7 +506,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:AIX:*:[45])
|
*:AIX:*:[45])
|
||||||
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
|
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
|
||||||
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
|
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
|
||||||
IBM_ARCH=rs6000
|
IBM_ARCH=rs6000
|
||||||
else
|
else
|
||||||
@@ -574,8 +546,10 @@ EOF
|
|||||||
9000/31? ) HP_ARCH=m68000 ;;
|
9000/31? ) HP_ARCH=m68000 ;;
|
||||||
9000/[34]?? ) HP_ARCH=m68k ;;
|
9000/[34]?? ) HP_ARCH=m68k ;;
|
||||||
9000/[678][0-9][0-9])
|
9000/[678][0-9][0-9])
|
||||||
if [ -x /usr/bin/getconf ]; then
|
case "${HPUX_REV}" in
|
||||||
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
|
11.[0-9][0-9])
|
||||||
|
if [ -x /usr/bin/getconf ]; then
|
||||||
|
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
|
||||||
sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
|
sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
|
||||||
case "${sc_cpu_version}" in
|
case "${sc_cpu_version}" in
|
||||||
523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
|
523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
|
||||||
@@ -584,13 +558,13 @@ EOF
|
|||||||
case "${sc_kernel_bits}" in
|
case "${sc_kernel_bits}" in
|
||||||
32) HP_ARCH="hppa2.0n" ;;
|
32) HP_ARCH="hppa2.0n" ;;
|
||||||
64) HP_ARCH="hppa2.0w" ;;
|
64) HP_ARCH="hppa2.0w" ;;
|
||||||
'') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
|
|
||||||
esac ;;
|
esac ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi ;;
|
||||||
if [ "${HP_ARCH}" = "" ]; then
|
esac
|
||||||
eval $set_cc_for_build
|
if [ "${HP_ARCH}" = "" ]; then
|
||||||
sed 's/^ //' << EOF >$dummy.c
|
eval $set_cc_for_build
|
||||||
|
sed 's/^ //' << EOF >$dummy.c
|
||||||
|
|
||||||
#define _HPUX_SOURCE
|
#define _HPUX_SOURCE
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@@ -623,10 +597,10 @@ EOF
|
|||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
(CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`$dummy`
|
(CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`
|
||||||
if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
|
if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
|
||||||
rm -f $dummy.c $dummy && rmdir $tmpdir
|
rm -f $dummy.c $dummy
|
||||||
fi ;;
|
fi ;;
|
||||||
esac
|
esac
|
||||||
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
|
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -661,8 +635,8 @@ EOF
|
|||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
$CC_FOR_BUILD $dummy.c -o $dummy && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
|
$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
|
||||||
rm -f $dummy.c $dummy && rmdir $tmpdir
|
rm -f $dummy.c $dummy
|
||||||
echo unknown-hitachi-hiuxwe2
|
echo unknown-hitachi-hiuxwe2
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
|
9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
|
||||||
@@ -690,6 +664,9 @@ EOF
|
|||||||
parisc*:Lites*:*:*)
|
parisc*:Lites*:*:*)
|
||||||
echo hppa1.1-hp-lites
|
echo hppa1.1-hp-lites
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
hppa*:OpenBSD:*:*)
|
||||||
|
echo hppa-unknown-openbsd
|
||||||
|
exit 0 ;;
|
||||||
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
|
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
|
||||||
echo c1-convex-bsd
|
echo c1-convex-bsd
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -708,6 +685,9 @@ EOF
|
|||||||
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
|
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
|
||||||
echo c4-convex-bsd
|
echo c4-convex-bsd
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
CRAY*X-MP:*:*:*)
|
||||||
|
echo xmp-cray-unicos
|
||||||
|
exit 0 ;;
|
||||||
CRAY*Y-MP:*:*:*)
|
CRAY*Y-MP:*:*:*)
|
||||||
echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -729,12 +709,18 @@ EOF
|
|||||||
CRAY*SV1:*:*:*)
|
CRAY*SV1:*:*:*)
|
||||||
echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
CRAY-2:*:*:*)
|
||||||
|
echo cray2-cray-unicos
|
||||||
|
exit 0 ;;
|
||||||
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
|
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
|
||||||
FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
||||||
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
||||||
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
|
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
|
||||||
echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
hp300:OpenBSD:*:*)
|
||||||
|
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
|
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
|
||||||
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
|
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -745,19 +731,10 @@ EOF
|
|||||||
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
|
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:FreeBSD:*:*)
|
*:FreeBSD:*:*)
|
||||||
# Determine whether the default compiler uses glibc.
|
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
||||||
eval $set_cc_for_build
|
exit 0 ;;
|
||||||
sed 's/^ //' << EOF >$dummy.c
|
*:OpenBSD:*:*)
|
||||||
#include <features.h>
|
echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
||||||
#if __GLIBC__ >= 2
|
|
||||||
LIBC=gnu
|
|
||||||
#else
|
|
||||||
LIBC=
|
|
||||||
#endif
|
|
||||||
EOF
|
|
||||||
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
|
|
||||||
rm -f $dummy.c && rmdir $tmpdir
|
|
||||||
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
|
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i*:CYGWIN*:*)
|
i*:CYGWIN*:*)
|
||||||
echo ${UNAME_MACHINE}-pc-cygwin
|
echo ${UNAME_MACHINE}-pc-cygwin
|
||||||
@@ -768,9 +745,6 @@ EOF
|
|||||||
i*:PW*:*)
|
i*:PW*:*)
|
||||||
echo ${UNAME_MACHINE}-pc-pw32
|
echo ${UNAME_MACHINE}-pc-pw32
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
x86:Interix*:3*)
|
|
||||||
echo i386-pc-interix3
|
|
||||||
exit 0 ;;
|
|
||||||
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
|
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
|
||||||
# How do we know it's Interix rather than the generic POSIX subsystem?
|
# How do we know it's Interix rather than the generic POSIX subsystem?
|
||||||
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
|
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
|
||||||
@@ -796,30 +770,16 @@ EOF
|
|||||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
ia64:Linux:*:*)
|
ia64:Linux:*:*)
|
||||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
echo ${UNAME_MACHINE}-unknown-linux
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
m68*:Linux:*:*)
|
m68*:Linux:*:*)
|
||||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
mips:Linux:*:*)
|
mips:Linux:*:*)
|
||||||
eval $set_cc_for_build
|
case `sed -n '/^byte/s/^.*: \(.*\) endian/\1/p' < /proc/cpuinfo` in
|
||||||
sed 's/^ //' << EOF >$dummy.c
|
big) echo mips-unknown-linux-gnu && exit 0 ;;
|
||||||
#undef CPU
|
little) echo mipsel-unknown-linux-gnu && exit 0 ;;
|
||||||
#undef mips
|
esac
|
||||||
#undef mipsel
|
|
||||||
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
|
|
||||||
CPU=mipsel
|
|
||||||
#else
|
|
||||||
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
|
|
||||||
CPU=mips
|
|
||||||
#else
|
|
||||||
CPU=
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
EOF
|
|
||||||
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
|
|
||||||
rm -f $dummy.c && rmdir $tmpdir
|
|
||||||
test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0
|
|
||||||
;;
|
;;
|
||||||
ppc:Linux:*:*)
|
ppc:Linux:*:*)
|
||||||
echo powerpc-unknown-linux-gnu
|
echo powerpc-unknown-linux-gnu
|
||||||
@@ -868,8 +828,7 @@ EOF
|
|||||||
# The BFD linker knows what the default object file format is, so
|
# The BFD linker knows what the default object file format is, so
|
||||||
# first see if it will tell us. cd to the root directory to prevent
|
# first see if it will tell us. cd to the root directory to prevent
|
||||||
# problems with other programs or directories called `ld' in the path.
|
# problems with other programs or directories called `ld' in the path.
|
||||||
# Set LC_ALL=C to ensure ld outputs messages in English.
|
ld_supported_targets=`cd /; ld --help 2>&1 \
|
||||||
ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
|
|
||||||
| sed -ne '/supported targets:/!d
|
| sed -ne '/supported targets:/!d
|
||||||
s/[ ][ ]*/ /g
|
s/[ ][ ]*/ /g
|
||||||
s/.*supported targets: *//
|
s/.*supported targets: *//
|
||||||
@@ -893,29 +852,32 @@ EOF
|
|||||||
esac
|
esac
|
||||||
# Determine whether the default compiler is a.out or elf
|
# Determine whether the default compiler is a.out or elf
|
||||||
eval $set_cc_for_build
|
eval $set_cc_for_build
|
||||||
sed 's/^ //' << EOF >$dummy.c
|
cat >$dummy.c <<EOF
|
||||||
#include <features.h>
|
#include <features.h>
|
||||||
#ifdef __ELF__
|
#ifdef __cplusplus
|
||||||
# ifdef __GLIBC__
|
#include <stdio.h> /* for printf() prototype */
|
||||||
# if __GLIBC__ >= 2
|
int main (int argc, char *argv[]) {
|
||||||
LIBC=gnu
|
#else
|
||||||
# else
|
int main (argc, argv) int argc; char *argv[]; {
|
||||||
LIBC=gnulibc1
|
#endif
|
||||||
# endif
|
#ifdef __ELF__
|
||||||
# else
|
# ifdef __GLIBC__
|
||||||
LIBC=gnulibc1
|
# if __GLIBC__ >= 2
|
||||||
# endif
|
printf ("%s-pc-linux-gnu\n", argv[1]);
|
||||||
#else
|
# else
|
||||||
#ifdef __INTEL_COMPILER
|
printf ("%s-pc-linux-gnulibc1\n", argv[1]);
|
||||||
LIBC=gnu
|
# endif
|
||||||
#else
|
# else
|
||||||
LIBC=gnuaout
|
printf ("%s-pc-linux-gnulibc1\n", argv[1]);
|
||||||
#endif
|
# endif
|
||||||
#endif
|
#else
|
||||||
|
printf ("%s-pc-linux-gnuaout\n", argv[1]);
|
||||||
|
#endif
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
EOF
|
EOF
|
||||||
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
|
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0
|
||||||
rm -f $dummy.c && rmdir $tmpdir
|
rm -f $dummy.c $dummy
|
||||||
test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
|
|
||||||
test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
|
test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
|
||||||
;;
|
;;
|
||||||
i*86:DYNIX/ptx:4*:*)
|
i*86:DYNIX/ptx:4*:*)
|
||||||
@@ -953,13 +915,13 @@ EOF
|
|||||||
UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
|
UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
|
||||||
echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
|
echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
|
||||||
elif /bin/uname -X 2>/dev/null >/dev/null ; then
|
elif /bin/uname -X 2>/dev/null >/dev/null ; then
|
||||||
UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
|
UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
|
||||||
(/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
|
(/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
|
||||||
(/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
|
(/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
|
||||||
&& UNAME_MACHINE=i586
|
&& UNAME_MACHINE=i586
|
||||||
(/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
|
(/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \
|
||||||
&& UNAME_MACHINE=i686
|
&& UNAME_MACHINE=i686
|
||||||
(/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
|
(/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \
|
||||||
&& UNAME_MACHINE=i686
|
&& UNAME_MACHINE=i686
|
||||||
echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
|
echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
|
||||||
else
|
else
|
||||||
@@ -992,12 +954,9 @@ EOF
|
|||||||
# "miniframe"
|
# "miniframe"
|
||||||
echo m68010-convergent-sysv
|
echo m68010-convergent-sysv
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
mc68k:UNIX:SYSTEM5:3.51m)
|
|
||||||
echo m68k-convergent-sysv
|
|
||||||
exit 0 ;;
|
|
||||||
M68*:*:R3V[567]*:*)
|
M68*:*:R3V[567]*:*)
|
||||||
test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
|
test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
|
||||||
3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0)
|
3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
|
||||||
OS_REL=''
|
OS_REL=''
|
||||||
test -r /etc/.relid \
|
test -r /etc/.relid \
|
||||||
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
|
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
|
||||||
@@ -1088,9 +1047,6 @@ EOF
|
|||||||
SX-5:SUPER-UX:*:*)
|
SX-5:SUPER-UX:*:*)
|
||||||
echo sx5-nec-superux${UNAME_RELEASE}
|
echo sx5-nec-superux${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
SX-6:SUPER-UX:*:*)
|
|
||||||
echo sx6-nec-superux${UNAME_RELEASE}
|
|
||||||
exit 0 ;;
|
|
||||||
Power*:Rhapsody:*:*)
|
Power*:Rhapsody:*:*)
|
||||||
echo powerpc-apple-rhapsody${UNAME_RELEASE}
|
echo powerpc-apple-rhapsody${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -1101,17 +1057,15 @@ EOF
|
|||||||
echo `uname -p`-apple-darwin${UNAME_RELEASE}
|
echo `uname -p`-apple-darwin${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:procnto*:*:* | *:QNX:[0123456789]*:*)
|
*:procnto*:*:* | *:QNX:[0123456789]*:*)
|
||||||
UNAME_PROCESSOR=`uname -p`
|
if test "${UNAME_MACHINE}" = "x86pc"; then
|
||||||
if test "$UNAME_PROCESSOR" = "x86"; then
|
|
||||||
UNAME_PROCESSOR=i386
|
|
||||||
UNAME_MACHINE=pc
|
UNAME_MACHINE=pc
|
||||||
fi
|
fi
|
||||||
echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
|
echo `uname -p`-${UNAME_MACHINE}-nto-qnx
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:QNX:*:4*)
|
*:QNX:*:4*)
|
||||||
echo i386-pc-qnx
|
echo i386-pc-qnx
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
|
NSR-[KW]:NONSTOP_KERNEL:*:*)
|
||||||
echo nsr-tandem-nsk${UNAME_RELEASE}
|
echo nsr-tandem-nsk${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:NonStop-UX:*:*)
|
*:NonStop-UX:*:*)
|
||||||
@@ -1283,8 +1237,8 @@ main ()
|
|||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
|
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
|
||||||
rm -f $dummy.c $dummy && rmdir $tmpdir
|
rm -f $dummy.c $dummy
|
||||||
|
|
||||||
# Apollos put the system type in the environment.
|
# Apollos put the system type in the environment.
|
||||||
|
|
||||||
|
476
configure.in
476
configure.in
@@ -48,7 +48,7 @@ dnl libwx_$(TOOLKIT)-$(WX_RELEASE).so.$(WX_CURRENT).$(WX_REVISION).$(WX_AGE)
|
|||||||
|
|
||||||
WX_MAJOR_VERSION_NUMBER=2
|
WX_MAJOR_VERSION_NUMBER=2
|
||||||
WX_MINOR_VERSION_NUMBER=3
|
WX_MINOR_VERSION_NUMBER=3
|
||||||
WX_RELEASE_NUMBER=4
|
WX_RELEASE_NUMBER=3
|
||||||
|
|
||||||
WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
|
WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
|
||||||
WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
|
WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
|
||||||
@@ -187,15 +187,15 @@ case "${host}" in
|
|||||||
*-*-openbsd*)
|
*-*-openbsd*)
|
||||||
USE_BSD=1
|
USE_BSD=1
|
||||||
USE_OPENBSD=1
|
USE_OPENBSD=1
|
||||||
|
AC_DEFINE(__FREEBSD__)
|
||||||
AC_DEFINE(__OPENBSD__)
|
AC_DEFINE(__OPENBSD__)
|
||||||
AC_DEFINE(__BSD__)
|
|
||||||
DEFAULT_DEFAULT_wxUSE_GTK=1
|
DEFAULT_DEFAULT_wxUSE_GTK=1
|
||||||
;;
|
;;
|
||||||
*-*-netbsd*)
|
*-*-netbsd*)
|
||||||
USE_BSD=1
|
USE_BSD=1
|
||||||
USE_NETBSD=1
|
USE_NETBSD=1
|
||||||
|
AC_DEFINE(__FREEBSD__)
|
||||||
AC_DEFINE(__NETBSD__)
|
AC_DEFINE(__NETBSD__)
|
||||||
AC_DEFINE(__BSD__)
|
|
||||||
DEFAULT_DEFAULT_wxUSE_GTK=1
|
DEFAULT_DEFAULT_wxUSE_GTK=1
|
||||||
;;
|
;;
|
||||||
*-*-osf* )
|
*-*-osf* )
|
||||||
@@ -224,11 +224,8 @@ case "${host}" in
|
|||||||
USE_AIX=1
|
USE_AIX=1
|
||||||
USE_SYSV=1
|
USE_SYSV=1
|
||||||
USE_SVR4=1
|
USE_SVR4=1
|
||||||
dnl quoting from http://www-1.ibm.com/servers/esdd/articles/gnu.html:
|
dnl Irvin Probst <irvin.probst@fr.thalesgroup.com> reports that the shared
|
||||||
dnl
|
dnl libraries under AIX have the same suffix as the normal ones
|
||||||
dnl Both archive libraries and shared libraries on AIX have an .a
|
|
||||||
dnl extension. This will explain why you can't link with an .so and
|
|
||||||
dnl why it works with the name changed to .a.
|
|
||||||
SO_SUFFIX=a
|
SO_SUFFIX=a
|
||||||
AC_DEFINE(__AIX__)
|
AC_DEFINE(__AIX__)
|
||||||
AC_DEFINE(__SYSV__)
|
AC_DEFINE(__SYSV__)
|
||||||
@@ -260,6 +257,7 @@ case "${host}" in
|
|||||||
AC_DEFINE(__EMX__)
|
AC_DEFINE(__EMX__)
|
||||||
PROGRAM_EXT=".exe"
|
PROGRAM_EXT=".exe"
|
||||||
DEFAULT_DEFAULT_wxUSE_PM=1
|
DEFAULT_DEFAULT_wxUSE_PM=1
|
||||||
|
LIBS="$LIBS -lstdcpp"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
powerpc-*-darwin* )
|
powerpc-*-darwin* )
|
||||||
@@ -356,8 +354,6 @@ if test $DEBUG_CONFIGURE = 1; then
|
|||||||
DEFAULT_wxUSE_FONTMAP=no
|
DEFAULT_wxUSE_FONTMAP=no
|
||||||
DEFAULT_wxUSE_STREAMS=no
|
DEFAULT_wxUSE_STREAMS=no
|
||||||
DEFAULT_wxUSE_SOCKETS=no
|
DEFAULT_wxUSE_SOCKETS=no
|
||||||
DEFAULT_wxUSE_OLE=no
|
|
||||||
DEFAULT_wxUSE_DATAOBJ=no
|
|
||||||
DEFAULT_wxUSE_DIALUP_MANAGER=no
|
DEFAULT_wxUSE_DIALUP_MANAGER=no
|
||||||
DEFAULT_wxUSE_JOYSTICK=no
|
DEFAULT_wxUSE_JOYSTICK=no
|
||||||
DEFAULT_wxUSE_DYNLIB_CLASS=no
|
DEFAULT_wxUSE_DYNLIB_CLASS=no
|
||||||
@@ -531,8 +527,6 @@ else
|
|||||||
DEFAULT_wxUSE_FONTMAP=yes
|
DEFAULT_wxUSE_FONTMAP=yes
|
||||||
DEFAULT_wxUSE_STREAMS=yes
|
DEFAULT_wxUSE_STREAMS=yes
|
||||||
DEFAULT_wxUSE_SOCKETS=yes
|
DEFAULT_wxUSE_SOCKETS=yes
|
||||||
DEFAULT_wxUSE_OLE=yes
|
|
||||||
DEFAULT_wxUSE_DATAOBJ=yes
|
|
||||||
DEFAULT_wxUSE_DIALUP_MANAGER=yes
|
DEFAULT_wxUSE_DIALUP_MANAGER=yes
|
||||||
DEFAULT_wxUSE_JOYSTICK=yes
|
DEFAULT_wxUSE_JOYSTICK=yes
|
||||||
DEFAULT_wxUSE_DYNLIB_CLASS=yes
|
DEFAULT_wxUSE_DYNLIB_CLASS=yes
|
||||||
@@ -555,8 +549,8 @@ else
|
|||||||
DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
|
DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
|
||||||
DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
|
DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
|
||||||
|
|
||||||
DEFAULT_wxUSE_PROLOGIO=no
|
DEFAULT_wxUSE_PROLOGIO=yes
|
||||||
DEFAULT_wxUSE_RESOURCES=no
|
DEFAULT_wxUSE_RESOURCES=yes
|
||||||
DEFAULT_wxUSE_CONSTRAINTS=yes
|
DEFAULT_wxUSE_CONSTRAINTS=yes
|
||||||
DEFAULT_wxUSE_IPC=yes
|
DEFAULT_wxUSE_IPC=yes
|
||||||
DEFAULT_wxUSE_HELP=yes
|
DEFAULT_wxUSE_HELP=yes
|
||||||
@@ -718,8 +712,8 @@ WX_ARG_ENABLE(soname, [ --enable-soname set the DT_SONAME field in
|
|||||||
WX_ARG_ENABLE(optimise, [ --enable-optimise create optimised code], wxUSE_OPTIMISE)
|
WX_ARG_ENABLE(optimise, [ --enable-optimise create optimised code], wxUSE_OPTIMISE)
|
||||||
WX_ARG_ENABLE(debug, [ --enable-debug same as debug_flag and debug_info], wxUSE_DEBUG)
|
WX_ARG_ENABLE(debug, [ --enable-debug same as debug_flag and debug_info], wxUSE_DEBUG)
|
||||||
|
|
||||||
dnl allow the precompiled header option to be disabled under Mac OS X/Darwin
|
dnl allow the precompiled header option to be disabled under Mac OS X
|
||||||
WX_ARG_ENABLE(precomp, [ --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)], wxUSE_PRECOMP)
|
WX_ARG_ENABLE(precomp, [ --enable-precomp enable use of precompiled headers (Mac OS X)], wxUSE_PRECOMP)
|
||||||
|
|
||||||
if test "$wxUSE_DEBUG" = "yes"; then
|
if test "$wxUSE_DEBUG" = "yes"; then
|
||||||
DEFAULT_wxUSE_DEBUG_FLAG=yes
|
DEFAULT_wxUSE_DEBUG_FLAG=yes
|
||||||
@@ -741,7 +735,7 @@ WX_ARG_ENABLE(permissive, [ --enable-permissive compile code disregardin
|
|||||||
WX_ARG_ENABLE(no_deps, [ --enable-no_deps create code without dependency information], wxUSE_NO_DEPS)
|
WX_ARG_ENABLE(no_deps, [ --enable-no_deps create code without dependency information], wxUSE_NO_DEPS)
|
||||||
|
|
||||||
WX_ARG_ENABLE(compat20, [ --enable-compat20 enable wxWindows 2.0 compatibility], WXWIN_COMPATIBILITY_2)
|
WX_ARG_ENABLE(compat20, [ --enable-compat20 enable wxWindows 2.0 compatibility], WXWIN_COMPATIBILITY_2)
|
||||||
WX_ARG_ENABLE(compat22, [ --disable-compat22 disable wxWindows 2.2 compatibility], WXWIN_COMPATIBILITY_2_2, disable)
|
WX_ARG_ENABLE(compat22, [ --disable-compat22 disable wxWindows 2.2 compatibility], WXWIN_COMPATIBILITY_2_2)
|
||||||
|
|
||||||
AC_ARG_ENABLE(rpath, [ --enable-rpath=DIR output the rpath flag from wx-config], [wxRPATH_DIR="$enableval"])
|
AC_ARG_ENABLE(rpath, [ --enable-rpath=DIR output the rpath flag from wx-config], [wxRPATH_DIR="$enableval"])
|
||||||
|
|
||||||
@@ -762,8 +756,6 @@ WX_ARG_ENABLE(ftp, [ --enable-ftp use wxFTP (requires wxPr
|
|||||||
WX_ARG_ENABLE(http, [ --enable-http use wxHTTP (requires wxProtocol], wxUSE_PROTOCOL_HTTP)
|
WX_ARG_ENABLE(http, [ --enable-http use wxHTTP (requires wxProtocol], wxUSE_PROTOCOL_HTTP)
|
||||||
WX_ARG_ENABLE(fileproto, [ --enable-fileproto use wxFileProto class (requires wxProtocol], wxUSE_PROTOCOL_FILE)
|
WX_ARG_ENABLE(fileproto, [ --enable-fileproto use wxFileProto class (requires wxProtocol], wxUSE_PROTOCOL_FILE)
|
||||||
WX_ARG_ENABLE(sockets, [ --enable-sockets use socket/network classes], wxUSE_SOCKETS)
|
WX_ARG_ENABLE(sockets, [ --enable-sockets use socket/network classes], wxUSE_SOCKETS)
|
||||||
WX_ARG_ENABLE(ole, [ --enable-ole use OLE classes], wxUSE_OLE)
|
|
||||||
WX_ARG_ENABLE(dataobj, [ --enable-dataobj use data object classes], wxUSE_DATAOBJ)
|
|
||||||
|
|
||||||
WX_ARG_ENABLE(ipc, [ --enable-ipc use interprocess communication (wxSocket etc.)], wxUSE_IPC)
|
WX_ARG_ENABLE(ipc, [ --enable-ipc use interprocess communication (wxSocket etc.)], wxUSE_IPC)
|
||||||
|
|
||||||
@@ -1043,9 +1035,7 @@ dnl Path separator; ':' for unix, ';' for OS/2
|
|||||||
dnl Stem for flex output; lexyy for OS/2, lex.yy otherwise
|
dnl Stem for flex output; lexyy for OS/2, lex.yy otherwise
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
*-pc-os2_emx | *-pc-os2-emx )
|
*-pc-os2_emx | *-pc-os2-emx )
|
||||||
PATH_IFS=';'
|
dnl PATH_IFS is autodetected by OS/2's configure (usually ';')
|
||||||
dnl Really ought to text for this as meanwhile there are flex versions using
|
|
||||||
dnl lex.yy as well due to FAT support being more and more dropped...
|
|
||||||
LEX_STEM="lexyy"
|
LEX_STEM="lexyy"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
@@ -1130,31 +1120,11 @@ else
|
|||||||
AC_MSG_RESULT(base ($host_alias hosted) only)
|
AC_MSG_RESULT(base ($host_alias hosted) only)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl When we are using gcc on OS/2, we want to be either using resources (PM)
|
|
||||||
dnl or a more complete POSIX emulation for Motif/GTK+/X11
|
|
||||||
dnl ---------------------------------------------------------------------------
|
|
||||||
dnl (OS/2-only piece)
|
|
||||||
case "${host}" in
|
|
||||||
*-pc-os2_emx | *-pc-os2-emx )
|
|
||||||
dnl Explicitly link -lstdcpp, since we are using "gcc" not "g++"/"c++".
|
|
||||||
LIBS="$LIBS -lstdcpp"
|
|
||||||
if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
|
|
||||||
dnl More complete Unix emulation for unix-like ports
|
|
||||||
dnl by linking in POSIX/2's cExt (if available).
|
|
||||||
AC_CHECK_LIB(cExt, drand48, LIBS="$LIBS -lcExt")
|
|
||||||
else
|
|
||||||
dnl Include resources for the "native" port (wxPM).
|
|
||||||
RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
dnl (end of OS/2-only piece)
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------------
|
||||||
dnl When we are using Cygwin with Motif/GTK+, we want it to appear like
|
dnl When we are using Cygwin with Motif/GTK+, we want it to appear like
|
||||||
dnl 'just' a POSIX platform, so the Win32 API must not be available
|
dnl 'just' a POSIX platform, so the Win32 API must not be available
|
||||||
dnl ---------------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------------
|
||||||
|
|
||||||
dnl (Windows-only piece)
|
dnl (Windows-only piece)
|
||||||
wants_win32=0
|
wants_win32=0
|
||||||
doesnt_want_win32=0
|
doesnt_want_win32=0
|
||||||
@@ -1226,7 +1196,7 @@ dnl defines GCC empty if not using gcc
|
|||||||
dnl defines CFLAGS
|
dnl defines CFLAGS
|
||||||
dnl
|
dnl
|
||||||
dnl this magic incantation is needed to prevent AC_PROG_CC from setting the
|
dnl this magic incantation is needed to prevent AC_PROG_CC from setting the
|
||||||
dnl default CFLAGS (something like "-g -O2") -- we don't need this as we add
|
dnl default CFLAGS (something like "-g -O2") - we don't need this as add
|
||||||
dnl -g and -O flags ourselves below
|
dnl -g and -O flags ourselves below
|
||||||
CFLAGS=${CFLAGS:=}
|
CFLAGS=${CFLAGS:=}
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
@@ -1426,13 +1396,6 @@ case "${host}" in
|
|||||||
arm-*-linux* )
|
arm-*-linux* )
|
||||||
AC_CHECK_SIZEOF(long long, 8)
|
AC_CHECK_SIZEOF(long long, 8)
|
||||||
;;
|
;;
|
||||||
*-hp-hpux* )
|
|
||||||
AC_CHECK_SIZEOF(long long, 0)
|
|
||||||
if test "$ac_cv_sizeof_long_long" != "0"; then
|
|
||||||
dnl HPUX 10.20 headers need this define in order to use long long definitions
|
|
||||||
CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
* )
|
* )
|
||||||
AC_CHECK_SIZEOF(long long, 0)
|
AC_CHECK_SIZEOF(long long, 0)
|
||||||
esac
|
esac
|
||||||
@@ -1444,10 +1407,6 @@ AC_CACHE_CHECK([size of wchar_t], wx_cv_sizeof_wchar_t,
|
|||||||
[
|
[
|
||||||
AC_TRY_RUN(
|
AC_TRY_RUN(
|
||||||
[
|
[
|
||||||
/* DJGPP only has fake wchar_t: */
|
|
||||||
#ifdef __DJGPP__
|
|
||||||
# error "fake wchar_t"
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_WCHAR_H
|
#ifdef HAVE_WCHAR_H
|
||||||
# ifdef __CYGWIN__
|
# ifdef __CYGWIN__
|
||||||
# include <stddef.h>
|
# include <stddef.h>
|
||||||
@@ -1468,16 +1427,7 @@ AC_CACHE_CHECK([size of wchar_t], wx_cv_sizeof_wchar_t,
|
|||||||
],
|
],
|
||||||
wx_cv_sizeof_wchar_t=`cat conftestval`,
|
wx_cv_sizeof_wchar_t=`cat conftestval`,
|
||||||
wx_cv_sizeof_wchar_t=0,
|
wx_cv_sizeof_wchar_t=0,
|
||||||
[
|
wx_cv_sizeof_wchar_t=4
|
||||||
case "${host}" in
|
|
||||||
*-pc-msdosdjgpp )
|
|
||||||
wx_cv_sizeof_wchar_t=0
|
|
||||||
;;
|
|
||||||
* )
|
|
||||||
wx_cv_sizeof_wchar_t=4
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
]
|
|
||||||
)
|
)
|
||||||
])
|
])
|
||||||
|
|
||||||
@@ -1486,20 +1436,6 @@ AC_DEFINE_UNQUOTED(SIZEOF_WCHAR_T, $wx_cv_sizeof_wchar_t)
|
|||||||
dnl check for large file support
|
dnl check for large file support
|
||||||
AC_SYS_LARGEFILE
|
AC_SYS_LARGEFILE
|
||||||
|
|
||||||
dnl we need to define _FILE_OFFSET_BITS or _LARGE_FILES on the compiler command
|
|
||||||
dnl line because otherwise the system headers risk being included before
|
|
||||||
dnl wx/defs.h which defines these constants leading to inconsistent
|
|
||||||
dnl sizeof(off_t) in different source files of the same program and linking
|
|
||||||
dnl problems
|
|
||||||
if test "x$wx_largefile" = "xyes"; then
|
|
||||||
if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
|
|
||||||
WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
|
|
||||||
else
|
|
||||||
WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
|
|
||||||
fi
|
|
||||||
CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl check for bytesex stuff (don't use AC_C_BIGENDIAN to allow cross-compiling)
|
dnl check for bytesex stuff (don't use AC_C_BIGENDIAN to allow cross-compiling)
|
||||||
WX_C_BIGENDIAN
|
WX_C_BIGENDIAN
|
||||||
|
|
||||||
@@ -1517,9 +1453,10 @@ dnl Define search path for includes and libraries: all headers and libs will be
|
|||||||
dnl looked for in all directories of this path
|
dnl looked for in all directories of this path
|
||||||
dnl ---------------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------------
|
||||||
|
|
||||||
dnl Notice that /usr/include should *not* be in this list, otherwise it breaks
|
dnl notice that /usr/include should not be in this list, otherwise it breaks
|
||||||
dnl compilation on Solaris/AIX/... with gcc because standard (non ANSI C)
|
dnl compilation on Solaris/gcc because standard headers are included instead
|
||||||
dnl headers are included instead of the "fixed" (ANSI-fied) gcc ones.
|
dnl of the gcc ones (correction: it *is* needed for broken AIX compiler - but
|
||||||
|
dnl do put it last!)
|
||||||
dnl
|
dnl
|
||||||
dnl Also try to put all directories which may contain X11R6 before those which
|
dnl Also try to put all directories which may contain X11R6 before those which
|
||||||
dnl may contain X11R5/4 - we want to use R6 on machines which have both!
|
dnl may contain X11R5/4 - we want to use R6 on machines which have both!
|
||||||
@@ -1586,7 +1523,9 @@ SEARCH_INCLUDE="\
|
|||||||
/usr/local/x11r5/include \
|
/usr/local/x11r5/include \
|
||||||
/usr/lpp/Xamples/include \
|
/usr/lpp/Xamples/include \
|
||||||
\
|
\
|
||||||
/usr/openwin/share/include"
|
/usr/openwin/share/include \
|
||||||
|
\
|
||||||
|
/usr/include"
|
||||||
|
|
||||||
SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
|
SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
|
||||||
|
|
||||||
@@ -1758,7 +1697,7 @@ if test "$wxUSE_LIBPNG" != "no" ; then
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
dnl we are using the system library
|
dnl we are using the system library
|
||||||
wxUSE_LIBPNG=sys
|
wxUSE_LIBPNG=yes
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@@ -1926,16 +1865,6 @@ if test "$USE_WIN32" = 1 ; then
|
|||||||
RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
|
RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$USE_DARWIN" = 1; then
|
|
||||||
dnl Mac OS X/Darwin GCC uses precompiled headers by default
|
|
||||||
dnl this can cause problems both when compiling wxMac and wxBase
|
|
||||||
if test "$wxUSE_PRECOMP" = "yes"; then
|
|
||||||
CPPFLAGS="$CPPFLAGS -cpp-precomp"
|
|
||||||
else
|
|
||||||
CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$wxUSE_GUI" = "yes"; then
|
if test "$wxUSE_GUI" = "yes"; then
|
||||||
USE_GUI=1
|
USE_GUI=1
|
||||||
|
|
||||||
@@ -1976,17 +1905,17 @@ if test "$wxUSE_GUI" = "yes"; then
|
|||||||
GTK_MODULES=gthread
|
GTK_MODULES=gthread
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl note that if we fail to find GTK2 we abort and don't fall
|
|
||||||
dnl back to GTK1.x
|
|
||||||
wx_cv_lib_gtk=
|
wx_cv_lib_gtk=
|
||||||
if test "x$wxUSE_GTK2" = "xyes"; then
|
if test "x$wxUSE_GTK2" = "xyes"; then
|
||||||
AM_PATH_GTK_2_0(2.0.0, wx_cv_lib_gtk=2.0, , $GTK_MODULES)
|
AM_PATH_GTK_2_0(2.0.0, wx_cv_lib_gtk=2.0, , $GTK_MODULES)
|
||||||
else
|
fi
|
||||||
AM_PATH_GTK(1.2.7, wx_cv_lib_gtk=1.2.7, , $GTK_MODULES)
|
|
||||||
|
|
||||||
if test -z "$wx_cv_lib_gtk"; then
|
if test -z "$wx_cv_lib_gtk"; then
|
||||||
AM_PATH_GTK(1.2.3, wx_cv_lib_gtk=1.2.3, , $GTK_MODULES)
|
AM_PATH_GTK(1.2.7, wx_cv_lib_gtk=1.2.7, , $GTK_MODULES)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test -z "$wx_cv_lib_gtk"; then
|
||||||
|
AM_PATH_GTK(1.2.3, wx_cv_lib_gtk=1.2.3, , $GTK_MODULES)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -z "$wx_cv_lib_gtk"; then
|
if test -z "$wx_cv_lib_gtk"; then
|
||||||
@@ -2009,7 +1938,6 @@ if test "$wxUSE_GUI" = "yes"; then
|
|||||||
|
|
||||||
case "$wx_cv_lib_gtk" in
|
case "$wx_cv_lib_gtk" in
|
||||||
2.0) WXGTK20=1
|
2.0) WXGTK20=1
|
||||||
TOOLKIT_VERSION=2
|
|
||||||
;;
|
;;
|
||||||
1.2.7) WXGTK127=1
|
1.2.7) WXGTK127=1
|
||||||
WXGTK12=1
|
WXGTK12=1
|
||||||
@@ -2038,17 +1966,6 @@ equivalent variable and GTK+ is version 1.2.3 or above.
|
|||||||
]
|
]
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
else
|
|
||||||
if test "$wxUSE_UNICODE" = "yes"; then
|
|
||||||
AC_MSG_WARN([Unicode configuration not supported with GTK+ 1.x])
|
|
||||||
wxUSE_UNICODE=no
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl we need poll() in src/gtk/app.cpp (we know that Darwin doesn't
|
|
||||||
dnl have it but we do the check for the others)
|
|
||||||
if test "$USE_DARWIN" != 1; then
|
|
||||||
AC_CHECK_FUNCS(poll)
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
|
TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
|
||||||
@@ -2194,37 +2111,6 @@ equivalent variable and GTK+ is version 1.2.3 or above.
|
|||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$wxUSE_UNICODE" = "yes"; then
|
|
||||||
PKG_CHECK_MODULES(PANGOX, pangox,
|
|
||||||
[
|
|
||||||
CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
|
|
||||||
LIBS="$LIBS $PANGOX_LIBS"
|
|
||||||
],
|
|
||||||
[
|
|
||||||
AC_MSG_ERROR([pangox library not found, library cannot be compiled in Unicode mode])
|
|
||||||
]
|
|
||||||
)
|
|
||||||
PKG_CHECK_MODULES(PANGOFT2, pangoft2,
|
|
||||||
[
|
|
||||||
CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
|
|
||||||
LIBS="$LIBS $PANGOFT2_LIBS"
|
|
||||||
],
|
|
||||||
[
|
|
||||||
AC_MSG_WARN([pangoft2 library not found, library will be compiled without printing support])
|
|
||||||
wxUSE_PRINTING_ARCHITECTURE="no"
|
|
||||||
]
|
|
||||||
)
|
|
||||||
PKG_CHECK_MODULES(PANGOXFT, pangoxft,
|
|
||||||
[
|
|
||||||
CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
|
|
||||||
LIBS="$LIBS $PANGOXFT_LIBS"
|
|
||||||
],
|
|
||||||
[
|
|
||||||
AC_MSG_WARN([pangoxft library not found, library will be compiled without anti-aliasing support])
|
|
||||||
]
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
wxUSE_UNIVERSAL="yes"
|
wxUSE_UNIVERSAL="yes"
|
||||||
|
|
||||||
if test "$wxUSE_NANOX" = "yes"; then
|
if test "$wxUSE_NANOX" = "yes"; then
|
||||||
@@ -2267,9 +2153,7 @@ equivalent variable and GTK+ is version 1.2.3 or above.
|
|||||||
mesa_link=" -lMesaGL"
|
mesa_link=" -lMesaGL"
|
||||||
AC_MSG_RESULT(found at $ac_find_libraries)
|
AC_MSG_RESULT(found at $ac_find_libraries)
|
||||||
else
|
else
|
||||||
mesa_link=""
|
AC_MSG_ERROR(no)
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
AC_MSG_WARN(library will be compiled without Mesa support)
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
|
GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
|
||||||
@@ -2287,10 +2171,8 @@ equivalent variable and GTK+ is version 1.2.3 or above.
|
|||||||
AC_MSG_ERROR(X11 not found, please use --x-includes and/or --x-libraries options)
|
AC_MSG_ERROR(X11 not found, please use --x-includes and/or --x-libraries options)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl for some reason AC_PATH_XTRA seems to add -INONE and -LNONE to
|
GUI_TK_LIBRARY="$X_LIBS"
|
||||||
dnl X_LIBS and X_CFLAGS respectively -- what for??
|
TOOLKIT_INCLUDE="$X_CFLAGS"
|
||||||
GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
|
|
||||||
TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
|
|
||||||
AFMINSTALL=afminstall
|
AFMINSTALL=afminstall
|
||||||
COMPILED_X_PROGRAM=0
|
COMPILED_X_PROGRAM=0
|
||||||
|
|
||||||
@@ -2446,7 +2328,14 @@ equivalent variable and GTK+ is version 1.2.3 or above.
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$wxUSE_MAC" = 1; then
|
if test "$wxUSE_MAC" = 1; then
|
||||||
CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefile -I/Developer/Headers/FlatCarbon"
|
if test "$wxUSE_PRECOMP" = "yes"; then
|
||||||
|
CPPFLAGS="$CPPFLAGS -cpp-precomp"
|
||||||
|
else
|
||||||
|
CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
|
||||||
|
fi
|
||||||
|
CPPFLAGS="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
|
||||||
|
CFLAGS="$CFLAGS -fpascal-strings"
|
||||||
|
CXXFLAGS="$CXXFLAGS -fpascal-strings"
|
||||||
|
|
||||||
TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
|
TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
|
||||||
TOOLKIT=MAC
|
TOOLKIT=MAC
|
||||||
@@ -2457,11 +2346,6 @@ equivalent variable and GTK+ is version 1.2.3 or above.
|
|||||||
if test "$wxUSE_PM" = 1; then
|
if test "$wxUSE_PM" = 1; then
|
||||||
TOOLKIT=PM
|
TOOLKIT=PM
|
||||||
GUIDIST=GTK_DIST
|
GUIDIST=GTK_DIST
|
||||||
AC_MSG_WARN([OS/2 PM requires old resource format, re-enabled])
|
|
||||||
wxUSE_PROLOGIO="yes"
|
|
||||||
wxUSE_RESOURCES="yes"
|
|
||||||
AC_MSG_WARN([OS/2 threads are not yet supported... disabled])
|
|
||||||
wxUSE_THREADS="no"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl the name of the directory where the files for this toolkit live
|
dnl the name of the directory where the files for this toolkit live
|
||||||
@@ -2638,10 +2522,8 @@ if test "$wxUSE_DEBUG_FLAG" = "yes"; then
|
|||||||
lib_debug_suffix=d
|
lib_debug_suffix=d
|
||||||
fi
|
fi
|
||||||
|
|
||||||
WX_VERSION_TAG=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[[a-z]]" "[[A-Z]]"`
|
TOOLCHAIN_NAME="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
|
||||||
|
TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
|
||||||
TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
|
|
||||||
TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
|
|
||||||
|
|
||||||
if test "$cross_compiling" = "yes"; then
|
if test "$cross_compiling" = "yes"; then
|
||||||
TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
|
TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
|
||||||
@@ -2651,7 +2533,6 @@ fi
|
|||||||
dnl library link name
|
dnl library link name
|
||||||
WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
|
WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
|
||||||
WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
|
WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
|
||||||
WX_LIBRARY_BASENAME="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
|
|
||||||
|
|
||||||
dnl the name of the shared library
|
dnl the name of the shared library
|
||||||
WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
|
WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
|
||||||
@@ -2738,19 +2619,14 @@ if test "$wxUSE_SHARED" = "yes"; then
|
|||||||
PIC_FLAG="-fPIC"
|
PIC_FLAG="-fPIC"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
dnl use versioned symbols if available on the platform
|
|
||||||
WX_VERSIONED_SYMBOLS([\$(top_builddir)/version-script])
|
|
||||||
|
|
||||||
dnl the command to use for creating the shared library
|
dnl the command to use for creating the shared library
|
||||||
SHARED_LD="${CXX} -shared -o"
|
SHARED_LD="${CXX} -shared -o"
|
||||||
|
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
*-hp-hpux* )
|
*-hp-hpux* )
|
||||||
dnl default settings are good for gcc but not for the native HP-UX
|
dnl default settings are good for gcc but not for the native HP-UX
|
||||||
if test "$GCC" = "yes"; then
|
if test "$GCC" == "yes"; then
|
||||||
dnl -o flag must be after PIC flag
|
SHARED_LD="${SHARED_LD} ${PIC_FLAG}"
|
||||||
SHARED_LD="${CXX} -shared ${PIC_FLAG} -o"
|
|
||||||
else
|
else
|
||||||
dnl no idea why it wants it, but it does
|
dnl no idea why it wants it, but it does
|
||||||
LDFLAGS="$LDFLAGS -L/usr/lib"
|
LDFLAGS="$LDFLAGS -L/usr/lib"
|
||||||
@@ -2811,9 +2687,8 @@ if test "$wxUSE_SHARED" = "yes"; then
|
|||||||
*-*-darwin* )
|
*-*-darwin* )
|
||||||
dnl For Unix to MacOS X porting instructions, see:
|
dnl For Unix to MacOS X porting instructions, see:
|
||||||
dnl http://fink.sourceforge.net/doc/porting/porting.html
|
dnl http://fink.sourceforge.net/doc/porting/porting.html
|
||||||
TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
|
CFLAGS="$CFLAGS -fno-common -DWXMAKINGDLL"
|
||||||
CFLAGS="$CFLAGS -fno-common"
|
CXXFLAGS="$CXXFLAGS -fno-common -DWXMAKINGDLL"
|
||||||
CXXFLAGS="$CXXFLAGS -fno-common"
|
|
||||||
dnl wxWindows must be fully binded (lazy binding breaks RTTI classinfo)
|
dnl wxWindows must be fully binded (lazy binding breaks RTTI classinfo)
|
||||||
dnl this can be done either with the exe linker flag -Wl,-bind_at_load
|
dnl this can be done either with the exe linker flag -Wl,-bind_at_load
|
||||||
dnl or with a double stage link in order to create a single module
|
dnl or with a double stage link in order to create a single module
|
||||||
@@ -2825,18 +2700,16 @@ if test "$wxUSE_SHARED" = "yes"; then
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
*-*-aix* )
|
*-*-aix* )
|
||||||
dnl default settings are ok for gcc
|
dnl the abs path below used to be hardcoded here so I guess it must
|
||||||
if test "$GCC" != "yes"; then
|
dnl be some sort of standard location under AIX?
|
||||||
dnl the abs path below used to be hardcoded here so I guess it must
|
AC_CHECK_PROG(AIX_CXX_LD, makeC++SharedLib,
|
||||||
dnl be some sort of standard location under AIX?
|
makeC++SharedLib, /usr/lpp/xlC/bin/makeC++SharedLib)
|
||||||
AC_CHECK_PROG(AIX_CXX_LD, makeC++SharedLib,
|
|
||||||
makeC++SharedLib, /usr/lpp/xlC/bin/makeC++SharedLib)
|
|
||||||
|
|
||||||
SHARED_LD="$(AIX_CXX_LD) -p 0 -o"
|
SHARED_LD="$(AIX_CXX_LD) -p 0 -o"
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*-*-cygwin* | *-*-mingw32* )
|
*-*-cygwin* | *-*-mingw32* )
|
||||||
|
|
||||||
WX_LIBRARY_IMPORTLIB="${WX_LIBRARY_NAME_SHARED}.a"
|
WX_LIBRARY_IMPORTLIB="${WX_LIBRARY_NAME_SHARED}.a"
|
||||||
|
|
||||||
SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
|
SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
|
||||||
@@ -2859,15 +2732,9 @@ if test "$wxUSE_SHARED" = "yes"; then
|
|||||||
SHARED_LD="${LD} -shared -o"
|
SHARED_LD="${LD} -shared -o"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*-*-irix* )
|
|
||||||
dnl default settings are ok for gcc
|
|
||||||
if test "$GCC" != "yes"; then
|
|
||||||
PIC_FLAG="-KPIC"
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
|
|
||||||
*-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
|
*-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
|
||||||
*-*-sunos4* | \
|
*-*-sunos4* | \
|
||||||
|
*-*-irix5* | *-*-irix6* | \
|
||||||
*-*-osf* | \
|
*-*-osf* | \
|
||||||
*-*-dgux5* | \
|
*-*-dgux5* | \
|
||||||
*-*-sysv5* )
|
*-*-sysv5* )
|
||||||
@@ -2914,12 +2781,6 @@ if test "$wxUSE_SHARED" = "no"; then
|
|||||||
|
|
||||||
WX_TARGET_LIBRARY_TYPE="a"
|
WX_TARGET_LIBRARY_TYPE="a"
|
||||||
INSTALL_LIBRARY='$(INSTALL_DATA)'
|
INSTALL_LIBRARY='$(INSTALL_DATA)'
|
||||||
|
|
||||||
dnl wx-config should assume the --static flag by default if we don't have
|
|
||||||
dnl any shared libs anyhow
|
|
||||||
STATIC_FLAG="yes"
|
|
||||||
else
|
|
||||||
STATIC_FLAG="no"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$wxUSE_MAC" = 1; then
|
if test "$wxUSE_MAC" = 1; then
|
||||||
@@ -2930,10 +2791,15 @@ if test "$wxUSE_MAC" = 1; then
|
|||||||
AC_CHECK_PROG(RESCOMP, Rez, Rez, /Developer/Tools/Rez)
|
AC_CHECK_PROG(RESCOMP, Rez, Rez, /Developer/Tools/Rez)
|
||||||
AC_CHECK_PROG(DEREZ, DeRez, DeRez, /Developer/Tools/DeRez)
|
AC_CHECK_PROG(DEREZ, DeRez, DeRez, /Developer/Tools/DeRez)
|
||||||
MACOSX_BUNDLE="bundle"
|
MACOSX_BUNDLE="bundle"
|
||||||
dnl resources are bundled both with shared library and applications
|
if test "$wxUSE_SHARED" = "yes"; then
|
||||||
dnl since the carb resource *must* be included in the application
|
dnl resources are bundled with shared library, not with applications
|
||||||
LIBWXMACRESCOMP="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
|
LIBWXMACRESCOMP="\$(RESCOMP) -t APPL Carbon.r -o \$(BIN_PROGRAM)"
|
||||||
LIBWXMACRESWXCONFIG="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
|
LIBWXMACRESWXCONFIG="${RESCOMP} -t APPL Carbon.r -o"
|
||||||
|
else
|
||||||
|
dnl resources are bundled with applications, not with static library
|
||||||
|
LIBWXMACRESCOMP="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
|
||||||
|
LIBWXMACRESWXCONFIG="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
if test "$wxUSE_PM" = 1; then
|
if test "$wxUSE_PM" = 1; then
|
||||||
LIBWXMACRESCOMP="emxbind -ep \$(BIN_PROGRAM)"
|
LIBWXMACRESCOMP="emxbind -ep \$(BIN_PROGRAM)"
|
||||||
@@ -3079,15 +2945,6 @@ AC_CHECK_FUNCS(vsnprintf)
|
|||||||
if test "$wxUSE_UNICODE" = yes; then
|
if test "$wxUSE_UNICODE" = yes; then
|
||||||
dnl also look if we have wide char IO functions
|
dnl also look if we have wide char IO functions
|
||||||
AC_CHECK_FUNCS(fputwc wprintf vswprintf)
|
AC_CHECK_FUNCS(fputwc wprintf vswprintf)
|
||||||
dnl MinGW has a vswprintf with a different prototype, and
|
|
||||||
dnl a _vsnwprintf with the correct prototype, but AC_CHECK_FUNCS
|
|
||||||
dnl finds it even if it is not declared in some versions...
|
|
||||||
AC_MSG_CHECKING([for _vsnwprintf])
|
|
||||||
AC_TRY_COMPILE([#include <wchar.h>],
|
|
||||||
[&_vsnwprintf;],
|
|
||||||
[AC_MSG_RESULT([yes])
|
|
||||||
AC_DEFINE(HAVE__VSNWPRINTF)],
|
|
||||||
[AC_MSG_RESULT([no])]);
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_LANG_RESTORE
|
AC_LANG_RESTORE
|
||||||
@@ -3139,6 +2996,9 @@ if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl check for vfork() (even if it's the same as fork() in modern Unices)
|
||||||
|
AC_CHECK_FUNCS(vfork)
|
||||||
|
|
||||||
dnl check for the function for temp files creation
|
dnl check for the function for temp files creation
|
||||||
AC_CHECK_FUNCS(mkstemp mktemp, break)
|
AC_CHECK_FUNCS(mkstemp mktemp, break)
|
||||||
|
|
||||||
@@ -3229,7 +3089,7 @@ if test "$USE_BEOS" = 1; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$USE_DARWIN" = 1; then
|
if test "$USE_DARWIN" = 1; then
|
||||||
dnl Mac OS X/Darwin has both nanosleep and usleep
|
dnl Mac OS X has both nanosleep and usleep
|
||||||
dnl but only usleep is defined in unistd.h
|
dnl but only usleep is defined in unistd.h
|
||||||
AC_DEFINE(HAVE_USLEEP)
|
AC_DEFINE(HAVE_USLEEP)
|
||||||
HAVE_SOME_SLEEP_FUNC=1
|
HAVE_SOME_SLEEP_FUNC=1
|
||||||
@@ -3310,10 +3170,10 @@ dnl flush the cache
|
|||||||
AC_CACHE_SAVE
|
AC_CACHE_SAVE
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------------
|
||||||
dnl thread support for Unix (for Win32 see past the next matching "else")
|
dnl thread support for Unix (always available under Win32)
|
||||||
dnl ---------------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------------
|
||||||
|
|
||||||
dnl under MSW (except mingw32) we always have thread support
|
dnl under MSW we always have thread support
|
||||||
CPP_MT_FLAG=
|
CPP_MT_FLAG=
|
||||||
if test "$TOOLKIT" != "MSW"; then
|
if test "$TOOLKIT" != "MSW"; then
|
||||||
|
|
||||||
@@ -3429,28 +3289,14 @@ if test "$TOOLKIT" != "MSW"; then
|
|||||||
else
|
else
|
||||||
dnl yes, these special compiler flags should be used with the
|
dnl yes, these special compiler flags should be used with the
|
||||||
dnl linker as well
|
dnl linker as well
|
||||||
LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
|
LIBS="$THREADS_LINK $THREADS_CFLAGS $LIBS"
|
||||||
LIBS="$THREADS_LINK $LIBS"
|
|
||||||
|
|
||||||
AC_MSG_CHECKING([if more special flags are required for pthreads])
|
AC_MSG_CHECKING([if more special flags are required for pthreads])
|
||||||
flag=no
|
flag=no
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
*-aix*)
|
*-aix* | *-freebsd*)
|
||||||
dnl again quoting from
|
|
||||||
dnl http://www-1.ibm.com/servers/esdd/articles/gnu.html:
|
|
||||||
dnl
|
|
||||||
dnl When compiling and linking with -pthread, the library
|
|
||||||
dnl search path should include -L/usr/lib/threads at the
|
|
||||||
dnl beginning of the path.
|
|
||||||
LDFLAGS="-L/usr/lib/threads $LDFLAGS"
|
|
||||||
flag="-D_THREAD_SAFE"
|
flag="-D_THREAD_SAFE"
|
||||||
;;
|
;;
|
||||||
*-freebsd*)
|
|
||||||
flag="-D_THREAD_SAFE"
|
|
||||||
;;
|
|
||||||
*-hp-hpux* )
|
|
||||||
flag="-D_REENTRANT"
|
|
||||||
;;
|
|
||||||
*solaris* | alpha*-osf*)
|
*solaris* | alpha*-osf*)
|
||||||
flag="-D_REENTRANT"
|
flag="-D_REENTRANT"
|
||||||
;;
|
;;
|
||||||
@@ -3584,35 +3430,6 @@ if test "$TOOLKIT" != "MSW"; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
dnl from if !MSW
|
dnl from if !MSW
|
||||||
else
|
|
||||||
if test "$wxUSE_THREADS" = "yes" ; then
|
|
||||||
case "${host}" in
|
|
||||||
*-*-mingw32* )
|
|
||||||
dnl check if the compiler accepts -mthreads
|
|
||||||
AC_CACHE_CHECK([if compiler supports -mthreads],
|
|
||||||
wx_cv_cflags_mthread,
|
|
||||||
[
|
|
||||||
CFLAGS_OLD="$CFLAGS"
|
|
||||||
CFLAGS="$CFLAGS -mthreads"
|
|
||||||
AC_TRY_COMPILE([], [],
|
|
||||||
wx_cv_cflags_mthread=yes,
|
|
||||||
wx_cv_cflags_mthread=no
|
|
||||||
)
|
|
||||||
]
|
|
||||||
)
|
|
||||||
|
|
||||||
if test "$wx_cv_cflags_mthread" = "yes"; then
|
|
||||||
dnl it does, use it
|
|
||||||
CXXFLAGS="$CXXFLAGS -mthreads"
|
|
||||||
TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
|
|
||||||
LDFLAGS="$LDFLAGS -mthreads"
|
|
||||||
else
|
|
||||||
dnl it doesn't
|
|
||||||
CFLAGS="$CFLAGS_OLD"
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$wxUSE_THREADS" = "yes"; then
|
if test "$wxUSE_THREADS" = "yes"; then
|
||||||
@@ -3707,19 +3524,11 @@ if test "$GCC" = "yes" ; then
|
|||||||
dnl for each subroutine by default -- using the switch below only creates
|
dnl for each subroutine by default -- using the switch below only creates
|
||||||
dnl one entry per file instead at the price of minor performance penalty
|
dnl one entry per file instead at the price of minor performance penalty
|
||||||
dnl
|
dnl
|
||||||
dnl As of wx2.4 a bug in the hppa gcc compiler causes a similar problem
|
|
||||||
dnl without -ffunction-sections. No idea how long we'll need to maintain
|
|
||||||
dnl this, or even the extent of gcc/wx version combinations affected, but
|
|
||||||
dnl also as above, this 'fix' does not come without side effects.
|
|
||||||
dnl
|
|
||||||
dnl TODO: test for the gcc version here (how?)
|
dnl TODO: test for the gcc version here (how?)
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
powerpc*-*-aix* )
|
powerpc*-*-aix* )
|
||||||
CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
|
CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
|
||||||
;;
|
;;
|
||||||
*-hppa* )
|
|
||||||
CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -4061,7 +3870,7 @@ dnl ------------------------------------------------------------------------
|
|||||||
dnl wxSocket
|
dnl wxSocket
|
||||||
dnl ------------------------------------------------------------------------
|
dnl ------------------------------------------------------------------------
|
||||||
|
|
||||||
dnl VZ: the GUI hooks wxSocket needs are not implemented yet in wxMGL
|
dnl VZ: the GUI hooks wxSocket needs are not implemented yet in wxX11
|
||||||
if test "$wxUSE_SOCKETS" = "yes"; then
|
if test "$wxUSE_SOCKETS" = "yes"; then
|
||||||
if test "$wxUSE_MGL" = "1"; then
|
if test "$wxUSE_MGL" = "1"; then
|
||||||
AC_MSG_WARN([wxSocket not yet supported under MGL... disabled])
|
AC_MSG_WARN([wxSocket not yet supported under MGL... disabled])
|
||||||
@@ -4379,18 +4188,14 @@ fi
|
|||||||
|
|
||||||
if test "$wxUSE_PROLOGIO" = "yes" ; then
|
if test "$wxUSE_PROLOGIO" = "yes" ; then
|
||||||
AC_DEFINE(wxUSE_PROLOGIO)
|
AC_DEFINE(wxUSE_PROLOGIO)
|
||||||
ALL_OBJECTS="$ALL_OBJECTS parser.o"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$wxUSE_RESOURCES" = "yes" ; then
|
if test "$wxUSE_RESOURCES" = "yes" ; then
|
||||||
if test "$wxUSE_NANOX" = "yes"; then
|
if test "$wxUSE_NANOX" = "yes"; then
|
||||||
AC_MSG_WARN([Cannot use resource database functions in NanoX])
|
AC_MSG_WARN([Cannot use resource database functions in NanoX])
|
||||||
else
|
else
|
||||||
AC_DEFINE(wxUSE_RESOURCES)
|
AC_DEFINE(wxUSE_RESOURCES)
|
||||||
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource"
|
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource"
|
||||||
fi
|
|
||||||
if test "$wxUSE_PROLOGIO" != "yes" ; then
|
|
||||||
ALL_OBJECTS="$ALL_OBJECTS parser.o"
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -4406,7 +4211,6 @@ dnl check for ole headers and disable a few features requiring it if not
|
|||||||
dnl present (earlier versions of mingw32 don't have ole2.h)
|
dnl present (earlier versions of mingw32 don't have ole2.h)
|
||||||
if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
|
if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
|
||||||
-o "$wxUSE_CLIPBOARD" = "yes" \
|
-o "$wxUSE_CLIPBOARD" = "yes" \
|
||||||
-o "$wxUSE_OLE" = "yes" \
|
|
||||||
-o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
|
-o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
|
||||||
AC_CHECK_HEADERS(ole2.h)
|
AC_CHECK_HEADERS(ole2.h)
|
||||||
|
|
||||||
@@ -4437,51 +4241,6 @@ if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
|
|||||||
wxUSE_CLIPBOARD=no
|
wxUSE_CLIPBOARD=no
|
||||||
wxUSE_DRAG_AND_DROP=no
|
wxUSE_DRAG_AND_DROP=no
|
||||||
wxUSE_DATAOBJ=no
|
wxUSE_DATAOBJ=no
|
||||||
wxUSE_OLE=no
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$wxUSE_METAFILE" = "yes"; then
|
|
||||||
AC_DEFINE(wxUSE_METAFILE)
|
|
||||||
|
|
||||||
dnl this one should probably be made separately configurable
|
|
||||||
AC_DEFINE(wxUSE_ENH_METAFILE)
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$wxUSE_WINE" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
|
|
||||||
-o "$wxUSE_CLIPBOARD" = "yes" \
|
|
||||||
-o "$wxUSE_OLE" = "yes" \
|
|
||||||
-o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
|
|
||||||
AC_CHECK_HEADERS(ole2.h)
|
|
||||||
|
|
||||||
if test "$ac_cv_header_ole2_h" = "yes" ; then
|
|
||||||
if test "$GCC" = yes ; then
|
|
||||||
AC_LANG_SAVE
|
|
||||||
AC_LANG_CPLUSPLUS
|
|
||||||
|
|
||||||
AC_MSG_CHECKING([if g++ requires -fvtable-thunks])
|
|
||||||
AC_TRY_COMPILE([#include <windows.h>
|
|
||||||
#include <ole2.h>],
|
|
||||||
[],
|
|
||||||
[AC_MSG_RESULT(no)],
|
|
||||||
[AC_MSG_RESULT(yes)
|
|
||||||
CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"])
|
|
||||||
AC_LANG_RESTORE
|
|
||||||
ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
|
|
||||||
LIBS=" -lwine_uuid$LIBS"
|
|
||||||
AC_DEFINE(wxUSE_OLE)
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl for OLE clipboard and dnd
|
|
||||||
AC_DEFINE(wxUSE_DATAOBJ)
|
|
||||||
else
|
|
||||||
AC_MSG_WARN([Some features disabled because OLE headers not found])
|
|
||||||
|
|
||||||
wxUSE_CLIPBOARD=no
|
|
||||||
wxUSE_DRAG_AND_DROP=no
|
|
||||||
wxUSE_DATAOBJ=no
|
|
||||||
wxUSE_OLE=no
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$wxUSE_METAFILE" = "yes"; then
|
if test "$wxUSE_METAFILE" = "yes"; then
|
||||||
@@ -5063,48 +4822,7 @@ dnl FIXME: should this be covered by the conditional above
|
|||||||
dnl given the -lm comment there? Or should that comment (and
|
dnl given the -lm comment there? Or should that comment (and
|
||||||
dnl this one) be removed.. [ 7 Nov 2001 ]
|
dnl this one) be removed.. [ 7 Nov 2001 ]
|
||||||
|
|
||||||
LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
|
LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK -lm $LIBS"
|
||||||
|
|
||||||
dnl Only add the -lm library if floating point functions cannot be used
|
|
||||||
dnl without it. This check is important on cygwin because of the bizarre
|
|
||||||
dnl way that they have organized functions into libraries. On cygwin, both
|
|
||||||
dnl libc.a and libm.a are symbolic links to a single lib libcygwin.a. This
|
|
||||||
dnl means that
|
|
||||||
dnl 1) linking with -lm is not necessary, and
|
|
||||||
dnl 2) linking with -lm is dangerous if the order of libraries is wrong
|
|
||||||
dnl In particular, if you compile any program with -mno-cygwin and link with
|
|
||||||
dnl -lm, it will crash instantly when it is run. This happens because the
|
|
||||||
dnl linker incorrectly links the Cygwin libm.a (==libcygwin.a), which replaces
|
|
||||||
dnl the ___main function instead of allowing it to be defined by
|
|
||||||
dnl /usr/lib/mingw/libmingw32.a as it should be.
|
|
||||||
dnl
|
|
||||||
dnl On MacOS X, this test will find that -lm is unnecessary and leave it out.
|
|
||||||
dnl
|
|
||||||
dnl Just check a few floating point functions. If they are all found without
|
|
||||||
dnl -lm, then we must not need -lm.
|
|
||||||
have_cos=0
|
|
||||||
have_floor=0
|
|
||||||
AC_CHECK_FUNCS(cos, have_cos=1)
|
|
||||||
AC_CHECK_FUNCS(floor, have_floor=1)
|
|
||||||
AC_MSG_CHECKING(if floating point functions link without -lm)
|
|
||||||
if test "$have_cos" = 1 -a "$have_floor" = 1; then
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
LIBS="$LIBS -lm"
|
|
||||||
# use different functions to avoid configure caching
|
|
||||||
have_sin=0
|
|
||||||
have_ceil=0
|
|
||||||
AC_CHECK_FUNCS(sin, have_sin=1)
|
|
||||||
AC_CHECK_FUNCS(ceil, have_ceil=1)
|
|
||||||
AC_MSG_CHECKING(if floating point functions link with -lm)
|
|
||||||
if test "$have_sin" = 1 -a "$have_ceil" = 1; then
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
# not sure we should warn the user, crash, etc.
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$wxUSE_GUI" = "yes"; then
|
if test "$wxUSE_GUI" = "yes"; then
|
||||||
|
|
||||||
@@ -5160,10 +4878,9 @@ if test "$GXX" = yes ; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
|
EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
|
||||||
|
|
||||||
dnl remove the extra white space from the cc/c++/ld options
|
dnl remove the extra white space from the cc/c++/ld options
|
||||||
CPPFLAGS=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
|
|
||||||
CFLAGS=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
|
CFLAGS=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
|
||||||
CXXFLAGS=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
|
CXXFLAGS=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
|
||||||
LIBS=`echo $LIBS | sed 's/ \+/ /g'`
|
LIBS=`echo $LIBS | sed 's/ \+/ /g'`
|
||||||
@@ -5217,8 +4934,6 @@ AC_SUBST(SONAME_FLAGS_GL)
|
|||||||
AC_SUBST(WX_TARGET_LIBRARY_SONAME)
|
AC_SUBST(WX_TARGET_LIBRARY_SONAME)
|
||||||
AC_SUBST(WX_TARGET_LIBRARY_TYPE)
|
AC_SUBST(WX_TARGET_LIBRARY_TYPE)
|
||||||
|
|
||||||
AC_SUBST(STATIC_FLAG)
|
|
||||||
|
|
||||||
dnl debugging options
|
dnl debugging options
|
||||||
AC_SUBST(WXDEBUG_DEFINE)
|
AC_SUBST(WXDEBUG_DEFINE)
|
||||||
|
|
||||||
@@ -5241,7 +4956,6 @@ AC_SUBST(WXCONFIG_LIBS_STATIC)
|
|||||||
AC_SUBST(WXCONFIG_LIBS_STATIC_GL)
|
AC_SUBST(WXCONFIG_LIBS_STATIC_GL)
|
||||||
AC_SUBST(WXCONFIG_INCLUDE)
|
AC_SUBST(WXCONFIG_INCLUDE)
|
||||||
AC_SUBST(WXCONFIG_RPATH)
|
AC_SUBST(WXCONFIG_RPATH)
|
||||||
AC_SUBST(WX_LARGEFILE_FLAGS)
|
|
||||||
|
|
||||||
dnl the list of files to compile/install
|
dnl the list of files to compile/install
|
||||||
AC_SUBST(ALL_OBJECTS)
|
AC_SUBST(ALL_OBJECTS)
|
||||||
@@ -5259,12 +4973,10 @@ AC_SUBST(SAMPLES_SUBDIRS)
|
|||||||
dnl additional libraries and linker settings
|
dnl additional libraries and linker settings
|
||||||
AC_SUBST(LDFLAGS)
|
AC_SUBST(LDFLAGS)
|
||||||
AC_SUBST(LDFLAGS_GL)
|
AC_SUBST(LDFLAGS_GL)
|
||||||
AC_SUBST(LDFLAGS_VERSIONING)
|
|
||||||
AC_SUBST(LDFLAGS_EXE)
|
AC_SUBST(LDFLAGS_EXE)
|
||||||
AC_SUBST(OPENGL_LIBS)
|
AC_SUBST(OPENGL_LIBS)
|
||||||
AC_SUBST(DMALLOC_LIBS)
|
AC_SUBST(DMALLOC_LIBS)
|
||||||
AC_SUBST(EXTRADEFS)
|
AC_SUBST(EXTRADEFS)
|
||||||
AC_SUBST(WX_VERSION_TAG)
|
|
||||||
|
|
||||||
dnl additional resurces settings
|
dnl additional resurces settings
|
||||||
AC_SUBST(RESCOMP)
|
AC_SUBST(RESCOMP)
|
||||||
@@ -5280,8 +4992,7 @@ AC_SUBST(LIBWXMACRES)
|
|||||||
AC_SUBST(LIBWXMACRESCOMP)
|
AC_SUBST(LIBWXMACRESCOMP)
|
||||||
AC_SUBST(LIBWXMACRESWXCONFIG)
|
AC_SUBST(LIBWXMACRESWXCONFIG)
|
||||||
|
|
||||||
dnl other tools
|
dnl These seem to be missing
|
||||||
AC_SUBST(GCC)
|
|
||||||
AC_SUBST(DLLTOOL)
|
AC_SUBST(DLLTOOL)
|
||||||
AC_SUBST(AS)
|
AC_SUBST(AS)
|
||||||
AC_SUBST(NM)
|
AC_SUBST(NM)
|
||||||
@@ -5312,16 +5023,9 @@ wx_cv_program_ext=$PROGRAM_EXT
|
|||||||
wx_cv_target_library=$WX_TARGET_LIBRARY
|
wx_cv_target_library=$WX_TARGET_LIBRARY
|
||||||
wx_cv_target_library_gl=$WX_TARGET_LIBRARY_GL
|
wx_cv_target_library_gl=$WX_TARGET_LIBRARY_GL
|
||||||
wx_cv_target_libtype=$WX_TARGET_LIBRARY_TYPE
|
wx_cv_target_libtype=$WX_TARGET_LIBRARY_TYPE
|
||||||
wx_cv_library_basename=${WX_LIBRARY_BASENAME}
|
|
||||||
wx_cv_release=${WX_RELEASE}
|
|
||||||
wx_cv_current=${WX_CURRENT}
|
|
||||||
wx_cv_revision=${WX_REVISION}
|
|
||||||
wx_cv_age=${WX_AGE}
|
|
||||||
export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
|
export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
|
||||||
wx_cv_path_ifs wx_cv_program_ext \
|
wx_cv_path_ifs wx_cv_program_ext \
|
||||||
wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype \
|
wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
|
||||||
wx_cv_library_basename wx_cv_release wx_cv_current wx_cv_revision wx_cv_age
|
|
||||||
|
|
||||||
|
|
||||||
AC_CONFIG_SUBDIRS(demos samples utils contrib)
|
AC_CONFIG_SUBDIRS(demos samples utils contrib)
|
||||||
|
|
||||||
@@ -5330,7 +5034,6 @@ dnl (the original file name may be overriden by appending another name after a
|
|||||||
dnl colon)
|
dnl colon)
|
||||||
AC_OUTPUT([
|
AC_OUTPUT([
|
||||||
wx-config
|
wx-config
|
||||||
version-script
|
|
||||||
src/make.env
|
src/make.env
|
||||||
src/makeprog.env
|
src/makeprog.env
|
||||||
src/makelib.env
|
src/makelib.env
|
||||||
@@ -5375,23 +5078,4 @@ AC_OUTPUT([
|
|||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
dnl report on what we decided to do
|
dnl vi: set et sts=4 sw=4:
|
||||||
echo
|
|
||||||
echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
|
|
||||||
echo ""
|
|
||||||
echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
|
|
||||||
|
|
||||||
echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
|
|
||||||
echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
|
|
||||||
echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
|
|
||||||
|
|
||||||
echo " Which libraries should wxWindows use?"
|
|
||||||
echo " jpeg ${wxUSE_LIBJPEG-none}"
|
|
||||||
echo " png ${wxUSE_LIBPNG-none}"
|
|
||||||
echo " regex ${wxUSE_REGEX}"
|
|
||||||
echo " tiff ${wxUSE_LIBTIFF-none}"
|
|
||||||
echo " zlib ${wxUSE_ZLIB}"
|
|
||||||
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
dnl vi: set et sts=4 sw=4 com=\:dnl:
|
|
||||||
|
25
contrib/configure
vendored
25
contrib/configure
vendored
@@ -691,16 +691,6 @@ fi
|
|||||||
PATH_IFS=$wx_cv_path_ifs
|
PATH_IFS=$wx_cv_path_ifs
|
||||||
WX_TARGET_LIBRARY=$wx_cv_target_library
|
WX_TARGET_LIBRARY=$wx_cv_target_library
|
||||||
WX_TARGET_LIBRARY_TYPE=$wx_cv_target_libtype
|
WX_TARGET_LIBRARY_TYPE=$wx_cv_target_libtype
|
||||||
WX_LIBRARY_BASENAME=$wx_cv_library_basename
|
|
||||||
WX_RELEASE=$wx_cv_release
|
|
||||||
WX_CURRENT=$wx_cv_current
|
|
||||||
WX_REVISION=$wx_cv_revision
|
|
||||||
WX_AGE=$wx_cv_age
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -845,12 +835,11 @@ trap 'rm -fr `echo "
|
|||||||
samples/canvas/test/Makefile
|
samples/canvas/test/Makefile
|
||||||
samples/canvas/simple/Makefile
|
samples/canvas/simple/Makefile
|
||||||
samples/gizmos/Makefile
|
samples/gizmos/Makefile
|
||||||
|
samples/gizmos/multicell/Makefile
|
||||||
|
samples/gizmos/splittree/Makefile
|
||||||
samples/gizmos/editlbox/Makefile
|
samples/gizmos/editlbox/Makefile
|
||||||
samples/gizmos/dynsash/Makefile
|
samples/gizmos/dynsash/Makefile
|
||||||
samples/gizmos/dynsash_switch/Makefile
|
samples/gizmos/dynsash_switch/Makefile
|
||||||
samples/gizmos/multicell/Makefile
|
|
||||||
samples/gizmos/splittree/Makefile
|
|
||||||
samples/gizmos/led/Makefile
|
|
||||||
samples/xrc/Makefile
|
samples/xrc/Makefile
|
||||||
samples/plot/Makefile
|
samples/plot/Makefile
|
||||||
samples/applet/Makefile
|
samples/applet/Makefile
|
||||||
@@ -901,11 +890,6 @@ s%@PATH_IFS@%$PATH_IFS%g
|
|||||||
s%@ESD_LINK@%$ESD_LINK%g
|
s%@ESD_LINK@%$ESD_LINK%g
|
||||||
s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
|
s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
|
||||||
s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
|
s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
|
||||||
s%@WX_LIBRARY_BASENAME@%$WX_LIBRARY_BASENAME%g
|
|
||||||
s%@WX_RELEASE@%$WX_RELEASE%g
|
|
||||||
s%@WX_CURRENT@%$WX_CURRENT%g
|
|
||||||
s%@WX_REVISION@%$WX_REVISION%g
|
|
||||||
s%@WX_AGE@%$WX_AGE%g
|
|
||||||
|
|
||||||
CEOF
|
CEOF
|
||||||
EOF
|
EOF
|
||||||
@@ -970,12 +954,11 @@ CONFIG_FILES=\${CONFIG_FILES-"src/Makefile
|
|||||||
samples/canvas/test/Makefile
|
samples/canvas/test/Makefile
|
||||||
samples/canvas/simple/Makefile
|
samples/canvas/simple/Makefile
|
||||||
samples/gizmos/Makefile
|
samples/gizmos/Makefile
|
||||||
|
samples/gizmos/multicell/Makefile
|
||||||
|
samples/gizmos/splittree/Makefile
|
||||||
samples/gizmos/editlbox/Makefile
|
samples/gizmos/editlbox/Makefile
|
||||||
samples/gizmos/dynsash/Makefile
|
samples/gizmos/dynsash/Makefile
|
||||||
samples/gizmos/dynsash_switch/Makefile
|
samples/gizmos/dynsash_switch/Makefile
|
||||||
samples/gizmos/multicell/Makefile
|
|
||||||
samples/gizmos/splittree/Makefile
|
|
||||||
samples/gizmos/led/Makefile
|
|
||||||
samples/xrc/Makefile
|
samples/xrc/Makefile
|
||||||
samples/plot/Makefile
|
samples/plot/Makefile
|
||||||
samples/applet/Makefile
|
samples/applet/Makefile
|
||||||
|
@@ -26,21 +26,11 @@ dnl Final subst
|
|||||||
PATH_IFS=$wx_cv_path_ifs
|
PATH_IFS=$wx_cv_path_ifs
|
||||||
WX_TARGET_LIBRARY=$wx_cv_target_library
|
WX_TARGET_LIBRARY=$wx_cv_target_library
|
||||||
WX_TARGET_LIBRARY_TYPE=$wx_cv_target_libtype
|
WX_TARGET_LIBRARY_TYPE=$wx_cv_target_libtype
|
||||||
WX_LIBRARY_BASENAME=$wx_cv_library_basename
|
|
||||||
WX_RELEASE=$wx_cv_release
|
|
||||||
WX_CURRENT=$wx_cv_current
|
|
||||||
WX_REVISION=$wx_cv_revision
|
|
||||||
WX_AGE=$wx_cv_age
|
|
||||||
|
|
||||||
AC_SUBST(PATH_IFS)
|
AC_SUBST(PATH_IFS)
|
||||||
AC_SUBST(ESD_LINK)
|
AC_SUBST(ESD_LINK)
|
||||||
AC_SUBST(WX_TARGET_LIBRARY)
|
AC_SUBST(WX_TARGET_LIBRARY)
|
||||||
AC_SUBST(WX_TARGET_LIBRARY_TYPE)
|
AC_SUBST(WX_TARGET_LIBRARY_TYPE)
|
||||||
AC_SUBST(WX_LIBRARY_BASENAME)
|
|
||||||
AC_SUBST(WX_RELEASE)
|
|
||||||
AC_SUBST(WX_CURRENT)
|
|
||||||
AC_SUBST(WX_REVISION)
|
|
||||||
AC_SUBST(WX_AGE)
|
|
||||||
|
|
||||||
dnl -----------
|
dnl -----------
|
||||||
dnl File output
|
dnl File output
|
||||||
@@ -65,17 +55,15 @@ AC_OUTPUT([
|
|||||||
samples/ogl/ogledit/Makefile
|
samples/ogl/ogledit/Makefile
|
||||||
samples/ogl/studio/Makefile
|
samples/ogl/studio/Makefile
|
||||||
samples/stc/Makefile
|
samples/stc/Makefile
|
||||||
samples/svg/Makefile
|
|
||||||
samples/canvas/Makefile
|
samples/canvas/Makefile
|
||||||
samples/canvas/test/Makefile
|
samples/canvas/test/Makefile
|
||||||
samples/canvas/simple/Makefile
|
samples/canvas/simple/Makefile
|
||||||
samples/gizmos/Makefile
|
samples/gizmos/Makefile
|
||||||
|
samples/gizmos/multicell/Makefile
|
||||||
|
samples/gizmos/splittree/Makefile
|
||||||
samples/gizmos/editlbox/Makefile
|
samples/gizmos/editlbox/Makefile
|
||||||
samples/gizmos/dynsash/Makefile
|
samples/gizmos/dynsash/Makefile
|
||||||
samples/gizmos/dynsash_switch/Makefile
|
samples/gizmos/dynsash_switch/Makefile
|
||||||
samples/gizmos/multicell/Makefile
|
|
||||||
samples/gizmos/splittree/Makefile
|
|
||||||
samples/gizmos/led/Makefile
|
|
||||||
samples/xrc/Makefile
|
samples/xrc/Makefile
|
||||||
samples/plot/Makefile
|
samples/plot/Makefile
|
||||||
samples/applet/Makefile
|
samples/applet/Makefile
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _WX_ANIMATEH__
|
#ifndef _WX_ANIMATEH__
|
||||||
#define _WX_ANIMATEH__
|
#define _WX_ANIMATEH__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "animate.h"
|
#pragma interface "animate.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#ifndef __WXBOUNDINGBOX_H__
|
#ifndef __WXBOUNDINGBOX_H__
|
||||||
#define __WXBOUNDINGBOX_H__
|
#define __WXBOUNDINGBOX_H__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "bbox.cpp"
|
#pragma interface "bbox.cpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
#ifndef __WXCANVAS_H__
|
#ifndef __WXCANVAS_H__
|
||||||
#define __WXCANVAS_H__
|
#define __WXCANVAS_H__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "canvas.cpp"
|
#pragma interface "canvas.cpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
#ifndef __WXLINER_H
|
#ifndef __WXLINER_H
|
||||||
#define __WXLINER_H
|
#define __WXLINER_H
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "liner.cpp"
|
#pragma interface "liner.cpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
#ifndef __WXPOLYGON_H__
|
#ifndef __WXPOLYGON_H__
|
||||||
#define __WXPOLYGON_H__
|
#define __WXPOLYGON_H__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "polygon.cpp"
|
#pragma interface "polygon.cpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __ANTIFLICKPL_G__
|
#ifndef __ANTIFLICKPL_G__
|
||||||
#define __ANTIFLICKPL_G__
|
#define __ANTIFLICKPL_G__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "antiflickpl.h"
|
#pragma interface "antiflickpl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -26,7 +26,7 @@ antiflicker plugins within the application.
|
|||||||
Locking for multithreaded applications is not yet implemented.
|
Locking for multithreaded applications is not yet implemented.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbAntiflickerPlugin : public cbPluginBase
|
class cbAntiflickerPlugin : public cbPluginBase
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbAntiflickerPlugin )
|
DECLARE_DYNAMIC_CLASS( cbAntiflickerPlugin )
|
||||||
protected:
|
protected:
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __BARDRAGPL_G__
|
#ifndef __BARDRAGPL_G__
|
||||||
#define __BARDRAGPL_G__
|
#define __BARDRAGPL_G__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "bardragpl.h"
|
#pragma interface "bardragpl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
Plugin class implementing bar dragging.
|
Plugin class implementing bar dragging.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbBarDragPlugin : public cbPluginBase
|
class cbBarDragPlugin : public cbPluginBase
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbBarDragPlugin )
|
DECLARE_DYNAMIC_CLASS( cbBarDragPlugin )
|
||||||
protected:
|
protected:
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __DRAGHINTSPL_G__
|
#ifndef __DRAGHINTSPL_G__
|
||||||
#define __DRAGHINTSPL_G__
|
#define __DRAGHINTSPL_G__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "barhintspl.h"
|
#pragma interface "barhintspl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@ This class intercepts bar-decoration and sizing events, and draws 3D hints
|
|||||||
around fixed and flexible bars, similar to those in Microsoft DevStudio 6.x
|
around fixed and flexible bars, similar to those in Microsoft DevStudio 6.x
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbBarHintsPlugin : public cbPluginBase
|
class cbBarHintsPlugin : public cbPluginBase
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbBarHintsPlugin )
|
DECLARE_DYNAMIC_CLASS( cbBarHintsPlugin )
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __CBCUSTOM_G__
|
#ifndef __CBCUSTOM_G__
|
||||||
#define __CBCUSTOM_G__
|
#define __CBCUSTOM_G__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "cbcustom.h"
|
#pragma interface "cbcustom.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@ menu and handling basic customization such as floating
|
|||||||
and horizontal/vertical alignment of the bar.
|
and horizontal/vertical alignment of the bar.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbSimpleCustomizationPlugin : public cbPluginBase
|
class cbSimpleCustomizationPlugin : public cbPluginBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DECLARE_DYNAMIC_CLASS( cbSimpleCustomizationPlugin )
|
DECLARE_DYNAMIC_CLASS( cbSimpleCustomizationPlugin )
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
#ifndef __CONTROLBAR_G__
|
#ifndef __CONTROLBAR_G__
|
||||||
#define __CONTROLBAR_G__
|
#define __CONTROLBAR_G__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "controlbar.h"
|
#pragma interface "controlbar.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -21,31 +21,30 @@
|
|||||||
#include "wx/string.h"
|
#include "wx/string.h"
|
||||||
#include "wx/window.h"
|
#include "wx/window.h"
|
||||||
#include "wx/dynarray.h"
|
#include "wx/dynarray.h"
|
||||||
#include "wx/fl/fldefs.h"
|
|
||||||
|
|
||||||
#define WXCONTROLBAR_VERSION 1.3
|
#define WXCONTROLBAR_VERSION 1.3
|
||||||
|
|
||||||
// forward declarations
|
// forward declarations
|
||||||
|
|
||||||
class WXFL_DECLSPEC wxFrameLayout;
|
class wxFrameLayout;
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbDockPane;
|
class cbDockPane;
|
||||||
class WXFL_DECLSPEC cbUpdatesManagerBase;
|
class cbUpdatesManagerBase;
|
||||||
class WXFL_DECLSPEC cbBarDimHandlerBase;
|
class cbBarDimHandlerBase;
|
||||||
class WXFL_DECLSPEC cbPluginBase;
|
class cbPluginBase;
|
||||||
class WXFL_DECLSPEC cbPluginEvent;
|
class cbPluginEvent;
|
||||||
class WXFL_DECLSPEC cbPaneDrawPlugin;
|
class cbPaneDrawPlugin;
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbBarInfo;
|
class cbBarInfo;
|
||||||
class WXFL_DECLSPEC cbRowInfo;
|
class cbRowInfo;
|
||||||
class WXFL_DECLSPEC cbDimInfo;
|
class cbDimInfo;
|
||||||
class WXFL_DECLSPEC cbCommonPaneProperties;
|
class cbCommonPaneProperties;
|
||||||
|
|
||||||
typedef cbBarInfo* BarInfoPtrT;
|
typedef cbBarInfo* BarInfoPtrT;
|
||||||
typedef cbRowInfo* RowInfoPtrT;
|
typedef cbRowInfo* RowInfoPtrT;
|
||||||
|
|
||||||
WXFL_DEFINE_ARRAY( BarInfoPtrT, BarArrayT );
|
WX_DEFINE_ARRAY( BarInfoPtrT, BarArrayT );
|
||||||
WXFL_DEFINE_ARRAY( RowInfoPtrT, RowArrayT );
|
WX_DEFINE_ARRAY( RowInfoPtrT, RowArrayT );
|
||||||
|
|
||||||
// control bar states
|
// control bar states
|
||||||
|
|
||||||
@@ -98,7 +97,7 @@ Helper class, used for spying for unhandled mouse events on control bars
|
|||||||
and forwarding them to the frame layout.
|
and forwarding them to the frame layout.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbBarSpy : public wxEvtHandler
|
class cbBarSpy : public wxEvtHandler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DECLARE_DYNAMIC_CLASS( cbBarSpy )
|
DECLARE_DYNAMIC_CLASS( cbBarSpy )
|
||||||
@@ -130,7 +129,7 @@ which can be docked along the top, bottom, right, or left side of the
|
|||||||
parent frame.
|
parent frame.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC wxFrameLayout : public wxEvtHandler
|
class wxFrameLayout : public wxEvtHandler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// Default constructor, used only for serialization.
|
// Default constructor, used only for serialization.
|
||||||
@@ -648,7 +647,7 @@ used by any particular updates-manager to store
|
|||||||
auxiliary information to be used by its updating algorithm.
|
auxiliary information to be used by its updating algorithm.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbUpdateMgrData : public wxObject
|
class cbUpdateMgrData : public wxObject
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbUpdateMgrData )
|
DECLARE_DYNAMIC_CLASS( cbUpdateMgrData )
|
||||||
public:
|
public:
|
||||||
@@ -688,7 +687,7 @@ to adjust the values in cbDimInfo::mSizes accordingly.
|
|||||||
Specific handlers can be hooked up to specific types of bar.
|
Specific handlers can be hooked up to specific types of bar.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbBarDimHandlerBase : public wxObject
|
class cbBarDimHandlerBase : public wxObject
|
||||||
{
|
{
|
||||||
DECLARE_ABSTRACT_CLASS( cbBarDimHandlerBase )
|
DECLARE_ABSTRACT_CLASS( cbBarDimHandlerBase )
|
||||||
|
|
||||||
@@ -726,7 +725,7 @@ Helper class used internally by the wxFrameLayout class.
|
|||||||
Holds and manages information about bar dimensions.
|
Holds and manages information about bar dimensions.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbDimInfo : public wxObject
|
class cbDimInfo : public wxObject
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbDimInfo )
|
DECLARE_DYNAMIC_CLASS( cbDimInfo )
|
||||||
public:
|
public:
|
||||||
@@ -825,7 +824,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
// FIXME: this array definition compiles but probably doesn't do what was intended (GD)
|
// FIXME: this array definition compiles but probably doesn't do what was intended (GD)
|
||||||
WXFL_DEFINE_ARRAY_LONG(float, cbArrayFloat);
|
WX_DEFINE_ARRAY_LONG(float, cbArrayFloat);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Helper class used internally by the wxFrameLayout class.
|
Helper class used internally by the wxFrameLayout class.
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __DYNBARHND_G__
|
#ifndef __DYNBARHND_G__
|
||||||
#define __DYNBARHND_G__
|
#define __DYNBARHND_G__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "dynbarhnd.h"
|
#pragma interface "dynbarhnd.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -12,19 +12,18 @@
|
|||||||
#ifndef __DYNTBAR_G__
|
#ifndef __DYNTBAR_G__
|
||||||
#define __DYNTBAR_G__
|
#define __DYNTBAR_G__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "dyntbar.h"
|
#pragma interface "dyntbar.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/tbarbase.h"
|
#include "wx/tbarbase.h"
|
||||||
#include "wx/dynarray.h"
|
#include "wx/dynarray.h"
|
||||||
#include "wx/fl/fldefs.h"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Tool layout item.
|
Tool layout item.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC wxToolLayoutItem : public wxObject
|
class wxToolLayoutItem : public wxObject
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS(wxToolLayoutItem)
|
DECLARE_DYNAMIC_CLASS(wxToolLayoutItem)
|
||||||
|
|
||||||
@@ -33,19 +32,19 @@ public:
|
|||||||
bool mIsSeparator;
|
bool mIsSeparator;
|
||||||
};
|
};
|
||||||
|
|
||||||
class WXFL_DECLSPEC wxDynToolInfo;
|
class wxDynToolInfo;
|
||||||
|
|
||||||
typedef wxToolLayoutItem* wxToolLayoutItemPtrT;
|
typedef wxToolLayoutItem* wxToolLayoutItemPtrT;
|
||||||
typedef wxDynToolInfo* wxDynToolInfoPtrT;
|
typedef wxDynToolInfo* wxDynToolInfoPtrT;
|
||||||
|
|
||||||
WXFL_DEFINE_ARRAY( wxToolLayoutItemPtrT, wxLayoutItemArrayT );
|
WX_DEFINE_ARRAY( wxToolLayoutItemPtrT, wxLayoutItemArrayT );
|
||||||
WXFL_DEFINE_ARRAY( wxDynToolInfoPtrT, wxDynToolInfoArrayT );
|
WX_DEFINE_ARRAY( wxDynToolInfoPtrT, wxDynToolInfoArrayT );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This is a base class for layout algorithm implementations.
|
This is a base class for layout algorithm implementations.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC LayoutManagerBase
|
class LayoutManagerBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// Constructor.
|
// Constructor.
|
||||||
@@ -64,7 +63,7 @@ BagLayout lays out items in left-to-right order from
|
|||||||
top to bottom.
|
top to bottom.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC BagLayout : public LayoutManagerBase
|
class BagLayout : public LayoutManagerBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// Constructor.
|
// Constructor.
|
||||||
@@ -79,7 +78,7 @@ public:
|
|||||||
This class holds dynamic toolbar item information.
|
This class holds dynamic toolbar item information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC wxDynToolInfo : public wxToolLayoutItem
|
class wxDynToolInfo : public wxToolLayoutItem
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS(wxDynToolInfo)
|
DECLARE_DYNAMIC_CLASS(wxDynToolInfo)
|
||||||
|
|
||||||
@@ -99,7 +98,7 @@ public:
|
|||||||
wxDynamicToolBar manages containment and layout of tool windows.
|
wxDynamicToolBar manages containment and layout of tool windows.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC wxDynamicToolBar : public wxToolBarBase
|
class wxDynamicToolBar : public wxToolBarBase
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
friend class wxDynamicToolBarSerializer;
|
friend class wxDynamicToolBarSerializer;
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __DYNTBARHND_G__
|
#ifndef __DYNTBARHND_G__
|
||||||
#define __DYNTBARHND_G__
|
#define __DYNTBARHND_G__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "dyntbarhnd.h"
|
#pragma interface "dyntbarhnd.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
Dynamic toolbar dimension handler.
|
Dynamic toolbar dimension handler.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbDynToolBarDimHandler : public cbBarDimHandlerBase
|
class cbDynToolBarDimHandler : public cbBarDimHandlerBase
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbDynToolBarDimHandler )
|
DECLARE_DYNAMIC_CLASS( cbDynToolBarDimHandler )
|
||||||
public:
|
public:
|
||||||
|
@@ -1,50 +0,0 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
// Name: fldefs.h
|
|
||||||
// Purpose: Declaration of global types and defines.
|
|
||||||
// Author: David M. Falkinder (david_falkinder@hp.com)
|
|
||||||
// Modified by:
|
|
||||||
// Created: 18/09/2002
|
|
||||||
// RCS-ID: $Id$
|
|
||||||
// Copyright: (c) David M. Falkinder
|
|
||||||
// Licence: wxWindows licence
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
#ifndef __fldefs_H_INCLUDED__
|
|
||||||
#define __fldefs_H_INCLUDED__
|
|
||||||
|
|
||||||
#include "wx/defs.h"
|
|
||||||
|
|
||||||
/*
|
|
||||||
* If we're using wx in Dynamic Library format do we
|
|
||||||
* want FL to be in DLL form as well?
|
|
||||||
*/
|
|
||||||
#if defined(WXUSINGDLL) && \
|
|
||||||
(defined(WXMAKING_FL_DLL) || defined(WXUSING_FL_DLL))
|
|
||||||
|
|
||||||
#if defined(WXMAKING_FL_DLL)
|
|
||||||
// When building the DLL WXFLDECLSPEC exports classes
|
|
||||||
# define WXFL_DECLSPEC WXEXPORT
|
|
||||||
#elif defined(WXUSING_FL_DLL)
|
|
||||||
// When building the DLL WXFLDECLSPEC imports classes
|
|
||||||
# define WXFL_DECLSPEC WXIMPORT
|
|
||||||
#endif // defined(WXBUILD_FL_DLL)
|
|
||||||
|
|
||||||
#else
|
|
||||||
// When building the static library nullify the effect of WXFL_DECLSPEC
|
|
||||||
#define WXFL_DECLSPEC
|
|
||||||
#endif // WXUSINGDLL && (WXMAKING_FL_DLL || WXUSING_FL_DLL)
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
|
||||||
// Override some of the wxArray functions to
|
|
||||||
// include our definitions
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
|
||||||
#define WXFL_DEFINE_ARRAY(c,l) \
|
|
||||||
class WXFL_DECLSPEC l; \
|
|
||||||
WX_DEFINE_ARRAY(c,l)
|
|
||||||
|
|
||||||
#define WXFL_DEFINE_ARRAY_LONG(t,l) \
|
|
||||||
class WXFL_DECLSPEC l; \
|
|
||||||
WX_DEFINE_ARRAY_LONG(t,l)
|
|
||||||
|
|
||||||
|
|
||||||
#endif // __fldefs_H_INCLUDED__
|
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __FRMVIEW_G__
|
#ifndef __FRMVIEW_G__
|
||||||
#define __FRMVIEW_G__
|
#define __FRMVIEW_G__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "frmview.h"
|
#pragma interface "frmview.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ class wxFrameManager;
|
|||||||
It is not clear what this class does. It is not used elsewhere in FL.
|
It is not clear what this class does. It is not used elsewhere in FL.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC wxFrameView : public wxEvtHandler
|
class wxFrameView : public wxEvtHandler
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
wxStringList mTopMenus;
|
wxStringList mTopMenus;
|
||||||
@@ -87,7 +87,7 @@ class wxFrame;
|
|||||||
It is not clear what this class does. It is not used elsewhere in FL.
|
It is not clear what this class does. It is not used elsewhere in FL.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC wxFrameManager : wxObject
|
class wxFrameManager : wxObject
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
wxList mViews;
|
wxList mViews;
|
||||||
|
@@ -12,12 +12,11 @@
|
|||||||
#ifndef __GARBAGEC_G__
|
#ifndef __GARBAGEC_G__
|
||||||
#define __GARBAGEC_G__
|
#define __GARBAGEC_G__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "garbagec.h"
|
#pragma interface "garbagec.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/list.h"
|
#include "wx/list.h"
|
||||||
#include "wx/fl/fldefs.h"
|
|
||||||
|
|
||||||
struct GCItem
|
struct GCItem
|
||||||
{
|
{
|
||||||
@@ -34,7 +33,7 @@ inline void* gc_node_to_obj( wxNode* pGCNode )
|
|||||||
This class implements an extremely slow but simple garbage collection algorithm.
|
This class implements an extremely slow but simple garbage collection algorithm.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC GarbageCollector
|
class GarbageCollector
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
wxList mAllNodes;
|
wxList mAllNodes;
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __GCUPDATESMGR_G__
|
#ifndef __GCUPDATESMGR_G__
|
||||||
#define __GCUPDATESMGR_G__
|
#define __GCUPDATESMGR_G__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "gcupdatesmgr.h"
|
#pragma interface "gcupdatesmgr.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -93,7 +93,7 @@ to avoid dirty non-client areas of moved windows
|
|||||||
in some special cases of 'overlapping anomalies'.
|
in some special cases of 'overlapping anomalies'.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbGCUpdatesMgr : public cbSimpleUpdatesMgr
|
class cbGCUpdatesMgr : public cbSimpleUpdatesMgr
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbGCUpdatesMgr )
|
DECLARE_DYNAMIC_CLASS( cbGCUpdatesMgr )
|
||||||
protected:
|
protected:
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __HINTANIMPL_G__
|
#ifndef __HINTANIMPL_G__
|
||||||
#define __HINTANIMPL_G__
|
#define __HINTANIMPL_G__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "hintanimpl.h"
|
#pragma interface "hintanimpl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -20,13 +20,13 @@
|
|||||||
|
|
||||||
#include "wx/timer.h"
|
#include "wx/timer.h"
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbHintAnimTimer;
|
class cbHintAnimTimer;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
A plugin to draw animated hints when the user drags a pane.
|
A plugin to draw animated hints when the user drags a pane.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbHintAnimationPlugin : public cbPluginBase
|
class cbHintAnimationPlugin : public cbPluginBase
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbHintAnimationPlugin )
|
DECLARE_DYNAMIC_CLASS( cbHintAnimationPlugin )
|
||||||
protected:
|
protected:
|
||||||
@@ -101,7 +101,7 @@ public:
|
|||||||
A private helper class.
|
A private helper class.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct WXFL_DECLSPEC MorphInfoT
|
struct MorphInfoT
|
||||||
{
|
{
|
||||||
wxPoint mFrom;
|
wxPoint mFrom;
|
||||||
wxPoint mTill;
|
wxPoint mTill;
|
||||||
@@ -111,7 +111,7 @@ struct WXFL_DECLSPEC MorphInfoT
|
|||||||
A private helper class.
|
A private helper class.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbHintAnimTimer : public wxTimer
|
class cbHintAnimTimer : public wxTimer
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
|
@@ -12,13 +12,12 @@
|
|||||||
#ifndef __NEWBMPBTN_G__
|
#ifndef __NEWBMPBTN_G__
|
||||||
#define __NEWBMPBTN_G__
|
#define __NEWBMPBTN_G__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "newbmpbtn.h"
|
#pragma interface "newbmpbtn.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/button.h"
|
#include "wx/button.h"
|
||||||
#include "wx/string.h"
|
#include "wx/string.h"
|
||||||
#include "wx/fl/fldefs.h"
|
|
||||||
|
|
||||||
// defaults
|
// defaults
|
||||||
#define NB_DEFAULT_MARGIN 2
|
#define NB_DEFAULT_MARGIN 2
|
||||||
@@ -32,8 +31,8 @@
|
|||||||
|
|
||||||
// classes declared in this header file
|
// classes declared in this header file
|
||||||
|
|
||||||
class WXFL_DECLSPEC wxNewBitmapButton;
|
class wxNewBitmapButton;
|
||||||
class WXFL_DECLSPEC wxBorderLessBitmapButton;
|
class wxBorderLessBitmapButton;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This is an alternative class to wxBitmapButton. It is used
|
This is an alternative class to wxBitmapButton. It is used
|
||||||
@@ -195,6 +194,11 @@ public:
|
|||||||
// Responds to a kill focus event.
|
// Responds to a kill focus event.
|
||||||
void OnKillFocus( wxFocusEvent& event );
|
void OnKillFocus( wxFocusEvent& event );
|
||||||
|
|
||||||
|
// Maps bitmap to current system colours on Windows
|
||||||
|
#ifdef __WXMSW__
|
||||||
|
WXHBITMAP MapBitmap(WXHBITMAP bitmap, int width, int height);
|
||||||
|
#endif
|
||||||
|
|
||||||
DECLARE_EVENT_TABLE()
|
DECLARE_EVENT_TABLE()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __PANEDRAWPL_G__
|
#ifndef __PANEDRAWPL_G__
|
||||||
#define __PANEDRAWPL_G__
|
#define __PANEDRAWPL_G__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "panedrawpl.h"
|
#pragma interface "panedrawpl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -27,7 +27,7 @@ would be enough for the frame layout to function properly
|
|||||||
(they are plugged in automatically by the wxFrameLayout class).
|
(they are plugged in automatically by the wxFrameLayout class).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbPaneDrawPlugin : public cbPluginBase
|
class cbPaneDrawPlugin : public cbPluginBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DECLARE_DYNAMIC_CLASS( cbPaneDrawPlugin )
|
DECLARE_DYNAMIC_CLASS( cbPaneDrawPlugin )
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __ROWDRAGPL_G__
|
#ifndef __ROWDRAGPL_G__
|
||||||
#define __ROWDRAGPL_G__
|
#define __ROWDRAGPL_G__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "rowdragpl.h"
|
#pragma interface "rowdragpl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -25,7 +25,7 @@ The behaviour and appearance resembles drag and drop positioning
|
|||||||
of the toolbar rows in Netscape Communicator 4.xx.
|
of the toolbar rows in Netscape Communicator 4.xx.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbRowDragPlugin : public cbPluginBase
|
class cbRowDragPlugin : public cbPluginBase
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbRowDragPlugin )
|
DECLARE_DYNAMIC_CLASS( cbRowDragPlugin )
|
||||||
public:
|
public:
|
||||||
@@ -217,7 +217,7 @@ public:
|
|||||||
Internal helper class.
|
Internal helper class.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbHiddenBarInfo : public wxObject
|
class cbHiddenBarInfo : public wxObject
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbHiddenBarInfo )
|
DECLARE_DYNAMIC_CLASS( cbHiddenBarInfo )
|
||||||
public:
|
public:
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __ROWLAYOUTPL_G__
|
#ifndef __ROWLAYOUTPL_G__
|
||||||
#define __ROWLAYOUTPL_G__
|
#define __ROWLAYOUTPL_G__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "rowlayoutpl.h"
|
#pragma interface "rowlayoutpl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -23,7 +23,7 @@ Simple implementation of a plugin which handles row layout
|
|||||||
requests sent from a frame layout.
|
requests sent from a frame layout.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbRowLayoutPlugin : public cbPluginBase
|
class cbRowLayoutPlugin : public cbPluginBase
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbRowLayoutPlugin )
|
DECLARE_DYNAMIC_CLASS( cbRowLayoutPlugin )
|
||||||
protected:
|
protected:
|
||||||
|
@@ -13,13 +13,12 @@
|
|||||||
#ifndef __TOOLWND_G__
|
#ifndef __TOOLWND_G__
|
||||||
#define __TOOLWND_G__
|
#define __TOOLWND_G__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "toolwnd.h"
|
#pragma interface "toolwnd.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/frame.h"
|
#include "wx/frame.h"
|
||||||
#include "wx/dynarray.h"
|
#include "wx/dynarray.h"
|
||||||
#include "wx/fl/fldefs.h"
|
|
||||||
|
|
||||||
// fixed settings
|
// fixed settings
|
||||||
|
|
||||||
@@ -27,18 +26,18 @@
|
|||||||
#define BTN_BOX_WIDTH 12
|
#define BTN_BOX_WIDTH 12
|
||||||
#define BTN_X_WIEGHT 2
|
#define BTN_X_WIEGHT 2
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbMiniButton;
|
class cbMiniButton;
|
||||||
|
|
||||||
typedef cbMiniButton* cbMinitButtonPtrT;
|
typedef cbMiniButton* cbMinitButtonPtrT;
|
||||||
|
|
||||||
WXFL_DEFINE_ARRAY( cbMinitButtonPtrT, cbMiniButtonArrayT );
|
WX_DEFINE_ARRAY( cbMinitButtonPtrT, cbMiniButtonArrayT );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
A tool window is a special kind of frame that paints its own title, and
|
A tool window is a special kind of frame that paints its own title, and
|
||||||
can be used to implement small floating windows.
|
can be used to implement small floating windows.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC wxToolWindow : public wxFrame
|
class wxToolWindow : public wxFrame
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( wxToolWindow )
|
DECLARE_DYNAMIC_CLASS( wxToolWindow )
|
||||||
|
|
||||||
@@ -222,7 +221,7 @@ public:
|
|||||||
cbCloseBox is a window close button, used in a wxToolWindow titlebar.
|
cbCloseBox is a window close button, used in a wxToolWindow titlebar.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbCloseBox : public cbMiniButton
|
class cbCloseBox : public cbMiniButton
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// Draws the close button appearance.
|
// Draws the close button appearance.
|
||||||
@@ -233,7 +232,7 @@ public:
|
|||||||
cbCollapseBox is a window collapse button, used in a wxToolWindow titlebar.
|
cbCollapseBox is a window collapse button, used in a wxToolWindow titlebar.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbCollapseBox : public cbMiniButton
|
class cbCollapseBox : public cbMiniButton
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
bool mIsAtLeft;
|
bool mIsAtLeft;
|
||||||
@@ -246,7 +245,7 @@ public:
|
|||||||
cbDockBox is a window dock button, used in a wxToolWindow titlebar.
|
cbDockBox is a window dock button, used in a wxToolWindow titlebar.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbDockBox : public cbMiniButton
|
class cbDockBox : public cbMiniButton
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// Draws the dock button appearance.
|
// Draws the dock button appearance.
|
||||||
@@ -258,7 +257,7 @@ cbFloatedBarWindow is a kind of wxToolWindow,
|
|||||||
implementing floating toolbars.
|
implementing floating toolbars.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbFloatedBarWindow : public wxToolWindow
|
class cbFloatedBarWindow : public wxToolWindow
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbFloatedBarWindow )
|
DECLARE_DYNAMIC_CLASS( cbFloatedBarWindow )
|
||||||
protected:
|
protected:
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef __UPDATESMGR_G__
|
#ifndef __UPDATESMGR_G__
|
||||||
#define __UPDATESMGR_G__
|
#define __UPDATESMGR_G__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "updatesmgr.h"
|
#pragma interface "updatesmgr.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -23,7 +23,7 @@ This class implements slightly optimized logic for refreshing
|
|||||||
the areas of frame layout that actually need to be updated.
|
the areas of frame layout that actually need to be updated.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WXFL_DECLSPEC cbSimpleUpdatesMgr : public cbUpdatesManagerBase
|
class cbSimpleUpdatesMgr : public cbUpdatesManagerBase
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS( cbSimpleUpdatesMgr )
|
DECLARE_DYNAMIC_CLASS( cbSimpleUpdatesMgr )
|
||||||
protected:
|
protected:
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef __WX_EDITLBOX_H__
|
#ifndef __WX_EDITLBOX_H__
|
||||||
#define __WX_EDITLBOX_H__
|
#define __WX_EDITLBOX_H__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "editlbox.h"
|
#pragma interface "editlbox.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#ifndef _WX_LEDNUMBERCTRL_H_
|
#ifndef _WX_LEDNUMBERCTRL_H_
|
||||||
#define _WX_LEDNUMBERCTRL_H_
|
#define _WX_LEDNUMBERCTRL_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "wxLEDNumberCtrl.h"
|
#pragma interface "wxLEDNumberCtrl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
#ifndef __WX_MULTICELL_H__
|
#ifndef __WX_MULTICELL_H__
|
||||||
#define __WX_MULTICELL_H__
|
#define __WX_MULTICELL_H__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "multicell.h"
|
#pragma interface "multicell.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
#ifndef _WX_SPLITTREE_H_
|
#ifndef _WX_SPLITTREE_H_
|
||||||
#define _WX_SPLITTREE_H_
|
#define _WX_SPLITTREE_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "splittree.h"
|
#pragma interface "splittree.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
#ifndef __CDA_base_H__
|
#ifndef __CDA_base_H__
|
||||||
#define __CDA_base_H__
|
#define __CDA_base_H__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "cdbase.h"
|
#pragma interface "cdbase.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
#ifndef __CDUNIXH__
|
#ifndef __CDUNIXH__
|
||||||
#define __CDUNIXH__
|
#define __CDUNIXH__
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "cdunix.h"
|
#pragma interface "cdunix.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "email.h"
|
#pragma interface "email.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "msg.h"
|
#pragma interface "msg.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "smapi.h"
|
#pragma interface "smapi.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "web.h"
|
#pragma interface "web.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_BASIC_H_
|
#ifndef _OGL_BASIC_H_
|
||||||
#define _OGL_BASIC_H_
|
#define _OGL_BASIC_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "basic.h"
|
#pragma interface "basic.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -22,6 +22,11 @@
|
|||||||
#define DEFAULT_MOUSE_TOLERANCE 3
|
#define DEFAULT_MOUSE_TOLERANCE 3
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Edit these lines if you positively don't want PROLOGIO support
|
||||||
|
#ifndef PROLOGIO
|
||||||
|
#define PROLOGIO
|
||||||
|
#endif
|
||||||
|
|
||||||
// Key identifiers
|
// Key identifiers
|
||||||
#define KEY_SHIFT 1
|
#define KEY_SHIFT 1
|
||||||
#define KEY_CTRL 2
|
#define KEY_CTRL 2
|
||||||
@@ -105,7 +110,7 @@ class wxControlPoint;
|
|||||||
class wxShapeRegion;
|
class wxShapeRegion;
|
||||||
class wxShape;
|
class wxShape;
|
||||||
|
|
||||||
#if wxUSE_PROLOGIO
|
#ifdef PROLOGIO
|
||||||
class WXDLLEXPORT wxExpr;
|
class WXDLLEXPORT wxExpr;
|
||||||
class WXDLLEXPORT wxExprDatabase;
|
class WXDLLEXPORT wxExprDatabase;
|
||||||
#endif
|
#endif
|
||||||
@@ -376,7 +381,7 @@ class wxShape: public wxShapeEvtHandler
|
|||||||
virtual void ClearText(int regionId = 0);
|
virtual void ClearText(int regionId = 0);
|
||||||
void RemoveLine(wxLineShape *line);
|
void RemoveLine(wxLineShape *line);
|
||||||
|
|
||||||
#if wxUSE_PROLOGIO
|
#ifdef PROLOGIO
|
||||||
// I/O
|
// I/O
|
||||||
virtual void WriteAttributes(wxExpr *clause);
|
virtual void WriteAttributes(wxExpr *clause);
|
||||||
virtual void ReadAttributes(wxExpr *clause);
|
virtual void ReadAttributes(wxExpr *clause);
|
||||||
@@ -608,7 +613,7 @@ class wxPolygonShape: public wxShape
|
|||||||
// Recalculates the centre of the polygon
|
// Recalculates the centre of the polygon
|
||||||
virtual void CalculatePolygonCentre();
|
virtual void CalculatePolygonCentre();
|
||||||
|
|
||||||
#if wxUSE_PROLOGIO
|
#ifdef PROLOGIO
|
||||||
void WriteAttributes(wxExpr *clause);
|
void WriteAttributes(wxExpr *clause);
|
||||||
void ReadAttributes(wxExpr *clause);
|
void ReadAttributes(wxExpr *clause);
|
||||||
#endif
|
#endif
|
||||||
@@ -647,7 +652,7 @@ class wxRectangleShape: public wxShape
|
|||||||
void SetSize(double x, double y, bool recursive = TRUE);
|
void SetSize(double x, double y, bool recursive = TRUE);
|
||||||
void SetCornerRadius(double rad); // If > 0, rounded corners
|
void SetCornerRadius(double rad); // If > 0, rounded corners
|
||||||
|
|
||||||
#if wxUSE_PROLOGIO
|
#ifdef PROLOGIO
|
||||||
void WriteAttributes(wxExpr *clause);
|
void WriteAttributes(wxExpr *clause);
|
||||||
void ReadAttributes(wxExpr *clause);
|
void ReadAttributes(wxExpr *clause);
|
||||||
#endif
|
#endif
|
||||||
@@ -677,8 +682,8 @@ class wxTextShape: public wxRectangleShape
|
|||||||
|
|
||||||
void OnDraw(wxDC& dc);
|
void OnDraw(wxDC& dc);
|
||||||
|
|
||||||
#if wxUSE_PROLOGIO
|
#ifdef PROLOGIO
|
||||||
void WriteAttributes(wxExpr *clause);
|
void WriteAttributes(wxExpr *clause);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Does the copying for this object
|
// Does the copying for this object
|
||||||
@@ -699,7 +704,7 @@ class wxEllipseShape: public wxShape
|
|||||||
void OnDraw(wxDC& dc);
|
void OnDraw(wxDC& dc);
|
||||||
void SetSize(double x, double y, bool recursive = TRUE);
|
void SetSize(double x, double y, bool recursive = TRUE);
|
||||||
|
|
||||||
#if wxUSE_PROLOGIO
|
#ifdef PROLOGIO
|
||||||
void WriteAttributes(wxExpr *clause);
|
void WriteAttributes(wxExpr *clause);
|
||||||
void ReadAttributes(wxExpr *clause);
|
void ReadAttributes(wxExpr *clause);
|
||||||
#endif
|
#endif
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_BASICP_H_
|
#ifndef _OGL_BASICP_H_
|
||||||
#define _OGL_BASICP_H_
|
#define _OGL_BASICP_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "basicp.h"
|
#pragma interface "basicp.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -136,8 +136,7 @@ class wxShapeRegion: public wxObject
|
|||||||
~wxShapeRegion();
|
~wxShapeRegion();
|
||||||
|
|
||||||
// Accessors
|
// Accessors
|
||||||
inline void SetText(const wxString& s)
|
inline void SetText(const wxString& s) { m_regionText = s; }
|
||||||
{ m_regionText = s; m_formattedText.Append(new wxShapeTextLine(0,0,s));}
|
|
||||||
void SetFont(wxFont *f);
|
void SetFont(wxFont *f);
|
||||||
void SetMinSize(double w, double h);
|
void SetMinSize(double w, double h);
|
||||||
void SetSize(double w, double h);
|
void SetSize(double w, double h);
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_BITMAP_H_
|
#ifndef _OGL_BITMAP_H_
|
||||||
#define _OGL_BITMAP_H_
|
#define _OGL_BITMAP_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "bmpshape.h"
|
#pragma interface "bmpshape.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -27,7 +27,7 @@ class wxBitmapShape: public wxRectangleShape
|
|||||||
|
|
||||||
void OnDraw(wxDC& dc);
|
void OnDraw(wxDC& dc);
|
||||||
|
|
||||||
#if wxUSE_PROLOGIO
|
#ifdef PROLOGIO
|
||||||
// I/O
|
// I/O
|
||||||
void WriteAttributes(wxExpr *clause);
|
void WriteAttributes(wxExpr *clause);
|
||||||
void ReadAttributes(wxExpr *clause);
|
void ReadAttributes(wxExpr *clause);
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_CANVAS_H_
|
#ifndef _OGL_CANVAS_H_
|
||||||
#define _OGL_CANVAS_H_
|
#define _OGL_CANVAS_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "canvas.h"
|
#pragma interface "canvas.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_COMPOSIT_H_
|
#ifndef _OGL_COMPOSIT_H_
|
||||||
#define _OGL_COMPOSIT_H_
|
#define _OGL_COMPOSIT_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "composit.h"
|
#pragma interface "composit.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -77,7 +77,7 @@ public:
|
|||||||
// Calculates size and position of composite object based on children
|
// Calculates size and position of composite object based on children
|
||||||
void CalculateSize();
|
void CalculateSize();
|
||||||
|
|
||||||
#if wxUSE_PROLOGIO
|
#ifdef PROLOGIO
|
||||||
void WriteAttributes(wxExpr *clause);
|
void WriteAttributes(wxExpr *clause);
|
||||||
void ReadAttributes(wxExpr *clause);
|
void ReadAttributes(wxExpr *clause);
|
||||||
// In case the object has constraints it needs to read in in a different pass
|
// In case the object has constraints it needs to read in in a different pass
|
||||||
@@ -152,7 +152,7 @@ class wxDivisionShape: public wxCompositeShape
|
|||||||
void MakeMandatoryControlPoints();
|
void MakeMandatoryControlPoints();
|
||||||
void ResetMandatoryControlPoints();
|
void ResetMandatoryControlPoints();
|
||||||
|
|
||||||
#if wxUSE_PROLOGIO
|
#ifdef PROLOGIO
|
||||||
void WriteAttributes(wxExpr *clause);
|
void WriteAttributes(wxExpr *clause);
|
||||||
void ReadAttributes(wxExpr *clause);
|
void ReadAttributes(wxExpr *clause);
|
||||||
#endif
|
#endif
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_CONSTRNT_H_
|
#ifndef _OGL_CONSTRNT_H_
|
||||||
#define _OGL_CONSTRNT_H_
|
#define _OGL_CONSTRNT_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "constrnt.h"
|
#pragma interface "constrnt.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_DIVIDED_H_
|
#ifndef _OGL_DIVIDED_H_
|
||||||
#define _OGL_DIVIDED_H_
|
#define _OGL_DIVIDED_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "basic.h"
|
#pragma interface "basic.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@ class wxDividedShape: public wxRectangleShape
|
|||||||
void MakeMandatoryControlPoints();
|
void MakeMandatoryControlPoints();
|
||||||
void ResetMandatoryControlPoints();
|
void ResetMandatoryControlPoints();
|
||||||
|
|
||||||
#if wxUSE_PROLOGIO
|
#ifdef PROLOGIO
|
||||||
void WriteAttributes(wxExpr *clause);
|
void WriteAttributes(wxExpr *clause);
|
||||||
void ReadAttributes(wxExpr *clause);
|
void ReadAttributes(wxExpr *clause);
|
||||||
#endif
|
#endif
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_DRAWN_H_
|
#ifndef _OGL_DRAWN_H_
|
||||||
#define _OGL_DRAWN_H_
|
#define _OGL_DRAWN_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "drawn.h"
|
#pragma interface "drawn.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ class wxPseudoMetaFile: public wxObject
|
|||||||
|
|
||||||
void Draw(wxDC& dc, double xoffset, double yoffset);
|
void Draw(wxDC& dc, double xoffset, double yoffset);
|
||||||
|
|
||||||
#if wxUSE_PROLOGIO
|
#ifdef PROLOGIO
|
||||||
void WriteAttributes(wxExpr *clause, int whichAngle);
|
void WriteAttributes(wxExpr *clause, int whichAngle);
|
||||||
void ReadAttributes(wxExpr *clause, int whichAngle);
|
void ReadAttributes(wxExpr *clause, int whichAngle);
|
||||||
#endif
|
#endif
|
||||||
@@ -139,7 +139,7 @@ class wxDrawnShape: public wxRectangleShape
|
|||||||
|
|
||||||
void OnDraw(wxDC& dc);
|
void OnDraw(wxDC& dc);
|
||||||
|
|
||||||
#if wxUSE_PROLOGIO
|
#ifdef PROLOGIO
|
||||||
// I/O
|
// I/O
|
||||||
void WriteAttributes(wxExpr *clause);
|
void WriteAttributes(wxExpr *clause);
|
||||||
void ReadAttributes(wxExpr *clause);
|
void ReadAttributes(wxExpr *clause);
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_DRAWNP_H_
|
#ifndef _OGL_DRAWNP_H_
|
||||||
#define _OGL_DRAWNP_H_
|
#define _OGL_DRAWNP_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "drawnp.h"
|
#pragma interface "drawnp.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -65,10 +65,9 @@ public:
|
|||||||
inline virtual void Rotate(double x, double y, double theta, double sinTheta, double cosTheta) {};
|
inline virtual void Rotate(double x, double y, double theta, double sinTheta, double cosTheta) {};
|
||||||
virtual void Do(wxDC& dc, double xoffset, double yoffset) = 0;
|
virtual void Do(wxDC& dc, double xoffset, double yoffset) = 0;
|
||||||
virtual wxDrawOp *Copy(wxPseudoMetaFile *newImage) = 0;
|
virtual wxDrawOp *Copy(wxPseudoMetaFile *newImage) = 0;
|
||||||
#if wxUSE_PROLOGIO
|
|
||||||
virtual wxExpr *WriteExpr(wxPseudoMetaFile *image) = 0;
|
virtual wxExpr *WriteExpr(wxPseudoMetaFile *image) = 0;
|
||||||
virtual void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr) = 0;
|
virtual void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr) = 0;
|
||||||
#endif
|
|
||||||
inline int GetOp() const { return m_op; }
|
inline int GetOp() const { return m_op; }
|
||||||
|
|
||||||
// Draw an outline using the current operation. By default, return FALSE (not drawn)
|
// Draw an outline using the current operation. By default, return FALSE (not drawn)
|
||||||
@@ -99,10 +98,8 @@ class wxOpSetGDI: public wxDrawOp
|
|||||||
wxOpSetGDI(int theOp, wxPseudoMetaFile *theImage, int theGdiIndex, int theMode = 0);
|
wxOpSetGDI(int theOp, wxPseudoMetaFile *theImage, int theGdiIndex, int theMode = 0);
|
||||||
void Do(wxDC& dc, double xoffset, double yoffset);
|
void Do(wxDC& dc, double xoffset, double yoffset);
|
||||||
wxDrawOp *Copy(wxPseudoMetaFile *newImage);
|
wxDrawOp *Copy(wxPseudoMetaFile *newImage);
|
||||||
#if wxUSE_PROLOGIO
|
|
||||||
wxExpr *WriteExpr(wxPseudoMetaFile *image);
|
wxExpr *WriteExpr(wxPseudoMetaFile *image);
|
||||||
void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr);
|
void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr);
|
||||||
#endif
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
int m_mode;
|
int m_mode;
|
||||||
@@ -126,10 +123,8 @@ public:
|
|||||||
void Scale(double xScale, double yScale);
|
void Scale(double xScale, double yScale);
|
||||||
void Translate(double x, double y);
|
void Translate(double x, double y);
|
||||||
wxDrawOp *Copy(wxPseudoMetaFile *newImage);
|
wxDrawOp *Copy(wxPseudoMetaFile *newImage);
|
||||||
#if wxUSE_PROLOGIO
|
|
||||||
wxExpr *WriteExpr(wxPseudoMetaFile *image);
|
wxExpr *WriteExpr(wxPseudoMetaFile *image);
|
||||||
void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr);
|
void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr);
|
||||||
#endif
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
double m_x1;
|
double m_x1;
|
||||||
@@ -154,10 +149,8 @@ class wxOpDraw: public wxDrawOp
|
|||||||
void Translate(double x, double y);
|
void Translate(double x, double y);
|
||||||
void Rotate(double x, double y, double theta, double sinTheta, double cosTheta);
|
void Rotate(double x, double y, double theta, double sinTheta, double cosTheta);
|
||||||
wxDrawOp *Copy(wxPseudoMetaFile *newImage);
|
wxDrawOp *Copy(wxPseudoMetaFile *newImage);
|
||||||
#if wxUSE_PROLOGIO
|
|
||||||
wxExpr *WriteExpr(wxPseudoMetaFile *image);
|
wxExpr *WriteExpr(wxPseudoMetaFile *image);
|
||||||
void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr);
|
void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr);
|
||||||
#endif
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
double m_x1;
|
double m_x1;
|
||||||
@@ -186,10 +179,8 @@ public:
|
|||||||
void Translate(double x, double y);
|
void Translate(double x, double y);
|
||||||
void Rotate(double x, double y, double theta, double sinTheta, double cosTheta);
|
void Rotate(double x, double y, double theta, double sinTheta, double cosTheta);
|
||||||
wxDrawOp *Copy(wxPseudoMetaFile *newImage);
|
wxDrawOp *Copy(wxPseudoMetaFile *newImage);
|
||||||
#if wxUSE_PROLOGIO
|
|
||||||
wxExpr *WriteExpr(wxPseudoMetaFile *image);
|
wxExpr *WriteExpr(wxPseudoMetaFile *image);
|
||||||
void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr);
|
void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr);
|
||||||
#endif
|
|
||||||
|
|
||||||
// Draw an outline using the current operation.
|
// Draw an outline using the current operation.
|
||||||
virtual bool OnDrawOutline(wxDC& dc, double x, double y, double w, double h,
|
virtual bool OnDrawOutline(wxDC& dc, double x, double y, double w, double h,
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_LINES_H_
|
#ifndef _OGL_LINES_H_
|
||||||
#define _OGL_LINES_H_
|
#define _OGL_LINES_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "lines.h"
|
#pragma interface "lines.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -188,7 +188,7 @@ class wxLineShape: public wxShape
|
|||||||
|
|
||||||
bool HitTest(double x, double y, int *attachment, double *distance);
|
bool HitTest(double x, double y, int *attachment, double *distance);
|
||||||
|
|
||||||
#if wxUSE_PROLOGIO
|
#ifdef PROLOGIO
|
||||||
// I/O
|
// I/O
|
||||||
virtual void WriteAttributes(wxExpr *clause);
|
virtual void WriteAttributes(wxExpr *clause);
|
||||||
virtual void ReadAttributes(wxExpr *clause);
|
virtual void ReadAttributes(wxExpr *clause);
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_LINESP_H_
|
#ifndef _OGL_LINESP_H_
|
||||||
#define _OGL_LINESP_H_
|
#define _OGL_LINESP_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "linesp.h"
|
#pragma interface "linesp.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
#ifndef _MFUTILS_H_
|
#ifndef _MFUTILS_H_
|
||||||
#define _MFUTILS_H_
|
#define _MFUTILS_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "mfutils.h"
|
#pragma interface "mfutils.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_MISC_H_
|
#ifndef _OGL_MISC_H_
|
||||||
#define _OGL_MISC_H_
|
#define _OGL_MISC_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "misc.h"
|
#pragma interface "misc.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _OGL_OGLDIAG_H_
|
#ifndef _OGL_OGLDIAG_H_
|
||||||
#define _OGL_OGLDIAG_H_
|
#define _OGL_OGLDIAG_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "ogldiag.h"
|
#pragma interface "ogldiag.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -67,7 +67,7 @@ public:
|
|||||||
// Make sure all text that should be centred, is centred.
|
// Make sure all text that should be centred, is centred.
|
||||||
void RecentreAll(wxDC& dc);
|
void RecentreAll(wxDC& dc);
|
||||||
|
|
||||||
#if wxUSE_PROLOGIO
|
#ifdef PROLOGIO
|
||||||
virtual bool SaveFile(const wxString& filename);
|
virtual bool SaveFile(const wxString& filename);
|
||||||
virtual bool LoadFile(const wxString& filename);
|
virtual bool LoadFile(const wxString& filename);
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#ifndef _WX_PLOT_H_
|
#ifndef _WX_PLOT_H_
|
||||||
#define _WX_PLOT_H_
|
#define _WX_PLOT_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "plot.h"
|
#pragma interface "plot.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -46,6 +46,5 @@
|
|||||||
#include "wx/xrc/xh_unkwn.h"
|
#include "wx/xrc/xh_unkwn.h"
|
||||||
#include "wx/xrc/xh_gdctl.h"
|
#include "wx/xrc/xh_gdctl.h"
|
||||||
#include "wx/xrc/xh_frame.h"
|
#include "wx/xrc/xh_frame.h"
|
||||||
#include "wx/xrc/xh_scwin.h"
|
|
||||||
|
|
||||||
#endif // _WX_XMLRES_H_
|
#endif // _WX_XMLRES_H_
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_BMP_H_
|
#ifndef _WX_XH_BMP_H_
|
||||||
#define _WX_XH_BMP_H_
|
#define _WX_XH_BMP_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_bmp.h"
|
#pragma interface "xh_bmp.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_BMPBT_H_
|
#ifndef _WX_XH_BMPBT_H_
|
||||||
#define _WX_XH_BMPBT_H_
|
#define _WX_XH_BMPBT_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_bmpbt.h"
|
#pragma interface "xh_bmpbt.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_BTTN_H_
|
#ifndef _WX_XH_BTTN_H_
|
||||||
#define _WX_XH_BTTN_H_
|
#define _WX_XH_BTTN_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_bttn.h"
|
#pragma interface "xh_bttn.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_CALD_H_
|
#ifndef _WX_XH_CALD_H_
|
||||||
#define _WX_XH_CALD_H_
|
#define _WX_XH_CALD_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_cald.h"
|
#pragma interface "xh_cald.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_CHCKB_H_
|
#ifndef _WX_XH_CHCKB_H_
|
||||||
#define _WX_XH_CHCKB_H_
|
#define _WX_XH_CHCKB_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_chckb.h"
|
#pragma interface "xh_chckb.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_CHCKL_H_
|
#ifndef _WX_XH_CHCKL_H_
|
||||||
#define _WX_XH_CHCKL_H_
|
#define _WX_XH_CHCKL_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_chckl.h"
|
#pragma interface "xh_chckl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_CHOIC_H_
|
#ifndef _WX_XH_CHOIC_H_
|
||||||
#define _WX_XH_CHOIC_H_
|
#define _WX_XH_CHOIC_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_choic.h"
|
#pragma interface "xh_choic.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_COMBO_H_
|
#ifndef _WX_XH_COMBO_H_
|
||||||
#define _WX_XH_COMBO_H_
|
#define _WX_XH_COMBO_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_combo.h"
|
#pragma interface "xh_combo.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_DLG_H_
|
#ifndef _WX_XH_DLG_H_
|
||||||
#define _WX_XH_DLG_H_
|
#define _WX_XH_DLG_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_dlg.h"
|
#pragma interface "xh_dlg.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_FRAME_H_
|
#ifndef _WX_XH_FRAME_H_
|
||||||
#define _WX_XH_FRAME_H_
|
#define _WX_XH_FRAME_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_frame.h"
|
#pragma interface "xh_frame.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_GAUGE_H_
|
#ifndef _WX_XH_GAUGE_H_
|
||||||
#define _WX_XH_GAUGE_H_
|
#define _WX_XH_GAUGE_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_gauge.h"
|
#pragma interface "xh_gauge.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_GDCTL_H_
|
#ifndef _WX_XH_GDCTL_H_
|
||||||
#define _WX_XH_GDCTL_H_
|
#define _WX_XH_GDCTL_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_gdctl.h"
|
#pragma interface "xh_gdctl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_HTML_H_
|
#ifndef _WX_XH_HTML_H_
|
||||||
#define _WX_XH_HTML_H_
|
#define _WX_XH_HTML_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_html.h"
|
#pragma interface "xh_html.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_LISTB_H_
|
#ifndef _WX_XH_LISTB_H_
|
||||||
#define _WX_XH_LISTB_H_
|
#define _WX_XH_LISTB_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_listb.h"
|
#pragma interface "xh_listb.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_LISTC_H_
|
#ifndef _WX_XH_LISTC_H_
|
||||||
#define _WX_XH_LISTC_H_
|
#define _WX_XH_LISTC_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_listc.h"
|
#pragma interface "xh_listc.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_MENU_H_
|
#ifndef _WX_XH_MENU_H_
|
||||||
#define _WX_XH_MENU_H_
|
#define _WX_XH_MENU_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_menu.h"
|
#pragma interface "xh_menu.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
#ifndef _WX_XH_NOTBK_H_
|
#ifndef _WX_XH_NOTBK_H_
|
||||||
#define _WX_XH_NOTBK_H_
|
#define _WX_XH_NOTBK_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_notbk.h"
|
#pragma interface "xh_notbk.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_PANEL_H_
|
#ifndef _WX_XH_PANEL_H_
|
||||||
#define _WX_XH_PANEL_H_
|
#define _WX_XH_PANEL_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_panel.h"
|
#pragma interface "xh_panel.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_RADBT_H_
|
#ifndef _WX_XH_RADBT_H_
|
||||||
#define _WX_XH_RADBT_H_
|
#define _WX_XH_RADBT_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_radbt.h"
|
#pragma interface "xh_radbt.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_RADBX_H_
|
#ifndef _WX_XH_RADBX_H_
|
||||||
#define _WX_XH_RADBX_H_
|
#define _WX_XH_RADBX_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_radbx.h"
|
#pragma interface "xh_radbx.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_SCROL_H_
|
#ifndef _WX_XH_SCROL_H_
|
||||||
#define _WX_XH_SCROL_H_
|
#define _WX_XH_SCROL_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_scrol.h"
|
#pragma interface "xh_scrol.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -1,32 +0,0 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
// Name: xh_scwin.h
|
|
||||||
// Purpose: XML resource handler for wxScrolledWindow
|
|
||||||
// Author: Vaclav Slavik
|
|
||||||
// Created: 2002/10/18
|
|
||||||
// RCS-ID: $Id$
|
|
||||||
// Copyright: (c) 2002 Vaclav Slavik
|
|
||||||
// Licence: wxWindows licence
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
#ifndef _WX_XH_SCWIN_H_
|
|
||||||
#define _WX_XH_SCWIN_H_
|
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
|
||||||
#pragma interface "xh_scwin.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "wx/xrc/xmlres.h"
|
|
||||||
#include "wx/defs.h"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class WXXMLDLLEXPORT wxScrolledWindowXmlHandler : public wxXmlResourceHandler
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
wxScrolledWindowXmlHandler();
|
|
||||||
virtual wxObject *DoCreateResource();
|
|
||||||
virtual bool CanHandle(wxXmlNode *node);
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
#endif // _WX_XH_SCWIN_H_
|
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_SIZER_H_
|
#ifndef _WX_XH_SIZER_H_
|
||||||
#define _WX_XH_SIZER_H_
|
#define _WX_XH_SIZER_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_sizer.h"
|
#pragma interface "xh_sizer.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_SLIDR_H_
|
#ifndef _WX_XH_SLIDR_H_
|
||||||
#define _WX_XH_SLIDR_H_
|
#define _WX_XH_SLIDR_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_slidr.h"
|
#pragma interface "xh_slidr.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_SPIN_H_
|
#ifndef _WX_XH_SPIN_H_
|
||||||
#define _WX_XH_SPIN_H_
|
#define _WX_XH_SPIN_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_spin.h"
|
#pragma interface "xh_spin.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_STBMP_H_
|
#ifndef _WX_XH_STBMP_H_
|
||||||
#define _WX_XH_STBMP_H_
|
#define _WX_XH_STBMP_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_stbmp.h"
|
#pragma interface "xh_stbmp.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_STBOX_H_
|
#ifndef _WX_XH_STBOX_H_
|
||||||
#define _WX_XH_STBOX_H_
|
#define _WX_XH_STBOX_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_stbox.h"
|
#pragma interface "xh_stbox.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_STLIN_H_
|
#ifndef _WX_XH_STLIN_H_
|
||||||
#define _WX_XH_STLIN_H_
|
#define _WX_XH_STLIN_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_stlin.h"
|
#pragma interface "xh_stlin.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_STTXT_H_
|
#ifndef _WX_XH_STTXT_H_
|
||||||
#define _WX_XH_STTXT_H_
|
#define _WX_XH_STTXT_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_sttxt.h"
|
#pragma interface "xh_sttxt.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_TEXT_H_
|
#ifndef _WX_XH_TEXT_H_
|
||||||
#define _WX_XH_TEXT_H_
|
#define _WX_XH_TEXT_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_text.h"
|
#pragma interface "xh_text.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_TOOLB_H_
|
#ifndef _WX_XH_TOOLB_H_
|
||||||
#define _WX_XH_TOOLB_H_
|
#define _WX_XH_TOOLB_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_toolb.h"
|
#pragma interface "xh_toolb.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_TREE_H_
|
#ifndef _WX_XH_TREE_H_
|
||||||
#define _WX_XH_TREE_H_
|
#define _WX_XH_TREE_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_tree.h"
|
#pragma interface "xh_tree.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XH_UNKWN_H_
|
#ifndef _WX_XH_UNKWN_H_
|
||||||
#define _WX_XH_UNKWN_H_
|
#define _WX_XH_UNKWN_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xh_unkwn.h"
|
#pragma interface "xh_unkwn.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XML_H_
|
#ifndef _WX_XML_H_
|
||||||
#define _WX_XML_H_
|
#define _WX_XML_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xml.h"
|
#pragma interface "xml.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_XMLRES_H_
|
#ifndef _WX_XMLRES_H_
|
||||||
#define _WX_XMLRES_H_
|
#define _WX_XMLRES_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#ifdef __GNUG__
|
||||||
#pragma interface "xmlres.h"
|
#pragma interface "xmlres.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -37,9 +37,6 @@ class WXDLLEXPORT wxFrame;
|
|||||||
class WXDLLEXPORT wxToolBar;
|
class WXDLLEXPORT wxToolBar;
|
||||||
|
|
||||||
class WXXMLDLLEXPORT wxXmlResourceHandler;
|
class WXXMLDLLEXPORT wxXmlResourceHandler;
|
||||||
class WXXMLDLLEXPORT wxXmlSubclassFactory;
|
|
||||||
class WXXMLDLLEXPORT wxXmlSubclassFactoriesList;
|
|
||||||
class wxXmlResourceModule;
|
|
||||||
|
|
||||||
|
|
||||||
// These macros indicate current version of XML resources (this information is
|
// These macros indicate current version of XML resources (this information is
|
||||||
@@ -137,11 +134,6 @@ public:
|
|||||||
// Removes all handlers
|
// Removes all handlers
|
||||||
void ClearHandlers();
|
void ClearHandlers();
|
||||||
|
|
||||||
// Registers subclasses factory for use in XRC. This function is not meant
|
|
||||||
// for public use, please see the comment above wxXmlSubclassFactory
|
|
||||||
// definition.
|
|
||||||
static void AddSubclassFactory(wxXmlSubclassFactory *factory);
|
|
||||||
|
|
||||||
// Loads menu from resource. Returns NULL on failure.
|
// Loads menu from resource. Returns NULL on failure.
|
||||||
wxMenu *LoadMenu(const wxString& name);
|
wxMenu *LoadMenu(const wxString& name);
|
||||||
|
|
||||||
@@ -223,11 +215,6 @@ public:
|
|||||||
// Sets the global resources object and returns a pointer to the previous one (may be NULL).
|
// Sets the global resources object and returns a pointer to the previous one (may be NULL).
|
||||||
static wxXmlResource *Set(wxXmlResource *res);
|
static wxXmlResource *Set(wxXmlResource *res);
|
||||||
|
|
||||||
// Returns flags, which may be a bitlist of wxXRC_USE_LOCALE and wxXRC_NO_SUBCLASSING.
|
|
||||||
int GetFlags() const { return m_flags; }
|
|
||||||
// Set flags after construction.
|
|
||||||
void SetFlags(int flags) { m_flags = flags; }
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// Scans the resources list for unloaded files and loads them. Also reloads
|
// Scans the resources list for unloaded files and loads them. Also reloads
|
||||||
// files that have been modified since last loading.
|
// files that have been modified since last loading.
|
||||||
@@ -242,6 +229,9 @@ protected:
|
|||||||
// Creates a resource from information in the given node.
|
// Creates a resource from information in the given node.
|
||||||
wxObject *CreateResFromNode(wxXmlNode *node, wxObject *parent, wxObject *instance = NULL);
|
wxObject *CreateResFromNode(wxXmlNode *node, wxObject *parent, wxObject *instance = NULL);
|
||||||
|
|
||||||
|
// Returns flags, which may be a bitlist of wxXRC_USE_LOCALE and wxXRC_NO_SUBCLASSING.
|
||||||
|
int GetFlags() { return m_flags; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
long m_version;
|
long m_version;
|
||||||
|
|
||||||
@@ -254,9 +244,6 @@ private:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
friend class wxXmlResourceHandler;
|
friend class wxXmlResourceHandler;
|
||||||
friend class wxXmlResourceModule;
|
|
||||||
|
|
||||||
static wxXmlSubclassFactoriesList *ms_subclassFactories;
|
|
||||||
|
|
||||||
// singleton instance:
|
// singleton instance:
|
||||||
static wxXmlResource *ms_instance;
|
static wxXmlResource *ms_instance;
|
||||||
@@ -451,20 +438,6 @@ protected:
|
|||||||
void wxXmlInitResourceModule();
|
void wxXmlInitResourceModule();
|
||||||
|
|
||||||
|
|
||||||
// This class is used to create instances of XRC "object" nodes with "subclass"
|
|
||||||
// property. It is _not_ supposed to be used by XRC users, you should instead
|
|
||||||
// register your subclasses via wxWindows' RTTI mechanism. This class is useful
|
|
||||||
// only for language bindings developer who need a way to implement subclassing
|
|
||||||
// in wxWindows ports that don't support wxRTTI (e.g. wxPython).
|
|
||||||
class WXXMLDLLEXPORT wxXmlSubclassFactory
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
// Try to create instance of given class and return it, return NULL on failure:
|
|
||||||
virtual wxObject *Create(const wxString& className) = 0;
|
|
||||||
virtual ~wxXmlSubclassFactory() {}
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/* -------------------------------------------------------------------------
|
/* -------------------------------------------------------------------------
|
||||||
Backward compatibility macros. Do *NOT* use, they may disappear in future
|
Backward compatibility macros. Do *NOT* use, they may disappear in future
|
||||||
versions of the XRC library!
|
versions of the XRC library!
|
||||||
|
@@ -111,7 +111,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234d.lib animd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/anitest.exe" /pdbtype:sept /libpath:"../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233d.lib animd.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/anitest.exe" /pdbtype:sept /libpath:"../../../lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "AniTestVC - Win32 Release DLL"
|
!ELSEIF "$(CFG)" == "AniTestVC - Win32 Release DLL"
|
||||||
|
|
||||||
@@ -138,7 +138,7 @@ BSC32=bscmake.exe
|
|||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw234.lib anim.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/anitest.exe" /libpath:"../../../lib"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw233.lib anim.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/anitest.exe" /libpath:"../../../lib"
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "AniTestVC - Win32 UnivRelease"
|
!ELSEIF "$(CFG)" == "AniTestVC - Win32 UnivRelease"
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user