summaryrefslogtreecommitdiff
path: root/x11-toolkits/wxgtk31/files/patch-configure
blob: 551deb917f487266a9afb84e36de49178a8ac067 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
--- configure.orig	2018-12-11 18:11:57 UTC
+++ configure
@@ -3897,7 +3897,7 @@ case "${host}" in
 
     DEFAULT_DEFAULT_wxUSE_GTK=1
   ;;
-  *-*-freebsd*)
+  *-*-dragonfly*|*-*-freebsd*)
     USE_BSD=1
     USE_FREEBSD=1
     $as_echo "#define __FREEBSD__ 1" >>confdefs.h
@@ -22306,6 +22306,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 SEARCH_INCLUDE="\
+    $X11BASE/include          \
     /usr/local/include        \
     /usr/local/X11/include    \
     /usr/local/include/X11    \
@@ -32469,9 +32470,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=""
                 ;;
@@ -33247,7 +33245,7 @@ if test "x$ac_cv_func_gmtime_r" = xyes; 
    $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
 
 fi
-
+OPTIMISE_CFLAGS=
 
 
 
@@ -40172,6 +40170,7 @@ fi
       ;;
 
       powerpc-apple-macos* | \
+      *-*-dragonfly* | \
       *-*-freebsd* | *-*-openbsd* | *-*-haiku* | *-*-netbsd* | *-*-gnu* | *-*-k*bsd*-gnu | \
       *-*-mirbsd* | \
       *-*-sunos4* | \
@@ -40213,6 +40212,7 @@ fi
 
     case "${BAKEFILE_HOST}" in
       *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-haiku* | *-*-netbsd* | \
+      *-*-dragonfly* | \
       *-*-k*bsd*-gnu | *-*-mirbsd* | *-*-gnu* )
         if test "x$SUNCXX" = "xyes"; then
             SONAME_FLAG="-h "