aboutsummaryrefslogblamecommitdiff
path: root/x11-toolkits/wxgtk31/files/patch-configure
blob: 31664c2f3e1b2fd136a7a9ae9cecb9c506cf0e7e (plain) (tree)





















































                                                                                                
--- configure.orig	2014-10-06 21:33:44 UTC
+++ configure
@@ -3947,7 +3947,7 @@ case "${host}" in
 
     DEFAULT_DEFAULT_wxUSE_MOTIF=1
   ;;
-  *-*-freebsd*)
+  *-*-dragonfly*|*-*-freebsd*)
     USE_BSD=1
     USE_FREEBSD=1
     $as_echo "#define __FREEBSD__ 1" >>confdefs.h
@@ -21894,6 +21894,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 SEARCH_INCLUDE="\
+    $X11BASE/include          \
     /usr/local/include        \
     /usr/local/X11/include    \
     /usr/local/include/X11    \
@@ -31852,9 +31853,6 @@ $as_echo "$as_me: WARNING: BeOS threads 
                                         THREAD_OPTS="-pthreads $THREAD_OPTS"
                 fi
                 ;;
-          *-*-freebsd*)
-                                                THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
-                ;;
           *-*-darwin* | *-*-cygwin* )
                                                 THREAD_OPTS=""
                 ;;
@@ -33127,7 +33125,7 @@ else
         fi
     fi
 fi
-
+OPTIMISE_CFLAGS=
 
 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
     $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
@@ -39390,6 +39388,7 @@ EOF
       ;;
 
       powerpc-apple-macos* | \
+      *-*-dragonfly* | \
       *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-gnu* | *-*-k*bsd*-gnu | \
       *-*-mirbsd* | \
       *-*-sunos4* | \
@@ -39432,6 +39431,7 @@ EOF
 
     case "${BAKEFILE_HOST}" in
       *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
+      *-*-dragonfly* | \
       *-*-k*bsd*-gnu | *-*-mirbsd* | *-*-gnu* )
         if test "x$SUNCXX" = "xyes"; then
             SONAME_FLAG="-h "