Ticket #31804: patch-configure.diff
File patch-configure.diff, 3.4 KB (added by mojca (Mojca Miklavec), 11 years ago) |
---|
-
configure
old new See \`config.log' for more details." >&2;} 16169 16169 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;} 16170 16170 fi 16171 16171 fi 16172 OSX_UNIV_OPTS=" -arch ppc -arch i386"16172 OSX_UNIV_OPTS="@@ARCHS@@" 16173 16173 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS" 16174 16174 CFLAGS="$OSX_UNIV_OPTS $CFLAGS" 16175 16175 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS" … … ac_compiler_gnu=$ac_cv_c_compiler_gnu 24932 24932 24933 24933 24934 24934 24935 SEARCH_INCLUDE="\ 24936 /usr/local/include \ 24937 /usr/local/X11/include \ 24938 /usr/local/include/X11 \ 24939 /usr/local/X11R6/include \ 24940 /usr/local/include/X11R6 \ 24941 \ 24942 /usr/Motif-2.1/include \ 24943 /usr/Motif-1.2/include \ 24944 /usr/include/Motif1.2 \ 24945 \ 24946 /usr/dt/include \ 24947 /usr/openwin/include \ 24948 \ 24949 /usr/include/Xm \ 24950 \ 24951 /usr/X11R6/include \ 24952 /usr/X11R6.4/include \ 24953 \ 24954 /usr/include/X11R6 \ 24955 \ 24956 /usr/X11/include \ 24957 /usr/include/X11 \ 24958 \ 24959 /usr/XFree86/include/X11 \ 24960 /usr/pkg/include \ 24961 \ 24962 /usr/local/X1R5/include \ 24963 /usr/local/include/X11R5 \ 24964 /usr/X11R5/include \ 24965 /usr/include/X11R5 \ 24966 \ 24967 /usr/local/X11R4/include \ 24968 /usr/local/include/X11R4 \ 24969 /usr/X11R4/include \ 24970 /usr/include/X11R4 \ 24971 \ 24972 /usr/openwin/share/include" 24935 SEARCH_INCLUDE="@@PREFIX@@/include" 24973 24936 24974 24937 echo "$as_me:$LINENO: checking for libraries directory" >&5 24975 24938 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6 … … rm -f conftest.err conftest.$ac_objext \ 28916 28879 wx_cv_lib_gtk=none 28917 28880 else 28918 28881 wx_cv_cflags_gtk=$GTK_CFLAGS 28919 wx_cv_libs_gtk= `echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`28882 wx_cv_libs_gtk="$GTK_LIBS" 28920 28883 fi 28921 28884 28922 28885 … … echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be 33190 33153 OPENGL_LIBS="-framework OpenGL -framework AGL" 33191 33154 elif test "$wxUSE_MSW" = 1; then 33192 33155 OPENGL_LIBS="-lopengl32 -lglu32" 33193 elif test "$ USE_DARWIN" = 1; then33156 elif test "$wxUSE_MAC" = 1; then 33194 33157 OPENGL_LIBS="" 33195 33158 else 33196 33159 echo "$as_me:$LINENO: checking for OpenGL headers" >&5 -
setup.h.in
old new 552 552 #define wxUSE_RICHEDIT2 0 553 553 #endif 554 554 555 #if !defined(__WIN32__) && !defined(__ APPLE__)555 #if !defined(__WIN32__) && !defined(__WXMAC__) 556 556 #define wxUSE_CAIRO 1 557 557 #else 558 558 #define wxUSE_CAIRO 0 -
src/generic/graphicc.cpp
old new wxGraphicsContext * wxCairoRenderer::CreateContext( const wxMemoryDC& dc) 1474 1474 1475 1475 wxGraphicsContext * wxCairoRenderer::CreateContextFromNativeContext( void * context ) 1476 1476 { 1477 #if __WXMSW__1477 #ifdef __WXMSW__ 1478 1478 return new wxCairoContext(this,(HDC)context); 1479 1479 #endif 1480 #if __WXGTK__1480 #ifdef __WXGTK__ 1481 1481 return new wxCairoContext(this,(cairo_t*)context); 1482 1482 #endif 1483 1483 }