summaryrefslogtreecommitdiff
path: root/graphics/hugin/files/patch-configure.ac
blob: 328b63040d84137360fe4a6d1e4949241b3a711a (plain) (blame)
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
--- configure.ac.orig	Mon Aug 21 01:19:33 2006
+++ configure.ac	Tue Jan 23 15:48:26 2007
@@ -35,6 +35,10 @@
 	    ;;
 	esac
     ;;
+  *freebsd*)
+    HSYS=freebsd
+    HCPU="${target_cpu}"
+    ;;
   darwin*)
     HSYS=darwin
 	HCPU="${target_cpu}"
@@ -56,6 +60,7 @@
     ;;
 esac
 AM_CONDITIONAL(HAVE_LINUX, test "${HSYS}" = "linux")
+AM_CONDITIONAL(HAVE_FREEBSD, test "${HSYS}" = "freebsd")
 AM_CONDITIONAL(HAVE_DARWIN, test "${HSYS}" = "darwin")
 AM_CONDITIONAL(HAVE_MINGW, test "${HSYS}" = "mingw32")
 
@@ -240,6 +245,14 @@
  	where wxWidgets libraries are installed (returned by
  	'wx-config --libs' command) is in LD_LIBRARY_PATH or
  	equivalent variable and wxWidgets version is 2.4.2 or above.
+    ])
+fi
+
+AM_PATH_WXRC([HAVE_WXRC=1], [HAVE_WXRC=0])
+if test "x$HAVE_WXRC" != x1; then
+    AC_MSG_ERROR([
+           The wxrc program was not installed or not found.
+           Please check the wxWidgets installation.
     ])
 fi