git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1110
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
touch ${OSTYPE}.system.cache
touch ${OSTYPE}.system.cache
DEFAULT_wxUSE_QT=0
DEFAULT_wxUSE_MOTIF=0
DEFAULT_wxUSE_QT=0
DEFAULT_wxUSE_MOTIF=0
else
{ echo "configure: error: no" 1>&2; exit 1; }
fi
else
{ echo "configure: error: no" 1>&2; exit 1; }
fi
- GUI_TK_LINK="-lXt -lXmu -lXpm -lX11 -lXm -lm"
+
+ GUI_TK_LINK="-lXm -lXmu -lXt -lXpm -lX11 -lm"
GUI_TK_LINK="$CHECK_LINK $GUI_TK_LINK"
TOOLKIT=MOTIF
GUI_TK_LINK="$CHECK_LINK $GUI_TK_LINK"
TOOLKIT=MOTIF
- TOOLKIT_DEF=__WXMOTIF__
+ TOOLKIT_DEF="__WXMOTIF__ -D__LINUX__ -D__UNIX__"
WX_LINK=-lwx_motif
MAKEINCLUDE=../motif.inc
fi
WX_LINK=-lwx_motif
MAKEINCLUDE=../motif.inc
fi
WXDEBUG=
if test "$wxUSE_DEBUG_INFO" = 1 ; then
WXDEBUG=
if test "$wxUSE_DEBUG_INFO" = 1 ; then
+ WXDEBUG="-ggdb"
+ wxUSE_OPTIMISE=0
echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6
echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6
-echo "configure:6816: checking for main in -ldl" >&5
+echo "configure:6818: checking for main in -ldl" >&5
ac_lib_var=`echo dl'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_lib_var=`echo dl'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-ldl $LIBS"
cat > conftest.$ac_ext <<EOF
ac_save_LIBS="$LIBS"
LIBS="-ldl $LIBS"
cat > conftest.$ac_ext <<EOF
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
-if { (eval echo configure:6831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:6833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
echo $ac_n "checking "for threads"""... $ac_c" 1>&6
echo $ac_n "checking "for threads"""... $ac_c" 1>&6
-echo "configure:6861: checking "for threads"" >&5
+echo "configure:6863: checking "for threads"" >&5
# Check whether --with-threads or --without-threads was given.
if test "${with_threads+set}" = set; then
withval="$with_threads"
# Check whether --with-threads or --without-threads was given.
if test "${with_threads+set}" = set; then
withval="$with_threads"
echo $ac_n "checking for pthread_create in -lpthread-0.7""... $ac_c" 1>&6
echo $ac_n "checking for pthread_create in -lpthread-0.7""... $ac_c" 1>&6
-echo "configure:6895: checking for pthread_create in -lpthread-0.7" >&5
+echo "configure:6897: checking for pthread_create in -lpthread-0.7" >&5
ac_lib_var=`echo pthread-0.7'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_lib_var=`echo pthread-0.7'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lpthread-0.7 $LIBS"
cat > conftest.$ac_ext <<EOF
ac_save_LIBS="$LIBS"
LIBS="-lpthread-0.7 $LIBS"
cat > conftest.$ac_ext <<EOF
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
pthread_create()
; return 0; }
EOF
pthread_create()
; return 0; }
EOF
-if { (eval echo configure:6914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:6916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
ac_safe=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
ac_safe=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
-echo "configure:6938: checking for sys/prctl.h" >&5
+echo "configure:6940: checking for sys/prctl.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#include "confdefs.h"
#include <sys/prctl.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
#include "confdefs.h"
#include <sys/prctl.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:6948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:6950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
echo $ac_n "checking for pthread_setcanceltype in -lpthread""... $ac_c" 1>&6
echo $ac_n "checking for pthread_setcanceltype in -lpthread""... $ac_c" 1>&6
-echo "configure:6974: checking for pthread_setcanceltype in -lpthread" >&5
+echo "configure:6976: checking for pthread_setcanceltype in -lpthread" >&5
ac_lib_var=`echo pthread'_'pthread_setcanceltype | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_lib_var=`echo pthread'_'pthread_setcanceltype | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
pthread_setcanceltype()
; return 0; }
EOF
pthread_setcanceltype()
; return 0; }
EOF
-if { (eval echo configure:6993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:6995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
fi
echo $ac_n "checking for pthread_setcanceltype in -lpthreads""... $ac_c" 1>&6
fi
echo $ac_n "checking for pthread_setcanceltype in -lpthreads""... $ac_c" 1>&6
-echo "configure:7020: checking for pthread_setcanceltype in -lpthreads" >&5
+echo "configure:7022: checking for pthread_setcanceltype in -lpthreads" >&5
ac_lib_var=`echo pthreads'_'pthread_setcanceltype | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_lib_var=`echo pthreads'_'pthread_setcanceltype | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lpthreads $LIBS"
cat > conftest.$ac_ext <<EOF
ac_save_LIBS="$LIBS"
LIBS="-lpthreads $LIBS"
cat > conftest.$ac_ext <<EOF
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
pthread_setcanceltype()
; return 0; }
EOF
pthread_setcanceltype()
; return 0; }
EOF
-if { (eval echo configure:7039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:7041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
if test "$wxUSE_OPENGL" = 1; then
echo $ac_n "checking for OpenGL includes""... $ac_c" 1>&6
if test "$wxUSE_OPENGL" = 1; then
echo $ac_n "checking for OpenGL includes""... $ac_c" 1>&6
-echo "configure:7087: checking for OpenGL includes" >&5
+echo "configure:7089: checking for OpenGL includes" >&5
ac_find_includes=
for ac_dir in $SEARCH_INCLUDE;
ac_find_includes=
for ac_dir in $SEARCH_INCLUDE;
OPENGL_INCLUDE="-I$ac_find_includes"
echo "$ac_t""found $ac_find_includes" 1>&6
echo $ac_n "checking for OpenGL library""... $ac_c" 1>&6
OPENGL_INCLUDE="-I$ac_find_includes"
echo "$ac_t""found $ac_find_includes" 1>&6
echo $ac_n "checking for OpenGL library""... $ac_c" 1>&6
-echo "configure:7102: checking for OpenGL library" >&5
+echo "configure:7104: checking for OpenGL library" >&5
ac_find_libraries=
for ac_dir in $SEARCH_LIB;
ac_find_libraries=
for ac_dir in $SEARCH_LIB;
fi
if test "x$GXX" = xyes; then
fi
if test "x$GXX" = xyes; then
- CXXFLAGS="${CXXFLAGS} -Wall"
+ if test "$wxUSE_MOTIF" = 1; then
+ CXXFLAGS="${CXXFLAGS} -Wall -Wno-unused"
+ else
+ CXXFLAGS="${CXXFLAGS} -Wall"
+ fi
fi
if test "$wxUSE_SHARED" != 1; then
fi
if test "$wxUSE_SHARED" != 1; then
DEFAULT_wxUSE_QT=0
DEFAULT_wxUSE_MOTIF=0
DEFAULT_wxUSE_QT=0
DEFAULT_wxUSE_MOTIF=0
- GUI_TK_LINK="-lXt -lXmu -lXpm -lX11 -lXm -lm"
+
+ GUI_TK_LINK="-lXm -lXmu -lXt -lXpm -lX11 -lm"
GUI_TK_LINK="$CHECK_LINK $GUI_TK_LINK"
TOOLKIT=MOTIF
GUI_TK_LINK="$CHECK_LINK $GUI_TK_LINK"
TOOLKIT=MOTIF
- TOOLKIT_DEF=__WXMOTIF__
+ TOOLKIT_DEF="__WXMOTIF__ -D__LINUX__ -D__UNIX__"
WX_LINK=-lwx_motif
MAKEINCLUDE=../motif.inc
fi
WX_LINK=-lwx_motif
MAKEINCLUDE=../motif.inc
fi
WXDEBUG=
if test "$wxUSE_DEBUG_INFO" = 1 ; then
WXDEBUG=
if test "$wxUSE_DEBUG_INFO" = 1 ; then
+ WXDEBUG="-ggdb"
+ wxUSE_OPTIMISE=0
fi
if test "x$GXX" = xyes; then
fi
if test "x$GXX" = xyes; then
- CXXFLAGS="${CXXFLAGS} -Wall"
+ if test "$wxUSE_MOTIF" = 1; then
+ CXXFLAGS="${CXXFLAGS} -Wall -Wno-unused"
+ else
+ CXXFLAGS="${CXXFLAGS} -Wall"
+ fi
fi
if test "$wxUSE_SHARED" != 1; then
fi
if test "$wxUSE_SHARED" != 1; then
common/hash.cpp \
common/helpbase.cpp \
common/intl.cpp \
common/hash.cpp \
common/helpbase.cpp \
common/intl.cpp \
common/ipcbase.cpp \
common/layout.cpp \
common/list.cpp \
common/ipcbase.cpp \
common/layout.cpp \
common/list.cpp \
common/resource.cpp \
common/serbase.cpp \
common/string.cpp \
common/resource.cpp \
common/serbase.cpp \
common/string.cpp \
+ common/tbarbase.cpp \
+ common/tbarsmpl.cpp \
common/time.cpp \
common/timercmn.cpp \
common/utilscmn.cpp \
common/time.cpp \
common/timercmn.cpp \
common/utilscmn.cpp \
motif/button.cpp \
motif/checkbox.cpp \
motif/choice.cpp \
motif/button.cpp \
motif/checkbox.cpp \
motif/choice.cpp \
motif/control.cpp \
motif/combobox.cpp \
motif/cursor.cpp \
motif/control.cpp \
motif/combobox.cpp \
motif/cursor.cpp \
motif/dcmemory.cpp \
motif/dcscreen.cpp \
motif/dialog.cpp \
motif/dcmemory.cpp \
motif/dcscreen.cpp \
motif/dialog.cpp \
+ motif/dirdlg.cpp \
+ motif/dnd.cpp \
motif/filedlg.cpp \
motif/font.cpp \
motif/fontdlg.cpp \
motif/frame.cpp \
motif/gauge.cpp \
motif/gdiobj.cpp \
motif/filedlg.cpp \
motif/font.cpp \
motif/fontdlg.cpp \
motif/frame.cpp \
motif/gauge.cpp \
motif/gdiobj.cpp \
motif/icon.cpp \
motif/listbox.cpp \
motif/icon.cpp \
motif/listbox.cpp \
motif/main.cpp \
motif/mdi.cpp \
motif/menu.cpp \
motif/menuitem.cpp \
motif/main.cpp \
motif/mdi.cpp \
motif/menu.cpp \
motif/menuitem.cpp \
+ motif/metafile.cpp \
+ motif/minifram.cpp \
motif/msgdlg.cpp \
motif/notebook.cpp \
motif/palette.cpp \
motif/pen.cpp \
motif/print.cpp \
motif/msgdlg.cpp \
motif/notebook.cpp \
motif/palette.cpp \
motif/pen.cpp \
motif/print.cpp \
motif/radiobox.cpp \
motif/radiobut.cpp \
motif/region.cpp \
motif/scrolbar.cpp \
motif/settings.cpp \
motif/radiobox.cpp \
motif/radiobut.cpp \
motif/region.cpp \
motif/scrolbar.cpp \
motif/settings.cpp \
motif/statbox.cpp \
motif/statbmp.cpp \
motif/stattext.cpp \
motif/statbox.cpp \
motif/statbmp.cpp \
motif/stattext.cpp \
motif/utils.cpp \
motif/utilsexc.cpp \
motif/utils.cpp \
motif/utilsexc.cpp \
motif/window.cpp \
\
generic/choicdgg.cpp \
motif/window.cpp \
\
generic/choicdgg.cpp \